LCGuard: Latent Communication Guard for Safe KV Sharing in Multi-Agent Systems

· Source: cs.MA updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Cybersecurity & Data Privacy · Depth: Expert, extended

Summary

LCGuard, a framework for safe KV-based latent communication in multi-agent LLM systems, addresses the challenge of sensitive information leakage through shared transformer key-value (KV) caches. These caches encode contextual inputs and intermediate reasoning states, creating an opaque channel for sensitive content. LCGuard learns representation-level transformations before cache artifacts are transmitted, preserving task-relevant semantics while reducing reconstructable sensitive information. The framework formalizes leakage operationally through reconstruction, leading to an adversarial training formulation. Empirical evaluations across Qwen3 (4B, 8B, 14B), Gemma-2-9B, and LLaMA (3B, 8B) models on AgentLeak, MAGPIE, and PrivacyLens benchmarks show LCGuard consistently reduces reconstruction-based leakage and attack success rates (ASR) by approximately 65-75% while maintaining competitive task performance compared to standard KV-sharing baselines.

Key takeaway

For Machine Learning Engineers deploying multi-agent LLM systems that share internal KV caches, you must address the inherent sensitive information leakage. LCGuard offers a principled solution by transforming KV representations, reducing attack success rates by 65-75% while preserving task performance. You should consider implementing LCGuard, especially its Full-System variant, to mitigate representation-level privacy risks and ensure safer, more efficient latent communication without relying solely on output-level safeguards.

Key insights

Latent communication via shared KV caches in multi-agent LLMs poses a privacy risk, which LCGuard mitigates through adversarial representation-level transformations.

Principles

Method

LCGuard uses an adversarial learning framework to jointly optimize communication functions and reconstruction models. Communication functions transform KV representations to maximize reconstruction loss while preserving task utility.

In practice

Topics

Best for: Research Scientist, CTO, VP of Engineering/Data, AI Scientist, Machine Learning Engineer, AI Security Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.MA updates on arXiv.org.