PEARL: Peer-Enhanced Adaptive Radio via On-Device LLM

Ju-Hyung Lee, Yanqing Lu, Klaus Doppler · 2025

Read PEARL: Peer-Enhanced Adaptive Radio via On-Device LLM by Ju-Hyung Lee, Yanqing Lu, Klaus Doppler (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2509-24085.txt.

Introduction

Phones that talk direct to each other must pick radio settings that save power yet stay fast. Ju-Hyung Lee and 2 co-authors present PEARL, a system that puts a large language model on the device to guide those choices for Wi-Fi Aware links. It builds on the team's past work on single-device models.

PEARL uses the state of both peers, not just one side, to pick settings. Its training reward scales delay by what each app can bear and scales energy by battery level. A fuller variant scored best overall. A lighter variant answered in well under a blink with near-equal scores and cut energy use in low-battery paired cases.

Catalog record

CREATORJu-Hyung Lee, Yanqing Lu, Klaus Doppler
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE33 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2509-24085

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

PEARL: Peer-Enhanced Adaptive Radio via On-Device LLM Ju-Hyung Lee, Yanqing Lu, Klaus Doppler 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 ( Lee et al. 2025 ) , 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 fine-tuning. We study two lightweight variants: PEARL (Head + Low-Rank Adaptation (LoRA) ( Hu et al. 2022 ) ) 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 . 1 Introduction Large language models (LLMs) are increasingly being adapted for resource-constrained edge devices ( Qu et al. 2025 ) , where they can enable adaptive networking, sensing, and cross-layer optimization ( Shao et al. 2024 ) without relying on the cloud. Our previous work demonstrated that on-device LLMs can improve wireless performance by tuning cross-layer parameters in single-device settings, leveraging local context such as user location and time of day ( Lee et al. 2025 ) . While promising, this prior line of research leaves open the question of how LLM-based optimization can extend beyond isolated devices to cooperative, device-to-device (D2D) scenarios. In D2D communication, link performance depends not only on the local device state but also on peer conditions such as battery level or device type. For example, when the publisher has ample energy but the subscriber is low on battery, an energy-preserving configuration may be preferable even at the cost of slightly higher latency. Designing a learning system that accounts for such asymmetric, two-sided context remains an open challenge. Moreover, efficient on-device deployment requires parameter-efficient fine-tuning (PEFT) strategies ( Bucher and Martini 2024 ; Han et al. 2024 ) , but it is unclear how different PEFT modules compare in this setting, or how to ensure that training signals faithfully reflect heterogeneous application and device constraints. Figure 1 : System overview of PEARL . The agent runs on the publisher ( D_{1} ), combining local context ( e.g., battery level, time, running applications) with peer-side context shared by the subscriber ( D_{2} , e.g., battery level, device type). Based on these inputs, PEARL selects WA parameters (\texttt{PerformanceMode},\texttt{AccessCategory}) , which configure the WA stack to minimize latency and energy on the D2D link. Contributions. We propose PEARL ( Peer-Enhanced Adaptive Radio via On-Device LLM ), the first on-device LLM framework for cooperative cross-layer D2D optimization. Our key contributions are: (i) Peer-context integration (Sec. 3.1 , 4.3 ): subscriber-side information is incorporated into the model input, enabling two-sided adaptation beyond single-device optimization. (ii) Context-aware reward (Sec. 3.2 , 4.4 ): a reward function that normalizes latency by application-specific tolerances and modulates energy by device battery state, providing richer supervision for KL-based fine-tuning. (iii) Head-based PEFT (Sec. 3.3 , 4.6 ): lightweight classification heads (PEARL and PEARL-Lite) that achieve strong objective scores with sub-20 ms inference, narrowing the gap to the oracle while remaining deployable on mobile hardware. Extensive evaluation on Wi-Fi Aware (Sec. 4 and Table 3 ) shows that PEARL consistently outperforms heuristic baselines and compact non-LLM models, demonstrating that peer-aware, reward-aligned training substantially improves both efficiency and robustness in D2D optimization. 2 Problem Formulation Scenario. We consider a D2D link established via Wi-Fi Aware (WA) between a publisher D_{1} and a subscriber D_{2} ( Camps-Mur et al. 2015 ) . The publisher transmits application data while selecting cross-layer WA parameters that directly affect link performance. The decision model leverages both local and peer-side context, including device battery levels, device type ( e.g., iPhone, iPad), time of day, and foreground application type sampled from a synthetic, time-varying distribution. Action Space. At each decision step, the model chooses one of 8 discrete parameter tuples (\texttt{PerformanceMode},\texttt{AccessCategory}) , where \texttt{PerformanceMode}\in\{\texttt{realtime},\texttt{bulk}\} and \texttt{AccessCategory}\in\{\texttt{bestEffort},\texttt{background},\texttt{interactiveVideo},\texttt{interactiveVoice}\} . Objective. The objective is to minimize link latency and device energy consumption while meeting application-specific requirements. Both local (publisher) and peer (subscriber) context guide parameter selection. For example, when the subscriber has low battery, the model should prefer energy-preserving modes even at the cost of slightly higher latency. 3 Method 3.1 System Architecture PEARL builds on a pre-trained large language model (LLM) as a general-purpose feature encoder, and adapts it into a lightweight classifier for cross-layer parameter selection ( Wu et al. 2024 ) . Context features from both publisher and subscriber devices ( e.g., battery levels, device type, time, application) are embedded into a structured prompt and passed to the frozen LLM backbone. A task-specific classification head is attached on top, predicting one of the discrete parameter tuples (\texttt{PerformanceMode},\texttt{AccessCategory}) . We consider two variants: PEARL (Head + Low-Rank Adaptation (LoRA) ( Hu et al. 2022 ) ), where the classification head is trained jointly with lightweight LoRA adapters inserted into the LLM, and PEARL-Lite (Head-only), where only the head is trained while the backbone remains frozen. For comparison, we also evaluate LoRA-only , where decisions are generated through the language modeling head without a classification head. At inference, context features are encoded into a structured prompt, passed through the frozen LLM encoder, and mapped by the classification head to one of the 8 WA parameter tuples (Fig. 2 ). Figure 2 : Architecture of PEARL. Context features are encoded into a structured prompt and passed through a frozen LLM encoder. In PEARL-Lite , a classification head directly predicts one of 8 WA parameter tuples. In PEARL , LoRA adapters are added to the encoder and trained jointly with the head. In both cases, the head produces a single-token decision, avoiding autoregressive decoding. 3.2 Context-Aware Reward Design We design a reward function that captures both application-specific latency requirements and device battery states. Each is normalized into a score , where higher values indicate better performance. For an application a with latency tolerance L_{a} and parameters p yielding average latency \ell(p) , the latency score is R_{\text{lat}}(a,p)=\max\!\left(100-100\cdot\tfrac{\ell(p)}{L_{a}},\,0\right). For a device d with battery level b_{d} and energy usage E(p) under parameters p , the energy score is R_{\text{eng}}(d,p)=\frac{b_{d}}{E(p)}. The overall reward combines these terms across active applications \mathcal{A} and devices \mathcal{D} : R(p)=w_{L}\cdot\tfrac{1}{|\mathcal{A}|}\sum_{a\in\mathcal{A}}R_{\text{lat}}(a,p)-w_{P}\cdot\tfrac{1}{|\mathcal{D}|}\sum_{d\in\mathcal{D}}\tfrac{1}{R_{\text{eng}}(d,p)}. Here, \ell(p) and E(p) are the measured latency and energy under parameters p , \mathcal{A} is the set of active applications, and \mathcal{D}=\{\text{publisher},\text{subscriber}\} the two devices considered. Weights w_{L} and w_{P} control the trade-off between latency and energy. This formulation produces a reward distribution that yields soft labels for KL-based fine-tuning, preserving relative action preferences and improving generalization (Appendix C , H ). 3.3 Post-Training Strategies We evaluate several post-training strategies for adapting the LLM encoder and prediction head: • Supervised Fine-Tuning (SFT): We compare cross-entropy (CE) loss with Kullback–Leibler (KL) divergence loss. CE uses hard argmax labels, while KL leverages the full reward

Read the complete text