← Lab /AI/ML

Latent attacks can substantially degrade multi-agent system performance via hidden state interventions

Latent representations in multi-agent systems can be manipulated to carry attack effects that degrade task performance even during clean executions

AI/ML arXiv 27 May 2026 Attack Simulation evidence

Published as “Out of Sight, Not Out of Mind: Unveiling Latent Attack in Latent-based Multi-Agent Systems”

Why it matters

Latent-based collaboration does not eliminate attack risk; it merely shifts the attack surface to less observable latent states, requiring new defenses.

Summary

Latent-only attacks on KV-cache handoffs can dramatically degrade performance, dropping GSM8K accuracy from 87% to 21% and OpenBookQA from 91% to 29%. The attacks are derived from clean-attacked execution pairs and injected as steering vectors without any adversarial text. Effectiveness varies by carrier type, with KV-both causing the largest drops, while V-only interventions remain near baseline. Control experiments show the degradation is not due to random perturbations or system-level damage. The study is limited to a discrete grid of interventions and does not cover the full latent space.

What they found 2

  1. Text-level attacks can be transferred into latent attack directions that reduce task accuracy across multiple benchmarks.

    “Obs 1. Text-level attack can be transferred into latent attack directions. Table 1 shows that the extracted directions consistently reduce task accuracy across GSM8K, OpenBookQA, and HumanEval+.”

  2. Latent-based MAS is more vulnerable to edge-level (KV-cache) attacks than to node-level (hidden state) attacks.

    “Obs 4. Latent-based MAS presents a more vulnerable edge-level attack surface.”

Caveats 4

  • V-only carrier interventions produce accuracy close to the clean baseline, indicating limited impact for some latent vectors.
  • Some node-level interventions even increase accuracy (e.g., DiffMean on GSM8K shows 0.903↑0.033).
  • Our intervention study covers a structured set of roles, carriers, layers, positions, and intervention strengths, but it does not exhaust the full continuous latent intervention space.
  • The detection results indicate that some latent attacks leave observable traces in layer-wise projections or norm profiles, particularly for handoff-level interventions, but the detector is not a complete defense.

What’s new here 4

  • Demonstrates that text-level attack effects can be extracted as latent steering vectors and re-used without explicit malicious text.
  • Shows that inter-agent KV-cache handoffs are a more vulnerable attack surface than local hidden states in latent-based MAS.
  • Provides a systematic comparison of extraction methods (DiffMean, PCA, RePS) for latent attacks.
  • Evaluates runtime detection methods for latent attacks, highlighting detectable signatures for edge-level interventions.