Methods for Constructing AI-Based Expert Systems for Assisted Decision Making

Through the AI-based professional plan-assisted decision-making expert system, big data and deep learning technology are used to independently prepare and intelligently review professional plans, solving the problems of low efficiency and high cost in professional plan preparation and review, and achieving efficient and unified professional plan management. , enhance the competitiveness of enterprises.

CN113850570BActive Publication Date: 2024-10-08CHINA CONSTR SEVENTH ENG DIVISION CORP LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111162774.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2024-10-08
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

The preparation and review of professional plans are inefficient and costly, the expert training cycle is long, and the review standards are inconsistent, resulting in low management efficiency.

Method used

Adopt an AI-based professional solution to assist decision-making expert system. By establishing a database, constructing a professional knowledge map, applying big data and deep learning technology, and using the NLG system to independently compile and intelligently review professional solutions, unify evaluation standards, reduce labor costs, and improve work efficiency. .

Benefits of technology

It realizes the intelligent preparation, review and evaluation of professional plans, significantly reduces labor costs, improves work efficiency, solves the problem of long preparation and review cycles, unifies evaluation standards, and supports the knowledge economy and corporate competitiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113850570B_ABST
    Figure CN113850570B_ABST
Patent Text Reader

Abstract

The present invention proposes a method for constructing an AI-based professional solution auxiliary decision-making expert system to solve the technical problems of low efficiency, high cost and long expert training cycle in the current professional solution preparation mode. The present invention includes the steps of building a database, establishing a data structure, building a knowledge graph, intelligent template matching, solution compliance and docking knowledge base retrieval. The operator inputs keywords, and the system can automatically prepare a professional solution that is highly targeted and meets the requirements of normative standard documents. At the same time, it can intelligently review and evaluate the professional solution, make full use of the advantages of big data and artificial intelligence, and realize the intelligent preparation, review and evaluation of professional solutions; at the same time, it solves the problems of long professional solution preparation and review cycle and high cost, and unifies the evaluation standards, significantly reduces labor costs, and improves work efficiency. The professional knowledge base formed in the system can lay the foundation for the knowledge economy and provide support for building corporate competitiveness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of preparation and review of professional plans for construction projects, and in particular to a method for constructing an AI-based professional plan auxiliary decision-making expert system. Background Art

[0002] The preparation and review of professional plans are highly professional, involving a wide range of knowledge and multiple categories. The preparation and review of professional plans still mainly rely on manual experience. The quality of professional plan preparation and the depth of review mainly rely on people's professional ability and professional ethics. At present, the company is facing problems such as staff shortage and younger age in the process of rapid development. Since the training of backbones and experts depends on long-term course training and continuous accumulation of engineering experience, the company lacks an expert system and the personnel structure is unevenly distributed. At present, the preparation and review of various professional plans are mainly carried out by organizing experts in related fields. There are problems such as large regional differences, long cycles and high costs, which lead to low management efficiency of the company. With the rapid development of artificial intelligence technology, it has been widely used in various professional fields. Integrating artificial intelligence technology in the preparation and review of professional plans, so as to realize the intelligent preparation and intelligent review of professional plans is the inevitable direction of future development. The traditional way of reviewing professional plans is to adopt auditing, which is not only costly, but also easy to miss and make mistakes. At the same time, due to the problem of inconsistent audit standards, relying on manual review, everyone has inconsistent grasp of the standard scale of the preparation and review plans. Moreover, the training of backbone personnel and experts has problems such as long cycle and high cost. At the same time, there are many categories of professional solutions. To reach the expert level, it is necessary to go through multiple projects and learn. Summary of the invention

[0003] In view of the shortcomings of the above-mentioned background technology, the present invention proposes a method for constructing an AI-based professional solution decision-making auxiliary expert system to realize functions such as intelligent preparation, smart approval, and intelligent recommendation of professional solutions, so as to solve the problems of low efficiency, high cost, and long expert training cycle in the current professional solution preparation model, and make full use of the advantages of big data and artificial intelligence to realize the intelligent preparation, review, and evaluation of professional solutions.

