# Full-Pipeline Inference Optimization for MiMo-V2.5 Series: Pushing Hybrid SWA Efficiency to the Limit

- **ID:** 468
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2607.13095
- **Authors:** Anqi Liu, Aoxin Ma, Bo Chen, Bo Yang, Chen Wang, Chen Zhang, Chengda Tang, Chengwei Wang, Chiheng Lou, Depeng Yan, Fuli Luo, Gang Wang, Hailin Zhang, Jiale Sun, Kang Zhou, Rui Huang, Shaohui Liu, Shen Huang, Shijie Cao, Shuaishuai Fan, Tianling Zhou, Xiangwei Deng, Xueyang Xie, Xuli Wang, Yingchun Lai, Yu Yang, Yuan Zhang, Zhen Tang, Zhonghua Deng, Zihan Jiang
- **Venue:** arXiv / Xiaomi MiMo
- **Published:** 2026
- **Source:** arxiv
- **Language:** en
- **Access:** free
- **License:** arXiv perpetual non-exclusive license 1.0 (paper); MIT (XiaomiMiMo/MiMo-V2.5 weights)
- **License family:** Other (auto-classified)
- **Tags:** mimo, hybrid-swa, kv-cache, sglang, moe, serving, xiaomi, multimodal, gcache
- **Topics:** LLM serving, Hybrid SWA, KV cache, multimodal inference
- **Added:** 2026-08-14
- **Verified:** 2026-08-14
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/468

## Summary

Engineering report for MiMo-V2.5 / V2.5-Pro Hybrid Sliding Window Attention (example: 70 layers, 10 full + 60 SWA, W=128; ~7× less attention FLOPs and KV vs full attention) plus sparse MoE and vision/audio/video encoders. Dual-pool KV with strict O(W) SWA storage, layerwise prefetch, SWA-aware prefix cache trees, GCache L3 (RDMA, co-deployed on GPU nodes), KVCache-affinity router (~+25% L2 hit, ~+30% input throughput), length bucketing, halved EP after SWA storage (~40% e2e), MTP in prefill (2.3× on first 128 decode tokens), GPU image preprocess and parallel video decode (1-hour video 156s→23s). Reports ~93% production KV hit rate. Positions as the first large-scale serving system covering Hybrid SWA+MoE+multimodal. Not a dataset.

## Attributes

- **Purpose:** Turn Hybrid SWA + MoE + multimodal theoretical gains into a production MiMo-V2.5 serving stack
- **Scale:** MiMo-V2.5 and MiMo-V2.5-Pro; Pro example 70 layers (10 full / 60 SWA W=128); production KV hit ~93% (heavy users ≥95%); Encoder QPS 15→30 at similar latency; 1-hour video decode 156s→23s
- **Used for:** Unknown
- **Time period:** 2026-07-14 (arXiv 2607.13095 v1). HF XiaomiMiMo/MiMo-V2.5 lastModified 2026-07-09.
- **Author type:** human

## From the source (fetched 2026-10-03)

- **Published:** Jul 14, 2026 (arXiv)
- **arXiv categories:** cs.AR, cs.AI (arXiv)
- **Author comment:** technical report (arXiv)
- **Citations:** 2 (Semantic Scholar)
- **References:** 4 (Semantic Scholar)

## Abstract

We present a full-pipeline inference optimization for the MiMo-V2.5 model family, which combines Hybrid Sliding Window Attention (Hybrid SWA), sparse Mixture-of-Experts (MoE), and multimodal encoders. While Hybrid SWA can ideally reduce both attention compute and KVCache storage significantly compared to Full Attention, realizing these gains in production requires substantial engineering effort. We systematically optimize the KVCache system with layerwise prefetch, SWA-aware prefix cache trees, and specialized placement strategies, achieving strict $O(W)$ SWA storage and high cache hit rates. We further build GCache, a high-performance distributed cache infrastructure with RDMA-optimized networking, and develop a KVCache-affinity router to reduce computation while preserving load balancing. We also optimize for multimodal inputs, including GPU image preprocessing, parallel video decoding, and multimodal cache sharing. Together, these optimizations constitute the first large-scale LLM serving system in production that efficiently covers the Hybrid SWA + MoE + multimodal composite architecture.

## Research notes

- Primary: arxiv abs (default nonexclusive-distrib 1.0, cs.AR/AI); technical report. Xiaomi MiMo Team; corresponding Fuli Luo. Open weights https://huggingface.co/XiaomiMiMo/MiMo-V2.5 (MIT, 394 likes, 428,880 downloads at check) and MiMo-V2.5-Pro. Serving work on SGLang; some Encoder changes noted as SGLang issue #24945. Discord posted AlphaXiv 2607.13095 with a chatId query; canonical abs recorded. Paper not a dataset; no datasets_local row.

## Related entries

- Discussed in: [Mixture-of-experts language models: where the work is (overview)](https://papers.projxon.ai/entries/1206) (note, #1206)

## Similar entries

- [HySparse2: Hybrid Sparse Attention with Two-Level KV Sharing](https://papers.projxon.ai/entries/1031) (paper, #1031)
- [MiMo-V2.6-RL-oss (Agentic RL Environments)](https://papers.projxon.ai/entries/1063) (dataset, #1063)
- [mimo-v2.6 RL (live training metrics dashboard)](https://papers.projxon.ai/entries/994) (other, #994)
- [Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse](https://papers.projxon.ai/entries/450) (paper, #450)
- [Kolibri-1: 78B Open-Weight MoE with 3.46B Active Parameters and Hybrid SWA](https://papers.projxon.ai/entries/1223) (model, #1223)
- [FreeToken: Efficient Edge-Native MoE Serving with Bandwidth-Adaptive Execution](https://papers.projxon.ai/entries/694) (paper, #694)
