Partial Action Replacement: Tackling Distribution Shift in Offline MARL
Yue Jin, Giovanni Montana
TL;DR
Offline MARL suffers from distribution shift due to unseen joint actions. The paper introduces partial action replacement (PAR) under factorized behavior policies and SPaCQL, an adaptive mixture of partial backups weighted by ensemble uncertainty, to mitigate OOD updates; it proves that distribution shift scales linearly with the number of deviating agents, i.e. $W_1(d^{(S)}, d^{(\varnothing)}) \le \frac{\gamma}{1-\gamma} \sum_{i\in S} \mathrm{TV}(\pi_i, \mu_i)$, and provides a MARL-specific value-estimation bound. SPaCQL adaptively balances single-agent and coordinated backups via uncertainty-informed weights, yielding a provably tighter bound when data coverage favors localized updates. Empirically, SPaCQL outperforms baselines on many tasks, especially under Random and Medium-Replay datasets, demonstrating robustness to data quality and coordination structure; on Expert datasets performance is competitive, highlighting the method’s ability to adjust to data properties. Overall, the work offers a principled, uncertainty-aware framework for safe offline MARL with reduced reliance on full joint-action exploration and improved sample efficiency in realistic data regimes.
Abstract
Offline multi-agent reinforcement learning (MARL) is severely hampered by the challenge of evaluating out-of-distribution (OOD) joint actions. Our core finding is that when the behavior policy is factorized - a common scenario where agents act fully or partially independently during data collection - a strategy of partial action replacement (PAR) can significantly mitigate this challenge. PAR updates a single or part of agents' actions while the others remain fixed to the behavioral data, reducing distribution shift compared to full joint-action updates. Based on this insight, we develop Soft-Partial Conservative Q-Learning (SPaCQL), using PAR to mitigate OOD issue and dynamically weighting different PAR strategies based on the uncertainty of value estimation. We provide a rigorous theoretical foundation for this approach, proving that under factorized behavior policies, the induced distribution shift scales linearly with the number of deviating agents rather than exponentially with the joint-action space. This yields a provably tighter value error bound for this important class of offline MARL problems. Our theoretical results also indicate that SPaCQL adaptively addresses distribution shift using uncertainty-informed weights. Our empirical results demonstrate SPaCQL enables more effective policy learning, and manifest its remarkable superiority over baseline algorithms when the offline dataset exhibits the independence structure.
