Aube.Tuesday, 24 November 2026Support us

Aube.

News of progress
LabSingle source

EdgeRock-4B cuts long-context memory 99.1%, team reports

Languages for this article
Original · ENDEESFRITPT

Originally written in English. 6 languages available; yours is one click away.

Generated infographic: 99.1% — EdgeRock-4B cuts long-context memory 99.1%, team reports
AI-generated illustration

Feed a language model a 256,000-token document and its memory bill grows with every word it has read. Rock Matrix, working with the Hong Kong University of Science and Technology and Carnegie Mellon University, has open-sourced EdgeRock-4B, a model that breaks that link. Its KV cache, the memory that holds keys and values for past tokens, stays fixed at 72 MiB at 256K context, where Qwen3.5-4B needs 8 GiB: a 99.1% cut.

The team did not train a new model. It converted Alibaba's Qwen3.5-4B in stages. The model's 24 Gated DeltaNet layers already carry a fixed-size state, so they were kept. Its 8 full-attention layers, which normally store keys and values for every past token, were turned into sliding-window attention over the last 1,024 tokens. To stop the model forgetting what slides out of that window, the team added Rock Memory Anchors: for each group of KV heads, every 256 candidate tokens, the model keeps the 1,024 most useful ones in a small anchor bank.

The speed gains follow from that design. On a single 80 GB Hopper GPU, EdgeRock served 512 concurrent streams at 12,124 tokens per second, 6.42 times the 1,889 tokens per second Qwen3.5-4B reached at its batch limit of 64, with peak memory of 61.26 GiB. With 128K tokens in and 128K out, EdgeRock held a steady 233.7 tokens per second, while Qwen slowed from about 169 to 151.3. GPU time fell to 24.9% of Qwen's at 4K input and 15.6% at 32K.

The accuracy cost is small, by the team's numbers. EdgeRock keeps 96.3% of Qwen3.5-4B's AIME score and 97.5% on MATH-500, beats it on 8 benchmarks, and keeps 95.3% of its vision scores. The memory anchors matter: in one ablation, a retrieval task scored 94.1% with them and 0.4% without them. All of these measurements come from the team.

For anyone running long conversations or large documents on limited hardware, what changes is the cost of the context itself. The weights are on GitHub with quantized builds, and the EdgeRock model license, which the team says allows commercial use, applies to them. Larger sizes are planned, and that is the next step, though no date has been given.

99.1%Memory cut at 256K context, from 8 GiB to 72 MiB, per the team

Sources — read the originals(Paris time)

PandailyEN
0000

Read next

Comments

Loading the thread…

Sign in to leave a comment. Sign in