Reasoning Language Models for Root Cause Analysis in 5G Wireless Networks

Mohamed Sana, Nicola Piovesan, Antonio De Domenico, Yibin Kang, Haozhe Zhang, Mérouane Debbah, Fadhel AyedarXiv 2025 · DOI

Introduction

Root Cause Analysis (RCA) is a critical component of mobile network management, serving as the "detective work" required to diagnose performance drops, such as sudden 5G throughput degradation. Traditionally, this process has relied on manual expert intervention or rigid, non-scalable fault trees. While Large Language Models (LLMs) offer a promising alternative due to their ability to process unstructured data, standard models often lack the formal logic and domain-specific precision necessary for rigorous engineering tasks. They frequently produce plausible-sounding but factually incorrect or inconsistent explanations.

This paper introduces a novel framework designed to bridge the gap between flexible LLM reasoning and the stringent requirements of network troubleshooting. By leveraging a specialized two-stage training methodology and a new benchmark dataset, the researchers demonstrate that relatively small models can achieve near-perfect diagnostic accuracy.

The TeleLogs Dataset

To facilitate this research, the authors introduced TeleLogs, a curated dataset designed to benchmark RCA capabilities in 5G environments. TeleLogs simulates a 5G drive-testing scenario by combining two primary data sources:

  • Network Engineering Parameters: Static configurations such as antenna tilt, height, and Physical Cell IDs (PCI).
  • User Plane Data: Dynamic performance metrics including Reference Signal Received Power (RSRP) and throughput.

The dataset includes expert-level annotations for eight distinct root causes, ranging from excessive antenna downtilt and frequent handovers to PCI conflicts, providing a robust ground truth for training and evaluation.

Methodology

The proposed framework utilizes a lightweight but powerful two-stage training process to instill domain-specific reasoning capabilities into the models.

Stage 1: Multi-Agent Supervised Fine-Tuning (SFT)

To generate high-quality training data, the researchers employed a "council" of LLM agents. These agents solve troubleshooting tasks using two distinct logical strategies: elimination-based reasoning (systematically ruling out implausible causes) and contradiction-based reasoning (checking if a hypothesized cause contradicts observed data). An Aggregator Agent then synthesizes these various reasoning paths into a concise, structured "Chain-of-Thought" (CoT) trace. This process not only improves data quality but also significantly reduces token redundancy, making the subsequent fine-tuning more efficient.

The multi-agent SFT data generation pipeline uses specialized strategies and an aggregator to create high-quality reasoning traces.

Stage 2: Reinforcement Learning (RL)

Following the initial SFT, the models undergo Group Relative Policy Optimization (GRPO). This reinforcement learning stage rewards the model for reaching the correct diagnosis, further refining its ability to navigate complex causal relationships. For smaller models (1.5B and 7B parameters), the SFT stage provides the essential logical foundation that allows RL to push performance toward expert levels.

Results and Insights

The proposed approach, culminating in the Qwen2.5-RCA-32B model, demonstrated exceptional performance across multiple benchmarks. The model achieved a diagnostic accuracy of 95.86% on the TeleLogs test set, vastly outperforming the base model (18.85%) and even significantly larger models like the DeepSeek-R1-Distill-Llama-70B (29.42%).

Performance comparison across model sizes shows that the combined SFT+RL approach (Proposed) consistently delivers the highest accuracy.

Key takeaways from the experimental results include:

  • Domain Tuning is Essential: General-purpose reasoning models struggle with specialized 5G RCA tasks out of the box. Specialized tuning is required to translate general logic into engineering precision.
  • Aggregation Enhances Precision: Condensing reasoning traces through an aggregator reduces noise and improves the model's focus on relevant causal factors.
  • Robustness: The model remained accurate even when input data (such as table order or identifiers) was randomized, indicating that it learned underlying causal logic rather than simple pattern memorization.

Conclusion and Future Work

This work demonstrates that fine-tuning reasoning-capable LLMs with a structured, multi-stage approach can automate complex network diagnostics with high reliability. While the current framework focuses on single-symptom throughput degradation using synthetic data, future research aims to expand this to multi-root cause scenarios and incorporate real-world operational data to further enhance the system's utility in live 5G environments.

Summary updated

BibTeX
@misc{sana2025reasoning,
  author = {Mohamed Sana and Nicola Piovesan and Antonio De Domenico and Yibin Kang and Haozhe Zhang and Mérouane Debbah and Fadhel Ayed},
  title = {{Reasoning Language Models for Root Cause Analysis in 5G Wireless Networks}},
  year = {2025},
  eprint = {2507.21974},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.21974},
}
Figure