Industrial important data identification method and system based on large language model

By combining the large language model with inverted index and Trie tree technology, it solves the problem of difficulty in identifying semi-structured and unstructured data with existing technology, achieves efficient identification of various formats and structural data, and improves the accuracy of identification. and efficiency.

CN118690236AActive Publication Date: 2024-09-24SOUTH CHINA AGRICULTURAL UNIVERSITY
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410665072.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-24
Estimated Expiration
2044-05-27

AI Technical Summary

Technical Problem

Existing technologies are difficult to efficiently identify and parse semi-structured data and unstructured data, and traditional methods are difficult to adapt to data in various formats and structures, resulting in low recognition accuracy and efficiency.

Method used

A large language model is used combined with inverted index and Trie tree to build a feature database, and the large language model is input through a question set for feature attribute matching to realize the importance identification of semi-structured or unstructured data.

Benefits of technology

It improves the accuracy and efficiency of identifying semi-structured or unstructured data, can adapt to data in various formats and structures, and improves the accuracy and efficiency of identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690236A
    Figure CN118690236A
Patent Text Reader

Abstract

The invention relates to the technical field of natural language processing, and provides an industry important data identification method and system based on a large language model, and the method comprises the steps: obtaining an industry data classification and grading standard file; establishing a Chinese feature library corresponding to the feature attributes and the categories by using the inverted index, and / or establishing an English feature library corresponding to the feature attributes and the categories by using the Trie tree; constructing a question set Q for the to-be-identified industry file; questions in the question set Q are input into the large language model one by one to ask the to-be-recognized industry file, and an answer set A is output; and on the basis of the Chinese feature library and / or the English feature library, feature attribute matching is carried out on the data in the to-be-identified industry file in combination with the answer set A, the weight of each feature attribute category is obtained, importance identification is carried out on the to-be-identified industry file on the basis of the weights, and the importance level of the to-be-identified industry file is output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of natural language processing, and more specifically, to a method and system for identifying important industry data based on a large language model. Background Art

[0002] In order to strengthen the protection of important data, identifying and protecting important data is crucial to supporting the data security supervision objectives. With the explosive growth of data volume and the popularity of multimodal data, identifying, classifying, and effectively protecting important data are facing unprecedented challenges. The development of industry important data identification technology is not only of great significance to the implementation of data security laws, but also provides powerful tools and methods for promoting industry data analysis, enhancing data security supervision, and protecting personal privacy.

[0003] At present, the technology for identifying important industry data mainly focuses on the processing of structured data, and uses methods such as regular expressions to identify specific field attributes of data. For example, in the identification of important industry data, the application of regular expressions allows for quick and accurate filtering and extraction of data items that meet specific format requirements, such as ID numbers, telephone numbers, email addresses, etc., which are often the key basis for identifying important data. However, when faced with semi-structured and unstructured data, there are obvious limitations to relying solely on regular expression matching technology. For semi-structured data, such as XML or JSON files, although they contain a certain degree of structure, the flexibility and complexity of their data organization form make it difficult for simple regular expressions to efficiently identify and parse them. Unstructured data, such as long texts and images, because they lack fixed formats and structures, traditional methods often find it difficult to effectively extract the information required by the "Industry Important Data Classification and Grading Standards". Summary of the invention

[0004] In order to overcome the defect that the industry important data identification technology described in the above-mentioned prior art is difficult to efficiently identify and parse semi-structured data and unstructured data, the present invention provides an industry important data identification method and system based on a large language model.

[0005] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0006] A method for identifying important industry data based on a large language model includes the following steps:

[0007] Obtain industry data classification and grading standard documents;

[0008] Based on the industry data classification and grading standard file, use the inverted index to establish a Chinese feature library corresponding to the feature attributes and categories, and / or use the Trie tree to establish an English feature library corresponding to the feature attributes and categories;

[0009] Construct a set of questions Q for the industry documents to be identified;

[0010] Input the questions in the question set Q one by one into the large language model to ask questions about the industry documents to be identified, and output the answer set A;

