PROSPER: Extracting Protocol Specifications Using Large Language Models

被引:5
作者
Sharma, Prakhar [1 ]
Yegneswaran, Vinod [1 ]
机构
[1] SRI Int, Menlo Pk, CA 94025 USA
来源
PROCEEDINGS OF THE 22ND ACM WORKSHOP ON HOT TOPICS IN NETWORKS, HOTNETS 2023 | 2023年
关键词
Large language models; request for comments; protocol specifications; protocol FSMs; automated extraction;
D O I
10.1145/3626111.3628205
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We explore the application of Large Language Models (LLMs) (specifically GPT-3.5-turbo) to extract specifications and automating understanding of networking protocols from Internet Request for Comments (RFC) documents. LLMs have proven successful in specialized domains like medical and legal text understanding, and this work investigates their potential in automatically comprehending RFCs. We develop Artifact Miner, a tool to extract diagram artifacts from RFCs. We then couple extracted artifacts with natural language text to extract protocol automata using GPT-turbo 3.5 (chatGPT) and present our zero-shot and few-shot extraction results. We call this framework for FSM extraction 'PROSPER: Protocol Specification Miner'. We compare PROSPER with existing state-of-the-art techniques for protocol FSM state and transition extraction. Our experiments indicate that employing artifacts along with text for extraction can lead to lower false positives and better accuracy for both extracted states and transitions. Finally, we discuss efficient prompt engineering techniques, the errors we encountered, and pitfalls of using LLMs for knowledge extraction from specialized domains such as RFC documents.
引用
收藏
页码:41 / 47
页数:7
相关论文
共 50 条
  • [21] Applications of Natural Language Processing and Large Language Models for Social Determinants of Health: Protocol for a Systematic Review
    Rajwal, Swati
    Zhang, Ziyuan
    Chen, Yankai
    Rogers, Hannah
    Sarker, Abeed
    Xiao, Yunyu
    JMIR RESEARCH PROTOCOLS, 2025, 14
  • [22] Agile Project Management Using Large Language Models
    Dhruva, G.
    Shettigar, Ishaan
    Parthasarthy, Srikrshna
    Sapna, V. M.
    2024 5TH INTERNATIONAL CONFERENCE ON INNOVATIVE TRENDS IN INFORMATION TECHNOLOGY, ICITIIT 2024, 2024,
  • [23] Using large language models to create narrative events
    Bartalesi, Valentina
    Lenzi, Emanuele
    De Martino, Claudio
    PEERJ COMPUTER SCIENCE, 2024, 10
  • [24] Extracting Fruit Disease Knowledge from Research Papers Based on Large Language Models and Prompt Engineering
    Fei, Yunqiao
    Fan, Jingchao
    Zhou, Guomin
    APPLIED SCIENCES-BASEL, 2025, 15 (02):
  • [25] MSFuzz: Augmenting Protocol Fuzzing with Message Syntax Comprehension via Large Language Models
    Cheng, Mingjie
    Zhu, Kailong
    Chen, Yuanchao
    Yang, Guozheng
    Lu, Yuliang
    Lu, Canju
    ELECTRONICS, 2024, 13 (13)
  • [26] Enhancing Interactive Image Retrieval With Query Rewriting Using Large Language Models and Vision Language Models
    Zhu, Hongyi
    Huang, Jia-Hong
    Rudinac, Stevan
    Kanoulas, Evangelos
    PROCEEDINGS OF THE 4TH ANNUAL ACM INTERNATIONAL CONFERENCE ON MULTIMEDIA RETRIEVAL, ICMR 2024, 2024, : 978 - 987
  • [27] InteraRec: Interactive Recommendations Using Multimodal Large Language Models
    Karra, Saketh Reddy
    Tulabandhula, Theja
    TRENDS AND APPLICATIONS IN KNOWLEDGE DISCOVERY AND DATA MINING, PAKDD 2024 WORKSHOPS, RAFDA AND IWTA, 2024, 14658 : 32 - 43
  • [28] Using General Large Language Models to Classify Mathematical Documents
    Ion, Patrick D. F.
    Watt, Stephen M.
    INTELLIGENT COMPUTER MATHEMATICS, CICM 2024, 2024, 14690 : 42 - 57
  • [29] The Security of Using Large Language Models: A Survey with Emphasis on ChatGPT
    Zhou, Wei
    Zhu, Xiaogang
    Han, Qing-Long
    Li, Lin
    Chen, Xiao
    Wen, Sheng
    Xiang, Yang
    IEEE-CAA JOURNAL OF AUTOMATICA SINICA, 2025, 12 (01) : 1 - 26
  • [30] Using Large Language Models to Shape Social Robots' Speech
    Sevilla-Salcedo, Javier
    Fernandez-Rodicio, Enrique
    Martin-Galvan, Laura
    Castro-Gonzalez, Alvaro
    Castillo, Jose C.
    Salichs, Miguel A.
    INTERNATIONAL JOURNAL OF INTERACTIVE MULTIMEDIA AND ARTIFICIAL INTELLIGENCE, 2023, 8 (03): : 6 - 20