Can LLMs help find Ambiguities in Protocol Specifications?
Ziyue Dang, Sixu Tan, Atharva Nevasekar, Zhaowei Tan, George Varghese, Songwu Lu
Abstract
Internet protocol specifications written in RFCs are subject to ambiguities and multiple interpretations that can cause interoperability failure. While these have presumably cleared up after years of experience, such ambiguities can bedevil the adoption of newer protocols like 5G. The 5G specifications pair a formal message syntax (ASN.1) with message-handling procedures written in natural language. This creates semantic underspecification: a syntactically valid message can reach a state whose procedures never say how to handle it, so standard-compliant implementations diverge. We frame this as a gap or a fork in a partially specified communicating state machine, and present SpecLens, which puts that view in front of a language model as a scaffold. Stronger models do not remove the need for it: they broaden the search without disciplining it, and fewer than half their findings survive inspection. Across 36 procedures from six 3GPP and O-RAN protocols, experts accept 185 of 197 SpecLens findings, and 60 drive observable divergence between the OpenAirInterface and srsRAN implementations under differential test. While we use 5G as a canonical example of a newer protocol, we also show ambiguity results for the more mature DNS protocol.
Create a lesson
Related papers
SL-RFSIM: Enabling Scalable Multi-Hop 5G NR Sidelink Mesh Networking in OpenAirInterface
Simone Pio Candido, Jin Yan, Jérôme Härri
DRL-driven RAN Slicing Management: A V2X-oriented Approach In Multi-service Scenarios
Daniel E. Garcia-Fernandez, Pablo Vera-Soto, Sergio Fortes et al.
Federated Learning for LLMs over Mobile Networks: Issues and Solutions in the RAN Transport
Emilio Paolini, Andrea Pinto, Flavio Esposito et al.
Resource-Efficient Semantic Communication for Heterogeneous Agentic Teams
Farhad Rezazadeh, Hatim Chergui, Lingjia Liu et al.
Spatio-Temporal Wireless-Optical Planning for Multi-UAV Networks
Binglei Wang, Huiru Ao, Fan Yang et al.
MoSE: Mode-Switching Expander for Mixed LLM Training and Inference
Fan Yang, Ying Zhou, Binglei Wang et al.