[Paper Review] Large Language Model (LLM)-enabled In-context Learning for Wireless Network Optimization: A Case Study of Power Control
This paper proposes an LLM-enabled in-context learning framework for base station power control in wireless networks, using natural language prompts and demonstration examples to achieve optimization without model training. Simulations show it matches DRL performance across discrete and continuous state spaces using Llama3 and GPT-3.5 Turbo models.
Large language model (LLM) has recently been considered a promising technique for many fields. This work explores LLM-based wireless network optimization via in-context learning. To showcase the potential of LLM technologies, we consider the base station (BS) power control as a case study, a fundamental but crucial technique that is widely investigated in wireless networks. Different from existing machine learning (ML) methods, our proposed in-context learning algorithm relies on LLM's inference capabilities. It avoids the complexity of tedious model training and hyper-parameter fine-tuning, which is a well-known bottleneck of many ML algorithms. Specifically, the proposed algorithm first describes the target task via formatted natural language, and then designs the in-context learning framework and demonstration examples. After that, it considers two cases, namely discrete-state and continuous-state problems, and proposes state-based and ranking-based methods to select appropriate examples for these two cases, respectively. Finally, the simulations demonstrate that the proposed algorithm can achieve comparable performance as conventional deep reinforcement learning (DRL) techniques without dedicated model training or fine-tuning. Such an efficient and low-complexity approach has great potential for future wireless network optimization.
Motivation & Objective
- To explore the feasibility of using large language models (LLMs) for wireless network optimization via in-context learning.
- To address the high complexity and training overhead of conventional machine learning methods like deep reinforcement learning (DRL).
- To design a prompt-based framework that uses natural language task descriptions and example demonstrations for decision-making.
- To evaluate the performance of LLMs across discrete and continuous state space problems in power control.
- To demonstrate that in-context learning can achieve competitive results without dedicated model training or hyperparameter tuning.
Proposed method
- The method uses a natural language-based task description including goal, rules, and constraints as part of the prompt input.
- It employs an experience pool to store and retrieve past environment states, actions, and rewards for example selection.
- For discrete-state problems, a state-based example selection method retrieves relevant examples based on current state similarity.
- For continuous-state problems, a ranking-based example selection method selects top-k examples using a learned similarity score.
- The LLM generates power control decisions based on the prompt, which includes the task description and selected examples.
- The framework iteratively improves performance by updating the experience pool with new state-action-reward triples after each decision.

Experimental results
Research questions
- RQ1Can in-context learning with LLMs achieve competitive performance in wireless network optimization without model training?
- RQ2How does the performance of LLMs vary across discrete and continuous state space problems in power control?
- RQ3What is the impact of different LLM architectures (e.g., Llama3-8b, Llama3-70b, GPT-3.5 Turbo) on optimization performance?
- RQ4How does the proposed example selection strategy (state-based vs. ranking-based) affect decision accuracy and convergence?
- RQ5Can the LLM-based approach adapt to varying quality-of-service constraints such as minimum data rate requirements?
Key findings
- Llama3-8b-instruct and Llama3-70b-instruct achieved system rewards and service quality comparable to the DRL baseline in discrete state space.
- All LLM models, including GPT-3.5 Turbo, showed converging performance over episodes in continuous state space, indicating effective learning from experience.
- Under a 2 Mbps minimum data rate constraint, GPT-3.5 Turbo delivered 25% lower reward and 20% lower service quality than Llama3 models.
- Increasing the minimum data rate constraint led to higher power consumption, lower reward, and reduced service quality, confirming the method's adaptability to QoS constraints.
- The proposed in-context learning framework achieved competitive performance without any model fine-tuning or hyperparameter adjustment.
- The ranking-based example selection method enabled effective decision-making in continuous state problems, demonstrating scalability beyond discrete states.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.