๐ค AI Summary
Traditional Wi-Fi roaming strategies suffer from sticky connections or excessive handoffs in dynamic mobile scenarios, struggling to balance stability and signal quality. To address this, we propose the first lightweight large language model (LLM)-driven roaming framework tailored for resource-constrained end devices. Our method employs a cross-layer LLM architecture that performs environment-aware access point selection and dynamically adapts handoff thresholds at the application layerโmarking the first integration of high-level reasoning into real-time physical/link-layer control. Leveraging chain-of-thought prompting, parameter-efficient fine-tuning, model quantization, and structured context fusion, the framework achieves significant improvements over heuristic and deep reinforcement learning baselines across diverse indoor and outdoor datasets. Experimental results demonstrate enhanced roaming stability and superior trade-off optimization between connection reliability and signal quality.
๐ Abstract
Wireless roaming is a critical yet challenging task for maintaining seamless connectivity in dynamic mobile environments. Conventional threshold-based or heuristic schemes often fail, leading to either sticky or excessive handovers. We introduce the first cross-layer use of an on-device large language model (LLM): high-level reasoning in the application layer that issues real-time actions executed in the PHY/MAC stack. The LLM addresses two tasks: (i) context-aware AP selection, where structured prompts fuse environmental cues (e.g., location, time) to choose the best BSSID; and (ii) dynamic threshold adjustment, where the model adaptively decides when to roam. To satisfy the tight latency and resource budgets of edge hardware, we apply a suite of optimizations-chain-of-thought prompting, parameter-efficient fine-tuning, and quantization. Experiments on indoor and outdoor datasets show that our approach surpasses legacy heuristics and DRL baselines, achieving a strong balance between roaming stability and signal quality. These findings underscore the promise of application-layer LLM reasoning for lower-layer wireless control in future edge systems.