[0011] Based on the Chinese feature library and / or English feature library, feature attribute matching is performed on the data in the industry file to be identified in combination with the answer set A to obtain the weight of each feature attribute category, and the importance of the industry file to be identified is identified based on the weight, and the importance level of the industry file to be identified is output.

[0012] Furthermore, the present invention also proposes a system for identifying important industry data based on a large language model, and applies the method for identifying important industry data based on a large language model proposed in the present invention. The system includes:

[0013] An input module is used to obtain industry data classification and grading standard files and industry files to be identified;

[0014] A feature library construction module is used to establish a Chinese feature library corresponding to feature attributes and categories using an inverted index based on an industry data classification and grading standard file, and / or to establish an English feature library corresponding to feature attributes and categories using a Trie tree;

[0015] A question generation module is used to construct a set of questions Q for the industry documents to be identified;

[0016] An answer generation module, on which a large language model is mounted, is used to input any question in the question set Q into the large language model to ask questions about the industry document to be identified, and output an answer set A;

[0017] The importance identification module is used to match the feature attributes of the data in the industry file to be identified based on the Chinese feature library and / or English feature library in combination with the answer set A, obtain the weight of each feature attribute category, and identify the importance of the industry file to be identified based on the weight, and output the importance level of the industry file to be identified.

[0018] Furthermore, the present invention also proposes a computer device, including a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the method for identifying important industry data as described in the present invention.

[0019] Furthermore, the present invention also proposes a storage medium on which computer-readable instructions are stored, and when the computer-readable instructions are executed by a processor, the steps of the method for identifying important industry data as described in the present invention are implemented.

[0020] Compared with the prior art, the technical solution of the present invention has the following beneficial effects: the present invention adopts a large language model to identify important industry data, can more accurately understand and interpret the content in semi-structured or unstructured data, and can adapt to data of various formats and structures; the present invention uses an inverted index and a Trie tree to establish a Chinese feature library and an English feature library, and uses an efficient index structure to achieve feature matching, which is used to identify the importance of files to improve the accuracy and efficiency of recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 The flowchart of the method for identifying important industry data based on a large language model of the present invention.

[0022] Figure 2 This is a schematic diagram of the Trie tree of Example 1.

[0023] Figure 3 This is an architecture diagram of the industry-important data identification system based on a large language model of the present invention. DETAILED DESCRIPTION

[0024] The accompanying drawings are only used for illustrative purposes and are not to be construed as limiting the present invention;

[0025] It is understandable to those skilled in the art that some well-known descriptions may be omitted in the drawings.

[0026] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0027] Example 1

[0028] This embodiment proposes a method for identifying important industry data based on a large language model, such as Figure 1 , which is a flow chart of the method for identifying important industry data based on a large language model in this embodiment.

[0029] The method for identifying important industry data based on a large language model proposed in this embodiment includes the following steps:

[0030] S1. Obtain industry data classification and grading standard documents;

[0031] S2. Based on the industry data classification and grading standard file, use the inverted index to establish a Chinese feature library corresponding to the feature attributes and categories, and / or use the Trie tree to establish an English feature library corresponding to the feature attributes and categories;

[0032] S3, construct a set of questions Q for the industry files to be identified;

[0033] S4, input the questions in the question set Q one by one into the large language model to ask questions about the industry documents to be identified, and output the answer set A;

[0034] S5. Based on the Chinese feature library and / or English feature library, in combination with the answer set A, feature attribute matching is performed on the data in the industry file to be identified, weights of various feature attribute categories are obtained, and importance of the industry file to be identified is identified based on the weights, and the importance level of the industry file to be identified is output.

[0035] This embodiment uses a large language model to identify important industry data, which can more accurately understand and interpret the content in semi-structured or unstructured data and can adapt to data of various formats and structures.

[0036] Furthermore, the present invention uses an inverted index and a Trie tree to establish a Chinese feature library and an English feature library, and uses an efficient index structure to achieve feature matching, which is used to identify the importance of files to improve the accuracy and efficiency of identification.

