FlickerFusion: Intra-trajectory Domain Generalizing Multi-agent Reinforcement Learning

Woosung Koh, Wonbeen Oh, Siyeol Kim, Suhin Shin, Hyeongjin Kim, Jaein Jang, Junghyun Lee, Se-Young Yun

Introduction

Multi-Agent Reinforcement Learning (MARL) has demonstrated significant potential in addressing complex cooperative tasks. However, a major limitation of existing MARL approaches is their reliance on a "static world" assumption: the number of entities—such as agents, adversaries, or obstacles—must remain constant between training and inference.

FlickerFusion is a novel augmentation technique designed to handle unexpected changes in the number of entities appearing mid-mission. By stochastically "flickering" entity visibility, it allows models to generalize to out-of-domain (OOD) scenarios without adding new parameters, resulting in higher rewards and significantly lower uncertainty.

The Challenge of Intra-Trajectory Dynamics

In real-world environments, conditions are rarely static. During a search-and-rescue mission, new obstacles might appear as buildings collapse; in a tactical combat scenario, reinforcements might arrive mid-battle.

Intra-trajectory dynamic entity addition and the resulting performance degradation.

When an agent trained for a specific scenario suddenly encounters a new adversary mid-mission (e.g., at $t=44$), standard models often fail. This failure occurs because the input space dynamically becomes larger than what the neural network was designed to process. As empirical studies reveal, existing MARL methods suffer significant performance degradation and increased uncertainty when faced with these intra-trajectory changes compared to standard inter-trajectory evaluations. Existing solutions usually involve expanding the network with new parameters, but these often fail to generalize well to "zero-shot" OOD scenarios.

The FlickerFusion Approach

To address this, the authors propose FlickerFusion, a universally applicable "plug-in" method that can be attached to common MARL backbones (like QMIX with MLPs or Attention mechanisms). Instead of expanding the network to fit more data, FlickerFusion artificially restricts the agent's view to match the size of its training data.

FlickerFusion architecture acting as an intermediary between dynamic observations and the policy network.

Key components of the method include:

  • Domain-Aware Entity Dropout (DAED): If an agent observes more entities than it was trained to handle, the system stochastically "drops" the excess entities from its observation at each time step. This keeps the input size constant and strictly "in-domain."
  • The "Flicker" Mechanism: The specific entities being dropped are randomized at every single time step, preventing the agent from being permanently blind to any single entity.
  • Temporal Fusion: While an agent might miss an entity at $t=1$, it will likely observe it at $t=2$. Because the agent's policy (often utilizing a Recurrent Neural Network) integrates information over time, it "fuses" these partial, flickering views into a complete mental map of the environment.

This approach is inspired by the "Flicker Fusion" phenomenon in human physiology, where a rapidly flickering light is perceived as a steady, continuous glow.

Experimental Setup

The researchers introduced MPEv2, an enhanced version of the popular Multi-Particle Environments (MPE), to benchmark these dynamic scenarios. It consists of 12 benchmarks across six distinct environments:

  • Classic tasks: Spread, Adversary, and Tag.
  • New/Modified tasks: Guard (protecting moving targets), Repel (maintaining distance), and Hunt (cooperative pursuit).

Each environment includes two OOD benchmarks: OOD1 (increasing the number of parameterized agents) and OOD2 (increasing the number of non-agent entities like obstacles or targets).

Key Findings and Results

FlickerFusion was rigorously tested against 11 baselines, including state-of-the-art methods like ACORM and ODIS, yielding several critical insights:

  • State-of-the-Art Performance: FlickerFusion ranked 1st in 10 out of the 12 benchmarks. When added to standard backbones (QMIX-MLP and QMIX-Attention), it improved performance in 22 out of 24 test scenarios.
  • Information Loss as a Feature: Counter-intuitively, intentionally losing information at a single time step makes the model more robust. By forcing the agent to work with partial views, it learns to rely on temporal context rather than over-fitting to the immediate raw input.
  • Uncertainty Reduction: Most OOD generalization methods suffer from high variance when facing novel situations. FlickerFusion is unique because it actually reduces uncertainty compared to the base model, making it highly reliable for safety-critical applications.
  • Policy Heterogeneity: The method encourages "agent-wise policy heterogeneity." Because agents cannot always see every entity, they develop more diverse, specialized strategies rather than converging on a single, uniform behavior.
  • Universal Applicability: Functioning as an input augmentation layer, FlickerFusion requires zero extra parameters at test time and adds minimal computational overhead (only a ~4-9% training time increase).

Conclusion and Future Work

FlickerFusion presents a highly effective, parameter-free augmentation strategy for handling intra-trajectory dynamic entity composition in MARL. While it performs exceptionally well in particle-based environments, its effectiveness in high-fidelity 3D simulations or real-world robotics remains an open question. Additionally, the "flicker" rate (how often observations change) is a hyperparameter that may require careful tuning depending on the speed of the environment's dynamics.

Future work could explore applying this "lose and recover" philosophy to other types of domain shifts, such as changing sensor noise levels or varying communication constraints between agents.

Summary updated

BibTeX
@inproceedings{koh2025flickerfusion,
  author = {Woosung Koh and Wonbeen Oh and Siyeol Kim and Suhin Shin and Hyeongjin Kim and Jaein Jang and Junghyun Lee and Se-Young Yun},
  title = {{FlickerFusion: Intra-trajectory Domain Generalizing Multi-agent Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=MRYyOaNxh3},
}
Figure