CellularSpecSec-Bench: A Staged Benchmark for Evidence-Grounded Interpretation and Security Reasoning over 3GPP Specifications

Ke Xie, Xingyi Zhao, Yiwen Hu, Shuhan Yuan, Tian XiearXiv 2026

TL;DR

This paper introduces CellSpecSec-ARI, a unified framework designed to help Large Language Models (LLMs) accurately interpret complex 3GPP cellular specifications and conduct security analysis. Alongside the framework, the authors present CellularSpecSec-Bench, a rigorous, three-stage benchmark that fixes errors in existing datasets and establishes a reliable foundation for evaluating standard-driven security reasoning.

What Problem Does This Paper Address?

Cellular networks (4G, 5G, and the upcoming 6G) are critical infrastructure. The rules governing how devices and operators interact are defined in massive, highly technical documents called 3GPP specifications. Analyzing these specifications for security flaws is vital, but it is incredibly difficult for both humans and AI.

3GPP documents are written in dense, domain-specific "normative" language (filled with strict rules and conditions) and heavily interleave text with complex tables and signaling flow diagrams. Crucial security details are often scattered across multiple cross-referenced clauses or entirely different documents. While standard LLMs are great at reading general text, they frequently hallucinate or fail when tasked with connecting these distributed, multimodal pieces of evidence, leading to incorrect security conclusions.

Methods

To tackle these challenges, the authors propose CellSpecSec-ARI, which breaks down the problem into a three-stage pipeline: Adapt, Retrieve, and Integrate.

Figure 1: Overview of CellSpecSec-ARI and CellularSpecSec-Bench
  1. Adapt (SpecFusion): Instead of ignoring tables and figures or using separate complex encoders, this module extracts and converts non-textual components (like state transition diagrams and protocol tables) into structured JSON descriptions. This allows the LLM to process multimodal context natively alongside text.
  2. Retrieve (SpecRAG): This module uses a hybrid retrieval strategy—combining keyword matching (BM25) with dense semantic embeddings (TF-IDF + SVD)—to pull the exact clauses, tables, or figures needed to answer a specific query, ensuring the model's answers are strictly grounded in the text.
  3. Integrate (SpecReasoning): To handle complex dependencies, this module transforms the retrieved multimodal evidence into a taxonomy-based Knowledge Graph (KG). This graph maps out core protocol behaviors (e.g., steps, states, timers) and security properties (e.g., whether a message requires integrity protection). The graph is then converted into text blocks to supercharge the LLM's reasoning capabilities.

Datasets

The authors introduced CellularSpecSec-Bench, a staged benchmark built from core control-plane 3GPP specifications (Release 17), covering over 1,760 paragraphs, 13,800 sentences, 424 figures, and 340 tables. It evaluates models across three progressive stages:

  • Stage 1 (Intra-Clause Comprehension): Localized questions answerable from a single clause.
  • Stage 2 (Evidence-Grounded Answering): Requires the model to provide the exact answer and cite the supporting clause/table/figure identifiers.
  • Stage 3 (Cross-Clause & Security-Aware Reasoning): Requires integrating information across multiple clauses to identify real-world vulnerabilities (incorporating 43 real-world vulnerabilities like downgrade and DoS attacks).

Crucially, the authors found that many existing telecom datasets were entirely LLM-generated and contained significant inaccuracies. They manually reviewed, verified, and corrected subsets from prior benchmarks (such as TeleQnA, TSpec-LLM, 5GSC, ConTester, and CellularLint) to ensure expert-level reliability.

Key Insights and Ideas

  • Security Reasoning is Compositional: The authors' error analysis revealed that when LLMs fail at security analysis, it is rarely due to flawed logic. Instead, the dominant failure mode is incomplete evidence retrieval. If a model misses even one minor cross-referenced precondition or exception clause, the entire security conclusion falls apart.
  • Multimodal-to-Text Conversion Works: Converting diagrams and tables into structured JSON and then into a domain-specific Knowledge Graph bridges the gap between raw text search and procedural logic, allowing vanilla LLMs to reason over complex state machines.

Key Results

The CellSpecSec-ARI framework yielded massive performance improvements over a raw base model (DeepSeek-V3.2-Exp).

Extracted table from page 8 of CellularSpecSec-Bench: A Staged Benchmark for Evidence-Grounded Interpretation and Security Reasoning over 3GPP Specifications

As shown in the results table above:

  • In Stage 1 (Extractive QA), accuracy jumped from 36% (Base) to 97.75% (ARI).
  • In Stage 2, where models must provide both the correct answer and the exact evidence citation, the base model scored 0% on evidence correctness, while CellSpecSec-ARI achieved up to 100%.
  • In Stage 3 (Cross-Clause QA), performance soared from 20% to 95.06%. For complex vulnerability/inconsistency labeling, the framework achieved a high binary F1-score of 93.05%.

Limitations and Future Work

While highly effective, the authors note a few limitations:

  1. Scope: The benchmark currently focuses on a limited set of 3GPP specifications within Release 17, meaning it doesn't track how specifications evolve across different releases.
  2. Strict Evaluation: The benchmark requires exact matching against specific clause/figure identifiers, which might under-credit models that find alternative, equally valid supporting evidence.
  3. Base Model Dependency: The framework was primarily evaluated using DeepSeek-V3.2-Exp; testing it against a broader variety of open and closed-source LLMs remains future work.

Summary updated

BibTeX
@misc{xie2026cellularspecsec,
  author = {Ke Xie and Xingyi Zhao and Yiwen Hu and Shuhan Yuan and Tian Xie},
  title = {{CellularSpecSec-Bench: A Staged Benchmark for Evidence-Grounded Interpretation and Security Reasoning over 3GPP Specifications}},
  year = {2026},
  eprint = {2601.12716},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.12716},
}
Figure