WirelessMathLM: Teaching Mathematical Reasoning for LLMs in Wireless Communications with Reinforcement Learning

Xin Li, Xin Li 0084, Mengbing Liu, Yiyang Zhu, Wenhe Zhang, Li Wei, Jiancheng An, Chau Yuen · DOI

Abstract

Specialized engineering domains like wireless communications require complex mathematical reasoning that general-purpose Large Language Models (LLMs) often struggle to master. We present WirelessMathLM, a 7B-parameter model trained using Group Relative Policy Optimization (GRPO) on a newly curated benchmark, WirelessMathBench-XL. By utilizing verifiable rewards from deterministic mathematical answers, we demonstrate that small models can achieve performance comparable to GPT-4o without the need for supervised fine-tuning (SFT) or human feedback. Our results show an 81% improvement over base models and suggest that domain-specific reinforcement learning can enhance general reasoning capabilities.

Introduction

While Large Language Models (LLMs) have shown remarkable proficiency in general mathematics, they frequently encounter a "catastrophic failure" when applied to specialized engineering fields. In wireless communications, problems involve intricate information-theoretic bounds, complex-valued matrix algebra (MIMO), and convex optimization constraints. General-purpose models lack the specific intuition for these formulations, and existing datasets are often too small for robust training. Furthermore, the traditional pipeline of massive supervised fine-tuning followed by human-in-the-loop reinforcement learning is prohibitively expensive for technical fields requiring PhD-level expertise.

Methodology and Dataset Construction

The researchers introduced a training paradigm that bypasses the supervised phase, training directly from base model checkpoints (specifically the Qwen2.5 family). This approach relies on two pillars: Direct GRPO and Verifiable Rewards.

The WirelessMathLM pipeline: from paper collection to mathematical extraction and quality assurance.

The training utilizes Group Relative Policy Optimization (GRPO), where the model generates a group of responses and is rewarded based on their relative quality. Because technical math has deterministic answers, an automated verification pipeline checks the model's LaTeX-formatted final answer against the ground truth. This "binary reward" signal allows the model to self-correct and explore reasoning paths without human intervention.

To support this training, the team developed WirelessMathBench-XL, a massive expansion over previous benchmarks:

  • Scale: 4,027 problems derived from 970 academic papers (2005–2025).
  • Content: Covers 24 arXiv categories, including signal processing, networking, and information theory.
  • Quality Control: A dual-layer validation process involving GPT-4o filtering and rigorous review by six domain experts.

Key Results

The WirelessMathLM-7B model achieved 39.5% accuracy on WirelessMathBench-XL, placing it within striking distance of GPT-4o (40.4%) and ahead of much larger models like Llama-3.3-70B-Instruct.

Comparison of WirelessMathLM performance against SOTA models and the impact of GRPO training across different model sizes.

The impact of GRPO training was profound. Compared to the base Qwen2.5 models, the 3B model saw a 103% performance increase, while the 7B model improved by 81%. Notably, specializing the model in wireless math did not lead to "catastrophic forgetting"; instead, it improved performance on general math benchmarks (like MATH 500) by an average of 8.4 points, suggesting that learning rigorous, domain-specific reasoning strengthens fundamental logic.

Conclusion

WirelessMathLM demonstrates that verifiability can serve as a proxy for scale in technical domains. By leveraging the inherent structure of mathematics as a natural reward signal, small models can master highly specialized fields more efficiently than general-purpose giants. This "efficiency-through-verification" paradigm offers a scalable path for applying LLMs to other formal fields like circuit design, control theory, and cryptography.

Summary updated

BibTeX
@misc{li2025wirelessmathlm,
  author = {Xin Li and Xin Li and Mengbing Liu and Yiyang Zhu and Wenhe Zhang and Li Wei and Jiancheng An and Chau Yuen},
  title = {{WirelessMathLM: Teaching Mathematical Reasoning for LLMs in Wireless Communications with Reinforcement Learning}},
  year = {2025},
  eprint = {2509.23219},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.23219},
}
Figure