Catching the Infection Before It Spreads: Foresight-Guided Defense in Multi-Agent Systems

arXiv cs.AI / 5/5/2026

📰 NewsIdeas & Deep AnalysisModels & Research

Key Points

  • Multi-agent systems powered by large multimodal models can be hit by “infectious jailbreaks,” where compromising one agent quickly spreads the attack to others.
  • Prior defenses that train agents with a shared, more “contagious” cure factor can suppress infection superficially, but they also homogenize agent behavior and fail to truly recover diversity.
  • The paper introduces a training-free Foresight-Guided Local Purification (FLP) method where each agent simulates future interaction trajectories to track behavioral evolution and detect infection.
  • FLP uses multi-persona simulations to improve robust prediction and employs response-diversity diagnostics to pinpoint infections, then applies localized purification (including “album rollback” and Recursive Binary Diagnosis) to remove VirAEs.
  • Experiments report a dramatic reduction in maximum cumulative infection rate from above 95% to below 5.47% while keeping retrieval and semantic performance close to benign baselines.

Abstract

Large multimodal model-based Multi-Agent Systems (MASs) enable collaborative complex problem solving through specialized agents. However, MASs are vulnerable to infectious jailbreak, where compromising a single agent can spread to others, leading to widespread compromise. Existing defenses counter this by training a more contagious cure factor, biasing agents to retrieve it over virus adversarial examples (VirAEs). However, this homogenizes agent responses, providing only superficial suppression rather than true recovery. We revisit these defenses, which operate globally via a shared cure factor, while infectious jailbreak arise from localized interaction behaviors. This mismatch limits their effectiveness. To address this, we propose a training-free Foresight-Guided Local Purification (FLP) framework, where each agent reasons over future interactions to track behavioral evolution and eliminate infections. Specifically, each agent simulates future behavioral trajectories over subsequent chat rounds. To reflect diversity in MASs, we introduce a multi-persona simulation strategy for robust prediction across interaction contexts. We then use response diversity as a diagnostic signal to detect infection by analyzing inconsistencies across persona-based predictions at both retrieval-result and semantic levels. For infected agents, we apply localized purification: recent infections are mitigated via immediate album rollback, while long-term infections are handled using Recursive Binary Diagnosis (RBD), which recursively partitions the image album and applies the same diagnosis strategy to localize and eliminate VirAEs. Experiments show that FLP reduces the maximum cumulative infection rate from over 95% to below 5.47%. Moreover, retrieval and semantic metrics closely match benign baselines, indicating effective preservation of interaction diversity.