Ramp, Baseten unveil Speculative Encoding for swarms
Ramp Labs and Baseten introduced Speculative Encoding, a 2.35B Mixture-of-Experts translation model that enables multi-agent swarms to exchange hidden states directly without re-prefilling text. Evaluated across seven models from four architecture families, it cuts prefill latency by up to 7.5× on long contexts while retaining 96.9% of target accuracy.
Multi-agent architectures have hit a severe latency wall because handing off context as text forces every downstream agent to repay quadratic prefill compute costs. Speculative Encoding sidesteps text serialization entirely, turning heterogeneous model swarms into a unified latent pipeline.
- –Sub-quadratic scaling: Translating hidden states scales linearly with token length rather than quadratically, unlocking up to a 7.5× latency reduction at 128k context lengths.
- –Cross-family interoperability: A unified 12-layer shared encoder-decoder bridges distinct models across Qwen, Llama, Gemma, and Mistral families via lightweight model-specific interfaces.
- –Query-conditioned latent retrieval: An adapted compressor allows worker agents to query an orchestrator's state and retrieve only relevant hidden states, slashing context volume by 128× while preserving 90%+ accuracy.
- –Shift toward infrastructure-level agent design: Baseten's co-development suggests latent-space communication is moving from theoretical research into production inference serving.
DISCOVERED
32m ago
2026-11-25
PUBLISHED
51m ago
2026-11-25
RELEVANCE
AUTHOR
dominguezdaniel