GraphVeri:用于路由协议的基于nar的控制平面验证框架

IF 4.6 2区 计算机科学 Q1 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Shangsen Li , Lailong Luo , Changhao Qiu , Bangbang Ren , Yun Zhou , Deke Guo , Richard T.B. Ma
{"title":"GraphVeri:用于路由协议的基于nar的控制平面验证框架","authors":"Shangsen Li ,&nbsp;Lailong Luo ,&nbsp;Changhao Qiu ,&nbsp;Bangbang Ren ,&nbsp;Yun Zhou ,&nbsp;Deke Guo ,&nbsp;Richard T.B. Ma","doi":"10.1016/j.comnet.2025.111635","DOIUrl":null,"url":null,"abstract":"<div><div>The distributed control plane routing protocols of networks are inherently complex and prone to configured incorrectly, such as BGP and OSPF, necessitating rigorous verification to ensure that configurations meet requirements. The classic methods for configuration verification predominantly rely on formal verification techniques, which model the intricate relationships among network configurations, protocols and the corresponding forwarding behaviors, under some assumptions of the network environment. However, these methods are lack of scalability (the verification time increases exponentially as topology scales) and generality (requiring substantial manual effort for development and maintenance). This paper introduces a novel neural algorithmic reasoning (NAR) based verification framework called GraphVeri, aiming at distributed routing protocol configuration verification. Our approach can learn how to verify from the perfect mapping from configurations to specification satisfactions directly and continuously, thereby capturing the underlying knowledge of distributed control plane protocols and their verification processes. With such a learning-based verifier, we can achieve comprehensive end-to-end verification with perfect scalability and extendability, and without the burdensome task of formal modeling typically associated with distributed routing protocols. Furthermore, the inductive learning capability of GraphVeri enables the verifier to learn how to integrate the local node attribute information to generate embeddings for previously unseen nodes. Evaluations conducted on the Topology Zoo dataset and BGP&amp;OSPF protocols demonstrate that our NAR-based learning verifiers attain high accuracy, efficiency and scalability. GraphVeri achieves comparable accuracy to GraphGAT, which was initially developed for network synthesis, while at <span><math><mrow><mn>2</mn><mo>×</mo></mrow></math></span> (GPU) and <span><math><mrow><mn>10</mn><mo>×</mo></mrow></math></span> (CPU) speed up. Compared with the classic verifiers, GraphVeri (CPU) can attain a speed up of 2.93–38.28<span><math><mo>×</mo></math></span> and 2300–12764<span><math><mo>×</mo></math></span> to Batfish and Minesweeper respectively; GraphVeri (GPU) attain a speed of 33.51–366.29<span><math><mo>×</mo></math></span> and 30434–217653<span><math><mo>×</mo></math></span> to Batfish and Minesweeper respectively. Moreover, the verification time of GraphVeri increases slower than that of the classic verifiers.</div></div>","PeriodicalId":50637,"journal":{"name":"Computer Networks","volume":"271 ","pages":"Article 111635"},"PeriodicalIF":4.6000,"publicationDate":"2025-08-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"GraphVeri: A NAR-based control plane verification framework for routing protocols\",\"authors\":\"Shangsen Li ,&nbsp;Lailong Luo ,&nbsp;Changhao Qiu ,&nbsp;Bangbang Ren ,&nbsp;Yun Zhou ,&nbsp;Deke Guo ,&nbsp;Richard T.B. Ma\",\"doi\":\"10.1016/j.comnet.2025.111635\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>The distributed control plane routing protocols of networks are inherently complex and prone to configured incorrectly, such as BGP and OSPF, necessitating rigorous verification to ensure that configurations meet requirements. The classic methods for configuration verification predominantly rely on formal verification techniques, which model the intricate relationships among network configurations, protocols and the corresponding forwarding behaviors, under some assumptions of the network environment. However, these methods are lack of scalability (the verification time increases exponentially as topology scales) and generality (requiring substantial manual effort for development and maintenance). This paper introduces a novel neural algorithmic reasoning (NAR) based verification framework called GraphVeri, aiming at distributed routing protocol configuration verification. Our approach can learn how to verify from the perfect mapping from configurations to specification satisfactions directly and continuously, thereby capturing the underlying knowledge of distributed control plane protocols and their verification processes. With such a learning-based verifier, we can achieve comprehensive end-to-end verification with perfect scalability and extendability, and without the burdensome task of formal modeling typically associated with distributed routing protocols. Furthermore, the inductive learning capability of GraphVeri enables the verifier to learn how to integrate the local node attribute information to generate embeddings for previously unseen nodes. Evaluations conducted on the Topology Zoo dataset and BGP&amp;OSPF protocols demonstrate that our NAR-based learning verifiers attain high accuracy, efficiency and scalability. GraphVeri achieves comparable accuracy to GraphGAT, which was initially developed for network synthesis, while at <span><math><mrow><mn>2</mn><mo>×</mo></mrow></math></span> (GPU) and <span><math><mrow><mn>10</mn><mo>×</mo></mrow></math></span> (CPU) speed up. Compared with the classic verifiers, GraphVeri (CPU) can attain a speed up of 2.93–38.28<span><math><mo>×</mo></math></span> and 2300–12764<span><math><mo>×</mo></math></span> to Batfish and Minesweeper respectively; GraphVeri (GPU) attain a speed of 33.51–366.29<span><math><mo>×</mo></math></span> and 30434–217653<span><math><mo>×</mo></math></span> to Batfish and Minesweeper respectively. Moreover, the verification time of GraphVeri increases slower than that of the classic verifiers.</div></div>\",\"PeriodicalId\":50637,\"journal\":{\"name\":\"Computer Networks\",\"volume\":\"271 \",\"pages\":\"Article 111635\"},\"PeriodicalIF\":4.6000,\"publicationDate\":\"2025-08-19\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computer Networks\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S1389128625006024\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Networks","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1389128625006024","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

摘要

网络中的分布式控制平面路由协议本身比较复杂,容易配置错误,如BGP、OSPF等,需要进行严格的验证,确保配置符合要求。经典的配置验证方法主要依赖于形式化验证技术,它在一定的网络环境假设下,对网络配置、协议以及相应的转发行为之间的复杂关系进行建模。然而,这些方法缺乏可伸缩性(验证时间随着拓扑的扩展呈指数增长)和通用性(需要大量的人工开发和维护)。本文介绍了一种新的基于神经算法推理(NAR)的验证框架GraphVeri,旨在对分布式路由协议配置进行验证。我们的方法可以学习如何从配置到规范满意度的完美映射中直接且连续地进行验证,从而获取分布式控制平面协议及其验证过程的底层知识。有了这样一个基于学习的验证器,我们可以实现全面的端到端验证,具有完美的可伸缩性和可扩展性,并且没有繁琐的形式化建模任务,通常与分布式路由协议相关联。此外,GraphVeri的归纳学习能力使验证者能够学习如何整合本地节点属性信息,从而为以前未见过的节点生成嵌入。在拓扑动物园数据集和bgpospf协议上进行的评估表明,我们的基于神经网络的学习验证器具有较高的准确性、效率和可扩展性。GraphVeri达到了与GraphGAT相当的精度,GraphGAT最初是为网络合成而开发的,但速度提高了2倍(GPU)和10倍(CPU)。与经典验证器相比,GraphVeri (CPU)对蝙蝠鱼(Batfish)和扫雷(Minesweeper)的速度分别提高2.93 - 38.28倍和2300 - 12764倍;GraphVeri (GPU)对蝙蝠鱼和扫雷的速度分别达到33.51 - 366.29 x和30434 - 2176553 x。此外,GraphVeri的验证时间比经典验证器的验证时间增长慢。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
GraphVeri: A NAR-based control plane verification framework for routing protocols
The distributed control plane routing protocols of networks are inherently complex and prone to configured incorrectly, such as BGP and OSPF, necessitating rigorous verification to ensure that configurations meet requirements. The classic methods for configuration verification predominantly rely on formal verification techniques, which model the intricate relationships among network configurations, protocols and the corresponding forwarding behaviors, under some assumptions of the network environment. However, these methods are lack of scalability (the verification time increases exponentially as topology scales) and generality (requiring substantial manual effort for development and maintenance). This paper introduces a novel neural algorithmic reasoning (NAR) based verification framework called GraphVeri, aiming at distributed routing protocol configuration verification. Our approach can learn how to verify from the perfect mapping from configurations to specification satisfactions directly and continuously, thereby capturing the underlying knowledge of distributed control plane protocols and their verification processes. With such a learning-based verifier, we can achieve comprehensive end-to-end verification with perfect scalability and extendability, and without the burdensome task of formal modeling typically associated with distributed routing protocols. Furthermore, the inductive learning capability of GraphVeri enables the verifier to learn how to integrate the local node attribute information to generate embeddings for previously unseen nodes. Evaluations conducted on the Topology Zoo dataset and BGP&OSPF protocols demonstrate that our NAR-based learning verifiers attain high accuracy, efficiency and scalability. GraphVeri achieves comparable accuracy to GraphGAT, which was initially developed for network synthesis, while at 2× (GPU) and 10× (CPU) speed up. Compared with the classic verifiers, GraphVeri (CPU) can attain a speed up of 2.93–38.28× and 2300–12764× to Batfish and Minesweeper respectively; GraphVeri (GPU) attain a speed of 33.51–366.29× and 30434–217653× to Batfish and Minesweeper respectively. Moreover, the verification time of GraphVeri increases slower than that of the classic verifiers.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Computer Networks
Computer Networks 工程技术-电信学
CiteScore
10.80
自引率
3.60%
发文量
434
审稿时长
8.6 months
期刊介绍: Computer Networks is an international, archival journal providing a publication vehicle for complete coverage of all topics of interest to those involved in the computer communications networking area. The audience includes researchers, managers and operators of networks as well as designers and implementors. The Editorial Board will consider any material for publication that is of interest to those groups.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信