BeamAgent: LLM-Aided MIMO Beamforming with Decoupled Intent Parsing and Alternating Optimization for Joint Site Selection and Precoding
Organizations: State Key Laboratory of ISN and School of Telecommunications Engineering, Xidian University, Xi’an 710071, China
Abstract
Integrating large language models (LLMs) into wireless communication optimization is a promising yet challenging direction. Existing approaches either use LLMs as black-box solvers or code generators, tightly coupling them with numerical computation. However, LLMs lack the precision required for physical-layer optimization, and the scarcity of wireless training data makes domain-specific fine-tuning impractical. We propose BeamAgent, an LLM-aided MIMO beamforming framework that explicitly decouples semantic intent parsing from numerical optimization. The LLM serves solely as a semantic translator that converts natural language descriptions into structured spatial constraints. A dedicated gradient-based optimizer then jointly solves the discrete base station site selection and continuous precoding design through an alternating optimization algorithm. A scene-aware prompt enables grounded spatial reasoning without fine-tuning, and a multi-round interaction mechanism with dual-layer intent classification ensures robust constraint verification. A penalty-based loss function enforces dark-zone power constraints while releasing optimization degrees of freedom for bright-zone gain maximization. Experiments on a ray-tracing-based urban MIMO scenario show that BeamAgent achieves a bright-zone power of 84.0,dB, outperforming exhaustive zero-forcing by 7.1 dB under the same dark-zone constraint. The end-to-end system reaches within 3.3 dB of the expert upper bound, with the full optimization completing in under 2 s on a laptop.
Figures & tables
| Method | LLM Role | Optimization Layer | NL Interface | Fine-Tuning | Solver |
| ComAgent [ 14 ] | Code generator | Task-dependent | No | No | LLM-generated code |
| WirelessAgent [ 15 ] | Decision engine | Network (slicing) | Partial | No | LLM reasoning loop |
| PE-RTFV [ 17 ] | Black-box solver | Physical (constellation) | No | No | LLM output |
| NetLLM [ 19 ] | End-to-end model | Network (scheduling) | No | Yes | Fine-tuned LLM |
| TelecomGPT [ 24 ] | Domain-adapted LLM | Telecom tasks | No | Yes | Fine-tuned LLM |
| TelePlanNet [ 37 ] | Intent parser + RL | Site planning | Yes | Yes (RL) | RL policy |
| Method | (dB) | (dB) | Scale (dB) | Contrast (dB) |
| Random | 75.9 | 30.0 † | 19.9 | 43.2 |
| Exh+MRT | 77.8 | 30.0 † | 20.3 | 48.8 |
| Exh+MMSE | 78.6 | 30.0 † | 1.0 | 57.7 |
| Exh+ZF | 76.9 | 14.5 | — | 70.1 |
| SLNR | 76.4 | 14.3 | — | 80.9 |
| BeamAgent | 84.0 | 30.0 † | 0.9 | 54.2 |
| Method | Contrast (dB) | Std (dB) | Note |
| Expert+Optimizer | 55.3 | 0.0 | Expert constraints |
| BeamAgent | 52.0 | 3.6 | LLM parsing + optimizer |
| LLM Direct W | 49.4 | 0.0 | LLM outputs directly |
| LLM Gen Code | 80.9 ‡ | 0.0 | LLM generates SLNR solver |
| ‡ dB, lower than BeamAgent (84.0 dB); no site selection. | |||
| Configuration | (dB) | (dB) | Contrast (dB) |
| Full (Ours) | 85.8 | 30.6 | 55.1 |
| No Cosine Annealing | 85.9 | 30.7 | 55.2 |
| No Gradient Clipping | 85.8 | 30.6 | 55.2 |
| No Cosine + No Clip | 85.9 | 30.7 | 55.3 |
| (No Alternating) | 77.6 | 30.9 | 46.7 |
| Tradeoff (no penalty) | 86.0 | 25.2 | 60.7 |
| Stage | Time (s) |
| Constraint preparation (tensor stacking) | 1.350 |
| Phase A: Tx scan (per round) | 0.006 |
| Phase B: 400 gradient steps | 0.308 |
| Full optimization (5 rounds) | 1.668 |
| Exhaustive MRT baseline (all Tx) | 0.124 |
Wireless Resource Allocation
Wireless resource allocation assigns spectrum, power, beams, and computing capacity to meet throughput, latency, fairness, and energy goals.
See all 174 papers