enochliu98/Awesome-Latent-Communication
Sobre
This repository manually collects works in latent communication, which will be continuously updated.
Aprendizado e educaçãoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Original
Awesome Latent Communication
This repository manually collects works in latent communication, which will be continuously updated.



Updates
- 2026-04-16: 🚀 Added Q-KVComm, LRAgent, RelayCaching, Vision Wormhole, Agent Primitives, Agent Memory, Edge LLM Handover and more!
- 2026-02-07: 🚀 Latent Communication Repo launched!
Content
- Updates
- Content
1. Natural Language Communication vs. Latent Communication:
Limitations
- High inference cost: Each interaction requires exhaustive token-by-token decoding to explicitly verbalize the contextual reasoning process, leading to substantial computational overhead.
- Information loss during discretization: The communication pipeline typically follows early-layer model outputs → vocabulary-level probability distribution → sampled token. Representing the model’s confidence over the entire vocabulary with a single sampled token inevitably causes information loss. In particular, rich high-dimensional internal states are compressed into a sequence of discrete tokens, exposing only a single linear chain of thought while discarding alternative reasoning paths encoded in the latent space.
- Redundancy and ambiguity of natural language: Generated text is largely optimized for linguistic coherence rather than task-relevant information. Moreover, natural language is inherently ambiguous, containing idiomatic expressions, underspecified references, and vague formulations. When discrepancies exist in background knowledge or role assignments between communicating agents, certain information may become irrecoverable.
Advantages
- High interpretability: Compared to latent representations, natural language communication is significantly more interpretable and accessible to humans, facilitating inspection, debugging, and human–AI interaction.
2. Preliminary:

