Direct Diversity Optimization for Diverse Successful Trajectories in Preference Post-Training

Junwon Ko, Dong-Jae Lee, Minchan Kwon, Sunghyun Baek, Junmo KimarXiv 2026

TL;DR

Standard post-training often causes LLM agents to "collapse" onto a single successful path, leaving them brittle when conditions change. Direct Diversity Optimization (DDO) solves this by explicitly collecting alternative successful branches at key decision points and training the model to maintain a diverse distribution over these strategies, resulting in agents that are both more successful and more robust to disruptions.

What Problem Does This Paper Address?

When we train LLM agents for sequential tasks (like navigating a website or solving a puzzle), we usually use trajectory-level feedback: did the agent succeed or fail? While effective for boosting performance, this coarse signal has a side effect: mode collapse.

Standard methods like Direct Preference Optimization (DPO) tend to narrow the model's output distribution, forcing it to commit to a single "best" path. In a dynamic environment, this is a liability. If an agent's primary strategy is blocked—for example, an official online store is unavailable during a shopping task—a collapsed model has no "fallback" plan. The authors argue that agents need successful strategy coverage: the ability to realize multiple distinct ways to reach a goal from the same starting state.

Figure 1: Comparison between a collapsed model (A) and a diverse model (B). Model B can adapt when the official store is unavailable.

Methods

The authors introduce Direct Diversity Optimization (DDO), which consists of two main components:

  1. Divergence-Tree Collection (DTC): Instead of just training on successful trajectories, DTC "rewinds" a successful agent to various decision points. It then uses an expert model to explore alternative actions. If these alternatives also lead to success, they are added to a "branch set" rooted at that specific state. This creates a rich dataset of multiple valid ways to proceed from a single point.
  2. Reference-Relative Target-Odds Objective (RTO): Standard preference objectives usually try to pick one winner. RTO, instead, treats all successful branches in a set as valid. It defines a target distribution over these successful alternatives (often based on a reference model) and trains the agent to match the "log-odds" of these branches. This prevents the model from putting all its probability mass on just one path.
Figure 2: DDO pipeline. DTC constructs state-aligned branch sets, and RTO defines a reference-relative target distribution whose induced pairwise targets are optimized with a soft logistic objective.

Datasets

The researchers evaluated DDO on three distinct environments that test different agentic capabilities:

  • BabyAI: A grid-world environment focused on navigation and multi-stage instruction following (e.g., "go to the green box").
  • BabaIsAI: A complex puzzle game where agents must manipulate the rules of the environment itself to win (e.g., pushing blocks to change "Wall is Stop" to "Wall is Push").
  • WebShop: A simulated e-commerce platform where agents must search, filter, and purchase items based on specific user requirements.

Key Insights and Ideas

  • Diversity as Robustness: The most significant insight is that diversity isn't just a secondary metric; it directly improves "strategic recovery." If an agent is forced to take a sub-optimal action, a model trained with DDO is much more likely to find a new path to success rather than failing entirely.
  • The Importance of Mid-Trajectory Supervision: Standard sampling methods often result in comparisons that are concentrated at the very beginning of a task. DTC ensures that the model receives supervision across the entire trajectory—early, middle, and late—which is critical for complex, sequential decision-making.
  • Beyond Binary Winners: By moving away from "winner-takes-all" preference learning and using a relative target distribution, RTO allows the model to learn that multiple actions can be equally valid, preserving the natural "optionality" of the base model while still steering it toward success.

Key Results

DDO consistently outperformed standard DPO and other diversity-aware baselines across all metrics:

  • Task Success: DDO achieved the highest success rates, reaching 92% on BabyAI and 99% on BabaIsAI.
  • Strategy Coverage: On WebShop, DDO nearly doubled the strategy diversity metrics (ESD and H-ESD) compared to DPO, showing it successfully avoided mode collapse.
  • Strategic Recovery: In a "stress test" where the agent's first action was replaced with a random valid one, DDO showed a 75.2% recovery rate, significantly higher than DPO's 69.7%.
Figure 5: Strategic recovery on BabyAI after local ac- tion replacement in successful source trajectories.

Limitations and Future Work

The authors acknowledge a few key limitations:

  • State Reconstruction: DTC currently requires the ability to "restore" an environment to a previous state to test alternative branches. This is easy in simulators but difficult for real-world robotics or non-deterministic environments.
  • Discrete Actions: The current framework is designed for discrete action spaces (like clicking buttons or moving in a grid). Extending this to continuous control (like joint torques in a robot) remains an open challenge.
  • Future Directions: The authors suggest that future work could involve using "world models" or learned simulators to generate these alternative branches in environments where exact state reconstruction isn't possible.

Summary updated

BibTeX
@misc{ko2026direct,
  author = {Junwon Ko and Dong-Jae Lee and Minchan Kwon and Sunghyun Baek and Junmo Kim},
  title = {{Direct Diversity Optimization for Diverse Successful Trajectories in Preference Post-Training}},
  year = {2026},
  eprint = {2609.10052},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.10052},
}
Figure