Polychromic Objectives for Reinforcement Learning

Jubayer Ibn Hamid, Ifdita Hasan Orney, Ellen Xu, Chelsea Finn, Dorsa Sadigh

TL;DR

Reinforcement learning fine-tuning (RLFT) often causes pretrained models to "collapse" into a single, narrow strategy, losing the rich diversity of behaviors learned during pretraining. To combat this, researchers introduce Set Reinforcement Learning and Polychromic Objectives, a framework that rewards models for generating a diverse set of successful trajectories. This approach significantly improves performance in complex tasks, enhances exploration, and boosts generalization.

The Problem: Entropy Collapse in RL Fine-Tuning

When fine-tuning a pretrained model—whether a large language model or a robotic policy—using standard Reinforcement Learning (RL), practitioners frequently encounter entropy collapse.

Pretrained models typically start with a broad repertoire of potential strategies. However, standard RL algorithms like Proximal Policy Optimization (PPO) are inherently "greedy." They push the model to concentrate all its probability mass on the single path that yields the highest immediate reward. While this maximizes simple success metrics, it makes the model brittle. If the environment changes slightly, or if we want to sample multiple different solutions (measured by the pass@k metric), the model fails because it has "forgotten" how to execute anything except its one favored trick. This lack of diversity hinders exploration and prevents the model from discovering superior, more complex strategies.

Methods: Optimizing Sets over Single Trajectories

The authors propose a paradigm shift from optimizing single trajectories to optimizing sets of trajectories.

  1. Set Reinforcement Learning (Set RL): Instead of the standard RL objective (maximizing the expected reward of a single rollout), the goal is to maximize an objective function defined over a set of $n$ independently sampled trajectories.
  2. Polychromic Objectives: The authors define a specific set objective that explicitly combines success and diversity: $$f_{poly} = (\text{Average Reward}) \times (\text{Diversity Metric})$$ Because it is a product, the policy is forced to treat both success and diversity as indispensable. A highly successful but homogeneous set will score poorly, as will a highly diverse but failing set.

  3. Polychromic PPO (Poly-PPO): To make this practical, they adapt PPO:

  4. Vine Sampling: Sampling entire sets of trajectories from scratch is computationally expensive. Instead, they use "vines"—branching out multiple rollouts from specific intermediate states.
  5. Shared Advantage: Crucially, the "advantage" (the signal telling the model if an action was good) is shared across the set. An exploratory trajectory that hasn't found a high reward yet can still receive a positive update if it contributes to the overall diversity of the set.

Key Insights

  • The "Aha" Moment for Exploration: In standard RL, a trajectory with zero reward is a failure. In Set RL, a zero-reward trajectory might be deemed a "success" if it explores a part of the state space that the other $n-1$ trajectories missed. This provides a principled way to fund exploration within the RL update.
  • Diversity as Robustness: The results suggest that diversity isn't just a "nice-to-have" feature for creativity; it is a prerequisite for generalization. By learning multiple ways to solve a task, the agent becomes much more robust to perturbations in its starting position.

Key Results

The researchers evaluated their method on challenging domains, including BabyAI, MiniGrid, and an Algorithmic Creativity task.

  • Higher Success Rates: On the complex "Bosslevel" task in BabyAI, Polychromic PPO achieved a 45.2% success rate, outperforming standard PPO (38.8%) and REINFORCE (33.4%).
  • Robust Generalization: When the agent was started in random, unseen rooms, Poly-PPO generalized far better. In the "Goto" task, it maintained a 60.6% success rate under perturbation, while standard PPO dropped to 21.1%.
Pass@k rates across BabyAI environments (Goto, Pickup, Synthseq, Bosslevel).
  • Superior Pass@k: As shown above, while baseline methods saw their performance plateau quickly as more attempts were allowed, Poly-PPO's performance continued to climb. At $k=160$ attempts, Poly-PPO maintained a significantly higher "coverage" of the task space than any baseline.
  • Balancing Validity and Creativity: In tasks specifically measuring algorithmic creativity, Poly-PPO demonstrated a unique ability to maintain high validity while drastically improving diversity and creativity scores compared to standard baselines.
Normalized scores for Validity, Diversity, and Creativity across different RL methods.

Limitations and Future Work

While promising, the approach has practical constraints:

  • Environment Resets: The "vine sampling" technique requires the ability to reset an environment to an exact intermediate state. This is trivial in simulators but highly challenging in real-world robotics or live-data scenarios.
  • Computational Overhead: Generating multiple "vines" for every rollout increases the data requirements per training iteration, though the authors note this is often offset by improved sample efficiency during learning.

Future directions include developing more efficient, low-variance gradient estimators and exploring "curriculum" schemes that transition from high-diversity exploration early in training to high-reward exploitation later on.

Summary updated

BibTeX
@inproceedings{hamid2026polychromic,
  author = {Jubayer Ibn Hamid and Ifdita Hasan Orney and Ellen Xu and Chelsea Finn and Dorsa Sadigh},
  title = {{Polychromic Objectives for Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=zzTQISAGUp},
}
Figure