TL;DR
When you train a reinforcement learning (RL) agent to do a single job—like making a simulated robot run—you typically evaluate its actions using a single, fixed scorecard. Reward-Conditioned Reinforcement Learning (RCRL) shows that if you replay those exact same memories and grade them against counterfactual scorecards ("What if we cared more about energy efficiency right there, or standing instead of running?"), the agent actually learns its original job faster and better. As a free bonus, you end up with a "steerable" agent whose behavior you can tweak on the fly without retraining.
What Problem Does This Paper Address?
Across machine learning, training on diverse tasks builds richer internal representations. Yet in standard single-task RL, agents are remarkably narrow-minded: they use one fixed reward function both to explore the world and to update their neural networks.
Meanwhile, most robotics and control rewards aren't monolithic—they are weighted sums of measurable sub-components like forward velocity, posture tracking, and motor energy costs. Standard RL squashes those numbers into one scalar value and throws the components away. The authors ask a deceptively simple question: if we save those raw components and train the agent on many recombinations of the reward—without collecting a single extra step of environment interaction—will that diverse supervision actually help it master the original, nominal task?
Methods
RCRL is an off-policy wrapper that plugs into existing RL algorithms (specifically SimbaV2, BRC, and DrQV2). It separates how the agent explores from how it learns:
- Task-Focused Exploration: When interacting with the environment, the agent always conditions its policy on the true target objective ($\psi^\star$). Instead of storing just a scalar reward in the replay buffer, it stores the raw reward components ($c_1, \dots, c_k$).
- Counterfactual Relabeling: During training updates, RCRL samples transitions from the buffer. With probability $\alpha$ (typically $0.5$), it grades the transition using $\psi^\star$; otherwise, it samples an alternative specification $\psi$, recomputes the reward on the fly, and updates the actor and critic conditioned on $\psi$ (e.g., via learned embeddings).
The authors construct these alternative rewards in two ways:
- Perturbed Reward Conditioning (PRC): Multiplicatively jittering the weights of the nominal reward components (e.g., scaling terms between $0.25\times$ and $4\times$) while preserving their signs.
- Auxiliary Reward Conditioning (ARC): Reusing distinct reward functions from related tasks on the same robot body (e.g., grading
runtrajectories usingstandorwalkrewards).
Datasets
Because this is online RL, the authors evaluate across established continuous-control simulation suites rather than static datasets (no new benchmarks are introduced):
- DeepMind Control Suite (DMC): Proprioceptive tasks (including the complex
Dog,Humanoid, andWalkerdomains) and 9 image-based tasks. - HumanoidBench & HumanoidBench Hard: High-dimensional humanoid locomotion and manipulation tasks.
- OpenAI Gym: Classic continuous-control benchmarks.
- Note on offline data: In one baseline comparison, the reward-free FB method is initialized using an offline replay dataset generated by an RCRL training run.
Key Insights and Ideas
- Gradient conflict is a feature, not a bug: Intuition says helpful auxiliary tasks should share similar rewards and aligned gradients with your main task. The authors found the exact opposite! Alternative rewards least correlated with the nominal reward ($r = -0.41$) and those causing more gradient conflict ($r = +0.51$) yielded the biggest performance boosts. Paradoxically, training on these conflicting signals forced the critic to build better representations, ultimately reducing gradient conflict between nominal-task batches from $0.09$ to $0.04$.
- Explore narrow, learn broad: What if you also explore using the alternative rewards? Nominal performance drops. Keeping exploration laser-focused on the main task while keeping supervision diverse hits the sweet spot.
- Model capacity unlocks diversity: On small critic networks ($0.3\text{M}$ parameters), RCRL yields zero benefit—the network lacks room to juggle multiple value functions. Scale the critic up ($2.5\text{M}$ parameters), and RCRL shines.
Key Results
- Single-Task & Vision RL: Adding PRC to SimbaV2 (23 tasks) improves both final performance and area-under-the-curve (AUC) by ~10%. On 9 pixel-based DMC tasks with DrQV2, RCRL boosts final performance by 10% and AUC by 17%.
- Multi-Task RL: Adding ARC to BRC across 33 tasks significantly accelerates learning, achieving a 2.3$\times$ sample-efficiency speedup on DMC Dogs (reaching 80% performance in ~200k steps).
- Zero-Shot Steerability: Without any extra training, varying the reward conditioning at test time lets you dial in target running speeds (
cheetah-run), hop heights (hopper-hop), or action penalties (humanoid-walk), jumping average performance on alternative objectives from 0.26 (single-task) to 0.58.
Limitations and Future Work
The authors defer their formal limitations section to Appendix A (not included in the main text), though several practical constraints emerge directly from their experiments:
- Structured rewards required: RCRL assumes access to decomposable reward components or known auxiliary reward functions.
- Off-policy steerability horizon: Because the agent only explores under the nominal objective, zero-shot steerability degrades as requested behaviors stray too far from states visited during nominal play.
- Inconsistent downstream transfer: When fine-tuning pre-trained RCRL agents on new tasks with different physical layouts (like moving from an empty room in
walkto obstacles inpole), transfer gains swing wildly from $-12\%$ to $+25\%$. Understanding when and why RCRL helps downstream fine-tuning remains an open question for future work.
Summary updated