[0004] In order to solve the above technical problems, the present invention adopts the following technical solution: a method for constructing an AI-based professional solution auxiliary decision-making expert system, comprising the following steps:

[0005] Step S1: Establish a database for storing solution documents and preset normative standard files; manually collect internal professional solutions of construction projects and import them into the database, and import external finished product solution data into the database;

[0006] Step S2: preprocess the data in the database in step S1, and create structured data based on the preprocessed data and store it in the local database;

[0007] Step S3: Based on the basic industry information, construct a professional knowledge graph to form a multifunctional knowledge graph management platform;

[0008] Step S4: Apply big data and deep learning technology to template the fixed and homogeneous architectural plan content of the building category to form label data, then analyze the word frequency, sentence theme and label data through machine learning, and finally use the NLG system to independently compile professional plans;

[0009] Step S5: Based on the characteristics of the compiled professional plan, determine whether the plan belongs to a specific special professional plan type. In the special professional plan type, enter whether the text of the professional plan meets the requirements of the audit system model;

[0010] Step S6: Adopting the architecture of local data center plus cloud, the sensitive data of professional solutions is stored in the local data center in encrypted form; the cloud uses intelligent crawlers to collect industry big data information from the Internet and databases to provide a solution retrieval platform.

[0011] In the step S1, internal professional plans are screened and professional plan data with expired reference specifications and errors are cleared, while valid professional plan data is retained.

[0012] In step S2, effective professional solution data, manual feedback data, digital twin system feedback data and external finished product solution data are preprocessed, and the preprocessing operations include data extraction, data loading and data conversion.

[0013] The machine learning in step S4 includes a BERT pre-training model, which includes an MLM task and an NSP task. When training the BERT pre-training model, in order to minimize the combined loss function of the two tasks, the MLM task and the NSP task are jointly trained, and the pre-training tasks of the BERT model are dynamically adjusted for different stages. The pre-training coefficient λ is introduced, and the loss function is obtained as follows:

[0014] L′(θ,θ1,θ2)=L1(θ,θ1)+λL2(θ,θ2),λ=0or1(1)

[0015] Where: θ is the parameter of the encoder part in the BERT model; θ1 is the parameter of the output layer connected to the encoder in the MLM task; θ2 is the classifier parameter connected to the encoder in the NSP task; L′(θ,θ1,θ2) represents the loss function of the entire BERT model training process; L1(θ,θ1) represents the loss function for MLM task training; L2(θ,θ2) represents the loss function for NSP task training.

[0016] The steps of using the NLG system to compile a professional plan in step S4 are as follows:

[0017] Step S4.1: Determine the content of the solution being constructed in the NLG system;

[0018] Step S4.2: After determining the solution content, the NLG system determines the solution structure;

[0019] Step S4.3: Determine the sentence content of the solution. The NLG system uses the Transformer framework of the natural language generation model GPT-2 to express the sentence based on semantics and by adding conjunctions to merge multiple pieces of information into a complete sentence.

[0020] Step S4.4: Finally, a complete, high-quality professional solution is automatically generated.

[0021] The present invention inputs professional solution data, utilizes computer technology to conduct in-depth learning of massive professional solution materials, and conducts semantic analysis and combination at the word, sentence and even paragraph levels. Operators can automatically compile high-quality professional solutions that are highly targeted and meet the requirements of normative standard documents by inputting keywords, and can also conduct intelligent review and evaluation of professional solutions, thus solving the problems of low efficiency, high cost and long expert training cycle in the current professional solution compilation mode, and making full use of the advantages of big data and artificial intelligence to realize the intelligent compilation, review and evaluation of professional solutions; at the same time, it solves the problems of long professional solution compilation and review cycle and high cost, and unifies the evaluation standards, significantly reduces labor costs and improves work efficiency; the knowledge base / professional knowledge base formed in the system can lay the foundation for the knowledge economy and provide support for building corporate competitiveness. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 It is a data processing flow chart of the professional solution of the present invention;

