首页|期刊导航|科技创新与应用|思维链微调大语言模型赋能网络故障自动诊断

思维链微调大语言模型赋能网络故障自动诊断OA

中文摘要英文摘要

为解决通用大语言模型在网络故障诊断中配置理解难、输出不可执行的问题,该文提出基于思维链的自动化网络故障诊断框架.该框架首先通过一种统一的 YAML序列化方法,将网络拓扑、设备配置、日志及故障现象整合为 LLM友好的输入;其次构建覆盖 20 种典型故障的思维链微调数据集,采用 QLoRA(Quantized Low-Rank Adaptation)技术微调 Qwen3-8B 模型,使模型掌握分层排障逻辑和生成可执行方案;最后设计并实现一个与 GNS3 网络仿真工具联动的"诊断—执行—验证"闭环评测系统,以功能性修复成功率作为核心指标.实验表明,微调后模型修复成功率达 82.6%,较基线提升超过 54 个百分点,证明该框架能有效提升大模型解决实际网络故障的能力.

In order to solve the problems of difficult configuration and unexecutable output of the universal large language model in network fault diagnosis,this paper proposes an automated network fault diagnosis framework based on Chain-of-Thought(CoT).The framework first integrates network topology,device configuration,logs and fault phenomena into LLM-friendly inputs through a unified YAML serialization method;secondly,it builds a thought chain fine-tuning dataset covering 20 typical faults,using QLoRA(Quantized Low-Rank Adaptation)technology fine-tuned the Qwen3-8B model to enable the model to master hierarchical troubleshooting logic and generate executable solutions;finally,a"diagnosis-execution-verification"closed-loop evaluation system linked with the GNS3 network simulation tool was designed and implemented,with functional repair success rate as the core indicator.Experiments show that the model repair success rate after fine-tuning reaches 82.6%,an increase of more than 54 percentage points from the baseline,proving that this framework can effectively improve the ability of large models to solve actual network failures.

陈丹;龙星延;黄懿漫;龚仕涛;冉红梅

柳州职业技术大学,广西 柳州 545000西南电子电信研究所,成都 610041柳州职业技术大学,广西 柳州 545000柳州职业技术大学,广西 柳州 545000柳州职业技术大学,广西 柳州 545000

信息技术与安全科学

网络故障诊断大语言模型思维链参数微调Qwen3-8B

network fault diagnosislarge language model(LLM)Chain-of-Thought(CoT)parameter fine-tuningQwen3-8B

《科技创新与应用》 2026 (23)

31-34,39,5

2024年度广西高校中青年教师(科研)基础能力提升项目课题(桂教科研[2024]1号,2024KY1088)柳州职业技术大学2025年校级科研课题(2025DZ06)

10.19981/j.CN23-1581/G3.2026.23.007

评论