paper-with-me

홈 › Papers

Uncertainty-Aware Hybrid Inference with On-Device Small and Remote Large Language Models

2024-12-17 · Seungeun Oh, Jinhyuk Kim, Jihong Park, Seung-Woo Ko, Tony Q. S. Quek, Seong-Lyun Kim

This paper studies a hybrid language model (HLM) architecture that integrates a small language model (SLM) operating on a mobile device with a large language model (LLM) hosted at the base station (BS) of a wireless network. The HLM token generation process follows the speculative inference principle: the SLM's vocabulary distribution is uploaded to the LLM, which either accepts or rejects it, with rejected tokens being resampled by the LLM. While this approach ensures alignment between the vocabulary distributions of the SLM and LLM, it suffers from low token throughput due to uplink transmission and the computation costs of running both language models. To address this, we propose a novel HLM structure coined Uncertainty-aware opportunistic HLM (U-HLM), wherein the SLM locally measures its output uncertainty and skips both uplink transmissions and LLM operations for tokens that are likely to be accepted. This opportunistic skipping is enabled by our empirical finding of a linear correlation between the SLM's uncertainty and the LLM's rejection probability. We analytically derive the uncertainty threshold and evaluate its expected risk of rejection. Simulations show that U-HLM reduces uplink transmissions and LLM computations by 45.93%, while achieving up to 97.54% of the LLM's inference accuracy and 2.54$\times$ faster token throughput than HLM without skipping.

📄 PDF Abstract BibTeX arXiv:2412.12687

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language ModelSmall Language Model

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

Dora: QoE-Aware Hybrid Parallelism for Distributed Edge AI

2025-12-09 · Jianli Jin, Ziyang Lin, Qianli Dong, Yi Chen 외 arxiv

With the proliferation of edge AI applications, satisfying user quality of experience (QoE) requirements, such as model inference latency, has become a first class objective, as these models operate in resource constrain…

Communication-Efficient Hybrid Language Model via Uncertainty-Aware Opportunistic and Compressed Transmission

2025-05-17 · Seungeun Oh, Jinhyuk Kim, Jihong Park, Seung-Woo Ko 외

To support emerging language-based applications using dispersed and heterogeneous computing resources, the hybrid language model (HLM) offers a promising architecture, where an on-device small language model (SLM) genera…

Language ModelingLanguage ModellingLarge Language ModelSmall Language Model

Energy-Efficient Wireless LLM Inference via Uncertainty and Importance-Aware Speculative Decoding

2025-08-18 · Jihoon Park, Seungeun Oh, Seong-Lyun Kim arxiv

To address the growing demand for on-device LLM inference in resource-constrained environments, hybrid language models (HLM) have emerged, combining lightweight local models with powerful cloud-based LLMs. Recent studies…

Hybrid LLM: Cost-Efficient and Quality-Aware Query Routing

2024-04-22 · Dujian Ding, Ankur Mallick, Chi Wang, Robert Sim 외

Large language models (LLMs) excel in most NLP tasks but also require expensive cloud servers for deployment due to their size, while smaller models that can be deployed on lower cost (e.g., edge) devices, tend to lag be…

Floe: Federated Specialization for Real-Time LLM-SLM Inference

2026-02-15 · Chunlin Tian, Kahou Tam, Yebo Wu, Shuaihang Zhong 외 arxiv

Deploying large language models (LLMs) in real-time systems remains challenging due to their substantial computational demands and privacy concerns. We propose Floe, a hybrid federated learning framework designed for lat…

Federated LearningGeneral Knowledge