arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.04443cs.CRcs.LGeess.SP
收藏

用于检测智能电网继电保护装置网络攻击的大型语言模型

Large Language Models for Detecting Cyberattacks on Smart Grid Protective Relays

Department of Electrical and Computer Engineering, University of Toronto(电气与计算机工程系,多伦多大学);Concordia Institute for Information Systems Engineering (CIISE), Concordia University(信息系统工程研究所(CIISE),康科迪亚大学)

Ahmad Mohammad Saber, Saeed Jafari, Zhengmao Ouyang, Paul Budnarain, Amr Youssef, Deepa Kundur

AI总结:

本文提出基于LLM的检测框架,用于检测智能电网继电保护装置的网络攻击,通过结构化自然语言提示实现高准确率的攻击检测。

摘要:

本文提出了一种基于大型语言模型(LLM)的框架,该框架适应并微调了紧凑型LLM,用于检测变压器差动继电器(TCDRs)上的网络攻击,否则可能导致关键电力变压器的误动作。核心思想是将来自TCDRs的多变量时间序列电流测量值,跨相位和输入/输出侧,转化为结构化的自然语言提示,然后由紧凑型、可本地部署的LLM处理。使用这种表示方法,我们微调了DistilBERT、GPT-2和DistilBERT+LoRA,以区分网络攻击与真正的故障诱导干扰,同时保持继电器的可靠性。所提出的框架在正常条件、复杂网络攻击场景和测量噪声下,评估了广泛的状态-of-the-art机器学习和深度学习基线。我们的结果表明,基于LLM的检测器在检测网络攻击方面表现竞争或优于现有方法,DistilBERT能够检测到高达97.62%的攻击,同时保持完美的故障检测准确性。此外的评估显示了对提示制定变化的鲁棒性,对结合时间同步和虚假数据注入攻击的抗性,以及在现实测量噪声水平下的稳定性能。LLM的注意力机制进一步通过突出继电器测量中最有影响的时间-相位区域,实现了内在的可解释性。这些结果表明,紧凑型LLM为增强现代数字变电站的网络攻击检测提供了一个实用、可解释且稳健的解决方案。我们提供了本研究所用的完整数据集以供可重复性。

英文摘要:

This paper presents a large language model (LLM)-based framework that adapts and fine-tunes compact LLMs for detecting cyberattacks on transformer current differential relays (TCDRs), which can otherwise cause false tripping of critical power transformers. The core idea is to textualize multivariate time-series current measurements from TCDRs, across phases and input/output sides, into structured natural-language prompts that are then processed by compact, locally deployable LLMs. Using this representation, we fine-tune DistilBERT, GPT-2, and DistilBERT+LoRA to distinguish cyberattacks from genuine fault-induced disturbances while preserving relay dependability. The proposed framework is evaluated against a broad set of state-of-the-art machine learning and deep learning baselines under nominal conditions, complex cyberattack scenarios, and measurement noise. Our results show that LLM-based detectors achieve competitive or superior cyberattack detection performance, with DistilBERT detecting up to 97.62% of attacks while maintaining perfect fault detection accuracy. Additional evaluations demonstrate robustness to prompt formulation variations, resilience under combined time-synchronization and false-data injection attacks, and stable performance under realistic measurement noise levels. The attention mechanisms of LLMs further enable intrinsic interpretability by highlighting the most influential time-phase regions of relay measurements. These results demonstrate that compact LLMs provide a practical, interpretable, and robust solution for enhancing cyberattack detection in modern digital substations. We provide the full dataset used in this study for reproducibility.

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

↑