English

Federated Learning-Enabled Hybrid Language Models for Communication-Efficient Token Transmission

Machine Learning 2025-07-02 v1 Artificial Intelligence Computation and Language

Abstract

Hybrid Language Models (HLMs) combine the low-latency efficiency of Small Language Models (SLMs) on edge devices with the high accuracy of Large Language Models (LLMs) on centralized servers. Unlike traditional end-to-end LLM inference, HLMs reduce latency and communication by invoking LLMs only when local SLM predictions are uncertain, i.e., when token-level confidence is low or entropy is high. However, ambiguous or low-confidence predictions still require frequent offloading to the LLM, leading to significant communication overhead in bandwidth-constrained settings. To address this, we propose FedHLM, a communication-efficient HLM framework that integrates uncertainty-aware inference with Federated Learning (FL). FedHLM's key innovation lies in collaboratively learning token-level uncertainty thresholds that govern when LLM assistance is needed. Rather than using static or manually tuned thresholds, FedHLM employs FL to optimize these thresholds in a privacy-preserving, distributed manner. Additionally, it leverages embedding-based token representations for Peer-to-Peer (P2P) resolution, enabling clients to reuse tokens inferred by semantically similar peers without engaging the LLM. We further introduce hierarchical model aggregation: edge servers refine local routing policies through client updates, while cross-cluster coordination aligns global decision boundaries. This layered design captures recurring uncertainty patterns, reducing redundant LLM queries. Experiments on large-scale news classification tasks show that FedHLM reduces LLM transmissions by over 95 percent with negligible accuracy loss, making it well-suited for scalable and efficient edge-AI applications.

Keywords

Cite

@article{arxiv.2507.00082,
  title  = {Federated Learning-Enabled Hybrid Language Models for Communication-Efficient Token Transmission},
  author = {Faranaksadat Solat and Joohyung Lee and Mohamed Seif and Dusit Niyato and H. Vincent Poor},
  journal= {arXiv preprint arXiv:2507.00082},
  year   = {2025}
}

Comments

17 pages, 16 figures, IEEE Internet of Things

R2 v1 2026-07-01T03:40:10.983Z