Latent Space Communication via K-V Cache Alignment

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Dery, Lucio M., Yahav, Zohar, Prior, Henry, Feng, Qixuan, Shen, Jiajun, Szlam, Arthur
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908756738048000
author Dery, Lucio M.
Yahav, Zohar
Prior, Henry
Feng, Qixuan
Shen, Jiajun
Szlam, Arthur
author_facet Dery, Lucio M.
Yahav, Zohar
Prior, Henry
Feng, Qixuan
Shen, Jiajun
Szlam, Arthur
contents Solving increasingly complex problems with large language models (LLMs) necessitates a move beyond individual models and towards multi-model systems that can effectively collaborate. While text has traditionally served as the medium for inter-model communication, a richer and more efficient exchange is possible if models can access each other's internal states directly. In this paper, we propose learning a shared representation space that aligns the k-v caches of multiple models, creating a high-bandwidth channel for collaboration without altering the underlying pre-trained parameters. We do so by augmenting each model with adapters to translate its state into and out of this shared space. Via a suite of experiments with Gemma-2 models, we demonstrate that this approach not only enables seamless inter-model communication but also improves individual model performance. We also show that the shared space allows for the direct transfer of learned skills, such as soft prompts, between different models. Our work represents a significant step towards a future where models can fluidly share knowledge and capabilities.
format Preprint
id arxiv_https___arxiv_org_abs_2601_06123
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Latent Space Communication via K-V Cache Alignment
Dery, Lucio M.
Yahav, Zohar
Prior, Henry
Feng, Qixuan
Shen, Jiajun
Szlam, Arthur
Machine Learning
Artificial Intelligence
Solving increasingly complex problems with large language models (LLMs) necessitates a move beyond individual models and towards multi-model systems that can effectively collaborate. While text has traditionally served as the medium for inter-model communication, a richer and more efficient exchange is possible if models can access each other's internal states directly. In this paper, we propose learning a shared representation space that aligns the k-v caches of multiple models, creating a high-bandwidth channel for collaboration without altering the underlying pre-trained parameters. We do so by augmenting each model with adapters to translate its state into and out of this shared space. Via a suite of experiments with Gemma-2 models, we demonstrate that this approach not only enables seamless inter-model communication but also improves individual model performance. We also show that the shared space allows for the direct transfer of learned skills, such as soft prompts, between different models. Our work represents a significant step towards a future where models can fluidly share knowledge and capabilities.
title Latent Space Communication via K-V Cache Alignment
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2601.06123