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

Xin Li, Mengbing Liu, Yiyang Zhu, Zhang Wenhe, Li Wei, Jiancheng An, Chau Yuen · Submission to ICLR 2026 · Withdrawn

TL;DR

Current LLMs struggle with specialized, physically constrained technical mathematics like wireless communications engineering. This paper introduces WirelessMathBench-XL, the first training-scale dataset (4,027 problems across 20 subfields), and trains WirelessMathLM (0.5B–7B) using verification-based reinforcement learning (GRPO). Without any supervised pre-fine-tuning, WirelessMathLM-7B hits 39.5% accuracy—rivaling GPT-4o (40.4%) at a fraction of the parameter count—while unexpectedly boosting general mathematical and scientific reasoning without catastrophic forgetting.

What Problem Does This Paper Address?

While modern LLMs excel at competition mathematics (e.g., GSM8K, MATH), they frequently break down on specialized technical mathematics. In wireless communications, math is deeply grounded in physics: equations must satisfy strict unstated constraints such as power non-negativity ($P \ge 0$), bounded phase shifts ($[0, 2\pi)$), causality in signal processing, and non-commutative complex-valued matrix algebra ($\mathbb{C}^{N \times M}$).

Prior efforts were blocked by a critical data bottleneck: existing benchmarks were evaluation-only and too small (e.g., WirelessMathBench had only 587 questions). Consequently, models could not be systematically trained to navigate the dense, graduate-level derivations required in this domain.

Methods

The authors build both the data pipeline and the model training framework from scratch:

  1. Automated Pipeline with Dual-Layer QA:
  2. Scraped ~47,000 arXiv papers across 24 categories (2005–2025).
  3. Applied deterministic relevance scoring followed by GPT-4o filtering to isolate 970 mathematically rigorous papers.
  4. Used DeepSeek-R1 to extract structured system models (variables, constraints, and formulas).
  5. Generated questions and filtered them via automated GPT-4o evaluation and human expert review (requiring a score of $\ge 3/5$ from a team of 6 PhD/postdoc reviewers; 78% acceptance rate).
  6. Direct RL via GRPO:
  7. Rather than standard supervised fine-tuning (SFT) or RLHF with humans in the loop, the authors train Qwen2.5 base checkpoints (0.5B, 3B, 7B) directly from their base state using Group Relative Policy Optimization (GRPO).
  8. Rewards combine format compliance ($\alpha = 0.1$) with a hierarchical accuracy verifier: Stage 1 performs deterministic string/canonical matrix matching, and Stage 2 invokes a lightweight LLM judge only when symbolic variations require semantic verification.

Datasets

  • WirelessMathBench-XL (Introduced): Contains 4,027 expert-validated problems (80% train / 20% test split) covering 20 subdomains (MIMO, beamforming, RIS/IRS, semantic communications, etc.). Includes three difficulty tiers: Multiple Choice (MCQ), progressive Fill-in-the-Blank (25%, 50%, 75% masked), and Full Equation Completion (FEC, 100% masked).
  • General Capability Benchmarks (Evaluation): Evaluated transfer on general math benchmarks (MATH 500, Minerva-Math, OlympiadBench, AMC, AIME24) and broad reasoning benchmarks (MMLU, GPQA, IFEval, HumanEval).

Key Insights and Ideas

  • RL Beats SFT in Verifiable Technical Domains: On identical data, verification-based RL outperformed peak SFT on Qwen2.5-3B by +23% relative (25.1% vs. 20.4%). While SFT plateaued by epoch 4 and began overfitting, RL explored alternative valid reasoning trajectories guided by deterministic verification.
  • Specialization Boosts Foundational Reasoning: Contrary to standard concerns about catastrophic forgetting, training on narrow wireless math improved general capabilities:
  • Models improved across all five general math benchmarks (+8.4 points on average for 7B; MATH 500 jumped from 52.0% to 67.0%).
  • General knowledge and science reasoning improved significantly (MMLU +11.90, GPQA +10.10).
  • Even coding improved (HumanEval +1.22 on 7B, +3.65 on 3B) despite zero code in training, indicating that learning strict physical constraints refines generic problem decomposition skills.
  • Principle Learning over Memorization: Improvements were distributed evenly across all 20 subdomains rather than concentrating on common categories. Niche subdomains with few training examples saw massive gains (e.g., Semantic Communications grew +300%, Edge Computing +450%).

Key Results

  • Overall Benchmark Performance: WirelessMathLM-7B achieved 39.5% overall accuracy, approaching GPT-4o (40.4%) and beating much larger models like Qwen2.5-72B-Instruct (37.5%) and Llama-3.3-70B-Instruct (38.4%).
  • Beating Math-Specialized Models: WirelessMathLM-7B nearly doubled the performance of open math specialists of identical size, including Qwen2.5-Math-7B-Instruct (21.6%) and DeepSeekMath-7B-RL (21.5%).
  • Consistent Scaling: GRPO yielded improvements across all tested sizes: 0.5B (+11% relative), 3B (+103% relative, 12.4% $\to$ 25.1%), and 7B (+81% relative, 21.9% $\to$ 39.5%), as well as on Qwen3-4B (+31% relative).

Limitations and Future Work

  • Absolute Accuracy Ceiling: At 39.5%, performance remains insufficient for mission-critical, high-stakes engineering deployments.
  • Evaluation Relying Partly on LLMs: While Stage 1 handles 63–77% of evaluations deterministically, Stage 2 fallback to LLM semantic checking introduces a worst-case variance bound of 4.6–7.3%. A purely deterministic symbolic math verifier is needed.
  • Mechanistic Understanding: The authors observe positive cross-domain transfer to coding and general math, but lack a mechanistic explanation (e.g., specific attention circuit adaptations for constraint satisfaction) for why physical-math RL improves general reasoning.

Summary updated

BibTeX
@misc{li2025wirelessmathlm,
  author = {Xin Li and Mengbing Liu and Yiyang Zhu and ZHANG WENHE 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