[Paper Review] On the Use and Misuse of Absorbing States in Multi-agent Reinforcement Learning
The paper identifies Posthumous Credit Assignment challenges in MARL with early-terminating agents, showing absorbing states hinder learning and introducing MA-POCA, an attention-based architecture that handles agent creation/destruction without absorbing states and improves performance.
The creation and destruction of agents in cooperative multi-agent reinforcement learning (MARL) is a critically under-explored area of research. Current MARL algorithms often assume that the number of agents within a group remains fixed throughout an experiment. However, in many practical problems, an agent may terminate before their teammates. This early termination issue presents a challenge: the terminated agent must learn from the group's success or failure which occurs beyond its own existence. We refer to propagating value from rewards earned by remaining teammates to terminated agents as the Posthumous Credit Assignment problem. Current MARL methods handle this problem by placing these agents in an absorbing state until the entire group of agents reaches a termination condition. Although absorbing states enable existing algorithms and APIs to handle terminated agents without modification, practical training efficiency and resource use problems exist. In this work, we first demonstrate that sample complexity increases with the quantity of absorbing states in a toy supervised learning task for a fully connected network, while attention is more robust to variable size input. Then, we present a novel architecture for an existing state-of-the-art MARL algorithm which uses attention instead of a fully connected layer with absorbing states. Finally, we demonstrate that this novel architecture significantly outperforms the standard architecture on tasks in which agents are created or destroyed within episodes as well as standard multi-agent coordination tasks.
Motivation & Objective
- Highlight the Posthumous Credit Assignment problem when agents terminate early in MARL.
- Critically evaluate absorbing state representations and their impact on learning efficiency.
- Propose and validate an attention-based architecture (MA-POCA) that accommodates varying agent counts without absorbing states.
Proposed method
- Demonstrate that sample complexity increases with the number of absorbing states in a toy task, while attention is more robust to variable input size.
- Introduce MA-POCA: an attention-based extension of COMA that uses self-attention over active agents in the critic to handle varying agent counts.
- Use entity encoders for observations and observation-action pairs, with a self-attention (RSA) block to compute the centralized value function.
- Learn a centralized, agent-centric counterfactual baseline via attention-based encoders to compute per-agent advantages without fixed agent numbers.
- Train with TD(lambda), PPO-style updates, and GAE within Unity ML-Agents and other MARL benchmarks.
Experimental results
Research questions
- RQ1Can absorbing states be avoided without sacrificing learning signal for posthumous credit assignment?
- RQ2Does self-attention enable scalable handling of varying agent counts in the centralized critic?
- RQ3How does MA-POCA compare to COMA and PPO on standard MARL tasks and on tasks with agent birth/death?
Key findings
- Absorbing states degrade sample efficiency in a toy input task, while attention-based input handling is more robust.
- MA-POCA outperforms COMA and PPO on tasks where agents can spawn or die, and also matches or exceeds COMA on standard coordination tasks.
- MA-POCA achieves significantly better performance with dying/spawning agents compared to baselines.
- The attention-based critic enables counterfactual baselines for both discrete and continuous actions.
- Experiments show MA-POCA advantages across four Unity/ML-Agents environments, especially in dynamic-agent scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.