When Cooperation Must Change: Semantic Strategy Unlearning in Multi-Agent Reinforcement Learning

Wenhan Wu, Linghan Chen, Yudong Gao, Fan Yang, Honglong Chen, Kai Yin, Jiawei Jiang, Chuang HuarXiv 2026 · arXiv

TL;DR

CARVE is a new framework for "semantic unlearning" in multi-agent reinforcement learning (MARL), allowing developers to surgically remove specific, obsolete, or unsafe coordination conventions without retraining from scratch. By combining causal attribution with targeted parameter updates and counterfactual "re-coordination" training, it reduces forbidden behaviors by over 90% while maintaining nearly full task performance.

What Problem Does This Paper Address?

In cooperative MARL, agents often develop "conventions"—unspoken rules for coordination, like who goes first through a doorway or how to divide roles in a kitchen. However, deployment requirements change. A previously efficient convention might become unsafe due to new regulations (e.g., data-sharing restrictions in edge caching) or simply obsolete.

The authors identify a major hurdle: role invariance. Coordination isn't tied to a specific agent's identity; if you "force" Agent A to forget a behavior, Agent B might simply step in and recreate the same pattern. Existing solutions like "runtime shielding" (hard-coding blocks on certain actions) often cause agents to freeze or fail because their underlying strategy still relies on the forbidden convention. Meanwhile, retraining the entire system is computationally expensive and doesn't guarantee the new model won't just rediscover the same problematic behavior.

Methods

The authors propose CARVE, a four-stage post-training pipeline designed to edit a policy's behavior directly:

  1. Causal Coordination Attribution: Using Shapley-style values, the system identifies exactly which agents and which time-steps are responsible for triggering the forbidden convention.
  2. Retain-Aware Strategy Subspace: Instead of updating all model parameters, CARVE identifies a specific "subspace" of parameters that influence the forbidden behavior while having minimal impact on useful, unrelated skills.
  3. Counterfactual Re-Coordination: This is the "re-learning" phase. A centralized "teacher" evaluates alternative actions that achieve the goal without using the forbidden convention. The decentralized agents are then distilled to follow these new, safe paths.
  4. Robust Auditing and Policy Merge: The edited policy is stress-tested against "red-team" adversarial contexts (like role permutations) to ensure the behavior is truly gone. If it passes, the updates are merged into the final actor networks.
Figure 1: Overview of CARVE. The framework takes an original policy, rollout data or simulator access, and a semantic request 𝜑𝑓, and returns an edited policy 𝜋−. CARVE first attributes forbidden-convention risk to agent-time interactions, then selects retain-aware sparse edit directions, constructs replacement coordination through a counterfactual teacher, and finally audits the edited policy before merging the accepted parameter update.

Datasets

The researchers evaluated CARVE across five diverse MARL benchmarks, each with a specific "semantic request" for unlearning:

  • SMACv2 (StarCraft II): Forget "focus-fire" tactics against specific enemies.
  • Overcooked-AI: Abandon a fixed division of labor (e.g., one player only cooking, one only delivering).
  • VMAS (Multi-Robot Simulator): Unlearn specific yielding or leader-follower conventions in navigation tasks.
  • RWARE (Robot Warehouse): Forget specific aisle-usage conventions.
  • LBF (Level-Based Foraging): Abandon specific partner-selection strategies.

Key Insights and Ideas

  • The "Intent" Problem: Runtime shields are like putting a physical barrier in a robot's way without telling it why. The robot keeps trying to walk through the barrier, wasting time. CARVE changes the robot's "intent" so it chooses a different path entirely.
  • Role Invariance is Key: You cannot treat MARL unlearning like single-agent data deletion. Because coordination is relational, the "unit" of unlearning must be the interaction pattern, not the individual agent's data.
  • Efficiency via Subspaces: By restricting updates to a small fraction of parameters (often ~10-20%), CARVE prevents "catastrophic forgetting" of unrelated task skills.

Key Results

  • Effectiveness: CARVE reduced the rate of forbidden behaviors (SSR) by 91.4% and worst-case elicitation rates (WER) by 83.3%.
  • Utility Retention: The median loss in task performance (utility) was only 5.9%. In many cases, CARVE agents found alternative ways to coordinate that were nearly as efficient as the original.
  • Speed: Unlearning with CARVE is 101x to 584x faster than retraining the backbone model from scratch.
  • Zero Latency: Because the updates are merged directly into the actor networks, there is no additional inference-time overhead, unlike runtime shielding which requires active monitoring.

Limitations and Future Work

  • Simulator Dependency: The auditing and re-coordination phases currently require access to a simulator or high-fidelity environment model.
  • Reward Conflict: If the environment's reward signal still heavily incentivizes the forbidden convention, agents might eventually "re-learn" it if training continues indefinitely after the edit.
  • Joint-Action Correlations: The distillation process (moving from a centralized teacher to decentralized actors) can sometimes lose subtle correlations between agent actions, which the authors suggest as an area for future improvement.

For more details, see the full paper: "When Cooperation Must Change: Semantic Strategy Unlearning in Multi-Agent Reinforcement Learning."

Summary updated

Abstract

Cooperative multi-agent reinforcement learning (MARL) supports coordinated decision-making in distributed Web services, multi-robot control, and collaborative games through learned coordination conventions. When deployment requirements change, a previously useful convention may become obsolete or unsafe. For example, revised cache-sharing permissions in Web content delivery may require caches to abandon a learned division of storage and serving roles while maintaining efficient delivery. Teams must therefore remove the specified convention while preserving useful cooperation. This is challenging because the same relational pattern can be reproduced by different agents across different histories. Runtime shielding leaves the underlying coordination preference intact and can impair task progress, while existing reinforcement unlearning and trajectory-deletion methods do not directly target role-invariant conventions. This paper formalizes this problem as semantic coordination-strategy unlearning and proposes CARVE.CARVE uses causal coordination attribution to identify influential interactions and retain-aware subspace updates to limit interference with unrelated behaviors. Counterfactual re-coordination helps agents learn productive alternatives, while adversarial auditing tests whether the target convention can still be recovered. Accepted updates are merged into decentralized actors for direct deployment. Evaluation across five cooperative MARL benchmarks shows that CARVE reduces mean nominal convention-completion and worst-case elicitation rates by 91.4\% and 83.3\%, respectively.The median utility loss is 5.9\%, and measured inference latency matches that of the original policies.
BibTeX
@misc{wu2026when,
  author = {Wenhan Wu and Linghan Chen and Yudong Gao and Fan Yang and Honglong Chen and Kai Yin and Jiawei Jiang and Chuang Hu},
  title = {{When Cooperation Must Change: Semantic Strategy Unlearning in Multi-Agent Reinforcement Learning}},
  year = {2026},
  eprint = {2611.17917},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.17917},
}
Figure