Newsroom Wire

CN China10-26 14:45⏱ 6 min read

KV Cache cut by 99% with 6x throughput: HKUST and Yanshan Tech open-source new model

A Google paper this year shook memory-chip makers by attacking KV Cache, a major inference cost. New work from HKUST (Guangzhou) and Yanshan Technology open-sources AKV, a cache-engineering server that cuts context cache from 4K-256K down to a fixed 72MB, reducing KV Cache by 99.1%.

A Google paper this year actually moved memory chip giants' stock prices.

You see, large model inference is increasingly memory-hungry, and the KV Cache is a significant chunk of that expense.

Now Google suddenly compressed it by this much, and the stock prices of memory giants like Micron fell in response.

As context grew from 4K all the way to 256K, KV Cache usage simply didn't change.

At 256K context it stays fixed at 72 MiB. Compared with the source model, the KV Cache is reduced by 99.1%.

Even more dramatic: a single 80GB GPU running 512 concurrent long-context inference streams reached an output throughput of 12,124 tokens/s—6.42x the source model.

And its reasoning ability was largely preserved: an 82.9% average single-pass rate on AIME 2024–2026, while the best bounded-state model among those evaluated, even at 14B, managed only 18.8%.

This is EdgeRock-4B, just released and open-sourced by Rock Matrix under Yanshan Technology, together with HKUST, CMU, and other universities.

Today's models routinely think for tens of thousands of tokens; Agents can work for dozens of consecutive rounds, stuffing search results, code, and tool-call records into the context.

Most models today store inference history in the KV Cache, storing a bit more with every generated token.

Take Qwen3.5-4B as an example: each token adds 32 KiB of KV Cache. At 64K of inference, one sequence holds 2 GiB; at 256K, 8 GiB.

Models increasingly love "deep thinking," often outputting tens of thousands of tokens; an Agent run can span dozens of tool-call rounds, with context snowballing longer.

On edge devices, the KV Cache also has to fight perception and control modules for already-limited memory.

Multi-head Latent Attention (MLA) compresses KV; quantization methods like KIVI reduce precision; Google's TurboQuant belongs to this line too.

The problem is that they often fail to retain distant details needed by later reasoning, and reasoning ability suffers heavily as a result.

The test setup: 32K input, 32K output, all models on a single Hopper 80GB GPU, each using its empirically fastest batch size.

EdgeRock-4B ran at 512-way concurrency, with output throughput of 12,124 tokens/s.

The source model Qwen3.5-4B peaked at batch size 64 with only 1,889 tokens/s; Gemma 4 E4B, MiniCPM5-2B, and LFM2.5-2.6B all landed between 1,700 and 2,200 tokens/s.

After a full 32K-input plus 32K-output run, Qwen3.5-4B's KV Cache per sequence is 2 GiB.

But when EdgeRock-4B runs in batch, the total historical state stored per sequence is fixed at 97.76 MiB, independent of length.

To put it in perspective: if Qwen3.5-4B also ran these 512 sequences concurrently, the KV Cache at generation end alone would require 1 TiB—roughly the VRAM of 13 80GB GPUs.

EdgeRock fit it all on a single card, peaking at 61.26 GiB—model weights included.

Across 16 workloads combining 4K-to-32K input and output, with batch size pushed from 32 to 512, weighted decoding throughput rose from 4,128 to 12,497 tokens/s while peak VRAM never touched the single-card ceiling.

That's because every newly generated token requires looking back through the ever-growing KV Cache.

After a 128K input followed by generating 128K tokens, its speed held steady at 233.7 tokens/s from start to finish;

billed by GPU-hour, the per-token compute cost falls by the same ratio.

Averaged over four input lengths, EdgeRock's throughput is 4.94x Qwen3.5-4B's and 7.18x LFM2.5-2.6B's.

Qwen3.5-4B's KV Cache keeps growing with length; EdgeRock's doesn't grow.

At this point, knowledgeable readers may ask: constant memory—didn't RNNs and Mamba do that long ago? What's special here?

The team compared EdgeRock-4B against 16 bounded-state models spanning GDN, RWKV, Mamba, and other lines, three of them at the 14B scale.

On AIME 2024–2026, EdgeRock-4B averaged an 82.9% single-pass rate; the strongest in the control group, RWKV-7 G1j 13.3B, managed only 18.8%, and AHN-GDN Qwen2.5 14B scored 11.4%.

Across 29 text benchmarks, EdgeRock-4B ranked first among bounded-state models on 24; its equal-weighted mean across the 29 beats the strongest baseline on that metric, AHN-GDN Qwen2.5 14B, by 23.8 percentage points.

That result is already on par with leading small models whose memory grows with inference.

The core is a new memory mechanism: Rock Memory Anchors (RMA).

Just as a rock climber hammers anchors into the rock face so that every later step has a reliable hold, RMA "pins" the details that truly matter during inference into a fixed-capacity anchor library, read directly when needed.

Specifically, EdgeRock stores each sequence's history in three parts, each with its own role:

Every 256 accumulated candidates are compared against existing records in the anchor library; only the top-scoring 1,024 are kept, the rest discarded.

Kept anchors are independent of each other and unchanged in content. So even when their source has long slid out of the local window, later reasoning can still read them directly.

Put simply, the model learns not to "remember everything" but to "remember only what's worth remembering."

Local window plus anchor library fixes each sequence's attention KV at 72 MiB. That's where the flat memory comes from.

Architecturally, EdgeRock-4B is adapted from Qwen3.5-4B: it keeps 24 Gated DeltaNet layers, swaps 8 full-attention layers for sliding-window attention with a 1,024-token window, and adds an independent RMA module.

The whole model was converted from Qwen3.5-4B in stages, with no pretraining from scratch.

The team ran an experiment: at inference, they turned off all 8 RMA modules while the recurrent layers and local attention worked as usual.

On 256 long-context segments of 16K to 130K tokens, with 4 questions per segment covering retrieval, state updates, cross-document information combination, and variable binding:

Long-distance recall dropped to nearly zero. This shows EdgeRock really does rely on anchors to read distant information when answering.

Moreover, every anchor records its source position, so you can inspect directly what the model chose to remember.

EdgeRock was built by Rock Matrix under Yanshan Technology together with HKUST, CMU, and other universities. The model is now open-sourced and available for commercial use.

After all, a robot perceives the environment while planning actions, and tasks may run for hours or longer—historical cache can't be allowed to balloon indefinitely.

If memory usage during inference can be computed in advance, edge deployment also gets a lot easier.

Paper: https://rockmatrix.ai/documents/edgerock-report-zh.pdf

GitHub: https://github.com/rockmatrix-ai/EdgeRock

Hugging Face: https://huggingface.co/rockmatrix-ai/EdgeRock

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…