Towards sustainable grid security: a lightweight adaptive framework for power system software vulnerability detection

To address the issues of high computational cost and reliance on labeled data in power system software vulnerability detection, this paper proposes a lightweight and adaptive detection framework that combines large language models and Gaussian mixture models. As modern power grids evolve toward highly digitalized and interconnected architectures, sustainable security solutions that can operate reliably under resource constraints and continuously changing cyber–physical threat landscapes have become increasingly critical. The proposed method first extracts semantic embedding features from control and automation code using large language models, after which the Nystroem algorithm is applied for nonlinear dimensionality reduction. Gaussian mixture models are then employed for unsupervised clustering and vulnerability probability estimation. Furthermore, an Adaptive Hybrid Detector is designed to dynamically choose the detection path according to code complexity: simple protection or communication functions are analyzed with GMM for efficiency, while complex control logic is selectively processed by a contrastive clustering module to refine semantic representations. Experiments conducted on the DiverseVul and ReposVul datasets validated the effectiveness of the method under scenarios with only non-vulnerable code or a limited number of labeled vulnerable samples. Results demonstrated that the proposed approach achieves competitive AUC and F1 scores across different configurations, exhibits strong cross-language transferability, and enhances robustness. Overall, the framework significantly reduces resource consumption while maintaining reliable detection performance, making it well-suited for rapid deployment in practical power system software development and security assurance environments.

Authors

Institutions

Publication Details

Journal
Journal of Engineering and Applied Science
Published
2026-03-17
DOI
https://doi.org/10.1186/s44147-026-00926-7
Primary Topic
Information and Cyber Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Towards sustainable grid security: a lightweight adaptive framework for power system software vulnerability detection

Zhaoli Chen, Yiting Huang, Yuan Yin, Zijian Lin et al.
Journal of Engineering and Applied Science
Information and Cyber Security
article

Towards sustainable grid security: a lightweight adaptive framework for power system software vulnerability detection

Zhaoli Chen, Yiting Huang, Yuan Yin, Zijian Lin, Xuhua Ai, Wei Zhou
article en

Abstract

To address the issues of high computational cost and reliance on labeled data in power system software vulnerability detection, this paper proposes a lightweight and adaptive detection framework that combines large language models and Gaussian mixture models. As modern power grids evolve toward highly digitalized and interconnected architectures, sustainable security solutions that can operate reliably under resource constraints and continuously changing cyber–physical threat landscapes have become increasingly critical. The proposed method first extracts semantic embedding features from control and automation code using large language models, after which the Nystroem algorithm is applied for nonlinear dimensionality reduction. Gaussian mixture models are then employed for unsupervised clustering and vulnerability probability estimation. Furthermore, an Adaptive Hybrid Detector is designed to dynamically choose the detection path according to code complexity: simple protection or communication functions are analyzed with GMM for efficiency, while complex control logic is selectively processed by a contrastive clustering module to refine semantic representations. Experiments conducted on the DiverseVul and ReposVul datasets validated the effectiveness of the method under scenarios with only non-vulnerable code or a limited number of labeled vulnerable samples. Results demonstrated that the proposed approach achieves competitive AUC and F1 scores across different configurations, exhibits strong cross-language transferability, and enhances robustness. Overall, the framework significantly reduces resource consumption while maintaining reliable detection performance, making it well-suited for rapid deployment in practical power system software development and security assurance environments.

Journal of Engineering and Applied ScienceVol. 73(1)
Power Grid Corporation (India) (IN)
Decent work and economic growth
Openalex Percentile: Top 20%
Information and Cyber Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.