Decoding Global Preferences: Temporal and Cooperative Dependency Modeling in Multi-Agent Preference-Based Reinforcement Learning

Tianchen Zhu, Yue Qiu, Haoyi Zhou, Jianxin Li

Introduction

Reinforcement Learning (RL) relies heavily on well-defined reward functions. In Multi-Agent Reinforcement Learning (MARL), designing these functions is particularly challenging due to the difficulty of credit assignment—determining the individual contribution of an agent to a collective outcome that may occur far in the future. Preference-based RL (PbRL) offers a solution by allowing humans to rank trajectories, but traditional methods often fail in multi-agent settings. They typically produce "homogeneous" rewards, where all agents receive similar scores regardless of their actual impact, hindering effective exploration and learning. This paper introduces the Multi-Agent Preference Transformer (MAPT) to overcome these limitations by explicitly modeling temporal and cooperative dependencies.

Methods: The MAPT Architecture

The core of MAPT is a cascaded Transformer architecture designed to decode global preferences into granular, agent-specific rewards. The process begins with a Cooperative-Interaction Dependency Embedding layer, which uses self-attention to capture the immediate context of agent interactions by processing their observations and actions simultaneously.

Following this, the model employs Global Dependency Modeling through two specialized attention branches:

  1. Cooperative-Aware Preference Attention: This branch calculates significance weights for each agent, facilitating effective credit assignment across the team.
  2. Temporal-Aware Preference Attention: This branch identifies critical timesteps within a trajectory that most influence the human preference.
The MAPT architecture featuring cascaded attention mechanisms for temporal and cooperative credit assignment.

By integrating these components, MAPT generates a centralized yet decoupled reward distribution, providing clear and differentiated feedback to individual agents.

Experimental Evaluation and Key Insights

MAPT was evaluated on several challenging benchmarks, including the StarCraft II Multi-Agent Challenge (SMAC), Google Research Football, Bi-DexHands, and Multi-agent MuJoCo. The results demonstrate MAPT's superiority over traditional MLP, LSTM, and standard Transformer-based reward models. In continuous control tasks like Bi-DexHands, MAPT achieved a 46% performance improvement. Notably, in complex SMAC maps where baseline methods often failed completely (0% win rate), MAPT achieved win rates as high as 94%.

Avoiding the "Homogenization Trap"

A critical finding is that standard reward models often fall into a "homogenization trap," where reward distributions are highly congested, making it impossible for agents to distinguish helpful actions from unhelpful ones. MAPT avoids this by producing a dispersed reward distribution that closely aligns with expert-defined ground truth rewards.

Comparison of reward distributions across different models. MAPT avoids the "homogenization trap" seen in MLP-based models, closely matching ground truth.

Furthermore, MAPT treats agent interactions as primary features rather than environmental noise, explicitly modeling how one agent's behavior affects the perceived value of others. This repurposes the Transformer's attention mechanism as a powerful engine for multi-agent credit assignment.

Conclusion

MAPT represents a significant advancement in multi-agent preference-based RL by successfully untangling complex dependencies. While highly effective, the model's reliance on high-quality preference data suggests future work in improving robustness to noisy or conflicting human feedback. Additionally, scaling the architecture to handle larger agent populations and testing with real-world human-in-the-loop feedback are promising avenues for further research.

Summary updated

BibTeX
@inproceedings{zhu2024decoding,
  author = {Tianchen Zhu and Yue Qiu and Haoyi Zhou and Jianxin Li},
  title = {{Decoding Global Preferences: Temporal and Cooperative Dependency Modeling in Multi-Agent Preference-Based Reinforcement Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i15.29666},
}
Figure