[0037] Among them, for Chinese, the use of inverted index can better handle the needs of fast retrieval of feature attributes, and is suitable for processing large-scale document collections. Trie tree is suitable for storing and searching strings in character order, especially when processing prefix matching queries. In the English environment, since English words naturally have character-level prefix relationships, Trie tree can handle this situation well.

[0038] In an optional embodiment, in step S2, using an inverted index to establish a Chinese feature library corresponding to feature attributes and categories includes the following steps:

[0039] Extract features from the industry data classification and grading standard file to construct a data category set S and a feature attribute set F;

[0040] According to the mapping I between data categories and feature attributes, an inverted index table is established, which is expressed as:

[0041] I: F→P(S)

[0042] Among them, P(S) represents the power set of the data category set S, which represents all possible subsets of the set S; for each feature attribute f∈F, the mapping I(f) produces a subset S f For all categories containing feature f;

[0043] Based on the inverted index I(f), all categories S corresponding to the feature attribute f are sorted f Classify and store to obtain the Chinese feature library.

[0044] As an example, set the data category set S = {"financial personal information", "medical personal information", "contact data"}; set the feature attribute set F = {"name", "gender", "nationality", "home address", "ID card", "health card number", "mobile phone", "email address"}. Then the mapping is established as:

[0045] I("name") = {"financial personal information", "medical personal information"};

[0046] I("gender") = {"financial personal information"};

[0047] I("Nationality") = {"Financial Personal Information"};

[0048] I("home address") = {"financial personal information"};

[0049] I("ID card") = {"medical personal information"};

[0050] I("Health Card Number") = {"Medical Personal Information"};

[0051] I("mobile phone") = {"contact data"};

[0052] I("email address") = {"contact data"}.

[0053] To find all categories containing a specific feature f∈F, query the mapping I(f), which can quickly find all categories S corresponding to any feature attribute f f For example, the query I("name") will return {"financial personal information", "medical personal information"}, indicating that the "name" feature appears in these two data categories.

[0054] In an optional embodiment, in step S2, constructing an English feature library corresponding to feature attributes and categories using a Trie tree includes the following steps:

[0055] Extracting features from the industry data classification and grading standard file to obtain an English feature set;

[0056] Initialize the Trie tree; traverse the English feature set, insert each English feature into the Trie tree, and obtain the English feature library;

[0057] The root node in the Trie tree does not contain any characters, and each intermediate node represents a character; the nodes between any root node and the terminal node of the root node constitute an English feature about the feature attribute; the terminal node stores the corresponding data category.

[0058] As an example, the Trie tree contains all the features, such as "name", "gender", "personal income status", etc., and each terminal node (i.e. the end of each word) will be associated with the data category to which the feature belongs, such as "Personal information", etc. Figure 2 The figure shows a schematic diagram of the Trie tree of this embodiment.

[0059] When a new word is inserted, such as "status of real estate owned", the Trie tree will create or traverse nodes along each character until the end of the word, and mark the last node as a terminal node, recording the data category "Personal property data" to which the feature belongs.

[0060] When performing a search, traverse from the root node by character. If the entire word can be traversed and the last node is marked as a terminal node, the category information stored in the terminal node is returned. If a character does not exist in the middle, it means that the word is not in the tree.

[0061] In an optional embodiment, in step S3, constructing a set of questions Q for the industry files to be identified includes the following steps:

[0062] According to the industry data classification and grading rules, set the question template based on the structured query language format;

[0063] The question templates are converted into natural language questions to form a question set Q.

[0064] Exemplarily, as shown in Table 1 below, an example of industry data classification and grading rules of this embodiment is provided.

[0065] Table 1 Example of industry data classification and grading rules

[0066]

[0067]

[0068] Further, as an exemplary illustration, a question template is set based on a structured query language (SQL)-like format, which is expressed as:

[0069] Select[All|Distinct]<feature attribute>[,……]

[0070] From <filename>[, ...]

[0071] [Where<conditional expression>];

