Skip to content
InfoResearchPreprintLLM-specific

Latent-in-the-Middle: On the Security of Cross-Model Latent Communication in Multi-Agent Systems

Published
Record updated
View JSON

Summary

Researchers examine security risks of cross-model latent communication, where a target model consumes a source model's transferred KV cache through a learned mapper. Their framework, Chasm, shows these handoffs substantially weaken safety alignment and prompt-injection defenses: a target that follows 0.4% of benchmark prompt injections natively follows up to 44.2% when transferred, and white-box optimization through the mapper lifts jailbreak success to 92.5%, versus 37.5% for ordinary GCG.

Mitigation

The authors propose a lightweight target-side cache guard that corrects transferred caches to restore the target model's refusal, which considerably mitigates these attacks.