A Novel Hat-Shaped Device-Cloud Collaborative Inference Framework for Large Language Models
On the map: Efficient LLM inference and serving → Early exit and edge inference
Abstract (arXiv)
Recent advancements in large language models (LLMs) have catalyzed a substantial surge in demand for LLM services. While traditional cloud-based LLM services satisfy high-accuracy requirements, they fall short in meeting critical demands for low delay and enhanced privacy. To address these limitations, we propose HAT, a novel device-cloud collaborative inference framework that leverages the complementary strengths of U-shaped inference and speculative decoding. HAT partitions the LLM into three submodels, and the input and output submodels, stacked with a lightweight adapter network, are deployed as a small language model (SLM) on each end device. Meanwhile, the middle submodel, encompassing the majority of the LLM's decoder layers, is hosted in the cloud to perform speculative decoding with on-device SLMs. During inference, HAT exchanges hidden states (rather than raw tokens) of input or draft tokens between devices and the cloud, thereby incurring substantial communication delays. Besides, processing hidden states of long prompts will exacerbate computation delays in the cloud, further compromising inference efficiency. To improve efficiency, we introduce a prompt chunking mechanism that segments long prompts into shorter chunks, enabling parallel transmission and processing. Furthermore, HAT is implemented to dynamically determine optimal chunk sizes for devices handling long prompts, thereby improving overall inference speed. Extensive experiments are conducted on a physical testbed comprising 30 NVIDIA Jetson devices and a server with 8 NVIDIA A6000 GPUs. Experimental results demonstrate that HAT achieves promising performance improvements, reducing TTFT by 41% to 54% and TBT by 41% to 77% compared to the baselines.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Early exit and edge inference, one of 12 directions in Efficient LLM inference and serving. Builds on 26 of its 53 references that are in the map. First posted on arXiv 23 Mar 2025.
Builds on
26 of 53 references.
References · 26
- 2017Attention Is All You Needcited by 59,932
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 821
- 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertaintycited by 564
- 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 507
- 2023A Survey on Multimodal Large Language Models for Autonomous Drivingcited by 288
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 266
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 257
14 more
- 2022Pretrained Language Models for Text Generation: A Surveycited by 121
- 2024DeepSpeed-FastGen: High-throughput Text Generation for LLMs via MII and DeepSpeed-Inferencecited by 106
- 2018Federated Learning for Keyword Spottingcited by 95
- 2024On Protecting the Data Privacy of Large Language Models (LLMs): A Surveycited by 91
- 2023Split-and-Denoise: Protect large language model inference with local differential privacycited by 30
- 2025CITER: Collaborative Inference for Efficient Large Language Model Decoding with Token-Level Routingcited by 29
- 2024Apple Intelligence Foundation Language Modelscited by 22
- 2024Uncertainty-Aware Hybrid Inference with On-Device Small and Remote Large Language Modelscited by 18
- 2022Similarity-based Label Inference Attack against Training and Inference of Split Learningcited by 15
- 2023Split Ways: Privacy-Preserving Training of Encrypted Data Using Split Learningcited by 15
- 2023A Split-and-Privatize Framework for Large Language Model Fine-Tuningcited by 11
- 2023Passive Inference Attacks on Split Learning via Adversarial Regularizationcited by 9
- 2023Lambda-Split: A Privacy-Preserving Split Computing Framework for Cloud-Powered Generative AIcited by 6
- 2023Salted Inference: Enhancing Privacy while Maintaining Efficiency of Split Inference in Mobile Computingcited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Intelligence per Watt: Measuring Intelligence Efficiency of Local AIcited by 13
- 2026PipeSD: An Efficient Cloud-Edge Collaborative Pipeline Inference Framework with Speculative Decodingcited by 4
- 2026A Pipelined Collaborative Speculative Decoding Framework for Efficient Edge-Cloud LLM Inferencecited by 3
- 2025P/D-Device: Disaggregated Large Language Model between Cloud and Devicescited by 1
- 2026AceSpec: An Asymmetric Edge-Cloud Collaborative Framework for Communication-Efficient LLM Inferencecited by 0
- 2026AceSpec: An Asymmetric Edge-Cloud Collaborative Framework for Communication-Efficient LLM Inference2 Sep 2026
- 2026PipeSD: An Efficient Cloud-Edge Collaborative Pipeline Inference Framework with Speculative Decoding13 May 2026
- 2026A Pipelined Collaborative Speculative Decoding Framework for Efficient Edge-Cloud LLM Inference19 Mar 2026
- 2025Intelligence per Watt: Measuring Intelligence Efficiency of Local AI11 Nov 2025
- 2025P/D-Device: Disaggregated Large Language Model between Cloud and Devices12 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2026Efficient and Privacy Aware Edge Cloud Collaborative Inference for Large Language Models
- 2025Collaborative Inference and Learning between Edge SLMs and Cloud LLMs: A Survey of Algorithms, Execution, and Open Challenges
- 2026SPADE: Speculative Decoding for Precise and Low Cost Distributed Edge Cloud Inference
- 2026FlexSpec: Frozen Drafts Meet Evolving Targets in Edge-Cloud Collaborative LLM Speculative Decoding
- 2024EdgeShard: Efficient LLM Inference via Collaborative Edge Computing
- 2023LinguaLinked: A Distributed Large Language Model Inference System for Mobile Devices
- 2025Jupiter: Fast and Resource-Efficient Collaborative Inference of Generative LLMs on Edge Devices
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthiness