arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.04514cs.NIcs.AI
收藏

BEAR:BGP事件分析与报告

BEAR: BGP Event Analysis and Reporting

Engineering Sciences and Applied Mathematics Department(工程科学与应用数学系);Amazon Web Services (AWS)(亚马逊网络服务(AWS));Industrial Engineering and Management Sciences Department(工业工程与管理科学系)

Hanqing Li, Melania Fedeli, Vinay Kolar, Diego Klabjan

AI总结:

本文提出BEAR框架,利用大语言模型通过多步推理自动生成BGP异常事件分析报告,并引入LLM驱动的合成数据生成框架,在真实与合成数据上实现100%准确率,优于思维链和上下文学习基线。

摘要:

互联网由相互连接、独立管理的自治系统(AS)组成,这些系统依赖边界网关协议(BGP)进行域间路由。BGP异常——例如路由泄露和路由劫持——可能将流量导向未经授权或低效的路径,从而危及网络的可靠性和安全性。尽管现有的基于规则和机器学习的方法能够利用结构化指标检测这些异常,但它们仍然需要具备深厚BGP知识的专家(例如了解AS关系和历史事件)来解释事件并提出修复建议。在本文中,我们提出了BEAR(BGP事件分析与报告),这是一个新颖的框架,利用大语言模型(LLM)自动生成解释已检测到的BGP异常事件的综合报告。BEAR采用多步推理过程,将表格化的BGP数据转换为详细的文本叙述,从而增强可解释性和分析精度。为了解决公开记录的BGP异常数据有限的问题,我们还提出了一个由LLM驱动的合成数据生成框架。在真实和合成数据集上的评估表明,BEAR达到了100%的准确率,优于思维链(Chain-of-Thought)和上下文学习(in-context learning)基线方法。这项工作开创了一种自动解释BGP异常事件的方法,为网络管理提供了有价值的运营洞察。

英文摘要:

The Internet comprises of interconnected, independently managed Autonomous Systems (AS) that rely on the Border Gateway Protocol (BGP) for inter-domain routing. BGP anomalies--such as route leaks and hijacks--can divert traffic through unauthorized or inefficient paths, jeopardizing network reliability and security. Although existing rule-based and machine learning methods can detect these anomalies using structured metrics, they still require experts with in-depth BGP knowledge of, for example, AS relationships and historical incidents, to interpret events and propose remediation. In this paper, we introduce BEAR (BGP Event Analysis and Reporting), a novel framework that leverages large language models (LLMs) to automatically generate comprehensive reports explaining detected BGP anomaly events. BEAR employs a multi-step reasoning process that translates tabular BGP data into detailed textual narratives, enhancing interpretability and analytical precision. To address the limited availability of publicly documented BGP anomalies, we also present a synthetic data generation framework powered by LLMs. Evaluations on both real and synthetic datasets demonstrate that BEAR achieves 100% accuracy, outperforming Chain-of-Thought and in-context learning baselines. This work pioneers an automated approach for explaining BGP anomaly events, offering valuable operational insights for network management.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