TL;DR
When training reinforcement learning agents from pre-recorded datasets, forcing an agent to imitate the "average" of all successful demonstrations can lead to catastrophic failure if those demonstrations rely on hidden context or multi-agent conventions the deployed agent won't actually see. Rather than making the deployed agent more complex, Closest Slice DICE (CS-DICE) keeps the agent simple and instead changes what it tries to imitate during training—picking a single, compatible "slice" of the dataset rather than the muddled whole.
What Problem Does This Paper Address?
Imagine two drivers approaching a fork in the road. Driver A knows a secret shortcut on the left; Driver B knows one on the right. If you pool their dashcam footage together and train a self-driving car to stay close to the "average" behavior in the dataset, it might drive straight into the divider between the lanes.
In offline reinforcement learning (RL), agents learn exclusively from static datasets without interacting with the live environment. To prevent the agent from hallucinating wild, untested strategies, a popular family of algorithms called DICE (Distribution Correction Estimation) penalizes the agent if its state-action distribution—its occupancy—drifts too far from the dataset's average occupancy.
This works fine when your deployed agent sees everything the data-collectors saw. It breaks down in partially observed or decentralized multi-agent settings. Suppose two cooperative robots succeeded half the time by both going left (00) and half the time by both going right (11), coordinated via a signal they won't have when deployed. Pooling that data creates a 50/50 marginal split. A decentralized robot acting only on local observations will try to match that pooled reference by flipping a coin—resulting in uncoordinated collisions (01 or 10) half the time. The dataset contains great behavior, but the pooled average asks the deployed policy to do something it structurally cannot represent.
Methods
First, the author formalizes reference coherence: a training target is coherent if its prescribed actions only depend on observations the deployed agent actually receives, and can actually be expressed by the deployed policy architecture (e.g., independent, decentralized actors).
To fix incoherent targets without changing the deployed agent's inputs or architecture, the paper introduces CS-DICE:
- Standard DICE vs. CS-DICE: Instead of regularizing toward the entire pooled dataset, the training data is partitioned into candidate slices (drawn from known modes or unsupervised trajectory clusters). During training, CS-DICE dynamically measures which slice is closest to the learner's current behavior and regularizes toward that slice.
- Hard vs. Soft Selection: Hard selection picks a single winning slice per update step (as shown above). Soft selection puts a temperature-controlled probability distribution over the slices. Under reverse-$KL$ divergence, this soft mixture simplifies cleanly into a single standard DICE update against the geometric mean (logarithmic opinion pool) of the active slices.
- CS-CoMA-DICE: The author plugs this reference-swapping mechanism directly into CoMA-DICE, an existing neural cooperative multi-agent RL framework, changing only how offline transitions are weighted during centralized training while keeping execution strictly decentralized.
Datasets
- Controlled Diagnostic Benchmarks: Six synthetic environments designed to isolate specific failure modes and boundary conditions: Aliased single-agent (hidden branch before action), Single-agent post-reveal (branch revealed before action), Cooperative one-step (unobserved convention), Horizon-2 (identical summary stats, different temporal order), ConventionRepeat-HH (overlapping histories), and Cooperative post-reveal exact.
- MaMuJoCo Continuous Control: A standard multi-agent robotics benchmark suite. The author evaluates three robots (Hopper-v2, HalfCheetah-v2, and Ant-v2) across four offline dataset types (expert, medium, medium-replay, and medium-expert).
Key Insights and Ideas
- Good data $\neq$ a good regularization target: We usually tangle two questions together: "Does this dataset contain good behavior?" and "Is the dataset's average a good target to regularize toward?" Separating them shows you don't always need a fancier memory-based or multimodal actor; sometimes you just need to stop forcing a simple actor to match an impossible average.
- The "Reveal Boundary" dictates when pooling is safe: Pooling diverse strategies isn't inherently toxic. Both theory and experiments confirm that if the distinguishing context is revealed before the conflicting action must be taken, the pooled reference is already coherent and standard DICE works near-perfectly.
- How you slice matters: When true slice labels aren't handed to you, you can infer them without using reward signals—but naive episode summaries erase time-ordering. Clustering GRU embeddings trained on next-step prediction preserves the temporal structure needed to separate aliased trajectories.
Key Results
- Controlled Benchmarks: Where pooled references are incoherent, standard DICE collapses to coin-flipping or worse, while CS-DICE recovers near-optimal returns: improving from 0.500 to 0.943 on aliased single-agent, 0.125 to 0.988 on Horizon-2, and 0.0005 to 0.9220 on ConventionRepeat-HH. In "post-reveal" controls where pooling is coherent, both methods achieve >0.98 return.
- Unsupervised Slice Inference: On Horizon-2, clustering simple summary features fails completely (0.125 return, 50% cluster accuracy), whereas reward-free temporal GRU embeddings hit 100% accuracy and recover the full 0.988 return.
- MaMuJoCo: Across 12 robot-dataset cells using $K=2$ inferred clusters, CS-CoMA-DICE achieves competitive peak performance during training (a 0.98 mean selected-to-pooled return ratio at best checkpoints), but mixed final checkpoint scores (0.89 mean ratio, beating pooled CoMA-DICE in 6/12 cells—such as +18.7% on Ant-expert, but -86.1% on Hopper-medium).
Limitations and Future Work
- Peak-to-final degradation: In continuous control (MaMuJoCo), both standard CoMA-DICE and CS-CoMA-DICE suffer significant performance drops between their best mid-training checkpoints and final checkpoints. Developing an offline checkpoint-selection rule or stabilizing late-stage training remains an open practical hurdle.
- Global slice selection: CS-DICE picks one slice (or mixture) globally for the entire policy update; it cannot dynamically stitch together slice A for the beginning of an episode and slice B for the end.
- Garbage-in, garbage-out slices: Soft selection can still blend incompatible slices if the temperature isn't sharp enough, and CS-DICE relies heavily on the quality of the underlying slice clustering, initialization, and support smoothing. Broader comparisons against explicitly multimodal deployed actors are also left for future work.
Summary updated