PEARL: Peer-Enhanced Adaptive Radio via On-Device LLM
Ju-Hyung Lee, Yanqing Lu, Klaus Doppler
TL;DR
PEARL tackles cooperative cross-layer optimization for device-to-device wireless links by deploying an on-device LLM agent that leverages both publisher and subscriber context to select Wi-Fi Aware parameters. It introduces two practical PEFT variants (PEARL with LoRA and PEARL-Lite with a head-only classifier) and a context-aware reward that normalizes latency by application tolerances and scales energy by battery state, enabling KL-based fine-tuning with soft targets. Empirical results show that peer-aware, reward-aligned training improves joint latency-energy performance over heuristic baselines, with PEARL-Lite achieving sub-20 ms inference and PEARL delivering the best overall objective score; energy savings of up to ~16% are observed in cooperative low-battery scenarios. The work demonstrates that on-device, peer-aware LLMs can deliver robust, efficient cross-layer control for always-on wireless operation and provides a path toward real-world demonstrations and broader protocol support. All code, data, and demos are available at the authors’ repository.
Abstract
We present PEARL (Peer-Enhanced Adaptive Radio via On-Device LLM), a framework for cooperative cross-layer optimization in device-to-device (D2D) communication. Building on our previous work on single-device on-device LLMs, PEARL extends the paradigm by leveraging both publisher and subscriber states to guide Wi-Fi Aware (WA) parameter selection. A context-aware reward, which normalizes latency by application tolerances and modulates energy by device battery states, provides richer supervision for KL-based finetuning. We study two lightweight variants: PEARL (Head + Low-Rank Adaptation (LoRA)) achieves the best overall performance, while PEARL-Lite (Head-only) delivers sub-20 ms inference at near-identical objective scores. Across synthetic scenarios grounded in real measurements, PEARL improves objective scores over heuristic and compact model baselines and reduces energy by up to 16% in cooperative low-battery cases. These results demonstrate that peer-aware context, reward-aligned training, and head-based efficiency make LLMs practical for always-on, on-device cross-layer control. Code, real-world demo, and dataset are available at https://github.com/abman23/pearl