- Natural Language Communication: Text-to-Text Communication
- Latent Communication: Latent-to-Latent Communication
- Sender, Receiver: Information from Sender to Receiver
- prefill: Prefill encodes the full input to produce the first output token
- decode: Decode generates subsequent tokens iteratively using the last token and the cached key–value (KV) states
- Embedding: An embedding is a continuous vector representation that maps discrete input symbols (e.g., tokens) into a dense semantic space, serving as the input to the Transformer model.
- KV-Cache: KV-Cache stores the key and value tensors computed from previous tokens in self-attention layers, enabling efficient autoregressive decoding by reusing past computations. After prefill, LLM produces a per-token KV-Cache.
- Hidden State: We refer to the intermediate activation values that are passed between adjacent layers as hidden states.
- Activation: In Transformer models, activations refer to the outputs of arbitrary intermediate computations, including attention projections and feed-forward transformations, whereas hidden states are the layer-wise token representations after a complete Transformer block. Hidden states can be viewed as a specific subset of activations that serve as stable semantic representations passed across layers.
3. A Unified Framework for Latent Communication
🔍 Motivation Recently, an increasing number of studies have focused on latent communication. We observe that many of these works share substantial similarities, which has led to a tendency toward homogenization. Moreover, there is still a lack of a unified framework to systematically organize and summarize existing research. To address this issue, we review prior work from three key perspectives: Types of Communicated Information, Sender–Receiver Alignment, and Information Fusion Strategy. Under this unified framework, existing studies can be systematically categorized and analyzed in a coherent manner.
3.1(WHAT)Types of Communicated Information
3.1.1 Embeddings, Hidden States, and KV-Cache
In latent communication, the information exchanged between agents can take diverse forms, such as Embeddings, Hidden States, and KV-Cache.
| CIPHER | AC | Interlat | SDE | KVComm | Cache-to-Cache | LatentMAS | ThoughtComm | |
|---|---|---|---|---|---|---|---|---|
| Embedding | ✅ | |||||||
| Hidden State | ✅ | ✅ | ✅ | ✅ | ||||
| KV-Cache | ✅ | ✅ | ✅ |
3.1.2 Others
After identifying the type of communicated information, it is also necessary to specify which information is transmitted. This involves determining:
(It should be noted that the above discussion is presented from the perspective of the Sender, i.e., referring to the communicated information transmitted from the Sender to the Receiver.)
- prefill phase or decode phase: whether the communicated information is computed during the prefill phase or the decode phase.
- which layer or layers: from which layer or layers is the communicated information computed. The term “selected layer(s)” denotes the layers that are selected according to various possible selection strategies; detailed descriptions can be found in Section 3.2.
- which token or tokens: from which token(s) at that layer(s) is the communicated information computed. The term “last token” refers to the token at the current autoregressive step whose hidden state is used to predict the next token. In the prefill phase, this corresponds to the final token of the input prompt; in the decode phase, it corresponds to the most recently generated token.
| Method | Introduction |
|---|---|
| CIPHER | decode phase, last layer, last token, weighted Embedding(with weights derived from the model’s output logits) |
| AC | prefill phase, selected layer(s)(n=1), last token, Hidden States |
| Interlat | decode phase, last layer, last token, Hidden States |
| SDE | decode phase, all layers, last token, Hidden States, Natural Language Output。 |
| KVComm | prefill phase, selected layer(s)(n≥1), all tokens, KV-Cache |
| Cache-to-Cache | prefill phase, selected layer(s)(n≥1), all tokens, KV-Cache |
| LatentMAS | prefill phase + decode phase, all layers, all tokens, KV-Cache |
Takeaway:
- information: KV-Cache > Hidden State > Embedding; cost: KV-Cache > Hidden State > Embedding; architecture dependency: KV-Cache > Hidden State > Embedding
- KV-Cache is commonly associated with the prefill phase, whereas Embedding and Hidden State are typically associated with the decode phase. One possible explanation is that KV-Cache contains richer information than Embedding and Hidden State; therefore, leveraging only the information from the prefill phase may already be sufficient.
- KV-Cache is commonly associated with all tokens, whereas Embedding and Hidden State are typically associated with the last token. One possible explanation is that KV-Cache is essentially an explicit storage of contextual memory, whose structure naturally follows a token-wise accumulation over the entire sequence. In contrast, during the decode phase, only the hidden state of the last token is used to predict the next token.
- If only the communicated information obtained during the prefill phase is used, the decode phase can be omitted, thereby significantly reducing inference cost; however, this may also result in the loss of substantial important information.
3.2(WHICH)Sender–Receiver Alignment
3.2.1 Latent Information Alignment
Latent Information Alignment focuses on aligning the semantic space of latent representations. Without explicit alignment, directly fusing latent information from the Sender and Receiver may result in semantic inconsistency and negatively affect performance.
| CIPHER | AC | Interlat | SDE | KVComm | Cache-to-Cache | LatentMAS | ThoughtComm | |
|---|---|---|---|---|---|---|---|---|
| Align | ✅ | ✅ | ✅ |
3.2.2 Layer Alignment
Layer Alignment refers to the correspondence between layers in the Sender and Receiver, specifying from which layer latent information is extracted and to which layer it is injected during latent communication.
| Method | Introduction |
|---|---|
| CIPHER | Sender (last layer) -> Receiver (first layer) |
| AC | Sender (selected layer) -> Receiver (selected layer) |
| Interlat | Sender (last layer) -> Receiver (first layer) |
| SDE | |
| KVComm | Sender (selected layers) -> Receiver (corresponding layers) (one-to-one correspondence (bottom to top), Attention top-k) |
| Cache-to-Cache | Sender (all layers) -> Receiver (corresponding layers) (one-to-one correspondence (bottom to top)) |
| LatentMAS | Sender (all layers) -> Receiver (corresponding layers) (one-to-one correspondence (bottom to top)) |
Takeaway:
- Two relatively simple mapping strategies can be considered: (1) mapping the last layer of the Sender to the first layer of the Receiver; (2) mapping all layers of the Sender to the corresponding layers of the Receiver, i.e., the i-th layer of the Sender is mapped to the i-th layer of the Receiver.
- In Layer Alignment, a selection mechanism is often constructed to determine the mapping between layers. Existing selection strategies can be broadly categorized into two types: (1) selecting layers from the Sender only, while the Receiver performs no additional selection and directly maps them to the corresponding layers (i.e., the i-th layer of the Sender is mapped to the i-th layer of the Receiver). This strategy is primarily applicable when the Sender and the Receiver employ the same LLM architecture, and therefore has limited generality; (2) independently selecting layers from both the Sender and the Receiver.
3.3(HOW)Information Fusion Strategy
| Method | Introduction |
|---|---|
| CIPHER | Concat: Specifically, at each decoding step, the weighted embeddings corresponding to the previous token from both the Sender and the Receiver are concatenated. |
| AC | Mathematical Operation: The Hidden State corresponding to the last token of the Sender’s prompt is combined with the Hidden State corresponding to the last token of the Receiver’s prompt through a specific operation. |
| Interlat | Concat: The latent information from the Sender is directly concatenated with the prompt embeddings of the Receiver. |
| SDE | Mathematical Operation: The Sender’s state delta is directly added to the hidden state of the corresponding token at the corresponding layer in the Receiver. |
| KVComm | Prepend,Specifically, within the same layer, the Sender’s KV cache is prepended to the Receiver’s KV cache. |
| Cache-to-Cache | Mathematical Operation: The fusion is performed using a learned fuser. |
| LatentMAS | Prepend,Specifically, within the same layer, the Sender’s KV cache is prepended to the Receiver’s KV cache. |
4.Other Key Points
4.1 Training-Free
| CIPHER | AC | Interlat | SDE | KVComm | Cache-to-Cache | LatentMAS | ThoughtComm | |
|---|---|---|---|---|---|---|---|---|
| Traing-Free | ✅ | ✅ | ✅ | ✅ | ✅ |
5. Latent Communication vs. Latent CoT:
As a research direction closely related to Latent Communication, Latent CoT has attracted significantly more attention and produced a larger body of work. Consequently, a clear developmental gap exists between the two paradigms.
6. Related Works
| Date | Paper Title | Introduction | Code |
|---|---|---|---|
| 2024/02 | CIPHER: LET MODELS SPEAK CIPHERS:MULTIAGENT DEBATE THROUGH EMBEDDINGS https://arxiv.org/abs/2310.06272 | ![]() |
Code |
| 2026/01 | Interlat:Enabling Agents to Communicate Entirely in Latent Space https://arxiv.org/pdf/2511.09149 | ![]() |
Code |
| 2025/10 | KVCOMM:KVCOMM: ENABLING EFFICIENT LLM COMMUNICA-TION THROUGH SELECTIVE KV SHARING https://arxiv.org/pdf/2510.03346 | ![]() |
|
| 2025/10 | CACHE-TO-CACHE:CACHE-TO-CACHE: DIRECT SEMANTIC COMMUNICA-TION BETWEEN LARGE LANGUAGE MODELS https://arxiv.org/pdf/2510.03215 | ![]() |
Code |
| 2025/09 | SDE: Augmenting Multi-Agent Communication with State Delta Trajectory https://arxiv.org/pdf/2506.19209 | ![]() |
Code |
| 2025/12 | LatentMAS:Latent Collaboration in Multi-Agent Systems https://arxiv.org/pdf/2511.20639 | ![]() |
Code |
| 2025/10 | ThoughtComm:Thought Communication in Multiagent Collaboration https://arxiv.org/pdf/2510.20733 | ![]() |
|
| 2025/05 | AC:Communicating Activations Between Language Model Agents https://arxiv.org/pdf/2501.14082v1 | ![]() |
|
| 2026/01 | MIXTURE OF THOUGHTS: LEARNING TO AGGREGATEWHAT EXPERTS THINK, NOT JUST WHAT THEY SAY https://arxiv.org/pdf/2509.21164 | ![]() |
Code |
| 2025/11 | Q-KVComm: Efficient Multi-Agent Communication Via Adaptive KV Cache Compression https://arxiv.org/pdf/2512.17914 | An efficient protocol enabling direct transmission of compressed KV cache representations between LLM agents, achieving 5-6x compression while maintaining semantic fidelity. | |
| 2026/02 | LRAgent: Efficient KV Cache Sharing for Multi-LoRA LLM Agents https://arxiv.org/abs/2602.01053 | Proposes decomposed KV cache sharing for multi-LoRA agents, reducing memory overhead by sharing base components and storing adapter components in low-rank form. | |
| 2026/02 | RelayCaching: Accelerating LLM Collaboration via Decoding KV Cache Reuse https://arxiv.org/abs/2603.13289 | Training-free method that reuses decoding phase KV caches from previous agents in subsequent prefill phases, achieving 80%+ reuse and up to 4.7x TTFT reduction. | |
| 2026/02 | Vision Wormhole: Latent-Space Communication in Heterogeneous Multi-Agent Systems https://arxiv.org/abs/2602.15382 | Enables model-agnostic communication by repurposing VLM's visual interface as a universal port for inter-agent latent communication, reducing pairwise alignment complexity from O(N²) to O(N). | Code |
| 2026/02 | Agent Primitives: Reusable Latent Building Blocks for Multi-Agent Systems https://arxiv.org/abs/2602.03695 | Introduces reusable latent building blocks to address task-specific complexity and error accumulation in long-context multi-stage interactions. | |
| 2026/02 | Agent Memory: Persistent Q4 KV Cache for Multi-Agent LLM Inference on Edge Devices https://arxiv.org/abs/2603.04428 | Persists agent KV caches to disk in 4-bit quantized format for edge devices, reducing TTFT by up to 136x through direct cache restoration. | Code |
| 2026/02 | Five Ws of Multi-Agent Communication: A Comprehensive Survey from MARL to Emergent Language and LLMs https://arxiv.org/abs/2602.11583 | Reviews multi-agent communication through the Five Ws framework (who, whom, when, what, why), connecting MARL, emergent language, and LLM-based systems. | |
| 2026/03 | Edge LLM Handover: Low-Latency Edge LLM Handover via Joint KV Cache Transfer and Token Prefill https://arxiv.org/abs/2603.28018 | Jointly optimizes prefill length and KV cache delivery scheduling for seamless LLM service handover between edge servers. | |
| 2026/03 | BIGMAS: Brain-Inspired Graph Multi-Agent Systems for LLM Reasoning https://arxiv.org/abs/2603.15371 | Organizes specialized LLM agents as nodes in a dynamically constructed directed graph with centralized shared workspace coordination. |
Explore projetos relacionados
Carregando…








