Adapting Critic Match Loss Landscape Visualization to Off-policy Reinforcement Learning
Organizations: Delft University of Technology, Delft, 2629 HS, the Netherlands
Abstract
This work extends an established critic match loss landscape visualization method from online to off-policy reinforcement learning (RL), aiming to reveal the optimization geometry behind critic learning. Off-policy RL differs from stepwise online actor-critic learning in its replay-based data flow and target computation. Based on these two structural differences, the critic match loss landscape visualization method is adapted to the Soft Actor-Critic (SAC) algorithm by aligning the loss evaluation with its batch-based data flow and target computation, using a fixed replay batch and precomputed critic targets from the selected policy. Critic parameters recorded during training are projected onto a principal component plane, where the critic match loss is evaluated to form a 3-D landscape with an overlaid 2-D optimization path. Applied to a spacecraft attitude control problem, the resulting landscapes are analyzed both qualitatively and quantitatively using sharpness, basin area, and local anisotropy metrics, together with temporal landscape snapshots. Comparisons between convergent SAC, divergent SAC, and divergent Action-Dependent Heuristic Dynamic Programming (ADHDP) cases reveal distinct geometric patterns and optimization behaviors under different algorithmic structures. The results demonstrate that the adapted critic match loss visualization framework serves as a geometric diagnostic tool for analyzing critic optimization dynamics in replay-based off-policy RL-based control problems.
Figures & tables
| Chosen center point in the landscape graph | |
| Selected directions to visualize the landscape | |
| Distances from the center point along directions and | |
| Loss function evaluated at perturbed parameters | |
| Loss function operator for the visualization | |
| Cost function at time step | |
| Reinforcement signal (reward) at time step |
| Metric | SAC | ADHDP |
| Sharpness ( ) | 0.7255963360245651 | 0.10840051628952453 |
| Basin ( ) | 1252.2596440947382 | Non-existent |
| Local anisotropy ( ) | 3.718889422035786 | 10.39062500455904 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Loss Landscape Geometry
Loss landscape geometry studies how the shape of learning objectives affects optimization, convergence, and generalization.
See all 34 papers