Return-Critic: Bridging Goal Discrepancy for Efficient Visual Reinforcement Learning

Ruyi Lu, Xuesong Wang, Hengrui Zhang, Yuhu ChengICML 2026

Introduction

Visual Reinforcement Learning (RL) allows agents to learn complex behaviors directly from raw pixel inputs. However, this approach is notoriously sample-inefficient, often requiring millions of environmental interactions to master even simple tasks. To accelerate learning, researchers frequently employ auxiliary tasks—such as predicting the next frame or reconstructing masked pixels—to help the agent build a robust internal representation of the world.

Yet, a fundamental issue remains: Goal Discrepancy. Predicting visual details is not inherently aligned with the ultimate RL objective of maximizing cumulative rewards. Furthermore, standard Temporal Difference (TD) learning tends to be nearsighted, focusing on immediate rewards rather than long-term trajectories. Consequently, agents waste representational capacity on irrelevant visual features. To resolve this, the authors introduce Return-Critic (RC), a novel auxiliary framework that forces the agent’s visual system to predict the total episode return, aligning representation learning directly with task success.

The Return-Critic Framework

Return-Critic is designed as a plug-and-play auxiliary module compatible with most off-policy RL algorithms, such as DrQv2 or SAC. It operates on three core mechanisms:

  1. Global Supervision: Instead of relying solely on step-by-step transitions, RC samples a sequence of partial frames from an entire episode, providing a broader temporal context.
  2. Transformer-Based Architecture: These sampled frames are processed by a shared visual encoder and fed into a Longformer (an efficient Transformer variant). The Transformer predicts the total episode return using two heads: a Regressor for continuous value estimation and a Classifier to categorize the return into discrete bins.
  3. Key Score Sampling (KSS): This is the framework's core innovation. Transformers utilize attention mechanisms to weigh the importance of different sequence elements. RC extracts these attention weights to pinpoint "critical" moments—specific states or actions that disproportionately influenced the final outcome. These attention scores are then used to prioritize which experiences the agent should replay from its memory buffer.

Experimental Scope

The researchers rigorously evaluated RC across a diverse array of benchmarks:

  • Online RL: 15 tasks from the DeepMind Control Suite (DMControl), emphasizing 9 challenging tasks with sparse or delayed rewards.
  • Offline RL: The V-D4RL benchmark, requiring the agent to learn entirely from a fixed dataset without active environmental exploration.
  • Robotic Manipulation: Complex Meta-World tasks, such as hammering and door opening.
  • State-Based RL: Standard MuJoCo tasks (using raw coordinates) to validate the sampling mechanism's efficacy independent of visual inputs.

Key Insights and Results

The integration of Return-Critic yields substantial improvements in both performance and representational quality:

  • Massive Performance Gains: On the nine most challenging DMControl tasks, RC achieved an impressive 68% average performance increase over the DrQv2 baseline.
  • State-of-the-Art Offline RL: RC established new state-of-the-art results in over half of the V-D4RL tasks, demonstrating its ability to extract superior representations even in the absence of active exploration.
  • Visualizing the "Why": Saliency maps reveal a striking shift in the agent's focus. While standard agents fixate on immediate contact points (e.g., a robot's foot touching the floor), Return-Critic agents focus on articulation joints. This confirms that RC compels the agent to track features critical for long-term movement and success.
  • Superior Credit Assignment: By leveraging Transformer attention for credit assignment, RC provides a principled way to identify pivotal moments. The Key Score Sampling (KSS) method outperformed traditional Prioritized Experience Replay (PER) by approximately 10%, proving that return-relevance is a stronger metric for experience importance than simple prediction error.
  • Computational Efficiency: Despite incorporating a Transformer, RC remains highly efficient. It consumes significantly less VRAM than competing methods (like MLR or MIND) and maintains superior performance under strict wall-clock time constraints.

Limitations and Future Directions

While Return-Critic offers a robust solution to goal discrepancy, the authors acknowledge a few limitations. First, the computational cost of the Transformer inherently scales with episode length; while the Longformer mitigates this, extremely long-horizon tasks may still pose challenges. Second, RC optimizes representation rather than exploration. In tasks where the primary bottleneck is discovering the reward signal (e.g., "Reach Duplo"), improving visual representation alone is insufficient. Future work will explore more scalable attention mechanisms to handle massive datasets and extended sequences, further bridging the gap between representation and exploration in visual RL.

Summary updated

BibTeX
@inproceedings{lu2026return,
  author = {Ruyi Lu and Xuesong Wang and Hengrui Zhang and Yuhu Cheng},
  title = {{Return-Critic: Bridging Goal Discrepancy for Efficient Visual Reinforcement Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=5pQiAaDN7E},
}
Figure