LCGuard: Latent Communication Guard for Safe KV Sharing in Multi-Agent Systems
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Large language model (LLM)-based multi-agent systems increasingly rely on intermediate communication to coordinate complex tasks. While most existing systems communicate through natural language, recent work shows that latent communication, particularly through transformer key-value (KV) caches, can improve efficiency and preserve richer task-relevant information. However, KV caches also encode contextual inputs, intermediate reasoning states, and agent-specific information, creating an opaque channel through which sensitive content may propagate across agents without explicit textual disclosure. To address this, we introduce LCGuard (Latent Communication Guard), a framework for safe KV-based latent communication in multi-agent LLM systems. LCGuard treats shared KV caches as latent working memory and learns representation-level transformations before cache artifacts are transmitted across agents. We formalize representation-level sensitive information leakage operationally through reconstruction: a shared cache artifact is unsafe if an adversarial decoder can recover agent-specific sensitive inputs from it. This leads to an adversarial training formulation in which the adversary learns to reconstruct sensitive inputs, while LCGuard learns transformations that preserve task-relevant semantics and reduce reconstructable information. Empirical evaluations across multiple model families and multi-agent benchmarks show that LCGuard consistently reduces reconstruction-based leakage and attack success rates while maintaining competitive task performance compared to standard KV-sharing baselines.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 36 of its 45 references that are in the map. First posted on arXiv 21 May 2026.
Builds on
36 of 45 references.
Closest ancestors · 2
Same direction, newest first
- 2025KVFlow: Efficient Prefix Caching for Accelerating LLM-Based Multi-Agent Workflows10 Jul
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug
Other references · 34
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2025Qwen3 Technical Reportcited by 8,195
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 752
- 2025Multi-Agent Collaboration Mechanisms: A Survey of LLMscited by 424
- 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 317
- 2024Scaling Large Language Model-based Multi-Agent Collaborationcited by 235
- 2025MultiAgentBench: Evaluating the Collaboration and Competition of LLM agentscited by 169
- 2024PrivacyLens: Evaluating Privacy Norm Awareness of Language Models in Actioncited by 161
- 2023Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injectioncited by 143
22 more
- 2025AgentNet: Decentralized Evolutionary Coordination for LLM-based Multi-Agent Systemscited by 86
- 2025Cache-to-Cache: Direct Semantic Communication Between Large Language Modelscited by 54
- 2025Enabling Agents to Communicate Entirely in Latent Spacecited by 31
- 2025CriticalKV: Optimizing KV Cache Eviction from an Output Perturbation Perspectivecited by 28
- 2025Thought Communication in Multiagent Collaborationcited by 28
- 2025MAGPIE: A benchmark for Multi-AGent contextual PrIvacy Evaluationcited by 27
- 2025Protecting Users From Themselves: Safeguarding Contextual Privacy in Interactions with Conversational Agentscited by 26
- 2024PII-Compass: Guiding LLM training data extraction prompts towards the target PII via groundingcited by 22
- 2025Knowing Before Saying: LLM Representations Encode Information About Chain-of-Thought Success Before Completioncited by 22
- 2024Context-Aware Membership Inference Attacks against Pre-trained Large Language Modelscited by 20
- 2025Shadow in the Cache: Unveiling and Mitigating Privacy Risks of KV-cache in LLM Inferencecited by 19
- 2025KVComm: Enabling Efficient LLM Communication through Selective KV Sharingcited by 16
- 2025AMAS: Adaptively Determining Communication Topology for LLM-based Multi-Agent Systemcited by 15
- 2025Are the Hidden States Hiding Something? Testing the Limits of Factuality-Encoding Capabilities in LLMscited by 11
- 2025LLM-as-a-Judge for Privacy Evaluation? Exploring the Alignment of Human and LLM Perceptions of Privacy in Textual Datacited by 10
- 2026LLM Safety From Within: Detecting Harmful Content with Internal Representationscited by 10
- 2026Information-Theoretic Privacy Control for Sequential Multi-Agent LLM Systemscited by 8
- 2026TokenDance: Scaling Multi-Agent LLM Serving via Collective KV Cache Sharingcited by 8
- 2024DORY: Deliberative Prompt Recovery for LLMcited by 7
- 2026The Consensus Trap: Rescuing Multi-Agent LLMs from Adversarial Majorities via Token-Level Collaborationcited by 7
- 2026PrivAct: Internalizing Contextual Privacy Preservation via Multi-Agent Preference Trainingcited by 6
- 2025Bottlenecked Transformers: Periodic KV Cache Consolidation for Generalised Reasoningcited by 3
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026When Does Latent Communication Pay? A Causal Audit of Relayed KV Caches in Multi-Agent LLMscited by 3
- 2026When Latent Agents Lie: KV-Cache Integrity in Multi-Agent LLM Collaborationcited by 2
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systemscited by 1
- 2026An Efficient and Modular Framework for Targeted Harm Mitigation in LLMScited by 0
- 2026BLINDSPOT: A Benchmark for Safety and Refusal Calibration in Long-Horizon Tool-Using Agentscited by 0
- 2026From Alignment to Access Control: A Framework for GenAI Policy Enforcementcited by 0
- 2026From Alignment to Access Control: A Framework for GenAI Policy Enforcement22 Sep 2026
- 2026BLINDSPOT: A Benchmark for Safety and Refusal Calibration in Long-Horizon Tool-Using Agents14 Sep 2026
- 2026An Efficient and Modular Framework for Targeted Harm Mitigation in LLMS12 Sep 2026
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systems1 Sep 2026
- 2026When Does Latent Communication Pay? A Causal Audit of Relayed KV Caches in Multi-Agent LLMs5 Aug 2026
- 2026When Latent Agents Lie: KV-Cache Integrity in Multi-Agent LLM Collaboration27 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026Beyond tokens: a unified framework for latent communication in LLM-based multi-agent systems
- 2026Task-Oriented Key-Layer KV Communication for Efficient Latent Multi-Agent Collaboration
- 2025KVCOMM: Online Cross-context KV-cache Communication for Efficient LLM-based Multi-agent Systems
- 2026Latent Cache Flow: Model-to-Model Communication Without Text
- 2026Out of Sight, Not Out of Mind: Unveiling Latent Attack in Latent-based Multi-Agent Systems
- 2026Receiver-Conditioned Latent Communication gives 94% CacheBack
- 2026LatCom: Cross-Agent Latent Compression for Efficient Multi-Agent Collaboration
- 2025Latent Collaboration in Multi-Agent Systems