TL;DR
When you wire multiple LLMs together into a team, a single poisoned prompt doesn't just break one model—it spreads like a rumor through shared memory, tool outputs, and messages until the entire system marches off a cliff together. Existing defenses inspect individual messages and miss the bigger picture. CASPIAN acts like a real-time seismograph for multi-agent systems: by tracking how causal influence flows and synchronizes across every interaction channel simultaneously, it catches cascading failures on the fly—and pinpoints the exact culprit agents—with less than 1% latency overhead and zero offline training.
What Problem Does This Paper Address?
Single-agent LLM failures are relatively straightforward: a bad prompt goes in, a hallucination or jailbreak comes out. Multi-agent systems (MAS) introduce a far trickier beast: cascade attacks. Inject a subtle adversarial nudge into one agent, and that influence can quietly corrupt shared memory, alter a tool invocation, and gradually synchronize downstream agents onto a collectively flawed trajectory.
Current security guardrails and LLM-as-a-judge setups read text messages one turn at a time. To them, each individual interaction during a gradual cascade often looks completely benign. Meanwhile, existing graph-based detectors only watch chat logs (ignoring memory and tool pathways), and root-cause attribution tools usually require post-mortem analysis after the system has already crashed. The gap is clear: how do you catch a distributed, multi-channel failure while it is still forming, without slowing the system down?
Methods
Instead of reading prompts for "bad words," CASPIAN monitors the physics of how agents influence one another over time.
- Cross-Channel Causal Influence Tensor: At each turn, CASPIAN maps directed influence between agents across four distinct channels: communication, shared memory, tool/API calls, and execution metadata (tokens/latency). Standard information-theoretic measures like Conditional Transfer Entropy (CTE) are too slow and noisy on full agent states, so the authors introduce Late-Interaction CTE (LI-CTE). Inspired by ColBERT, LI-CTE computes history-conditioned dependence over compact state projections in milliseconds.
- Online Spectral Phase Monitoring: CASPIAN aggregates and normalizes this tensor into an influence matrix and tracks its top two singular values ($\lambda_1, \lambda_2$)—which represent the system's dominant propagation modes. It watches for four telltale signs of a cascade: growing energy (amplification), shrinking separation between $\lambda_1$ and $\lambda_2$ (spectral gap contraction / coupling), sudden structural jumps (phase shifts), and high Shannon entropy across channels (cross-channel spread). It flags both single-turn (abrupt) cascades and multi-turn (gradual) cascades using an adaptive persistence window—requiring no attack templates or training data.
- Zero-Replay Attribution: The moment an alarm sounds, CASPIAN inspects its cached influence matrices to assign roles: the Origin (initial injector), Amplifier (strongest reinforcer), Bridge (key router between agents), and the top weakest-link propagation pathways ("spines").
Datasets
Because CASPIAN is completely training-free, datasets are used strictly for evaluation. No new benchmarks are introduced; instead, the authors evaluate 727 scenarios across four MAS frameworks (AutoGen, CrewAI, MetaGPT, and LLM Debate, powered by GPT-5.4), generating 2,908 execution traces (169 benign, 558 attack) from two recent multi-agent security benchmarks:
- TAMAS: Covers adversarial intent manipulation, tool/memory-mediated execution attacks, and malicious inter-agent synchronization.
- ACIArena (MASPI subset): Tests cascading instruction-injection attacks across varied agent topologies and coordination styles.
Key Insights and Ideas
- Cascades are phase transitions, not just loud conversations: Benign teamwork can cause temporary spikes in activity, so measuring interaction volume isn't enough. True cascades reorganize the network's topology—tightening spectral coupling across modes and spilling across multiple channels at once.
- Different attacks leave distinct "spectral fingerprints": Watching the spectral gap ($g_t$) over time reveals how an attack operates before you even read a log. Communication drift erodes the gap slowly; memory/tool attacks cause sharp, stepwise drops as corrupted artifacts get picked up; and coordination attacks trigger an immediate, synchronous plunge.
- Chat-only monitoring is half-blind: Ablating memory, tool, and execution channels causes detection performance to drop sharply, proving that adversarial influence routinely routes around pure text communication.
Key Results
- Superior & Early Detection: Across frameworks and attack types, CASPIAN consistently achieves AUROC > 0.90 (peaking at 0.956 on AutoGen coordination attacks). More importantly, it catches attacks early: its Early Detection Rate within 5 turns (EDR@5) hits 0.792 on AutoGen and 0.753 on LLM Debate—decisively beating the strongest graph-based baseline, BlindGuard (0.521 and 0.468, respectively), while semantic guardrails and single-turn LLM judges lag far behind.
- Fast, Accurate Attribution: Without replaying traces, CASPIAN pinpoints the attack Origin with up to 0.860 Acc@1 (0.911 MRR), identifies the dominant attack channel with 80.2%–89.2% accuracy, and reconstructs propagation spines (0.626–0.733 Jaccard@3) within an attribution lag of just 1.45 to 2.71 turns.
- Negligible Overhead: All of this runs online with sub-1% relative latency overhead.
Limitations and Future Work
- Operational vs. True Causality: The authors are careful to note that LI-CTE measures trace-conditioned predictive dependence, not strict interventional causality. Its accuracy assumes reliable event timestamps, complete observability of relevant channels, and no hidden external confounders. (Partial-observability and adaptive-evasion limits are explored in the paper's appendices.)
- Distributed Role Ambiguity: While finding the Origin agent is highly reliable, simultaneously pinpointing all three roles (Origin, Bridge, and Amplifier) is much harder (Joint Acc@1 of 0.326–0.509), especially in decentralized architectures like LLM Debate where influence fans out evenly rather than funneling through clear bottleneck bridges. Future extensions aren't explicitly detailed in the main text, though the authors highlight cross-channel monitoring as a foundation for automated runtime intervention and auditing.
Summary updated