[0024] Figure 2 This is the engineering architecture diagram of the AI ​​professional solution-assisted expert system of the present invention;

[0025] Figure 3 Constructing a flow chart for the knowledge graph of the present invention;

[0026] Figure 4The Transformer framework of the natural language generation model GPT-2 of the present invention;

[0027] Figure 5 Schematic diagram of the pre-training phase of the BERT model of the present invention;

[0028] Figure 6 The figure is a flow chart of transfer learning for dynamically adjusting pre-training tasks in the present invention. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] The present invention provides a method for constructing an AI-based professional solution auxiliary decision-making expert system, comprising the following steps:

[0031] Step S1: Establish a database for storing solution documents, and preset normative standard files, which include corresponding national policies, laws and regulations, and company systems. Manually collect internal professional solutions for construction projects and import them into the database, then screen the internal professional solutions and clean up the professional solution data with expired reference specifications and errors, and retain the valid professional solution data; at the same time, it supports the import of external finished solution, and the external finished solution data can be imported into the database. Step S2: Pre-process the valid professional solution data and external finished solution data imported in step S1, as well as the manual feedback data feedback through manual modification, and the data feedback from the digital twin system, and use the database to perform data extraction, data loading, data conversion and other operations on the above data, and then establish structured data based on the preprocessed data and store it in the database in step S1, that is, after completing the data collection, the data is structured to make the data and its structure clear, as shown in the following example. Figure 1 As shown, Figure 1 By preprocessing the above business data, a data warehouse is obtained, and finally big data and machine deep learning technologies are used to realize the transformation of data applications, that is, to realize data visualization and the system's intelligent writing, intelligent review, intelligent recommendation and other functions.

[0032] like Figure 2As shown, the engineering architecture of the present invention includes a data acquisition layer, a data storage layer, an information and knowledge layer, a computing engine layer, an algorithm training layer, an AI service layer and a visualization layer, wherein the data acquisition layer includes network data crawling, professional solution library docking, manual feedback solution data and digital twin feedback data; the data collected by the data acquisition layer is stored in the data storage layer, which includes distributed storage, column storage, index storage and structured storage; the data stored in the data storage layer is processed to obtain the content contained in the information and knowledge layer, including system behavior data, industry search data, constructed knowledge graphs and professional field resource data. The computing engine layer includes offline and real-time computing engines and algorithm training engines; the algorithm training layer mainly includes machine learning and deep learning, the main content of machine learning includes data classification, clustering, regression and association rules, and the main content of deep learning includes two neural network models, RNN and CNN, and two pre-training models, XLNet and RERT, which provide technical support for the next AI service layer. The AI ​​service layer includes intelligent writing (compilation), intelligent review, intelligent recommendation and knowledge graph; the visualization layer includes data analysis, data visualization and model evaluation, that is, data analysis and model evaluation of the solutions automatically compiled by the system. By constructing data collection layer, data storage layer, information and knowledge layer, computing engine layer, algorithm training layer, AI service layer, visualization layer, etc., data support is provided for AI professional solution decision-making expert system and future application systems.

[0033] Step S3: Based on the basic industry information, construct a professional knowledge graph to form a multifunctional knowledge graph management platform, as follows: Figure 3 As shown in the figure, the process is as follows: first, the graph is produced; then the database architecture is created, data is imported, and the knowledge graph is constructed; then strategy training is carried out, including knowledge extraction, graph construction, etc.; and finally, knowledge management, including graph management and knowledge application. The basic industry information includes industry characteristics, different professional solution categories, corporate knowledge, industry policy knowledge, etc. Based on the above basic information, a complex professional knowledge graph is constructed. The professional knowledge graph mainly includes compilation basis, policies and regulations, company systems, verification books, architectural drawings and other construction information, thereby forming a multi-functional knowledge graph management platform, which is convenient for users to search for professional solutions. They can filter and match professional solutions with high similarity according to keyword matching for perfect use.

[0034] Step S4: Apply big data and deep learning technology to template the fixed and homogeneous architectural plan content of the building category to form label data, then analyze the word frequency sentence theme and label data through machine learning, and finally use the NLG system to independently compile professional plans, so that inputting keywords related to compiling professional plans can automatically recommend and independently compile professional plans. The specific operations are as follows: 1. Build a keyword vector library for the plan database. For example, there are 10,000 lines of data in all texts, but after word segmentation, there are about 6,000 different word vectors. The entire text can be represented by a 10,000×6,000 matrix, with 6,000 elements in each row. The word vector is assigned a value based on how many times a word vector appears in the original corresponding number of rows. For example, if it appears once, it is assigned a value of 1, and if it does not appear, it is assigned a value of 0. 2. Use the TF-IDF (term frequency–inverse document frequency, a statistical method) method to evaluate the importance of a word to a plan in the document library. The importance of a word increases in direct proportion to the number of times it appears in the plan, and decreases in inverse proportion to the frequency of its appearance in other files in the document library. That is to say, if a word appears more frequently in a certain solution but not in other solutions, it means that the word is very important for the classification of this solution. However, if it also appears more frequently in other solutions, it means that the word is not very distinctive, so IDF is used to reduce the weight of the word. 3. Smart matching. When the previous word frequency matrix is ​​completely converted into a matrix containing the TF-IDF method, smart matching can begin. Specifically, first, the keywords entered by the user are segmented by Jieba, and then a matrix with the same width (length) as the word frequency matrix is ​​converted. Then, matrix multiplication is performed on them one by one to calculate the value of each row. The largest value is the value with the highest matching degree. Finally, the matrix in the TF-IDF method is transposed, so that it can be easily multiplied with the input matrix. After sorting, the text solution with the highest matching degree can be obtained.

[0035] In this embodiment, machine learning is used in step S4 to realize the automatic recommendation and autonomous compilation of professional solutions. One model used in the machine learning is the BERT pre-trained model. BERT is a pre-trained language model for various natural language processing (NLP) tasks, which has the ability of bidirectional encoding and feature extraction. The BERT model is used for text error correction. Based on the pre-trained BERT model, after unsupervised training on an unlabeled related field data set, some parameters are transferred to the target error correction model, and the model is trained again through the training samples of the architectural document corpus data set to obtain a better error correction effect.

[0036] The BERT pre-training model includes two unsupervised prediction tasks, MLM task and NSP task, in the task part of the pre-training process. Figure 5 As shown in the figure, during the pre-training process of the BERT model, the model receives paired sentences (such as A and B) as input, and then predicts whether B is the next sentence of A. There is a 50% probability that B is the next sentence of A, and a 50% probability that B is a random sentence in the corpus. When training the BERT pre-training model, in order to minimize the combined loss function of the two tasks, the MLM task and the NSP task are jointly trained, and the loss function is defined as

[0037] L(θ,θ1,θ2)=L1(θ,θ1)+L2(θ,θ2) (2)

[0038] Where: θ is the parameter of the encoder part in the BERT model; θ1 is the parameter of the output layer connected to the encoder in the MLM task; θ2 is the classifier parameter connected to the encoder in the NSP task; L1(θ,θ1) represents the loss function for training the MLM task; L2(θ,θ2) represents the loss function for training the NSP task.

[0039] For the loss function of the first part of the MLM task, if the set of masked words is M, because it is a multi-classification problem on the dictionary size |V|, the loss function used is the negative log-likelihood function. And because it needs to be minimized, the loss function of the first part is equivalent to maximizing the log-likelihood function, that is, the mathematical expression of the loss function L1(θ,θ1) during MLM task training is:

[0040]

[0041] Where: i represents the order of elements traversed; m represents the predicted word; m i represents the correct word in order i; p represents the probability of the prediction result; M represents the set of words randomly masked in the sentence input in the MLM task (number of words minus the number of randomly selected masked words); |V| represents the dictionary size.

[0042] For the loss function of the second part of the NSP task, since the NSP task is a classification problem, the mathematical expression of the loss function L2(θ,θ2) during NSP task training is:

[0043]

[0044] Where: j represents the order of elements traversed; n represents the word order prediction result; n j Indicates the correct word in order j; N indicates the number of sentences; IsNext means the word order is correct; NotNext means the word order is wrong.

[0045] Furthermore, in order to dynamically adjust the pre-training tasks of the BERT model for different stages, the pre-training coefficient λ is introduced in this embodiment to obtain the mathematical expression of the loss function L′(θ,θ1,θ2):

[0046] L′(θ,θ1,θ2)=L1(θ,θ1)+λL2(θ,θ2),λ=0or1 (1)

[0047] After pre-training, the BERT pre-training model is obtained. For different natural language processing (NLP) tasks, fine-tuning is performed on the basis of the BERT pre-training model, the input and output of the specific task are inserted into BERT, and the powerful attention mechanism of Transformer is used to simulate downstream tasks. For example, in the first stage, when using unlabeled related field datasets for unsupervised training, for formula (1), let λ = 0, remove the NSP task, and only train MLM to strengthen the model's learning of proper nouns in different fields, while ensuring that the model is not affected by strongly related sentences in the same field. In the second stage, for formula (1), let λ = 1 to unlock the training of NSP. After fine-tuning training on the target dataset, the model's word order false alarm rate can be effectively reduced. Dynamically adjust the transfer learning process of pre-training tasks such as Figure 6 shown.

[0048] In this embodiment, the steps of using the NLG system to compile a professional plan in step S4 are as follows: Step S4.1: Determine the content of the plan being constructed in the NLG system, that is, the NLG system needs to determine which information should be included in the plan being constructed. Step S4.2: After determining the content of the plan, the NLG system determines the structure of the plan, that is, after selecting the content of the plan, the NLG system needs to determine the arrangement order of the content of the plan. Step S4.3: Determine the sentence content of the plan. The NLG system uses the Transformer framework of the natural language generation model GPT-2 to express it according to semantics and by adding conjunctions to merge multiple information into a complete sentence. The Transformer framework of the natural language generation model GPT-2 is as follows Figure 4 Step S4.4: After completing the above steps, a complete, high-quality professional solution will be automatically generated.

[0049] Step S5: According to the characteristics (content or attributes) of the compiled professional plan, automatically determine whether the plan belongs to a specific special professional plan type. In the special professional plan type, enter the text of the professional plan to see if it meets the requirements of the audit system model; audit whether the plan complies with national policies, laws and regulations, standards and specifications, company systems, expert opinions and other requirements, as well as the format, content, and compliance of the professional plan. Step S6: Adopt a local data center plus cloud architecture to store sensitive data of the professional plan in encrypted storage in the local data center to ensure the security of the building plan; at the same time, the cloud collects industry big data information from the Internet and databases through intelligent crawlers to provide a solution retrieval platform, that is, the system connects to large retrieval platforms such as Baidu Encyclopedia and Wikipedia, and users can perform real-time solution retrieval on the current page of the plan compilation to provide reference.

[0050] In this embodiment, Embedding Similarity is used to calculate the similarity between the professional solutions independently compiled by the system and the evaluation criteria, so that the system can automatically review according to the evaluation index AI, and then transfer to manual after the review is passed. For multiple different solution texts, the similarity between them must be calculated. It is mainly to map the words in these texts to the vector space, form a mapping relationship between the text and the vector data, and calculate the similarity of the text by calculating the difference between several or more different vectors. The Embedding method is used to measure the similarity and return a number that measures the similarity. At the same time, combined with the traditional expert offline evaluation standards, the evaluation index system is further optimized.

[0051] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for constructing an AI-based professional solution decision-making expert system, characterized by: The steps include: Step S1: Establish a database for storing solution documents and preset normative standard documents; Manually collect internal professional plans of construction projects and import them into the database, and import external finished product plan data into the database; Step S2: pre-process the data in the database in step S1, and create structured data based on the pre-processed data and store it in the local database; Step S3: Based on the basic industry information, build a professional knowledge graph to form a multifunctional knowledge graph management platform; The multifunctional knowledge graph management platform of step S3 includes a data acquisition layer, a data storage layer, an information and knowledge layer, a computing engine layer, an algorithm training layer, an AI service layer, and a visualization layer, wherein the data acquisition layer includes network data crawling, professional solution library docking, manual feedback solution data, and digital twin feedback data; The data collected by the data acquisition layer is stored in the data storage layer, which includes distributed storage, column storage, index storage and structured storage. The data stored in the data storage layer is processed to obtain the content contained in the information and knowledge layer, including system behavior data, industry search data, constructed knowledge graphs and professional field resource data. The computing engine layer includes offline and real-time computing engines and algorithm training engines. The algorithm training layer mainly includes machine learning and deep learning. The main contents of machine learning include data classification, clustering, regression and association rules. The main contents of deep learning include two neural network models, RNN and CNN, and two pre-trained models, XLNet and RERT. The AI ​​service layer includes intelligent writing, intelligent review, intelligent recommendation and knowledge graphs. The visualization layer includes data analysis, data visualization and model evaluation, that is, data analysis and model evaluation of the solutions automatically compiled by the system. Step S4: Apply big data and deep learning technology to template the fixed and homogeneous architectural plan content to form labeled data. Then, use machine learning to analyze the word frequency, sentence themes and label data, and finally use the NLG system to independently compile professional plans. Step S5: Based on the characteristics of the prepared professional plan, determine whether the plan belongs to a specific special professional plan type. In the special professional plan type, enter whether the text of the professional plan meets the requirements of the audit system model; Step S6: Using a local data center plus cloud architecture, the sensitive data of professional solutions is stored in the local data center in encrypted form; the cloud uses intelligent crawlers to collect industry big data information from the Internet and databases to provide a solution retrieval platform.

2. The method for constructing an AI-based professional solution auxiliary decision-making expert system according to claim 1, characterized in that: In step S1, internal professional plans are screened and professional plan data with expired reference specifications and errors are cleared, while valid professional plan data is retained.

3. The method for constructing an AI-based professional solution auxiliary decision-making expert system according to claim 2, characterized in that: In step S2, effective professional solution data, manual feedback data, digital twin system feedback data and external finished product solution data are preprocessed, and the preprocessing operations include data extraction, data loading and data conversion.

4. The method for constructing an AI-based professional solution auxiliary decision-making expert system according to any one of claims 1 to 3, characterized in that: The machine learning in step S4 includes a BERT pre-training model, which includes an MLM task and an NSP task. When training the BERT pre-training model, in order to minimize the combined loss function of the two tasks, the MLM task and the NSP task are jointly trained, and the pre-training tasks of the BERT model are dynamically adjusted for different stages. The pre-training coefficient λ is introduced, and the loss function is obtained as follows: L′(θ,θ1,θ2)=L1(θ,θ1)+λL2(θ,θ2),λ=0 or 1 (1) Where: θ is the parameter of the encoder part in the BERT model; θ1 is the parameter of the output layer connected to the encoder in the MLM task; θ2 is the parameter of the classifier connected to the encoder in the NSP task; L′(θ,θ1,θ2) represents the loss function of the entire BERT model training process; L1(θ,θ1) represents the loss function for MLM task training; L2(θ,θ2) represents the loss function for NSP task training.

5. The method for constructing an AI-based professional solution decision-making expert system according to claim 4, characterized in that: The steps of using the NLG system to compile a professional plan in step S4 are as follows: Step S4.1: Determine the content of the solution being constructed in the NLG system; Step S4.2: After determining the solution content, the NLG system determines the solution structure; Step S4.3: Determine the sentence content of the solution. The NLG system uses the Transformer framework of the GPT-2 natural language generation model to combine multiple pieces of information into a complete sentence based on semantics and by adding connectives. Step S4.4: Finally, a complete, high-quality professional plan is automatically generated.