[0072] This question template means extracting a new record set consisting of specified feature attributes within a specified range and satisfying conditions from a specified file.

[0073] For example, the question template is set as:

[0074] SELECT Name, Gender, Nationality, Ethnicity, MaritalStatus, DocumentType, DocumentNumber, IssueDate, ExpiryDate, Address

[0075] FROM Document

[0076] WHERE DocumentID = 'C';

[0077] The above template indicates extracting basic information such as name, gender, and nationality from document C.

[0078] Further, it is converted into a natural language question, and optionally, a natural language template, natural language processing (NLP) technology, a knowledge base dictionary, a machine learning method, etc. are used for conversion.

[0079] Exemplarily, the above question template is converted into a natural language question as follows: "Please extract the following named entities from document C: name, gender, nationality, ethnicity, marital status, certificate type, certificate number, certificate effective date, certificate expiration date, home address."

[0080] In an optional embodiment, in step S4, the questions in the question set Q are input into the large language model one by one to extract the importance index features of the industry documents to be identified, including the following steps:

[0081] Input the natural language questions in the question set Q into the large language model and output the generated answer a i ; Among them, for problem q i , based on the industry file C to be identified, the answer a is obtained through the function i , whose expression is:

[0082] F i (C,q i )=a i

[0083] Among them, F i (·) means extracting information about question q from the industry document C to be identified i Named entity; for all questions q in the question set Q i After feature extraction, we get the answer a i The answer set A is composed of.

[0084] The large language model in this embodiment gives a generative answer by understanding the question and analyzing the file content.

[0085] Exemplarily, the input industry file C to be identified is: "Zhang San is a male, Chinese nationality, and currently married. His ID number is 110101198012345678, and his permanent address is at No. D, C Street, District B, City A. In terms of personal property, Zhang San has demonstrated strong economic strength and social security status. He is currently a senior project manager in a multinational company, with an annual total income of approximately 2 million yuan, covering fixed salary, performance bonuses and equity incentive income. In terms of real estate, Zhang San and his spouse each own a property in Haidian District, Beijing and Sanya City, Hainan Province, with a total market value of up to 17 million yuan. In terms of tax performance, in the past three years, Zhang San's total tax payment has exceeded 2 million yuan, and he has always maintained a good record of no tax arrears. In addition, in strict accordance with national regulations, he has paid a total of 1.5 million yuan in his personal social security account, and the balance of his housing provident fund account has reached 800,000 yuan."

[0086] Generate the question set Q as:

[0087] q1: "Please extract the following named entities from file C: name, gender, nationality, ethnicity, marital status, certificate type, certificate number, certificate effective date, certificate expiration date, home address";

[0088] q2: "Please extract the following named entities from file C: personal income status, real estate status, vehicle status, tax amount, housing fund payment amount, personal social security and medical insurance payment amount";

[0089] q3: "Please extract the following named entities from file C: medical insurance payment information, transaction amount, transaction record, insurance status, insurance amount".

[0090] Then define the identification function F i for:

[0091] F1(C,q1)={"Name: Zhang San",

[0092] "Gender: Male",

[0093] "Nationality: China",

[0094] "Marital Status: Married",

[0095] "Document Type: Resident Identity Card",

[0096] "ID number: 1101011980012345678",

[0097] "Home address: No. D, C Street, B District, A City"};

[0098] F2(C, q2) = {"Personal income: Zhang San works as a senior project manager in a multinational company, with an annual total income of approximately 2 million yuan, including fixed salary, performance bonuses, and equity incentive income",

[0099] "Real estate status: Zhang San and his spouse own one property each in Haidian District, Beijing and Sanya City, Hainan Province, with a total market value of up to 17 million yuan,"

[0100] "Tax amount: In the past three years, Zhang San's total tax payment exceeded 2 million yuan",

[0101] "Provident Fund Contribution Amount: The deposit balance of the housing provident fund account has reached 800,000 yuan",

[0102] "Personal social security and medical insurance payment amount: The personal social security account has paid a total of 1.5 million yuan"};

[0103]

