基于轻量级DeepSeek的电力系统数据标记语言异常检测可行性分析

Feasibility Analysis of Anomaly Detection in Power System Data Markup Language Based on Lightweight DeepSeek

  • 摘要: 电力系统数据标记语言异常检测是保障数据传输和处理可靠性的关键技术。针对目前难以应对的复杂语法和语义异常问题,提出一种基于轻量级DeepSeek模型的异常检测框架,探索其在电力系统中的应用可行性。方法利用Word2Vec和Kmeans算法从文件名提取典型E语言文本,结合大模型的上下文学习技术,以少量示例样本实现在线E文本实时检测,重点识别字段缺失的语法异常及数值超限、类型错误的语义异常。实验对比了DeepSeek-R1三个蒸馏版模型,其中DeepSeek-R1-Distill-QWEN-14B版本整体表现最优,兼顾了性能与资源效率,F1值为86.6%。实验表明,该框架在电力系统数据标记语言异常检测中具有应用潜力,为其发展提供了新思路。

     

    Abstract: Anomaly detection for data markup language in power systems is a critical technology for ensuring reliable data transmission and processing. To address the challenge of complex syntactic and semantic anomalies, this paper proposes a lightweight DeepSeek model-based anomaly detection framework, and investigates its application feasibility in power systems. The proposed approach employs Word2Vec and K-means algorithms to extract representative E-language texts from file names. By combining the contextual learning capabilities of large models, the approach enables real-time online detection of E-text with only a small number of samples. This work focuses on identifying syntactic anomalies such as missing fields, and semantic anomalies including out-of-range values and type errors. Comparative experiments have been conducted among three distilled versions of DeepSeek-R1, where the DeepSeek-R1-Distill-QWEN-14B model achieves the best performance, with an F1 score of 86.6%, while attaining a sound balance between performance and resource efficiency. The results demonstrate the framework's potential for anomaly detection in power system data markup language, and offer new insights for its development.

     

/

返回文章
返回