Accelerating Cross-Model LLM Inference via Attention Map Reuse
Zhan JinYuze LuoBin CuiXupeng Miao
Zhan Jin
Yuze Luo
Bin Cui
Xupeng Miao
+4
MapFlow accelerates heterogeneous LLM serving with substantial shared context by reusing attention maps instead of model-specific KV states, which capture more transferable token dependency patterns. It combines partial recomputation with lightweight linear translation across layers and heads, and adds block-level sparse compression plus a fused retrieval kernel for long contexts. Experiments show reduced prefilling latency and improved end-to-end efficiency while preserving generation quality across heterogeneous model pairs and multi-turn routing workloads.

arXiv ·
· October 10, 2026