[0104] Then we get the answer set A=F1(C,q1)∪F2(C,q2)∪F3(C,q3).

[0105] Further, in an optional embodiment, in step S5, feature attribute matching is performed on the data in the industry file to be identified in combination with the answer set A to obtain the weight of each feature attribute category, and importance identification is performed on the industry file to be identified based on the weight, including the following steps:

[0106] Processing the answer set A, retaining the names of the characteristic attributes in the answer set A, and obtaining an answer characteristic attribute set;

[0107] According to the answer feature attribute set, a data category search is performed in the Chinese feature library and / or the English feature library to obtain the data category to which any answer feature attribute belongs;

[0108] Calculate the weight G of the data category to which the answer feature attribute belongs; wherein the initial value of the weight G of the data category is 0, and when an answer feature attribute matches a data category, the weight G of the data category is increased by 1;

[0109] The importance of the industry files to be identified is identified based on the weight, and its expression is:

[0110] Importance_level=U(C,H,G)

[0111] Among them, U(·) is the evaluation function, C is the industry file to be identified, G is the security level of the data category set in the industry data classification and grading standard; Importance_level represents the importance value of the data category;

[0112] The maximum value among the importance values ​​of each data category is taken as the importance level of the industry file to be identified.

[0113] Exemplarily, the answer set A is processed, the names of the characteristic attributes are retained, and the specific values ​​are removed, and the answer characteristic attribute set A'={name, gender, nationality, marital status, certificate type, certificate number, home address, personal income status, real estate status, tax amount, provident fund payment amount, personal social security and medical insurance payment amount} is obtained. That is, the characteristic attributes shown in the set A' are obtained in the industry file C to be identified.

[0114] Furthermore, based on the Chinese feature library, the category is quickly retrieved according to the feature attribute. For example, the Chinese feature library established using the inverted index is represented as:

[0115] inverted_index={

[0116] "Name":{"Financial Personal Information","Medical Personal Information"},

[0117] "gender":{"financial personal information"},

[0118] "Nationality":{"Financial Personal Information"},

[0119] "Ethnicity":{"Financial Personal Information"},

[0120] "marital status":{"financial personal information"},

[0121] "Certificate Type":{"Financial Personal Information"},

[0122] "ID Number":{"Financial Personal Information"},

[0123] "Certificate Effective Date":{"Financial Personal Information"},

[0124] "Certificate Expiration Date":{"Financial Personal Information"},

[0125] "Current location":{"geolocation data"},

[0126] "Personal income status":{"Financial personal property"},

[0127] "Real Estate Status":{"Financial Personal Property"},

[0128] "Owned Vehicle Status":{"Financial Personal Property"},

[0129] "Tax Amount":{"Financial Personal Property"},

[0130] "Provident Fund Contribution Amount":{"Financial Personal Property"},

[0131] "Personal social security and medical insurance payment amount":{"Financial personal property"},

[0132] "Medical insurance payment information":{"Medical payment data"},

[0133] "Transaction amount":{"medical payment data"},

[0134] "Transaction record":{"medical payment data"},

[0135] "Insurance Status":{"Medical Payment Data"},

[0136] "Insurance amount":{"Medical payment data"}

[0137] };

[0138] By querying the above Chinese feature database, the data category to which any answer feature attribute in the answer feature attribute set A' belongs is determined.

[0139] Further calculate the weight H of the data category to which the answer feature attribute belongs; initially assume that the weight of each data category is 0. When a feature attribute matches a category C, the weight H of category C is C Add 1. For example, when the answer feature attribute set A' contains the feature attribute "name", the weights corresponding to the categories "financial personal information" and "medical personal information" are both increased by 1.

[0140] For example, according to the characteristic attributes in the above set A', the weight statistics of each category are as follows:

[0141] The weight of "financial personal information" is 7; the weight of "financial personal property" is 5, and the weight of "medical personal information" is 1.

[0142] The above weights reflect the number of features in each data category that match the feature attributes in set A'.

