MiMo-V2.5 LLM Inference Optimized for Hybrid SWA Efficiency

Xiaomi MiMo Team, 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· July 16, 2026 View original

Summary

This paper details a comprehensive inference optimization for the MiMo-V2.5 model family, which integrates Hybrid Sliding Window Attention (SWA), sparse Mixture-of-Experts (MoE), and multimodal encoders. The optimizations focus on the KVCache system, distributed caching, and multimodal input processing to achieve significant efficiency gains in production.

Researchers have developed a full-pipeline inference optimization strategy specifically for the MiMo-V2.5 model family, which combines advanced architectural elements like Hybrid Sliding Window Attention (SWA), sparse Mixture-of-Experts (MoE), and multimodal encoders. While Hybrid SWA theoretically offers substantial reductions in attention computation and KVCache storage, realizing these benefits in a production environment requires significant engineering effort. The optimization effort systematically targets the KVCache system, implementing layerwise prefetch, SWA-aware prefix cache trees, and specialized placement strategies. This ensures strict O(W) SWA storage complexity and high cache hit rates, maximizing the efficiency of the sliding window mechanism. Further enhancements include the development of GCache, a high-performance distributed cache infrastructure utilizing RDMA-optimized networking, alongside a KVCache-affinity router. This router is designed to minimize computation while maintaining effective load balancing across the system. The optimization also extends to multimodal inputs, incorporating GPU image preprocessing, parallel video decoding, and shared multimodal caching. Collectively, these advancements represent the first large-scale LLM serving system in production that efficiently supports the complex composite architecture of Hybrid SWA, MoE, and multimodal inputs. This work demonstrates how to push the boundaries of inference efficiency for sophisticated, multi-component LLMs.

Why it matters

For professionals deploying complex LLMs, these optimizations offer a blueprint for achieving high efficiency and scalability, significantly reducing operational costs and improving user experience for multimodal applications.

How to implement this in your domain

  1. 1Analyze current LLM serving infrastructure for KVCache bottlenecks and SWA implementation gaps.
  2. 2Investigate adopting layerwise prefetch and SWA-aware prefix cache trees for KVCache optimization.
  3. 3Explore implementing a distributed cache infrastructure like GCache with RDMA for high-performance networking.
  4. 4Develop or integrate KVCache-affinity routers to enhance load balancing and reduce computation.
  5. 5Optimize multimodal input pipelines with GPU preprocessing and parallel decoding for improved throughput.

Who benefits

Cloud ComputingAI PlatformsMedia & EntertainmentTelecommunicationsAutomotive

Key takeaways

  • Full-pipeline optimization significantly boosts MiMo-V2.5 LLM inference efficiency.
  • KVCache system improvements ensure strict O(W) SWA storage and high cache hit rates.
  • A distributed GCache with RDMA and KVCache-affinity routing enhances performance and load balancing.
  • Multimodal input processing is optimized for GPU and parallel decoding.

Original post by Xiaomi MiMo Team, 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

"arXiv:2607.13095v1 Announce Type: cross 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…"

View on X

Originally posted by Xiaomi MiMo Team, 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 on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses