Ramp Labs releases 2.35B MoE translating KV cache across 7 LLMs
TL;DR
- Ramp Labs and Baseten released a 2.35B mixture-of-experts translator that maps hidden states between seven LLMs covering all 42 source-target pairs.
- The authors claim 96.9% retained accuracy and up to 7.5x faster prefill on long documents; both figures are self-reported.
- An optional query-aware compressor further shrinks the translated cache by 16x, 64x or 128x; the checkpoint ships under Apache-2.0 and serves through vLLM.
Ramp Labs and Baseten's research team have released a 2.35-billion-parameter mixture-of-experts model whose sole job is translating one language model's hidden states into a different model's key-value cache. A source LLM reads the document once; the shared translator converts its per-layer hidden states into the target's KV format; the target decodes without re-prefilling the text. The GitHub README puts it flatly: 'a small shared translator turns its per-layer hidden states into a target LLM's KV cache,' with an optional 'query-aware compressor' that 'shrinks that cache 16x / 64x / 128x.'
The checkpoint, published as `RampPublic/speculative-encoding` on Hugging Face, covers seven models: Qwen3 14B, Qwen3.5 9B, Llama 3.1 8B, Gemma 3 12B, Gemma 4 12B, and Ministral 3 at both 8B and 14B, with one translator spanning all 42 directional pairs. Apache-2.0, served through vLLM or Hugging Face.
The accuracy and latency figures are the authors' own. Ramp Labs' launch post, from Ben Geist and Thomas Villeneuve, says the system 'keeps 96.9% of base accuracy and cuts prefill latency by up to 7.5× on long documents.' Baseten's companion post frames the use case: context has to be processed again 'every time a new model picks up the task.' Two of the researchers we follow posted the link within hours of the drop.
An independent read at explainx.ai is more cautious: 'The 96.9% and 7.5x figures are the lab's own and unreplicated, the repo has no model card.' The README itself publishes no per-pair accuracy table.
Shared on Bluesky by 2 AI experts
-
Speculative Encoding: multi-agents are too slow because of the prefill time (hydrating the prompt cache) solution: convert one model’s context into another model’s prompt cache github.com/b10-tv/specu...
View on Bluesky →
Originally reported by github.com
Read the original article →Original headline: GitHub - b10-tv/speculative-encoding: Translate one LLM's document states into another LLM's KV cache, with query-aware compression, served through vLLM