[0143] Furthermore, the importance of the industry files to be identified is identified according to the evaluation function, wherein the evaluation function can optionally use a machine learning method such as a Bayesian classifier, SVM or a deep learning model, or a method based on artificially set rules.

[0144] Example 2

[0145] This embodiment proposes a system for identifying important industry data based on a large language model, and applies the method for identifying important industry data based on a large language model proposed in Embodiment 1. Figure 3 , which is an architecture diagram of the industry important data identification system based on a large language model of this embodiment.

[0146] The industry important data identification system based on the large language model proposed in this embodiment includes:

[0147] An input module is used to obtain industry data classification and grading standard files and industry files to be identified;

[0148] A feature library construction module is used to establish a Chinese feature library corresponding to feature attributes and categories using an inverted index based on an industry data classification and grading standard file, and / or to establish an English feature library corresponding to feature attributes and categories using a Trie tree;

[0149] A question generation module is used to construct a set of questions Q for the industry documents to be identified;

[0150] An answer generation module, on which a large language model is mounted, is used to input any question in the question set Q into the large language model to ask questions about the industry document to be identified, and output an answer set A;

[0151] The importance identification module is used to match the feature attributes of the data in the industry file to be identified based on the Chinese feature library and / or English feature library in combination with the answer set A, obtain the weight of each feature attribute category, and identify the importance of the industry file to be identified based on the weight, and output the importance level of the industry file to be identified.

[0152] It can be understood that the system of this embodiment corresponds to the method of the above-mentioned embodiment 1, and the options in the above-mentioned embodiment 1 are also applicable to this embodiment, so they will not be described repeatedly here.

[0153] Example 3

[0154] This embodiment proposes a computer device, including a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the method for identifying important industry data based on a large language model as proposed in Example 1.

[0155] Example 4

[0156] This embodiment proposes a storage medium on which computer-readable instructions are stored, wherein the computer-readable instructions, when executed by a processor, implement the steps of the method for identifying important industry data based on a large language model proposed in Embodiment 1.

[0157] Exemplarily, the storage medium includes, but is not limited to, a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0158] Exemplarily, the instructions, programs, code sets or instruction sets may be implemented using conventional programming languages.

[0159] Exemplarily, the processor includes but is not limited to a smart phone, a personal computer, a server, a network device, etc., and is used to execute all or part of the steps of the method for identifying important industry data based on a large language model described in Example 1.

[0160] The terms in the drawings are only used for illustrative purposes and are not to be construed as limiting the present invention;

[0161] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. A method for identifying important industry data based on a large language model, characterized in that: The following steps are involved: Obtain industry data classification and grading standard documents; Based on the industry data classification and grading standard file, use the inverted index to establish a Chinese feature library corresponding to the feature attributes and categories, and / or use the Trie tree to establish an English feature library corresponding to the feature attributes and categories; Construct a set of questions Q for the industry documents to be identified; Input the questions in the question set Q into the large language model one by one to extract the importance index features of the industry documents to be identified, and obtain the answer set A; Based on the Chinese feature library and / or English feature library, feature attribute matching is performed on the data in the industry file to be identified in combination with the answer set A to obtain the weight of each feature attribute category, and the importance of the industry file to be identified is identified based on the weight, and the importance level of the industry file to be identified is output.

2. The method for identifying important industry data according to claim 1, characterized in that: The method of using an inverted index to establish a Chinese feature library corresponding to feature attributes and categories includes the following steps: Extract features from the industry data classification and grading standard file to construct a data category set S and a feature attribute set F; According to the mapping I between data categories and feature attributes, an inverted index table is established, which is expressed as: I: F→P(S) Among them, P(S) represents the power set of the data category set S, which represents all possible subsets of the set S; for each feature attribute f∈F, the mapping I(f) produces a subset S f For all categories containing feature f; Based on the inverted index I(f), all categories S corresponding to the feature attribute f are sorted f Classify and store to obtain the Chinese feature library.

