Peking University's MapFlow reuses attention maps across models to cut prefill cost
jiqizhixin · x · 2026-11-27
Peking University researchers propose MapFlow in an arXiv paper for serving heterogeneous LLMs: when routing long shared contexts between different models, much of the expensive prefill computation gets repeated.
How it works:
- Reuses stored attention maps representing token dependencies; partial recomputation and lightweight linear translation adapt those maps across another model's layers and heads.
- Block-level sparse compression and a fused retrieval kernel make storing maps practical for longer contexts, supporting reuse within multi-model workflows.
- Architecture spans an attention-state compressor on the sender model, a cache server (block indices table + block pool), and a retrieval engine on the receiver.
Evaluations show reduced prefill latency and improved end-to-end serving efficiency while preserving generation quality across tested model pairs and multi-turn routing workloads, though transfer depends on the models, context, and reuse settings examined.
More from Infra
- Bloomberg: Nvidia's vendor financing built a closed loop of artificial demand that will burst the AI bubble — sidjustice_ · 2026-11-27
- One million computers cleared for orbit: why space-based compute is chasing a sun that never sets — r0ck3t23 · 2026-11-27
- DeepSeek's open-sourced smallpond still stuns: DuckDB parallelism crushed BigQuery sorting — teodorio · 2026-11-27
- Cloak: open-source MacOS app runs agents anonymously via Tor and TEE clouds — seanwbren · 2026-11-27
- AMD to challenge Nvidia on rack-scale GPUs for the first time as 2027 ramp looms — Beth_Kindig · 2026-11-27
- After Alexa butted in with Black Friday ads, one user swapped it for a Mac mini running open-source Hermes — JFPuget · 2026-11-27