NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MASTARS: Multi-Agent Sequential Trajectory Augmentation with Return-Conditioned Subgoals

Jiwon Jeon, Myungsik Cho, Woojun Kim, Seungyul Han, Youngchul SungOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

MASTARS is a new framework that supercharges offline multi-agent reinforcement learning (MARL) by generating high-quality, coordinated synthetic data. By combining diffusion-based "inpainting" with a sequential, agent-by-agent generation strategy guided by high-value subgoals, it produces diverse trajectories that significantly outperform existing data augmentation methods on standard benchmarks.

What Problem Does This Paper Address?

Offline Reinforcement Learning is the art of training agents using only pre-collected datasets, without any live interaction with the environment. It’s essential for high-stakes fields like robotics or autonomous driving where "learning by failing" in the real world is too dangerous or expensive. However, the performance of these agents is strictly capped by the quality and diversity of the data they are given.

In multi-agent settings (MARL), this problem is magnified. If you try to generate new data for multiple agents at once, the mathematical complexity explodes (the "curse of dimensionality"). If you generate data for each agent independently, they fail to coordinate—resulting in synthetic data where agents constantly collide or ignore each other. The authors of MASTARS set out to find a "Goldilocks" zone: a way to generate data that is computationally manageable, highly diverse, and perfectly coordinated.

Methods

MASTARS (Multi-Agent Sequential Trajectory Augmentation with Return-Conditioned Subgoals) introduces three clever components to solve the coordination problem:

  1. Subgoal-Based Partial Generation: Instead of throwing away a mediocre trajectory and starting from scratch, MASTARS identifies the "peak" moment (the subgoal) where an agent was performing best, based on a learned value function. It keeps the good part of the trajectory leading up to that peak and only uses the diffusion model to regenerate the suboptimal segment that follows.
  2. Agent-wise Sequential Inpainting: Borrowing a concept from computer vision, MASTARS uses inpainting. In vision, inpainting fills in a missing or masked part of an image so it fits the surrounding context. MASTARS treats multi-agent trajectories like a multi-layered image. It generates one agent's path at a time, "inpainting" its trajectory so that it coordinates with the paths of agents that have already been generated.
  3. Value-Based Ordering: The order in which agents are generated matters. MASTARS proposes two schemes: LOV (Last Observation Value), which generates agents with the highest predicted future returns first, and SG (SubGoal), which orders them based on when they reach their value peaks. This ensures that the agents with the most "constrained" or important roles set the stage for the others to follow.

The underlying engine is a Diffusion Model (specifically a return-conditioned version of MADiff), which is excellent at capturing complex data distributions and generating realistic variations of the training data.

Datasets

The authors evaluated MASTARS on two heavyweight MARL benchmarks:

  • Multi-Agent Particle Environment (MPE): A suite of 2D tasks including Simple Tag (predator-prey), Simple Spread (covering landmarks without colliding), and Simple World.
  • StarCraft Multi-Agent Challenge (SMAC & SMAC-v2): A high-dimensional environment where groups of units (like Marines or Stalkers) must coordinate to defeat enemy waves. These are considered much more difficult due to the discrete action space and complex tactics required.

They used the og-marl (off-the-grid MARL) datasets, which provide standardized offline data for these environments.

Key Insights and Ideas

  • Coordination through Iteration: The biggest "aha moment" is that you don't need to model all agents simultaneously to get coordination. By generating them sequentially and conditioning each new agent on the previous ones, the model naturally learns to "fit" agents together, much like a puzzle.
  • Preserving the "Good Stuff": The decision to only regenerate parts of a trajectory (post-subgoal) is a powerful way to maintain the "ground truth" of expert behavior while still exploring better outcomes. It prevents the generative model from drifting too far into unrealistic territory.
  • Vision Techniques for Time-Series: Treating a trajectory (state/action over time) as a 2D image for a diffusion model is a standard trick in single-agent RL, but applying inpainting to handle multi-agent coordination is a novel and effective bridge between CV and MARL.

Key Results

MASTARS consistently outperformed both the original datasets and several state-of-the-art augmentation baselines (like MADiTS and INS).

  • MPE Performance: On average, MASTARS improved the performance of offline algorithms (like CFCQL and OMAR) by 30% to 38% compared to using the original dataset alone.
  • SMAC Success: In the 8m (8 marines) task, MASTARS helped agents achieve a near 100% win rate, a significant jump over the baseline.
  • Qualitative Coordination: Visualizations showed that while other methods often resulted in agents converging on the same target (a failure of coordination), MASTARS-generated agents successfully spread out and reached distinct goals without colliding.
  • Efficiency: Despite the sequential nature, the training time was actually 15% faster than some joint-generation baselines because the sub-problems (one agent at a time) are easier to solve.

Limitations and Future Work

  • Scalability: While sequential generation is more stable, the time it takes to sample new data grows linearly with the number of agents. For systems with hundreds of agents, this might become a bottleneck.
  • Value Function Bias: The system relies heavily on a pre-trained value function to pick subgoals and ordering. If the initial dataset is extremely poor, the value function might be inaccurate, leading to "garbage in, garbage out" synthetic data.
  • Trajectory Stitching: The authors noted that MASTARS doesn't currently use "stitching" (combining segments from different trajectories), which could be a promising way to further increase data diversity in the future.

Summary updated

BibTeX
@misc{jeon2026mastars,
  author = {Jiwon Jeon and Myungsik Cho and Woojun Kim and Seungyul Han and Youngchul Sung},
  title = {{MASTARS: Multi-Agent Sequential Trajectory Augmentation with Return-Conditioned Subgoals}},
  year = {2026},
  url = {https://openreview.net/forum?id=8mQqCCxKZa},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}

Loading related content...

Figure