Papers › Cache-to-Cache: Direct Semantic Communication Between Large Language Models

Cache-to-Cache: Direct Semantic Communication Between Large Language Models

3 Oct 2025ICLRarXiv:2510.03215added by Syntology

Tianyu Fu, Zihan Min, Hanling Zhang, Jichao Yan, Guohao Dai, Wanli Ouyang, Yu Wang

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Multi-LLM systems harness the complementary strengths of diverse Large Language Models, achieving performance and efficiency gains that are not attainable by a single model. In existing designs, LLMs communicate through text, forcing internal representations to be transformed into output token sequences. This process both loses rich semantic information and incurs token-by-token generation latency. Motivated by these limitations, we ask: Can LLMs communicate beyond text? Oracle experiments show that enriching the KV-Cache semantics can improve response quality without increasing cache size, supporting KV-Cache as an effective medium for inter-model communication. Thus, we propose Cache-to-Cache (C2C), a new paradigm for direct semantic communication between LLMs. C2C uses a neural network to project and fuse the source model's KV-cache with that of the target model to enable direct semantic transfer. A learnable gating mechanism selects the target layers that benefit from cache communication. Compared with text communication, C2C utilizes the deep, specialized semantics from both models, while avoiding explicit intermediate text generation. Experiments show that C2C achieves 6.4-14.2% higher average accuracy than individual models. It further outperforms the text communication paradigm by approximately 3.1-5.4%, while delivering an average 2.5x speedup in latency. Our code is available at https://github.com/thu-nics/C2C.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2510.03215")

Code

Syntology Ran 0 of 14 code samples harvested from 1 repository linked to this paper; 14 have no recorded run.

By repository: found in paper text by Syntology: 14 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

thu-nics/C2C found in paper text by SyntologyApache-2.0 report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 0 ran; 0 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

14unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from thu-nics/C2C. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

all_sharers_mask thu-nics/C2C/rosetta/utils/core.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 3a17fd78f7eeb7d5 · report
build_prompt thu-nics/C2C/rosetta/utils/evaluate.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 472ca2ea3d9cecca · report
capture_init_args thu-nics/C2C/rosetta/train/dataset_adapters.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 3f66eae199cc340b · report
clone_kv_cache thu-nics/C2C/rosetta/model/wrapper.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 4b5ab2ca4513e83b · report
create_text_length_filter thu-nics/C2C/rosetta/train/dataset_adapters.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 4e2d2967c4bfe0b1 · report
extract_answer_from_content thu-nics/C2C/rosetta/utils/evaluate.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 487b0fcf699da856 · report
hybrid_to_dynamic thu-nics/C2C/rosetta/model/wrapper.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 7e4691822f4b29b8 · report
k_nearest_sources thu-nics/C2C/rosetta/train/model_utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 7560f1f6daf446f2 · report
last_aligned_sources thu-nics/C2C/rosetta/train/model_utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 22b2f2f6f8147c86 · report
mask_to_sharers thu-nics/C2C/rosetta/utils/core.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 7a7ba05d0e27c078 · report
parse_answer thu-nics/C2C/rosetta/utils/evaluate.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 6a9ab19801c22746 · report
register_dataset thu-nics/C2C/rosetta/train/dataset_adapters.py found in paper text by Syntology unverified Apache-2.0 (permissive) · a335ebc9764afbf4 · report
sample_token thu-nics/C2C/rosetta/model/sampling.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 687e2c81ca6fa045 · report
sharers_to_mask thu-nics/C2C/rosetta/utils/core.py found in paper text by Syntology unverified Apache-2.0 (permissive) · f1bff5c661343925 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2510.03215, was issued in October 2025, after that date, so the archive has no leaderboard rows for it.

Placed on leaderboards by Syntology Syntology

Syntology's extractor considered 1 leaderboard for this paper and did not place the paper on it: 1 refused by a rule. What is not shown.

Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections