Nuclear power DCS operation and maintenance information extraction system and method based on large language model
Through the nuclear power DCS operation and maintenance information extraction system based on the large language model, the problems of low multi-source heterogeneous operation and maintenance data processing efficiency and professional knowledge limitations in the traditional method are solved, and efficient information extraction and data integration are achieved to support the operation of nuclear power plants. Maintenance work.
Patent Information
- Application Number
- CN202410753003.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-06
AI Technical Summary
Traditional methods are difficult to effectively extract useful knowledge from multi-source heterogeneous operation and maintenance data of nuclear power DCS. The degree of automation is low, the processing efficiency is low, and they are limited by professional domain knowledge and a large amount of annotated data, resulting in low secondary utilization of data. and difficulty responding quickly.
Adopt a nuclear power DCS operation and maintenance information extraction system and method based on a large language model, and use step-by-step prompts and few-sample learning methods through multi-source heterogeneous operation and maintenance data collection, preprocessing, domain vocabulary embedding, information extraction and information fusion modules , reduce reliance on professional knowledge and annotated data, and improve the automation and efficiency of information extraction.
It achieves efficient multi-source heterogeneous operation and maintenance data processing and knowledge extraction, improves the efficiency of data integration and information extraction, reduces dependence on manual annotation, enhances semantic understanding capabilities, and can accurately extract and process key information in texts, supporting Operation and maintenance of nuclear power plants.
Smart Images

Figure CN118607633A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of nuclear power DCS systems, and in particular to a nuclear power DCS operation and maintenance information extraction system and method based on a large language model. Background Art
[0002] The operation and maintenance data of nuclear power DCS (Distributed Control System) contains rich expert experience knowledge and DCS health management knowledge. Accurately converting expert experience and practical knowledge into computer-understandable knowledge and applying it can effectively help operation and maintenance personnel to respond to alarms quickly, help obtain standardized and high-quality response results, help to predict DCS status risks, and guide power plant operation and maintenance personnel in alarm training, risk warning, alarm intervention, etc. Therefore, based on the operation and maintenance needs of nuclear power plant DCS, how to extract knowledge from multi-source heterogeneous DCS operation and maintenance data and then carry out downstream applications has become an urgent problem to be solved in power plants. However, traditional data processing methods are difficult to effectively extract useful knowledge from these complex text data, and there are problems such as low degree of automation and low processing efficiency. Therefore, it is particularly necessary to develop a method and system for extracting information from multi-source heterogeneous operation and maintenance data of nuclear power DCS based on a large language model.
[0003] The field of nuclear power DCS operation and maintenance has a large amount of multi-source and heterogeneous data, but in actual engineering applications, the efficiency of nuclear power DCS data and technical document data mining is not high. It is mainly affected by three aspects. First, the range of data sources and the large amount of data. Nuclear power DCS log data, operation and maintenance data, work order data and other data are of various types and scattered in different systems, which are difficult to obtain in batches, and the huge amount of data also increases the difficulty of data analysis. Second, it is limited by the limitations of professional field knowledge. Document management personnel and information technology personnel can only manage and analyze nuclear power technical documents from the aspects of cataloging, format, structure, etc., and cannot extract key content from the content perspective for logical reorganization, so that the secondary utilization rate of data is low. Third, relational databases are not conducive to rapid response. Traditional relational databases are too redundant in storing log data, work order data and other rules, and often have information islands, making it difficult to associate different data or to represent the different attributes that data may have and to perform rapid queries based on multiple tables. These problems directly limit the comprehensive understanding and scientific management of nuclear power DCS operation and maintenance data, and also restrict the rapid response to DCS alarm anomalies to a certain extent.
[0004] At present, common information extraction methods mainly include: rule-based, statistical and deep learning methods. Traditional rule-based methods require prior knowledge to set rules, and are not effective in recognizing complex unstructured data. Statistical methods require a lot of domain knowledge as research support, which places high demands on researchers. Common methods based on deep learning include long short-term memory (LSTM) neural networks and graph neural networks. Although they can effectively extract contextual text features, they require a lot of data labeling. Summary of the invention
[0005] The purpose of the present invention is to provide a nuclear power DCS operation and maintenance information extraction system and method based on a large language model, which solves the problem of information extraction from multi-source heterogeneous operation and maintenance data in the absence of professional domain knowledge and a large number of annotations.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] On the one hand, the present invention provides a nuclear power DCS operation and maintenance information extraction system based on a large language model, comprising:
[0008] Nuclear power DCS multi-source heterogeneous operation and maintenance data collection module, used to collect multi-source heterogeneous operation and maintenance data in the field of nuclear power DCS;
[0009] The nuclear power DCS multi-source heterogeneous operation and maintenance data preprocessing module is used to preprocess the collected multi-source heterogeneous operation and maintenance data in the nuclear power DCS field to form a data sample set;
[0010] The domain vocabulary embedding module for nuclear power DCS multi-source heterogeneous operation and maintenance data is used to embed DCS domain vocabulary using the embedding model to improve the recognition ability of the large language model for special vocabulary in the DCS domain;
[0011] The nuclear power DCS multi-source heterogeneous operation and maintenance data information extraction module is used to locally deploy the large language model. It uses the prompt engineering template of the "step-by-step" prompt to guide the large language model to extract information according to the prompt engineering, thereby improving the information extraction quality of the large language model. At the same time, relying on the prompt engineering, the large language model is used to translate the extracted English text information;
[0012] The nuclear power DCS multi-source heterogeneous operation and maintenance data information fusion module is used to fuse the information extracted by the large language model and other methods to form a local knowledge base.
[0013] In some embodiments, multi-source heterogeneous operation and maintenance data includes structured data such as lists and lists, as well as semi-structured and unstructured data such as reports, manuals, and procedures. Specifically, it includes data files such as alarm logs, fault manuals, alarm procedures, risk analysis, maintenance plans, and emergency repair reports.
[0014] In some embodiments, the nuclear power DCS multi-source heterogeneous operation and maintenance data preprocessing module cleans the collected data, removes noise and redundant information, and converts data in different formats into a standard format.
[0015] In some embodiments, the nuclear power DCS multi-source heterogeneous operation and maintenance data information extraction module deploys a large language model locally, uses a prompt method that satisfies information extraction, guides the large language model to carry out information extraction tasks according to user needs, and combines the above prompt engineering to carry out information extraction and translate the extracted content.
[0016] On the other hand, the present invention provides a method for extracting nuclear power DCS operation and maintenance information based on a large language model, comprising:
[0017] Step 1: Collect multi-source heterogeneous text data related to nuclear power operation and maintenance;
[0018] Step 2: Preprocess the data collected in step 1;
[0019] Step 3: Use the embedding model to embed DCS domain vocabulary;
[0020] Step 4: Use a large language model to extract information, deploy the large language model locally, and use the "step-by-step" prompting project to extract key information from multi-source heterogeneous data samples using the "step-by-step" prompting method + large language model, and realize automatic translation of the extracted text;
[0021] Step 5: Fusion the extracted multi-source heterogeneous operation and maintenance data to eliminate redundant and contradictory information.
[0022] In some embodiments, step 2 comprises:
[0023] Step 2.1: Clean the collected data to remove noise and redundant information;
[0024] Step 2.2: Convert data in different formats into a standard format;
[0025] Step 2.3: For Chinese text, perform word segmentation and remove stop words to reduce the dimension of the feature vector and improve the accuracy of knowledge extraction;
[0026] Step 2.4: Label a small amount of data to provide a small amount of labeled samples for information extraction of the large language model.
[0027] In step 3, the DCS domain words are mapped to a low-dimensional vector space, the text is vector-encoded, and the natural language text is converted into a vector representation that can be recognized by the computer. The word embedding formula is expressed as:
[0028] E: V → R d
[0029]
[0030] Where E is the embedding function, V is the vocabulary, d is the dimension of the embedding, and v is the word in the vocabulary.
[0031] In step 4, entity extraction is performed using prompt engineering based on prompt learning and a large language model of few-shot learning; at the same time, relying on prompt engineering, the extracted English text information is translated into English vocabulary. For structured data, using prompt templates for extracting key fields, the data of fields exported by the DCS system is read through a large language model, and directly used as extracted information after data preprocessing; for semi-structured data, regular expression matching, dictionary matching, template matching and other rule-based prompt templates are used to extract entity information from log data; for unstructured data, "step-by-step" prompt learning and a large language model of few-shot learning are used for entity extraction.
[0032] In step 4, for unstructured data, LangChain+ChatGLM3-6B (can also be changed to other open source large language models, such as LLaMA / Baichuan / Qwen, etc.) is used as the basic model. In terms of prompts, it is driven by conditions and tasks, and the "step-by-step prompt method" (demand prompts, domain knowledge prompts, sample prompts) is used for extraction.
[0033] In step 5, the extracted entities of the same category are vectorized and encoded, and the text similarity is calculated. The cosine similarity calculation formula is:
[0034]
[0035] Where A·B is the dot product of vector A and vector B, ||A|| and ||B|| are the Euclidean norms of the vectors;
[0036] The Euclidean distance calculation formula is:
[0037]
[0038] Compared with the prior art, the nuclear power DCS operation and maintenance information extraction system and method based on a large language model provided by the present invention has the following beneficial effects:
[0039] Based on the Large Language Model (LLM)'s ability to understand natural language and contextual reasoning, the present invention provides a method and system for extracting nuclear power DCS operation and maintenance information based on a large language model, which can avoid the heavy data labeling work of general information extraction and better process multi-source heterogeneous and complex text data.
[0040] The present invention has efficient data processing and strong understanding ability, and uses a large language model to process multi-source heterogeneous operation and maintenance data to improve the efficiency of data integration and knowledge extraction. The large language model has been trained with a large amount of text data and has a strong semantic understanding ability, which can better understand the text content and contextual relationship.
[0041] The invention has high automation and accurate semantic understanding. The large language model can automatically perform entity recognition tasks, reducing the reliance on manual annotation and improving the degree of automation. The large language model has strong semantic understanding ability and can accurately extract and process key information in the text.
[0042] The present invention can improve construction efficiency and facilitate integration and expansion. The large language model can quickly process a large amount of text data and improve the efficiency of information extraction. The large language model is easy to integrate with other systems and tools, and is also convenient to expand and optimize as needed. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for the technical description.
[0044] Figure 1 A schematic diagram of the structure of a nuclear power DCS operation and maintenance information extraction system based on a large language model provided by the present invention;
[0045] Figure 2 A framework diagram of a nuclear power DCS operation and maintenance information extraction system based on a large language model provided by the present invention;
[0046] Figure 3 The present invention provides a flowchart of an information extraction method for a nuclear power DCS operation and maintenance information extraction system based on a large language model. DETAILED DESCRIPTION
[0047] The following is further explained in detail through specific implementation methods.
[0048] DCS operation and maintenance data contains rich expert experience and DCS health management knowledge, which accurately converts expert experience and practical knowledge into computer-understandable knowledge and applies it. This paper conducts information extraction research based on DCS multi-source heterogeneous operation and maintenance data, and uses a multi-strategy information extraction method and a large language model technology based on "step-by-step" prompts to realize information extraction from DCS multi-source heterogeneous operation and maintenance data.
[0049] like Figure 1 and Figure 2 As shown, the present invention provides a nuclear power DCS operation and maintenance (multi-source heterogeneous operation and maintenance data) information extraction system based on a large language model, including a nuclear power DCS multi-source heterogeneous operation and maintenance data collection module, a nuclear power DCS multi-source heterogeneous operation and maintenance data preprocessing module, a nuclear power DCS multi-source heterogeneous operation and maintenance data domain vocabulary embedding module, a nuclear power DCS multi-source heterogeneous operation and maintenance data information extraction module, and a nuclear power DCS multi-source heterogeneous operation and maintenance data information fusion module.
[0050] The nuclear power DCS multi-source heterogeneous operation and maintenance data collection module is used to collect multi-source heterogeneous operation and maintenance data in the field of nuclear power DCS. The nuclear power DCS multi-source heterogeneous operation and maintenance data collection module collects multi-source heterogeneous operation and maintenance data related to the nuclear power DCS field, including structured data such as lists and lists, as well as semi-structured and unstructured data such as reports, manuals, and procedures. The nuclear power DCS multi-source heterogeneous operation and maintenance data collection module stores the collected data in a unified data storage platform to ensure data integrity and accessibility.
[0051] Illustratively, with the assistance of nuclear power operation and maintenance personnel, the present invention collects multi-source heterogeneous text data related to operation and maintenance through a nuclear power DCS multi-source heterogeneous operation and maintenance data collection module, specifically including alarm logs, fault manuals, alarm procedures, risk analysis, maintenance plans, emergency repair reports, etc. These data are original data sets, the data come from multiple systems, and the data formats include structured, semi-structured, unstructured and other data types.
[0052] The nuclear power DCS multi-source heterogeneous operation and maintenance data preprocessing module is used to preprocess the collected multi-source heterogeneous operation and maintenance data in the nuclear power DCS field to form a data sample set. The nuclear power DCS multi-source heterogeneous operation and maintenance data preprocessing module cleans the collected data, removes noise and redundant information, and ensures the quality of the data; it converts data in different formats into a standard format to facilitate subsequent processing. For Chinese text, word segmentation is performed and stop words are removed to reduce the dimensionality of the feature vector and improve the accuracy of the extracted knowledge. A small amount of data is manually annotated to provide high-quality annotated samples for the training of large language models.
[0053] The vocabulary embedding module in the field of multi-source heterogeneous operation and maintenance data of nuclear power DCS is used to vectorize the vocabulary in the DCS field and improve the recognition ability of the large language model for special vocabulary in the DCS field. The preprocessed text data is converted into a vector representation using a word vector encoding model. The Word2Vec model is essentially a neural network model structure that can automatically train the semantic similarity between words from a huge unlabeled corpus and generate a low-dimensional dense vector to represent a word. The vocabulary vector representation module in the field of multi-source heterogeneous operation and maintenance data of nuclear power DCS stores the generated vector representation in the database for subsequent entity extraction.
[0054] The nuclear power DCS multi-source heterogeneous operation and maintenance data information extraction module is used to extract the required key entities from the multi-source heterogeneous operation and maintenance data and store them in the database. The nuclear power DCS multi-source heterogeneous operation and maintenance data information extraction module adopts a multi-strategy approach. For structured data with clear field definitions, the system exports the data of the required corresponding fields as entity information. For semi-structured data, rule-based methods such as regular expression matching, dictionary matching, and template matching are used to extract the required entity information. For unstructured data, a large language model based on prompt learning (Prompt) and few-sample learning is used for entity extraction. Among them, the Prompt part uses a "step-by-step" prompt method of demand prompts, domain knowledge prompts, and case prompts to identify key entities in the text.
[0055] The nuclear power DCS multi-source heterogeneous operation and maintenance data information fusion module is used to fuse the multi-source heterogeneous operation and maintenance data information to form a knowledge base. The extracted multi-source heterogeneous operation and maintenance data is fused to eliminate redundant and contradictory information to ensure consistency and accuracy. Synonym normalization and string similarity matching are used to standardize the extracted entities. The synonym normalization method is used to normalize different words representing the same entity (such as "nuclear power plant" and "nuclear power plant") into a standardized word; string similarity algorithms (such as edit distance, Jaccard similarity coefficient, etc.) are used to match the same or similar entities.
[0056] like Figure 3 As shown, the present invention also provides a method for extracting nuclear power DCS operation and maintenance information based on a large language model, comprising the following steps:
[0057] Step 1: Collect multi-source heterogeneous text data related to nuclear power operation and maintenance. Including:
[0058] (1) Data collection: Collect multi-source heterogeneous operation and maintenance data related to the nuclear power DCS field, including but not limited to: operation and maintenance data, historical work order data, standard specification data, expert knowledge, experience feedback, etc.
[0059] (2) Data storage: Store the collected data on a unified data storage platform to ensure data integrity and accessibility.
[0060] Collect multi-source heterogeneous text data related to nuclear power operation and maintenance with the assistance of nuclear power operation and maintenance personnel, including alarm logs, fault manuals, alarm procedures, risk analysis, maintenance plans, emergency repair reports, etc. These data serve as the original dataset, originating from multiple systems, and the data formats include structured, semi-structured, unstructured and other data types.
[0061] Step 2: Preprocess the data collected in Step 1. Since the data sources are diverse and the formats are inconsistent, data preprocessing is required. First, extract and identify the text information in the data; use tokenization tools (such as jieba, NLTK, etc.) to split Chinese text into meaningful words or phrases, and delete common stop words, such as "de", "shi", "zai", etc., as well as data deduplication, tokenization, etc., to improve the efficiency and accuracy of subsequent processing.
[0062] Step 2 specifically includes the following:
[0063] Step 2.1: Data cleaning. Clean the collected data to remove noise and redundant information and ensure data quality.
[0064] Step 2.2: Data normalization. Uniformly convert data in different formats into a standard format for convenient subsequent processing.
[0065] Step 2.3: Data tokenization and stop word removal. For Chinese text, perform tokenization and remove stop words to reduce the dimensionality of the feature vector and improve the accuracy of extracted knowledge.
[0066] Step 2.4: Data annotation: Conduct annotation on a small number of data samples, use the web-based annotation tool brat to carry out the annotation work of text reports, and annotate the entity types to be extracted (such as time, equipment information, system information, fault description, etc.) to provide high-quality annotation samples for the training of large language models.
[0067] Step 3: Data vectorization. Use an encoding model to vectorize and represent the vocabulary in the DCS field.
[0068] Data vectorization is the process of converting text data into a numerical form for the computer to understand and process. Adopt the word embedding method to map the tokenized words into a high-dimensional vector space, use a pre-trained word embedding model (such as Word2Vec, GloVe, FastText, etc.) or train your own word embedding model to represent each word as a dense vector, which contains the semantic information of the word.
[0069] Step 3 specifically includes the following:
[0070] Step 3.1: Text vectorization. Use a pre-trained large language model to convert DCS domain vocabulary into vector representation. The specific steps include: input the segmented text into the pre-trained model to obtain word vectors or sentence vectors; use appropriate vectorization methods (such as word embedding, context embedding, etc.) to represent the text in vector form.
[0071] Step 3.2: Vector storage: The generated vector representation is stored in the database for subsequent entity and relationship extraction.
[0072] Step 4: Information extraction: Adopt the "step-by-step" prompting method of requirement prompting, domain knowledge prompting and case prompting, and use the large language model to identify key entities in the text.
[0073] Task Prompt: Clearly inform the large language model of the task objectives and specific requirements that need to be completed, which helps the model focus on specific tasks, reduce understanding bias, and improve the accuracy of task completion.
[0074] Domain Knowledge Prompt: Provides task-related background knowledge and professional terms to help the model better understand domain-specific concepts and improve the accuracy of information extraction.
[0075] Example Prompt: By providing specific example data and expected results, it helps the model understand how to perform the task, helps the model learn and imitate the correct extraction method, and improves accuracy.
[0076] In the nuclear power DCS alarm response, it mainly involves alarm log data, fault manuals, alarm procedures and other guide specification data, risk analysis tables, operation and maintenance work orders, experience feedback and other behavioral data. The above information sources include both structured data such as lists and lists, and semi-structured and unstructured data such as reports, manuals, and procedures. For various forms of data sources, the present invention adopts a multi-strategy method to extract information.
[0077] For the extraction of structured and semi-structured data. For structured data with clear field definitions such as risk analysis tables and work order data (including emergency repair reports and maintenance reports), use prompt templates for extracting key fields, read the data of fields exported by the DCS system through a large language model, and directly integrate them as data layer information after data preprocessing. For semi-structured data such as alarm logs, use regular expression matching, dictionary matching, template matching and other rule-based prompt templates to extract entity and attribute information such as "time, equipment name, equipment information, system display, alarm code, and operating status information" in the log data.
[0078] For the extraction of unstructured data. For unstructured data such as fault manuals, the present invention constructs an information extraction model based on a large language model, and uses a large language model based on prompt learning (Prompt) and few-sample learning for entity extraction. Prompt allows users to guide and extract scheduling rules in the form of instructions. LLM is used for multiple extractions, and human feedback data is collected to train and optimize Prompt. This process is repeated and iterated until the extraction effect reaches the expected performance level.
[0079] Preferably, the present invention provides a method for extracting entities from data using a large language model based on prompt learning and few-sample learning.
[0080] Specifically, LangChain+ChatGLM3-6B is used as the basic model, the fault manual is used as the local knowledge base, and the nuclear power DCS domain vocabulary is encoded as additional vocabulary to improve the accuracy of model extraction. The word embedding formula is expressed as:
[0081] E: V → R d
[0082]
[0083] Where E is the embedding function, V is the vocabulary, d is the dimension of the embedding, and v is the word in the vocabulary.
[0084] For abnormal information appearing in the alarm log, first locate the document to which it belongs and the paragraph or table where the content is located in the local knowledge base, and then use prompts to extract key entity attributes (fault description (System), alarm code (Error Code), operating status (Message), alarm description (Description), response action (Action)) and translate them into Chinese.
[0085] In terms of prompts, driven by conditions and tasks, "step-by-step" prompts (requirement prompts, domain knowledge prompts, case prompts) are used for extraction, aiming to help the model better understand and perform tasks through step-by-step guidance. In the "step-by-step" prompt strategy, the large language model accumulates knowledge through continuous learning, improving the generalization ability of the model. Compared with deep learning methods, through prompt learning and few-sample learning, the large language model can significantly reduce the dependence on a large amount of annotated data; at the same time, it can also combine domain vocabulary and general knowledge for Chinese-English translation, greatly improving the extraction efficiency of the model.
[0086] Step 5: Information fusion. Fusion the extracted multi-source heterogeneous operation and maintenance data to eliminate redundant and contradictory information and ensure consistency and accuracy. Including:
[0087] (1) Entity alignment. Identify and match the same entity from different data sources to resolve differences in representation of the same entity in different data sources. This includes: entity matching: using rules, statistics, or machine learning methods to match the same or similar entities; synonym processing: identifying and processing different names or aliases of the same entity; fuzzy matching: processing entity matching with spelling errors or inconsistent formats.
[0088] (2) Knowledge integration. Integrate the aligned entities to build a unified knowledge structure. Resolve conflicts and inconsistencies between different data sources. This includes: knowledge merging: integrating knowledge from different sources into a unified knowledge base; conflict resolution: formulating rules or using algorithms to resolve conflicts between data sources, such as data inconsistencies; knowledge updating: dynamically updating the knowledge in the knowledge base to keep it up to date.
[0089] Information fusion refers to the process of integrating new knowledge after it is acquired to eliminate contradictions and ambiguities. The extracted entities of the same category are vectorized and encoded, and the text similarity is calculated. Generally, cosine similarity or Euclidean distance is used. Cosine similarity measures the directional similarity of two vectors, while Euclidean distance measures the absolute distance between two vectors. The value of cosine similarity is between 0 and 1. The closer the value is to 1, the more similar the texts are. Usually, a threshold (such as 0.7 or 0.8) can be set according to the specific application scenario. The value of Euclidean distance is between 0 and positive infinity. The smaller the value, the more similar the texts are. Usually, a threshold (such as 0.5) can be set according to the specific application scenario. If the similarity is greater than the threshold, the two texts are considered similar. Then, standard semantic replacement is performed on words with semantic errors or synonymous descriptions to complete knowledge fusion.
[0090] The formula for calculating cosine similarity is:
[0091]
[0092] Where A·B is the dot product of vector A and vector B, and ||A|| and ||B|| are the Euclidean norms (lengths) of the vectors.
[0093] The Euclidean distance calculation formula is:
[0094]
[0095] The purpose of calculating vector similarity is to determine whether the different entities extracted are the same entity (for example, "nuclear power plant" and "power plant" in the text often represent the same entity). Cosine similarity is more suitable for processing high-dimensional sparse vectors, such as text data and user behavior data in DCS multi-source heterogeneous operation and maintenance data, and is more suitable for similarity calculation of data of the same type of text. In comparison, Euclidean distance is more suitable for processing low-dimensional data or scenarios that need to consider amplitude information. It mainly measures the absolute distance of vectors and is more suitable for processing the similarity judgment of entities extracted from DCS data sources.
[0096] Using text matching technology, the text information in the knowledge base is further processed and integrated; using text matching for knowledge processing ensures that all knowledge elements are semantically consistent. Knowledge processing is a continuous process that requires continuous iteration and updating of the knowledge system based on newly acquired knowledge to form a large-scale knowledge system.
[0097] The method and system for extracting multi-source heterogeneous operation and maintenance data information of a nuclear power DCS based on a large language model technology provided by the present invention provide strong support for the subsequent operation and maintenance work of the nuclear power DCS, help to improve the quality of operation and maintenance, and ensure the safe and stable operation of the nuclear power plant.
[0098] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A nuclear power DCS operation and maintenance information extraction system based on a large language model, characterized in that: include: Nuclear power DCS multi-source heterogeneous operation and maintenance data collection module, used to collect multi-source heterogeneous data related to nuclear power DCS operation and maintenance; The nuclear power DCS multi-source heterogeneous operation and maintenance data preprocessing module is used to preprocess the collected multi-source heterogeneous data in the nuclear power DCS field to form a data sample set; The domain vocabulary embedding module for nuclear power DCS multi-source heterogeneous operation and maintenance data is used to embed DCS domain vocabulary using the embedding model to improve the recognition ability of the large language model for special vocabulary in the DCS domain; The nuclear power DCS multi-source heterogeneous operation and maintenance data information extraction module is used to locally deploy the large language model. It uses the prompt project template with step-by-step prompts to guide the large language model to extract information according to the prompt project, thereby improving the information extraction quality of the large language model. At the same time, relying on the prompt project, the large language model is used to translate the extracted English text information. The nuclear power DCS multi-source heterogeneous operation and maintenance data information fusion module is used to fuse the information extracted by the large language model and other methods to form a local knowledge base.
2. The nuclear power DCS operation and maintenance information extraction system based on a large language model according to claim 1 is characterized in that: Multi-source heterogeneous data includes structured data such as lists and lists, and semi-structured and unstructured data such as reports, manuals, and procedures, including alarm logs, fault manuals, alarm procedures, risk analysis, maintenance plans, and emergency repair report data files.
3. The nuclear power DCS operation and maintenance information extraction system based on a large language model according to claim 1 is characterized in that: The nuclear power DCS multi-source heterogeneous operation and maintenance data preprocessing module cleans the collected data, removes noise and redundant information, and converts data in different formats into a standard format.
4. The nuclear power DCS operation and maintenance information extraction system based on a large language model according to claim 1 is characterized in that: The domain vocabulary embedding module of nuclear power DCS multi-source heterogeneous operation and maintenance data uses an embedding model to embed DCS domain vocabulary as a local knowledge base, and combines the local knowledge base with a large language model to improve the large language model's ability to extract DCS domain-specific vocabulary.
5. The nuclear power DCS operation and maintenance information extraction system based on a large language model according to claim 1 is characterized in that: The nuclear power DCS multi-source heterogeneous operation and maintenance data information extraction module deploys a large language model locally, uses a prompt method that meets the information extraction requirements, guides the large language model to carry out information extraction tasks according to user needs, and combines the above-mentioned prompt project to extract information and translate the extracted content.
6. A method for extracting nuclear power DCS operation and maintenance information based on a large language model, characterized in that: include: Step 1: Collect multi-source heterogeneous text data related to nuclear power operation and maintenance; Step 2: Preprocess the data collected in step 1; Step 3: Use the embedding model to embed DCS domain vocabulary; Step 4: Use a large language model to extract information, deploy the large language model locally, and use the step-by-step prompting project to extract key information from multi-source heterogeneous data samples using a step-by-step prompting method and a large language model, and realize automatic translation of the extracted text; Step 5: Fuse the extracted multi-source heterogeneous data to eliminate redundant and contradictory information.
7. The method for extracting nuclear power DCS operation and maintenance information based on a large language model according to claim 6 is characterized in that: Step 2 includes: Step 2.1: Clean the collected data to remove noise and redundant information; Step 2.2: Convert data in different formats into a standard format; Step 2.3: For Chinese text, perform word segmentation and remove stop words to reduce the dimension of the feature vector and improve the accuracy of knowledge extraction; Step 2.4: Label a small amount of data to provide a small amount of labeled samples for information extraction of the large language model.
8. The method for extracting nuclear power DCS operation and maintenance information based on a large language model according to claim 6 is characterized in that: In step 3, the DCS domain words are mapped to a low-dimensional vector space, the text is vector-encoded, and the natural language text is converted into a vector representation that can be recognized by the computer. The word embedding formula is expressed as: E:V→R d Where E is the embedding function, V is the vocabulary, d is the dimension of the embedding, and v is the word in the vocabulary.
9. The method for extracting nuclear power DCS operation and maintenance information based on a large language model according to claim 6 is characterized in that: In step 4, using prompt engineering, entity extraction is performed based on a large language model of prompt learning and few-shot learning; at the same time, relying on prompt engineering, the extracted English text information is translated into English vocabulary; For structured data, the prompt template for extracting key fields is used to read the data of the fields exported by the DCS system through a large language model, and the data is directly used as extracted information after data preprocessing; For semi-structured data, rule-based prompt templates such as regular expression matching, dictionary matching, and template matching are used to extract entity information from log data; for unstructured data, large language models based on prompt learning based on step-by-step prompts and few-sample learning are used for entity extraction, including requirement prompts, domain knowledge prompts, and sample prompts.
10. The method for extracting multi-source heterogeneous operation and maintenance data of nuclear power DCS based on a large language model according to claim 6 is characterized in that: In step 5, the extracted entities of the same category are vectorized and encoded, and the text similarity is calculated. The cosine similarity calculation formula is: Where A·B is the dot product of vector A and vector B, and A and B are the Euclidean norms of the vectors; The Euclidean distance calculation formula is:
Citation Information
Patent Citations
Chinese agriculture named entity recognition method based on domain dictionary
CN115017907A
Professional text translation method and device, electronic equipment and storage medium
CN117273026A
LAMOST literature celestial body identification information extraction method and device, equipment and medium
CN117454895A
Cited By
Ship multi-source data integration method based on Word2Vec model
CN119576917A
Ship multi-source data integration method based on Word2Vec model
CN119576917B
A Method for Constructing a Jewelry Valuation Knowledge Base Based on a Large Language Model
CN120562536B
Trusted data sharing collaboration platform
CN120995464A