3. The method for identifying important industry data according to claim 1, characterized in that: The method of using the Trie tree to construct an English feature library corresponding to feature attributes and categories includes the following steps: Extracting features from the industry data classification and grading standard file to obtain an English feature set; Initialize the Trie tree; Traversing the English feature set, inserting each English feature into the Trie tree, and obtaining the English feature library; The root node in the Trie tree does not contain any characters, and each intermediate node represents a character; the nodes between any root node and the terminal node of the root node constitute an English feature about the feature attribute; the terminal node stores the corresponding data category.

4. The method for identifying important industry data according to claim 1, characterized in that: The step of constructing a set of questions Q for the industry files to be identified includes the following steps: According to the industry data classification and grading rules, set the question template based on the structured query language format; The question templates are converted into natural language questions to form a question set Q.

5. The method for identifying important industry data according to claim 1, characterized in that: The steps of inputting the questions in the question set Q into the large language model one by one to extract the importance index features of the industry files to be identified include the following steps: Input the natural language questions in the question set Q into the large language model and output the generated answer a i ; Among them, for problem q i , based on the industry file C to be identified, the answer a is obtained through the function i , whose expression is: F i (C,q i )=a i Among them, F i (·) means extracting information about question q from the industry document C to be identified i Named entity; for all questions q in the question set Q i After feature extraction, we get the answer a i The answer set A is composed of.

6. The method for identifying important industry data according to any one of claims 1 to 5, characterized in that: The method of matching the characteristic attributes of the data in the industry file to be identified by combining the answer set A, obtaining the weight of each characteristic attribute category, and identifying the importance of the industry file to be identified based on the weight includes the following steps: Processing the answer set A, retaining the names of the characteristic attributes in the answer set A, and obtaining an answer characteristic attribute set; According to the answer feature attribute set, a data category search is performed in the Chinese feature library and / or the English feature library to obtain the data category to which any answer feature attribute belongs; Calculate the weight H of the data category to which the answer feature attribute belongs; wherein the initial value of the weight H of the data category is 0, and when an answer feature attribute matches a data category, the weight H of the data category is increased by 1; The importance of the industry files to be identified is identified based on the weight, and its expression is: Importance_level=U(C,H,G) Among them, U(·) is the evaluation function, C is the industry file to be identified, G is the security level of the data category set in the industry data classification and grading standard; Importance_level represents the importance value of the data category; The maximum value among the importance values ​​of each data category is taken as the importance level of the industry file to be identified.

7. The method for identifying important industry data according to claim 6, characterized in that: The evaluation function includes a Bayesian classifier, a SVM or a deep learning model.

8. A system for identifying important industry data based on a large language model, applying the method for identifying important industry data according to any one of claims 1 to 7, characterized in that: include: An input module is used to obtain industry data classification and grading standard files and industry files to be identified; A feature library construction module is used to establish a Chinese feature library corresponding to feature attributes and categories using an inverted index based on an industry data classification and grading standard file, and / or to establish an English feature library corresponding to feature attributes and categories using a Trie tree; A question generation module is used to construct a set of questions Q for the industry documents to be identified; An answer generation module, on which a large language model is mounted, is used to input any question in the question set Q into the large language model to ask questions about the industry document to be identified, and output an answer set A; The importance identification module is used to match the feature attributes of the data in the industry file to be identified based on the Chinese feature library and / or English feature library in combination with the answer set A, obtain the weight of each feature attribute category, and identify the importance of the industry file to be identified based on the weight, and output the importance level of the industry file to be identified.

9. A computer device comprising a memory and a processor, wherein the memory stores computer-readable instructions, characterized in that: When the computer-readable instructions are executed by the processor, the processor executes the steps of the method for identifying important industry data as described in any one of claims 1 to 7.

10. A storage medium having computer-readable instructions stored thereon, characterized in that: When the computer-readable instructions are executed by a processor, the steps of the method for identifying important industry data as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Multi-level data modeling method and system based on large language model

    CN117892820A

  • Model temperature self-adaptive fine tuning method for intelligent breeding questions and answers

    CN117951276A

  • Multi-source hybrid question answering method and system thereof

    KR101662450B1