Medical data item asset sensitivity identification method, system, terminal and medium
Through a multi-level screening method based on machine learning, combined with deep learning and external knowledge base, the problem of insufficient accuracy and objectivity in sensitivity identification of medical data items is solved, and accurate screening and privacy protection of medical data are achieved, with Interpretability and continuous optimization capabilities.
Patent Information
- Application Number
- CN202410489108.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-23
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-04-23
AI Technical Summary
The existing technology has low accuracy and objectivity in identifying the sensitivity of medical data items, cannot effectively reflect the sensitivity of medical data items, and the assignment of permissions is relatively subjective, making it difficult to meet the rigorous requirements of the medical field.
Using a method based on machine learning, NLP annotation content library extraction and deep learning models are used for preprocessing and training, and multi-level screening is performed in conjunction with an external open source sensitive information knowledge base to ensure accurate identification and protection of sensitive data.
It achieves multi-level screening of medical data to ensure comprehensive protection of private information, has model interpretability and sustainable optimization capabilities, can update models and rules according to actual scenarios, and maintains the ability to identify new types of private information.
Smart Images

Figure CN118116609B
Abstract
Description
Technical Field
[0001] The present application relates to the field of sensitive data processing technology, and in particular to a method, system, terminal and medium for identifying the sensitivity of medical data item assets. Background Art
[0002] Data asset sensitivity identification is a key step in data security construction, involving in-depth analysis and evaluation of data to determine its possible risks and potential impacts. In the process of data asset sensitivity identification, it is necessary not only to ensure the compliance of the identification process, but also to protect the sensitive data involved in the identification process to prevent data leakage or abuse.
[0003] At present, there are related patents such as the application number CN202010837098.1 and the patent name "Method, system and device for constructing sensitive data assets", which use the normalized access value, normalized dependency value and normalized permission value of data assets to calculate the risk of data assets, thereby constructing a method of sensitive data assets. However, it has not yet been found that this technology can be applied to the field of medical big data, and because medical data items have outstanding field characteristics such as polymorphism, incompleteness, redundancy, timeliness and privacy compared to other types of data, if the sensitivity identification technology of other types of data is used for medical data items, problems such as unrecognizable or inaccurate identification will inevitably arise. Taking the above-mentioned public patent as an example, the patent technology seems feasible, but for medical data items, the level of access and dependency cannot truly reflect whether the medical data item assets are sensitive, and the authority assignment is also relatively subjective and arbitrary, which does not meet the rigorous requirements of the medical field. Summary of the invention
[0004] In view of the shortcomings of the prior art described above, the purpose of the present application is to provide a method, system, terminal and medium for identifying the sensitivity of medical data item assets, so as to solve the technical problem that the prior art has low accuracy and objectivity in identifying sensitive information of medical data.
[0005] To achieve the above-mentioned purpose and other related purposes, the first aspect of the present application provides a method for identifying the sensitivity of medical data item assets based on machine learning, including: extracting medical data items from an NLP annotated content library, preprocessing the medical data items and converting them into a data format suitable for model input; performing pre-training tasks for unlabeled data and model training tasks for labeled medical data items based on a deep learning model, and using the trained prediction model to perform preliminary screening of sensitive information in medical field content; constructing a machine learning model and using the medical data items containing sensitive information obtained through the preliminary screening as model input, and using the feature information in an external open source sensitive information knowledge base to classify and distinguish the input medical data items, so as to perform secondary fine screening of the medical data items; and performing data classification and sensitivity grading on the finely screened medical data items.
[0006] In some embodiments of the first aspect of the present application, the preprocessing of the medical data items and converting them into a data format suitable for model input includes: using preprocessing technology to clean and standardize the medical data items; constructing a vocabulary and a dictionary for converting the medical data items from a text format into a numerical representation suitable for model input.
[0007] In some embodiments of the first aspect of the present application, the process of forming the NLP annotation content library includes: using a database table structure description document or natural language processing technology to interpret the data model of the original medical data to convert it into medical data items to be labeled; determining the asset sensitivity judgment criteria for the medical data items to be labeled with sensitive information.
[0008] In some embodiments of the first aspect of the present application, the deep learning model includes a BERT model based on a Transformer structure.
[0009] In some embodiments of the first aspect of the present application, the pre-training task of performing unlabeled data based on a deep learning model includes: using the self-supervised task module in the BERT model to perform the pre-training task of unlabeled data to learn the internal combination of medical texts and the logical relationship between sentences from the unlabeled data.
[0010] In some embodiments of the first aspect of the present application, a masked language module in a BERT model is used to randomly mask some words or characters in an input text, so that the BERT model predicts these masked contents; and a next sentence prediction module in a BERT model is used to enable the BERT model to predict whether the second sentence in a received pair of sentences is also a subsequent sentence in the original document.
[0011] In some embodiments of the first aspect of the present application, the masked language module and the next sentence prediction module are jointly trained when training the BERT model, and the training goal is set to minimize the combined loss function of the two.
[0012] In some embodiments of the first aspect of the present application, a classification layer for sensitive information identification tasks is added on the basis of the BERT model to map the feature representation of the BERT output to the probability distribution of the sensitive information label; and the softmax function is applied to convert the probability distribution into a normalized probability value to represent the possibility of each category.
[0013] In some embodiments of the first aspect of the present application, after data classification and sensitivity grading of the carefully screened medical data items, the following is also performed: based on the degree of sensitivity elimination, the degree of data loss, the desensitization calculation overhead and the communication overhead, corresponding protection strategies are configured for different data classification results and sensitivity grading results to retain the readability of the medical information.
[0014] To achieve the above-mentioned purpose and other related purposes, the second aspect of the present application provides a medical data item asset sensitivity identification system based on machine learning, including: a data preprocessing module, which is used to extract medical data items from an NLP annotated content library, preprocess the medical data items and convert them into a data format suitable for model input; a data initial screening module, which is used to perform pre-training tasks for unlabeled data and model training tasks for labeled medical data items based on a deep learning model, and the trained prediction model is used to perform initial screening of sensitive information in medical field content; a data fine screening module, which is used to construct a machine learning model and use the medical data items containing sensitive information obtained through the initial screening as model input, and use the feature information in an external open source sensitive information knowledge base to classify and distinguish the input medical data items, so as to perform secondary fine screening of the medical data items; a data classification and sensitivity grading module, which is used to perform data classification and sensitivity grading on the finely screened medical data items.
[0015] To achieve the above-mentioned purpose and other related purposes, the third aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for identifying medical data item asset sensitivity based on machine learning is implemented.
[0016] To achieve the above-mentioned purpose and other related purposes, the fourth aspect of the present application provides an electronic terminal, including: a processor and a memory; the memory is used to store computer programs, and the processor is used to execute the computer programs stored in the memory, so that the terminal executes the medical data item asset sensitivity identification method based on machine learning.
[0017] As described above, the medical data item asset sensitivity identification method, system, terminal and medium of the present application have the following beneficial effects:
[0018] (1) Multi-level screening: Use deep learning for initial screening and external open source sensitive information knowledge base for secondary screening to achieve multi-level screening of medical data, ensure accurate screening of sensitive data, and ensure comprehensive protection of privacy information;
[0019] (2) Model interpretability: When introducing machine learning models, focus on the interpretability and adjustability of the model to ensure that the system’s judgment process of medical data is controllable and understandable;
[0020] (3) Continuous Optimization: The system has the ability to continuously learn and optimize, and can continuously update models and rules based on actual application scenarios and feedback data, maintaining the ability to identify new types of privacy information;
[0021] (4) Privacy protection: During the design and implementation process, strict data security measures are taken to ensure the privacy of medical data. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 Shown is a flow chart of a method for identifying asset sensitivity of medical data items based on machine learning in one embodiment of the present application.
[0023] Figure 2 Shown is a flowchart of executing a model training task for labeled medical data items based on a deep learning model in one embodiment of the present application.
[0024] Figure 3 Shown is a structural diagram of a medical data item asset sensitivity identification system based on machine learning in one embodiment of the present application.
[0025] Figure 4 Shown is a schematic diagram of the structure of an electronic terminal in one embodiment of the present application. DETAILED DESCRIPTION
[0026] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0027] It should be noted that, as used in this article, the singular forms "one", "an" and "the" are intended to include plural forms as well, unless there is an indication to the contrary in the context. It should be further understood that the terms "comprising" and "including" indicate the presence of the described features, operations, elements, components, items, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, operations, elements, components, items, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Exceptions to this definition will only occur when the combination of elements, functions or operations is inherently mutually exclusive in some way.
[0028] In order to solve the problems in the above-mentioned background technology, the present invention provides a method, system, terminal and medium for identifying the sensitivity of medical data item assets, aiming to promote the assetization process of medical data items while using machine learning technology to identify the classification, grading and sensitivity of data according to the importance and risk level of the data, and store them in a classified manner, thereby ensuring the security of medical data items and laying the foundation for data openness.
[0029] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the technical solution in the embodiments of the present invention is further described in detail through the following embodiments and in combination with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the invention.
[0030] Before further describing the present invention in detail, the nouns and terms involved in the embodiments of the present invention are explained. The nouns and terms involved in the embodiments of the present invention are subject to the following explanations.
[0031] <1> Natural Language Processing (NLP) is a technology used to study how to achieve effective communication between humans and computers using natural language. Its goal is to enable computers to understand and use human language, thereby achieving effective communication between humans and computers. The basic tasks of NLP technology include lexical analysis, syntactic analysis, and semantic analysis. Tools are needed to pre-process the corpus, such as word segmentation and stem extraction.
[0032] <2> BERT (Bidirectional Encoder Representations from Transformers) model: a language representation model that obtains contextual embedding representations of text through pre-training, and is then used in various NLP tasks such as sentiment analysis and question-answering systems.
[0033] The embodiments of the present invention provide a method, system, terminal and medium for identifying the sensitivity of medical data item assets. As for the implementation of the method for identifying the sensitivity of medical data item assets, the embodiments of the present invention will illustrate an exemplary implementation scenario of sensitivity identification.
[0034] like Figure 1 FIG. 1 is a flow chart showing a method for identifying medical data item asset sensitivity based on machine learning in an embodiment of the present invention, which mainly includes the following steps:
[0035] Step S11: extracting medical data items from the NLP annotation content library, preprocessing the medical data items and converting them into a data format suitable for model input.
[0036] In some examples, the preprocessing of the medical data items and converting them into a data format suitable for model input includes: using preprocessing techniques to clean and standardize the medical data items; and constructing a vocabulary and dictionary for converting the medical data items from a text format into a numerical representation acceptable to the model.
[0037] A vocabulary is a list of words that contains all or a specific set of texts. A dictionary is a data structure that maps these words to numeric identifiers or vectors. Since most machine learning models cannot process raw text data directly, they require numerical input for calculations and predictions, so text data needs to be converted into a numerical representation acceptable to the model.
[0038] Preprocessing technology is a key step in data processing and analysis, including but not limited to removing noise, processing missing values, word segmentation, etc.
[0039] Noise removal is the process of removing irrelevant or erroneous information from data that may interfere with analysis. In text data, noise may include misspellings, formatting errors, punctuation errors, special characters, etc. The methods for noise removal vary depending on the type of data and source. For example, when removing special characters from text data, regular expressions or string processing functions can be used to identify and remove these characters. For image data, mathematical methods such as filters can be used to remove noise.
[0040] Missing values refer to values that are not recorded or cannot be obtained in the data set. The method for handling missing values depends on the number and nature of the missing values. Common methods for handling missing values include: deleting cases with missing values, interpolation (using other known values to estimate missing values, such as mean interpolation, median interpolation or regression interpolation, etc.), and weighting (assigning different weights to complete data cases to reduce the impact of missing values on analysis results).
[0041] Word segmentation refers to the process of dividing a continuous text into independent vocabulary units. For Latin-based texts such as English, word segmentation is relatively simple because words are usually separated by spaces. For Chinese words, it is usually necessary to use word lists and algorithms, such as rule-based word segmentation, statistical-based word segmentation, and deep learning methods.
[0042] The NLP annotation content library includes but is not limited to personal attribute data, health status data, medical application data, medical payment data, health resource data, public health data and other medical data items that have been sensitively annotated.
[0043] In an embodiment of the present application, the process of forming an NLP annotation content library includes: (1) using a database table structure description document or natural language processing technology to interpret the data model of the original medical data to convert it into medical data items to be annotated; (2) determining the asset sensitivity judgment standard of the medical data item to be used to annotate the medical data items with sensitive information.
[0044] In the embodiment of the present application, before using the deep learning model to predict sensitive information, the embodiment of the present invention first determines the medical data item asset sensitivity determination criteria, specifically including:
[0045] The most important thing in identifying medical sensitive data is the identification of personal health sensitive data. Therefore, the embodiments of the present invention follow the following national standards as the standards for identifying personal health data and medical sensitive data, including but not limited to the following: "Information Security Technology Personal Information Security Specification" (GB / T35273-2020), "Information Security Technology Personal Information Security Impact Assessment Guide" (GB / T 39335-2020), "Information Security Technology Personal Information De-identification Guide" (GB / T 37964-2019), "Information Security Technology Health Medical Data Item Security Guide" (GB / T 39725-2020). Alternatively, medical sensitive data also includes sensitive data in group health medical data items, such as the overall analysis results of the group obtained after processing, trend predictions, disease prevention and control statistics, etc.
[0046] In the embodiments of the present application, the original medical data is usually stored in medical and health institutions or management agencies such as hospitals and health commissions, with different data storage formats and field names. Therefore, before identifying sensitive data, the data model of the original medical data is interpreted with the help of the database table structure description document, mainly parsing the field names and their meanings.
[0047] For example, in order to facilitate data asset management, the original medical data can be converted into standardized medical data items in accordance with the "Health Information Data Element Standardization Rules WS / T 303-2023", "Health Information Data Set Metadata Standard WS / T 305-2023", and "Health Information Data Schema Description Guide WS / T 304-2023". Furthermore, for those without database table structure description documents or old and incomplete description documents, natural language processing technology can be used for AI comparison matching and identification.
[0048] Step S12: Based on the deep learning model, pre-training tasks for unlabeled data and model training tasks for labeled medical data items are performed. The trained prediction model is used to perform preliminary screening of sensitive information in the medical field content.
[0049] In the embodiments of the present application, the deep learning model uses the BERT model based on the Transformer structure. The BERT (Bidirectional Encoder Representations from Transformers) model is a pre-trained language model that can be used as a neural network model for various natural language processing tasks. The Transformer structure is mainly composed of two core components: an encoder and a decoder. Through the interaction between the encoder and the decoder, a deep understanding of the input sequence and the ability to generate an output sequence are achieved. The core is the self-attention mechanism, which captures the dependency between any two positions in the input sequence, giving the Transformer an advantage in processing long text sequences.
[0050] In the embodiment of the present application, the pre-training task of performing unlabeled data based on the deep learning model specifically refers to using the self-supervised task module in the BERT model to perform the pre-training task of unlabeled data, so as to learn the internal combination of medical texts and the logical relationship between sentences from unlabeled data. The specific process of pre-training includes the following:
[0051] The Masked Language Model (MLM) in the BERT model is used to randomly mask some words or characters in the input text, so that the BERT model can predict these masked contents; and the Next Sentence Prediction (NSP) in the BERT model is used to enable the BERT model to predict whether the second sentence in the received paired sentences is also the subsequent sentence in the original document.
[0052] Preferably, when training the BERT model, the Masked Language Model (MLM) and the Next Sentence Prediction (NSP) are jointly trained, and the training goal is set to minimize the combined loss function of the two. This joint training method enables the BERT model to capture both lexical and syntactic information in the text and the logical relationship between sentences.
[0053] For example, assuming that the loss function of the Masked Language Model (MLM) is , the loss function of the Next Sentence Prediction (NSP) is , and the joint loss function is , the joint loss function can be expressed as:
[0054] ;Formula (1)
[0055] in, and is the weight coefficient, which is used to adjust the relative importance of the two tasks in joint training. It can be adjusted according to the specific tasks and data sets to optimize the model performance. The loss function is , You can choose cross entropy loss function, mean square error loss function, mean absolute error loss function, Huber loss function, Hinge loss function, L1 norm loss function, L2 norm loss function, etc.
[0056] In the embodiment of the present application, a model training task with labeled medical data items is performed based on a deep learning model, and the training process is as follows: Figure 2 As shown, the process includes the following steps.
[0057] Step S21: Input the preprocessed medical data items into the BERT model for forward propagation to obtain the output results.
[0058] Exemplarily, the preprocessed medical data items are converted into an input format recognizable by the BERT model, such as the token IDs format. According to the input requirements of the BERT model, an input tensor containing token IDs, paragraph tags (for sentence pair tasks) and position encodings is constructed; then the pre-trained BERT model is loaded, including its weights and configurations; the constructed input tensor is passed to the encoder part of the BERT model, and the encoder performs multi-head self-attention mechanism and feedforward neural network calculations on the input sequence to generate a contextual embedding representation for each position; the hidden state of the last layer of the BERT model is taken out as the feature representation, which contains the semantic information of the input sequence.
[0059] Step S22: Calculate the loss function based on the output results of the model and the annotated true labels.
[0060] Exemplarily, the loss function may be selected from, for example, a cross entropy loss function, a mean square error loss function, a mean absolute error loss function, a Huber loss function, a Hinge loss function, an L1 norm loss function, an L2 norm loss function, etc., which is not limited in the embodiments of the present invention.
[0061] Step S23: Use the back propagation algorithm to calculate the gradient and update the parameters of the BERT model.
[0062] For example, the gradients of all parameters are initialized to 0, and the gradient of the loss function with respect to the model parameters is calculated using the chain rule starting from the loss function, that is, the loss function needs to be differentiated and the derivatives propagated back to each layer of the model. During the backpropagation process, the gradients of each parameter in the model are calculated, and these gradients indicate how to adjust the parameters to minimize the loss function.
[0063] For example, the gradients of all parameters are initialized to 0, and the gradient of the loss function with respect to the model parameters is calculated using the chain rule starting from the loss function, that is, the loss function needs to be differentiated and the derivatives propagated back to each layer of the model. During the backpropagation process, the gradients of each parameter in the model are calculated, and these gradients indicate how to adjust the parameters to minimize the loss function.
[0064] Step S24: Repeat the above steps until the performance of the BERT model on the validation set reaches the preset stopping condition.
[0065] Exemplarily, the preset stopping conditions include: the performance of the model on the validation set has not been further improved, or the predetermined maximum number of training iterations has been reached, or the performance of the model on the validation set has begun to decline, or the gap between the training loss and the validation loss is too large, etc.
[0066] In an embodiment of the present application, the trained prediction model is used to predict sensitive information for new medical data items; the hidden layer output of the prediction model passes through the softmax function to give the probability that the content of each field is sensitive information; based on the preset threshold, fields that may contain sensitive information are screened out for further processing or review.
[0067] Specifically, a classification layer for sensitive information identification tasks is added to the BERT model. The classification layer is usually a simple linear layer that maps the feature representation of BERT output to the probability distribution of sensitive information labels. The softmax function is then applied to convert the probability distribution into a normalized probability value to represent the possibility of each category. The probability value of the sensitive information label corresponding to each input sample is extracted from the output of the softmax function. Based on these probability values, it can be determined whether the input sample contains sensitive information, or further threshold processing can be performed to filter out samples that may contain sensitive information.
[0068] In the embodiments of the present application, a test set is used to evaluate the performance of the model, which includes but is not limited to indicators such as accuracy, recall rate, F1 value, etc.; based on the evaluation results, the prediction model can be further optimized, such as adjusting the model structure, changing the training strategy, etc.
[0069] It should be understood that accuracy refers to the proportion of samples that are truly positive among the samples that are judged as positive by the classifier. It measures the proportion of samples that are actually positive among the samples that are predicted to be positive. Recall refers to the proportion of positive samples that are correctly judged by the classifier to the total positive samples. It measures the proportion of samples that are predicted to be positive among the samples that are actually positive. The F1 value refers to the harmonic mean of accuracy and recall, which is used to comprehensively evaluate the performance of the classifier and can be used to find a balance between accuracy and recall.
[0070] Step S13: Construct a machine learning model and use the medical data items containing sensitive information obtained in the initial screening as model input, and use the feature information in the external open source sensitive information knowledge base to classify and identify the input medical data items, so as to perform a secondary fine screening of the medical data items.
[0071] In the embodiments of the present application, two machine learning algorithms, support vector machine and random forest, are used to construct the model. Support vector machine (SVM) is a supervised learning model, mainly used for classification and regression analysis, which separates data by finding a hyperplane so that data points of different categories are located on both sides of the hyperplane. Random Forest is an integrated learning method that makes predictions by constructing multiple decision trees and outputting their average or mode. By using two machine learning algorithms, support vector machine and random forest, the recognition accuracy of sensitive information can be further improved.
[0072] It should be understood that an external open source sensitive information knowledge base is an open resource library that collects data such as features, identifiers, and patterns related to sensitive information. This knowledge base is usually maintained and updated by open source communities, research institutions, or experts in related fields, and is designed to provide rich sensitive information data support to help users better identify, classify, and manage sensitive information. Using an external open source sensitive information knowledge base can provide rich feature information for machine learning models (such as support vector machines) and enhance the recognition ability of the model.
[0073] For example, an external open source sensitive information knowledge base may contain multiple types of data, such as: (1) Keywords and phrases: including common words, phrases or abbreviations related to sensitive information, which are used to quickly identify sensitive content in text. (2) Regular expressions and patterns: define the specific format or structure of sensitive information, which can be used to match and identify specific types of sensitive data, such as ID card numbers, credit card numbers, etc. (3) Contextual information and rules: provide the contextual environment, relevant rules or logic in which sensitive information appears, to help more accurately judge the sensitivity of information. (4) Industry-specific knowledge: for sensitive information in different industries or fields, the knowledge base may contain sensitive information identifiers and features specific to that field.
[0074] It is worth noting that in the embodiment of the present application, the BERT model based on the Transformer structure is first used to perform an initial screening of the sensitive information of the medical data items, and then a machine learning model such as a support vector machine is used to perform a secondary fine screening of the initial screening results by combining an external open source sensitive information knowledge base. This is due to the following reasons.
[0075] First, the BERT model based on the Transformer structure is a natural language processing model based on deep learning, which can deeply understand the content of medical texts and capture the complex semantic relationships in medical texts. Therefore, using the BERT model based on the Transformer structure to preliminarily screen the sensitive information of medical data items can more accurately identify texts that may contain sensitive information.
[0076] Secondly, external open source sensitive information knowledge bases usually contain a large number of sensitive information features and identifiers. If the BERT model is not used for initial screening and the external open source sensitive information knowledge base is used directly for screening, a large amount of data needs to be processed, which is inefficient. The BERT model can serve as a good initial screening filter to exclude text that does not contain sensitive information, reduce the amount of data to be processed later, and greatly improve the screening efficiency.
[0077] Furthermore, although the BERT model performs well in understanding text content, it still needs to rely on precise rules and features in external knowledge bases to make judgments in certain specific cases. External open source sensitive information knowledge bases provide detailed definitions and rules for sensitive information, which can ensure the accuracy and reliability of screening results. By combining the preliminary screening of the BERT model and the accuracy of the knowledge base, more accurate and comprehensive sensitive information identification results can be obtained.
[0078] Finally, the BERT model is used for the initial screening, and then combined with the external knowledge base for the secondary screening. This strategy is also highly flexible and customizable. Users can adjust the parameters and configuration of the BERT model according to actual needs to adapt to different text processing tasks. At the same time, the external knowledge base can also be updated and expanded as needed to adapt to new sensitive information types and rules.
[0079] Preferably, after the input medical data items are screened twice using the characteristic information in the external open source sensitive information knowledge base, artificial rules are introduced to fine-tune and correct the prediction results of the model according to the characteristics of the medical data items and actual needs. Through manual review and feedback mechanisms, the rules are continuously optimized and updated to improve the accuracy and reliability of the system.
[0080] Exemplarily, artificial rules are rules based on medical common sense, rules based on data distribution, rules based on diagnostic logic, rules based on confidence, rules based on outlier processing, and the like. Rules based on medical common sense, for example, some diseases or symptoms are more common in people of a certain age group, so the prediction results of the model can be adjusted according to the patient's age. Rules based on data distribution, for example, the distribution of a certain medical indicator (such as blood pressure, blood sugar, etc.) in the model training data is skewed, and the data can be standardized or normalized through rules so that the model can better handle such data. Rules based on diagnostic logic, for some complex diseases, their diagnosis usually requires a combination of multiple indicators and symptoms, so rules can be formulated to require the model to meet certain indicators and symptoms when predicting a certain disease. Rules based on confidence can set a confidence threshold, and only when the medical results of the model exceed this threshold, the prediction is considered reliable. Rules based on outlier processing set the upper and lower limits of the data range, and outliers outside this range can be regarded as missing values. So many, I will not repeat them one by one here.
[0081] Step S14: classify and grade the sensitivity of the carefully screened medical data items.
[0082] In other words, after using the BERT model to initially screen the sensitive information of medical data items and using an external open source sensitive information knowledge base for secondary screening, the screened medical data items also need to be classified and graded for sensitivity.
[0083] Furthermore, the categories of data classification include: personal attribute data, health status data, medical application data, medical payment data, health resource data, public health data; the sensitivity is graded from low to high as follows: sensitivity level 1, sensitivity level 2, sensitivity level 3, sensitivity level 4, sensitivity level 5. For the specific contents of data classification categories and sensitivity levels, please refer to the following Tables 1 and 2.
[0084] Table 1: Data classification table
[0085]
[0086] Table 2: Sensitivity grading table
[0087]
[0088] Exemplarily, when classifying and grading the sensitivity of medical data items, whether a person is a minor is determined based on the ID number or date of birth; if so, all medical information including personal attribute data is sensitive information, and the level is Level 4; if not, the personal attribute data is sensitive information.
[0089] For example, when classifying and grading the sensitivity of medical data items, if the diagnosis name is used to determine whether the patient is a special patient, it includes but is not limited to patients with severe mental illnesses such as schizophrenia, bipolar disorder, paranoid psychosis, mental disorders caused by epilepsy, schizoaffective disorder, mental retardation with mental disorders, and patients with infectious diseases such as AIDS, viral hepatitis, SARS, rabies, gonorrhea, syphilis, and tuberculosis. If the patient is a special patient, personal attribute data, health status data related to special diseases, medical application data for special diseases, medical payment data for special diseases, and public health data for special diseases are all sensitive data, and the level is level 5.
[0090] In an embodiment of the present application, after executing the above step S14, the following is also performed: based on the degree of sensitivity elimination, the degree of data loss, the desensitization calculation overhead and the communication overhead, corresponding protection strategies are configured for different data classification results and sensitivity grading results to retain the readability of the medical information.
[0091] In some examples, when the user is hospital staff and the purpose is clinical scientific research, a protection strategy with high sensitivity elimination, low data loss, and low computing and communication overhead is selected. For example, the month and day of birth are replaced by "*" instead of replacing the birth date with a hash map. This protects the privacy of patients and provides as much usable data as possible for scientific research.
[0092] In some examples, when the purpose is medical teaching, a protection strategy with a high degree of sensitivity elimination and data loss and complete elimination of personal attribute data is selected to make the original medical records impossible to be inferred and restored.
[0093] In some examples, when the user is outside the hospital, a protection strategy with the highest level of sensitivity elimination and data loss is selected.
[0094] In the embodiments of the present application, medical data desensitization can be performed by dynamic desensitization or static desensitization. Dynamic desensitization is performed during use, and the database still stores the data without desensitization; static desensitization is performed after the data is generated, which is divided into reversible and irreversible, and the desensitized data items are stored in the database. When storing, it can also be stored separately on physical media, and then integrated by the service layer when the data is accessed.
[0095] When the data is used, it can be accessed in a sandbox environment for internal use in medical institutions, and it also supports export. When exporting data, on the one hand, the desensitization strategy is executed again, and on the other hand, the amount of data requested for export is automatically monitored to avoid the generation of sensitive data in population health statistics due to large export volumes. For external use, with the help of blockchain technology and privacy computing technology, a data sharing mechanism for raw clinical data is constructed, and the privacy computing model is used to quickly screen standardized data to achieve traceability of the entire data process.
[0096] In the above, a medical data item asset sensitivity identification method based on machine learning in the present invention is explained in detail. In the following, a medical data item asset sensitivity identification system based on machine learning, a terminal and a medium in the present invention are further explained.
[0097] like Figure 3 As shown, a schematic diagram of the structure of a medical data asset sensitivity identification system based on machine learning in an embodiment of the present invention is shown. The medical data asset sensitivity identification system 300 includes: a data preprocessing module 301, a data preliminary screening module 302, a data fine screening module 303, and a data classification and sensitivity classification module 304.
[0098] The data preprocessing module 301 is used to extract medical data items from the NLP annotation content library, preprocess the medical data items and convert them into a data format suitable for model input.
[0099] The data screening module 302 is used to perform pre-training tasks for unlabeled data and model training tasks for labeled medical data items based on a deep learning model. The trained prediction model is used to perform preliminary screening of sensitive information in medical field content.
[0100] The data fine-screening module 303 is used to construct a machine learning model and use the medical data items containing sensitive information obtained in the initial screening as the model input, and use the feature information in the external open source sensitive information knowledge base to classify and identify the input medical data items to perform a secondary fine-screening of the medical data items.
[0101] The data classification and sensitivity grading module 304 is used to perform data classification and sensitivity grading on the medical data items after fine screening.
[0102] It should be noted that: the medical data item asset sensitivity identification system based on machine learning provided in the above embodiment, when performing sensitivity identification, only uses the division of the above program modules as an example. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the medical data item asset sensitivity identification system based on machine learning provided in the above embodiment and the medical data item asset sensitivity identification method embodiment based on machine learning belong to the same concept. The specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0103] The method for identifying the sensitivity of medical data items based on machine learning provided in the embodiment of the present invention can be implemented on the terminal side or the server side. As for the hardware structure of the electronic terminal, please refer to Figure 4 , is an optional hardware structure diagram of an electronic terminal 400 provided in an embodiment of the present invention. The terminal 400 may be a mobile phone, a computer device, a tablet device, a personal digital processing device, a factory background processing device, etc. The electronic terminal 400 includes: at least one processor 401, a memory 402, at least one network interface 404 and a user interface 406. The various components in the device are coupled together through a bus system 405. It can be understood that the bus system 405 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 405 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Figure 4 In the specification, various buses are labeled as bus systems.
[0104] The user interface 406 may include a display, a keyboard, a mouse, a trackball, a click gun, keys, buttons, a touch pad or a touch screen.
[0105] It is understood that the memory 402 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM). The memory described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable categories of memory.
[0106] The memory 402 in the embodiment of the present invention is used to store various types of data to support the operation of the electronic terminal 400. Examples of these data include: any executable program used to operate on the electronic terminal 400, such as an operating system 4021 and an application 4022; the operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 4022 can include various applications, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services. The implementation of the XX method provided in the embodiment of the present invention can be included in the application 4022.
[0107] The method disclosed in the above embodiment of the present invention can be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 401 or the instruction in the form of software. The above processor 401 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 401 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor 401 may be a microprocessor or any conventional processor, etc. In combination with the steps of the accessory optimization method provided in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0108] In an exemplary embodiment, the electronic terminal 400 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD) to execute the aforementioned method.
[0109] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
[0110] In the embodiments provided in the present application, the computer readable and writable storage medium may include a read-only memory, a random access memory, an EEPROM, a CD-ROM or other optical disk storage device, a disk storage device or other magnetic storage device, a flash memory, a USB flash drive, a mobile hard disk, or any other medium that can be used to store the desired program code in the form of an instruction or data structure and can be accessed by a computer. In addition, any connection can be appropriately referred to as a computer-readable medium. For example, if the instruction is sent from a website, a server or other remote source using a coaxial cable, an optical fiber cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, the coaxial cable, optical fiber cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. However, it should be understood that computer readable and writable storage media and data storage media do not include connections, carriers, signals, or other temporary media, but are intended to be non-temporary, tangible storage media. Disk and disc, as used in this application, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
[0111] In summary, this application provides a method, system, terminal and medium for identifying the sensitivity of medical data assets. This application realizes multi-level screening: deep learning is used for initial screening, and external open source sensitive information knowledge base is used for secondary fine screening to realize multi-level screening of medical data, ensure accurate screening of sensitive data, and ensure comprehensive protection of privacy information; it has model interpretability: when introducing machine learning models, it focuses on the interpretability and adjustability of the model to ensure that the system's judgment process of medical data is controllable and understandable; it realizes privacy protection: in the design and implementation process, strict data security measures are taken to ensure the privacy security of medical data; it has the characteristics of sustainable optimization: the system has the ability to continuously learn and optimize, and can continuously update models and rules according to actual application scenarios and feedback data, and maintain the ability to identify new types of privacy information. Therefore, this application effectively overcomes the various shortcomings of the prior art and has a high industrial utilization value.
[0112] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A method for identifying the sensitivity of medical data items based on machine learning, characterized in that: include: Extracting medical data items from the NLP annotation content library, preprocessing the medical data items and converting them into a data format suitable for model input; Pre-training tasks for unlabeled data and model training tasks for labeled medical data items are performed based on a deep learning model, and the prediction model obtained by training is used to preliminarily screen sensitive information in medical field content; the deep learning model includes a BERT model based on a Transformer structure; the pre-training tasks for unlabeled data performed based on a deep learning model include: using the self-supervised task module in the BERT model to perform pre-training tasks for unlabeled data, so as to learn the internal combination of medical texts and the logical relationship between sentences from unlabeled data; using the masked language module in the BERT model to randomly mask some words or characters in the input text, so that the BERT model predicts these masked contents; and, using the next sentence prediction module in the BERT model, so that the BERT model predicts whether the second sentence in the received paired sentences is also a subsequent sentence in the original document; adding a classification layer for sensitive information identification tasks on the basis of the BERT model, so as to map the feature representation output by BERT to the probability distribution of sensitive information labels; and applying the softmax function to convert the probability distribution into a normalized probability value to represent the possibility of each category; Construct a machine learning model and use the medical data items containing sensitive information obtained in the initial screening as model input, and use the feature information in the external open source sensitive information knowledge base to classify and identify the input medical data items, so as to perform a secondary fine screening of the medical data items; The medical data items after careful screening are classified and graded in sensitivity; the categories of data classification include: personal attribute data, health status data, medical application data, medical payment data, health resource data, and public health data; the sensitivity grading includes dividing the medical data items into multiple levels according to their sensitivity from low to high.
2. The method for identifying medical data item asset sensitivity based on machine learning according to claim 1 is characterized in that: The preprocessing of the medical data items and conversion into a data format suitable for model input includes: using preprocessing technology to clean and standardize the medical data items; constructing a vocabulary and a dictionary to convert the medical data items from a text format into a numerical representation suitable for model input.
3. The method for identifying medical data item asset sensitivity based on machine learning according to claim 1, characterized in that: The formation process of the NLP annotation content library includes: Use database table structure description documents or natural language processing technology to interpret the data model of the original medical data and convert it into medical data items to be labeled; Determine the medical data item asset sensitivity judgment standard to mark the medical data item for sensitive information.
4. The method for identifying medical data item asset sensitivity based on machine learning according to claim 1, characterized in that: When training the BERT model, the masked language module and the next sentence prediction module are jointly trained, and the training goal is set to minimize the combined loss function of the two.
5. The method for identifying medical data item asset sensitivity based on machine learning according to claim 1, characterized in that: After data classification and sensitivity grading of the carefully screened medical data items, the following is also performed: Based on the degree of sensitivity elimination, the degree of data loss, desensitization calculation overhead and communication overhead, corresponding protection strategies are configured for different data classification results and sensitivity grading results to retain the readability of medical information.
6. A medical data asset sensitivity identification system based on machine learning, characterized in that: include: A data preprocessing module, used to extract medical data items from the NLP annotation content library, preprocess the medical data items and convert them into a data format suitable for model input; A data screening module is used to perform pre-training tasks for unlabeled data and model training tasks for labeled medical data items based on a deep learning model, and the prediction model obtained by training is used to perform pre-screening of sensitive information in medical field content; the deep learning model includes a BERT model based on a Transformer structure; the pre-training task for unlabeled data based on a deep learning model includes: using the self-supervised task module in the BERT model to perform pre-training tasks for unlabeled data to learn the internal combination of medical texts and the logical relationship between sentences from unlabeled data; using the masked language module in the BERT model to randomly mask some words or characters in the input text, so that the BERT model predicts these masked contents; and, using the next sentence prediction module in the BERT model, the BERT model predicts whether the second sentence in the received paired sentences is also a subsequent sentence in the original document; a classification layer for sensitive information identification tasks is added on the basis of the BERT model to map the feature representation output by BERT to the probability distribution of sensitive information labels; and applying the softmax function to convert the probability distribution into a normalized probability value to represent the possibility of each category; The data fine-screening module is used to build a machine learning model and use the medical data items containing sensitive information obtained through the initial screening as model input. It uses the feature information in the external open source sensitive information knowledge base to classify and identify the input medical data items, so as to perform a secondary fine-screening of the medical data items. The data classification and sensitivity grading module is used to classify and grade the sensitivity of medical data items after careful screening.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the medical data item asset sensitivity identification method based on machine learning as described in any one of claims 1 to 5.
8. An electronic terminal, characterized in that: include: Processor and memory; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory so that the terminal executes the medical data item asset sensitivity identification method based on machine learning as described in any one of claims 1 to 5.
