Abstract
A matching method based on a hybrid neural network is proposed to improve the accuracy of online matching for a power grid fault handling plan. First, the ERNIE 3.0 encoding and double-pointer decoding module are used to replace the generative model in the universal information extraction (UIE) framework, and the mapping relationship between entities and entity labels of the fault handling plan is trained by adjusting the hyperparameters of the UIE framework. Then, the semantic distance between the fault equipment, fault type, fault phenomenon, and the entity of the fault handling plan is calculated based on the residual vector-embedding vector-encoded vector (RE2). The hybrid neural network model for power grid fault handling plan matching is established. Finally, by verifying the fault-related data of a regional power grid, the proposed fault handling plan matching method shows higher matching accuracy and stronger generalization ability than other algorithms. The average precision rate, recall rate, and F1 value of the built fault handling plan matching model are 97.61%, 98.24%, and 97.91%, respectively, which can support auxiliary decisions for timely and rapid treatment of power grid faults.
Introduction
In modern power systems, fault handling plans—the "playbooks" for emergencies—mostly exist as unstructured text documents. When a transformer fails or a line trips, dispatchers often have to manually search through these documents to find the right recovery strategy. This manual process is too slow for today’s complex, high-speed grids. Furthermore, simple keyword searches often fail because the language in these plans is highly technical and contains "nested" information, where one entity (e.g., a specific piece of equipment) is part of a larger fault description. This research aims to "objectify" these plans—turning messy text into structured data that can be matched to real-time sensor data in milliseconds.
Methodology
The proposed system utilizes a two-stage hybrid neural network architecture consisting of an Enhanced Universal Information Extraction (UIE) module and an RE2 matching module.
Enhanced Universal Information Extraction (UIE)
Standard UIE models often use a generative approach, which can be insufficient for the specific jargon of power grids. This method replaces the core with ERNIE 3.0, a powerful pre-trained encoder, and implements a double-pointer decoding module. Instead of just labeling words, the pointers identify the start and end positions of entities. This approach is significantly better at capturing "nested" entities, such as identifying a "Bus" within a "Transformer Station" description.
RE2 Matching
Once key features (equipment, fault type, phenomenon) are extracted, they are compared against a library of plans using the RE2 (Residual Vector-Embedding Vector-Encoded Vector) model. RE2 employs "enhanced residuals," maintaining original pointwise features, previous alignment features, and contextual features simultaneously. This allows the model to understand the semantic distance between a real-time event and a stored plan, even if the wording is not identical.
Data and Experimental Setup
The study utilized real-world data from a regional power grid in China. The dataset for entity recognition included 5,348 entities, split 8:1:1 for training, validation, and testing. Additionally, 6,448 matching text pairs were constructed. To ensure the model could generalize across different descriptions provided by dispatchers, the researchers used data augmentation to "enhance" fault events by rewriting historical cases into various syntactic structures.
Results and Analysis
The hybrid UIE-RE2 model demonstrated high performance across all metrics:
- Precision: 97.61%
- Recall: 98.24%
- F1 Score: 97.91%
The model significantly outperformed traditional algorithms like TF-IDF (F1 of 92.77%) and BM25 (F1 of 89.32%). In terms of speed, matching a single plan takes approximately 20.7 milliseconds. While slightly slower than a standalone RE2 model due to the extraction step, the gain in accuracy makes it superior for mission-critical infrastructure.
Conclusion
By shifting from full-text matching to feature-based extraction and semantic matching, the proposed hybrid neural network provides a robust solution for power grid fault management. The double-pointer approach effectively solves the nesting problem inherent in technical terminology. Future work will explore automatic plan generation, moving beyond matching existing documents to synthesizing custom, optimal recovery strategies in real-time for novel fault scenarios.
Summary updated