Abstract
This paper focuses on the problem of learning compressed state representations for multi-agent tasks. Under the assumption of rich observation, we pinpoint that the state representations should be compressed both spatially and temporally to enable efficient prioritization of task-relevant features, while existing works typically fail. To overcome this limitation, we propose a novel method named Spatio-Temporal stAte compRession (STAR) that explicitly defines both spatial and temporal compression operations on the learned state representations to encode per-agent task-relevant features. Specifically, we first formalize this problem by introducing Task Informed Partially Observable Stochastic Game (TI-POSG). Then, we identify the spatial representation compression in it as encoding the latent states from the joint observations of all agents, and achieve this by learning representations that approximate the latent states based on the information theoretical principle. After that, we further extract the task-relevant features of each agent from these representations by aligning them based on their reward similarities, which is regarded as the temporal representation compression. Structurally, we implement these two compression by learning a set of agent-specific decoding functions and incorporate them into a critic shared by agents for scalable learning. We evaluate our method by developing decentralized policies on 12 maps of the StarCraft Multi-Agent Challenge benchmark, and the superior performance demonstrates its effectiveness.
Introduction
In Multi-Agent Reinforcement Learning (MARL), agents often face "information overload." While an individual agent might only see a small part of the world (partial observability), the joint observation of all agents combined usually contains enough information to describe the entire environment state—an assumption known as "Rich Observation." However, this joint state is massive and full of noise: details that are irrelevant to a specific agent's goals.
Existing methods usually attempt to learn importance through the value function (predicted future rewards). However, relying solely on rewards to learn representations is slow and inefficient because rewards are often sparse. STAR addresses this by compressing observations both spatially (turning raw data into a compact state) and temporally (filtering out features that do not affect future outcomes) without waiting for the slow feedback loop of reinforcement learning.
Proposed Method: STAR
STAR introduces two distinct compression stages to refine the state representation:
- Spatial Representation Compression: Using the Information Bottleneck (IB) principle, STAR compresses the joint observations of all agents into a latent state. To ensure this state is useful, the model is trained to predict environment dynamics and rewards. A "relaxed reconstruction" task is included to prevent the encoder from collapsing to zero while minimizing the bottleneck.
- Temporal Representation Compression: Even after spatial compression, the state may contain features irrelevant to a specific agent. STAR uses a bisimulation metric to align representations. If two different states lead to the same immediate rewards and future state distributions for an agent, STAR forces their representations to be close together. This ensures the agent only tracks features that change its expected future.
Structurally, the system uses a shared "critic" during training. It employs an attention mechanism to aggregate observations from all agents, followed by agent-specific encoding functions and a value layer to guide policy updates. The authors also found that using a "local" value function early in training helps "warm up" the state representations before the more complex joint representations take over.
Experimental Evaluation
The researchers evaluated STAR on the StarCraft Multi-Agent Challenge (SMAC) benchmark across 12 maps, ranging from "Easy" to "Super Hard" (e.g., 3s5z_vs_3s6z, corridor, 6h_vs_8z). SMAC is a rigorous test for MARL as it requires complex coordination and involves high-dimensional, partially observable input.
Key Results
- Dominance on "Super Hard" Maps: STAR significantly outperformed standard baselines like MAPPO and IPPO on the most challenging StarCraft maps. In scenarios with many units, where data is most redundant, STAR's compression provided a significant advantage.
- Efficiency: STAR reached high win rates faster than "CONCAT" (which stacks observations) or "ATTENTION" (which uses attention without explicit compression).
- Ablation Success: Removing either the spatial or temporal compression components led to a drop in performance, confirming that both dimensions of compression are necessary for peak performance.
Conclusion and Future Work
While STAR demonstrates superior performance, it relies on learning accurate transition functions. In environments with extremely chaotic dynamics, learning these functions might become a bottleneck. Additionally, implementing bisimulation and dynamics prediction adds computational overhead to the training phase, though not to the agents' execution.
Future research will explore game abstraction to simplify tasks further and investigate how these learned compressed representations might generalize across different but similar tasks through transfer learning.
Summary updated