SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.13556 · 2026

YOCO++: Enhancing YOCO with KV Residual Connections for Efficient LLM Inference

Yizhen Zhang, Bo Zheng, Kewei Tu, You Wu, Ziheng Chen, Chengting Yu, Yuchi Xu, Wenbo Su, Haoyi Wu

arXiv · PDF · Open in the Atlas

Code that ran

3 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2604.13556.json · badge: /api/ran/2604.13556.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
wuyou2002/YOCO-plus canonical (classifier label)
classifier basis: census
3 ran · 2 no recorded run
FunctionStatusWhere it lives
prepare_ctrl_input Ran
ran; our contract draft was wrong, not the code
wuyou2002/YOCO-plus/run_generation.py
pointer only (licence: NONE) · get_code("a766a95b9fd5ee9c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wuyou2002/YOCO-plus when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_xlm_input Ran
ran; our contract draft was wrong, not the code
wuyou2002/YOCO-plus/run_generation.py
pointer only (licence: NONE) · get_code("b7bf53f6b6b11a4b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wuyou2002/YOCO-plus when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_xlnet_input Ran
ran; our contract draft was wrong, not the code
wuyou2002/YOCO-plus/run_generation.py
pointer only (licence: NONE) · get_code("80844fa7cfa6e8d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wuyou2002/YOCO-plus when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

flash_attention_forward Not yet run
unverified (harvested, no recorded run)
wuyou2002/YOCO-plus/models/utils.py
pointer only (licence: NONE) · get_code("92eac4dd828162e7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wuyou2002/YOCO-plus when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

liger_rotary Not yet run
unverified (harvested, no recorded run)
wuyou2002/YOCO-plus/models/kernel.py
pointer only (licence: NONE) · get_code("daa55e6ce848f98f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wuyou2002/YOCO-plus when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 0 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
prepare_ctrl_input 11 other papers
11 dated earlier
1910.03771 (2019-10)
HuggingFace's Transformers: State-of-the-art Natural Language Processing
2009.14259 (2020-09)
Visually-Grounded Planning without Vision: Language Models Infer Detailed Plans from High-level Instructions
2106.06168 (2021-06)
Generate, Annotate, and Learn: NLP with Synthetic Text
and 8 more not named here
prepare_xlm_input 11 other papers
11 dated earlier
1910.03771 (2019-10)
HuggingFace's Transformers: State-of-the-art Natural Language Processing
2009.14259 (2020-09)
Visually-Grounded Planning without Vision: Language Models Infer Detailed Plans from High-level Instructions
2106.06168 (2021-06)
Generate, Annotate, and Learn: NLP with Synthetic Text
and 8 more not named here
prepare_xlnet_input 8 other papers
8 dated earlier
1910.03771 (2019-10)
HuggingFace's Transformers: State-of-the-art Natural Language Processing
2210.15097 (2022-10)
Contrastive Decoding: Open-ended Text Generation as Optimization
2305.01625 (2023-05)
Unlimiformer: Long-Range Transformers with Unlimited Length Input
and 5 more not named here
flash_attention_forward 1 other paper
1 dated earlier
2410.14442 (2024-10)
A Systematic Study of Cross-Layer KV Sharing for Efficient LLM Inference
liger_rotary 1 other paper
1 dated earlier
2410.14442 (2024-10)
A Systematic Study of Cross-Layer KV Sharing for Efficient LLM Inference

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Cross-layer key-value (KV) compression has been found to be effective in efficient inference of large language models (LLMs). Although they reduce the memory consumption of the KV cache, such methods usually introduce non-negligible performance degradation. In this work, we aim to enhance the performance of YOCO, a cross-layer KV compression method that shares the KVs of the middle layer with the top-half layers. We propose YOCO++, an enhanced YOCO that incorporates a weighted residual connection between the KVs of each bottom-half layer and the bottom layer. Compared to YOCO, YOCO++ increases model capacity while maintaining the same training and inference efficiency. Our experiments show that YOCO++ achieves state-of-the-art performance among the cross-layer KV compression methods at a 50% KV cache compression rate, outperforming the standard Transformer.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2604.13556")
get_code_for_paper("2604.13556")
have("2604.13556")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2604.13556.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2604.13556.svg)](https://syntology.ai/paper/2604.13556)

Connect an agent — have() is free.