Characterizing Mobile SoC for Accelerating Heterogeneous LLM Inference
Le Chen, Dahu Feng, Erhu Feng, Yingrui Wang, Rong Zhao, Yubin Xia, Pinjie Xu, Haibo Chen
摘要
With the rapid advancement of artificial intelligence technologies such as ChatGPT, AI agents, and video generation, contemporary mobile systems have begun integrating these AI capabilities on local devices to enhance privacy and reduce response latency. To meet the computational demands of AI tasks, current mobile SoCs are equipped with diverse AI accelerators, including GPUs and Neural Processing Units (NPUs). However, there has not been a comprehensive characterization of these heterogeneous processors, and existing designs typically only leverage a single AI accelerator for LLM inference, leading to suboptimal use of computational resources and memory bandwidth. In this paper, we first summarize key performance characteristics of heterogeneous processors, SoC memory bandwidth, etc. Drawing on these observations, we propose different heterogeneous parallel mechanisms to fully exploit both GPU and NPU computational power and memory bandwidth. We further design a fast synchronization mechanism between heterogeneous processors that leverages the unified memory architecture. By employing these techniques, we present HeteroInfer, the fastest LLM inference engine in mobile devices which supports GPU-NPU heterogeneous execution. Evaluation shows that HeteroInfer delivers a 1.34× to 6.02× end-to-end speedup over state-of-the-art GPU-only and NPU-only LLM engines, while maintaining negligible interference with other applications.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve 引用了 DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving
- Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
- Inference in the Shadows: Taming Memory Bandwidth Contention in Mobile LLM Inference with Sereno 引用了 Scaling LLM Test-Time Compute with Mobile NPU on Smartphones
- Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
- D i F low : A System for Micro-Serving Text-to-image Di ffusion Work flows 引用了 Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve
- D i F low : A System for Micro-Serving Text-to-image Di ffusion Work flows 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
引用它的顶会 Paper3
- Scaling LLM Test-Time Compute with Mobile NPU on SmartphonesZixu Hao, Jianyu Wei, Tuowei Wang, Minxing Huang 等EuroSys 2026 · 2 次引用
- Inference in the Shadows: Taming Memory Bandwidth Contention in Mobile LLM Inference with SerenoTong Xin, Xinrui Shi, Mingkai Dong, Zeyu MiOSDI 2026
- D i F low : A System for Micro-Serving Text-to-image Di ffusion Work flowsLingyun Yang, Suyi Li, Tianyu Feng, Xiaoxiao Jiang 等SOSP 2026
它引用的 Paper26
- Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
- Orca: A Distributed Serving System for Transformer-Based Generative ModelsGyeong-In Yu, Joo Seong Jeong, Geon-Woo Kim, Soojeong Kim 等OSDI 2022 · 690 次引用
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model ServingYinmin Zhong, Shengyu Liu, Junda Chen, Jianbo Hu 等OSDI 2024 · 646 次引用
- Ansor: Generating High-Performance Tensor Programs for Deep LearningLianmin Zheng, Chengfan Jia, Minmin Sun, Zhao Wu 等OSDI 2020 · 551 次引用
- Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-ServeAmey Agrawal, Nitin Kedia, Ashish Panwar, Jayashree Mohan 等OSDI 2024 · 537 次引用
相关 Paper
- PAPI: Exploiting Dynamic Parallelism in Large Language Model Decoding with a Processing-In-Memory-Enabled Computing SystemYintao He, Haiyu Mao, Christina Giannoula, Mohammad Sadrosadati 等ASPLOS 2025 · 37 次引用
- Understand and Accelerate Memory Processing Pipeline for Large Language Model InferenceZifan He, Rui Ma, Yizhou Sun, Jason CongICML 2026
- IANUS: Integrated Accelerator based on NPU-PIM Unified Memory SystemMinseok Seo, Xuan Truong Nguyen, Seok Joong Hwang, Yongkee Kwon 等ASPLOS 2024 · 57 次引用
- NeuPIMs: NPU-PIM Heterogeneous Acceleration for Batched LLM InferencingGuseul Heo, Sangyeop Lee, Jaehong Cho, Hyunmin Choi 等ASPLOS 2024 · 121 次引用
- WeInfer: Unleashing the Power of WebGPU on LLM Inference in Web BrowsersZhiyang Chen, Yun Ma, Haiyang Shen, Mugeng LiuWWW 2025 · 9 次引用
