A method and system for mining health care service needs based on text analysis

Through the combination of terminal preprocessing neural network and target demand type mining neural network, real-time demand determination and classification of health care interactive text is realized, which solves the problems of low recognition accuracy and low efficiency in the existing technology and improves user experience. experience and technology accessibility.

CN118692693BActive Publication Date: 2024-10-25贵阳康养职业大学 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411170974.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-10-25
Estimated Expiration
2044-08-26

AI Technical Summary

Technical Problem

The existing interactive text demand mining method for health care services based on natural language processing requires high computing power, resulting in low recognition accuracy and low efficiency of the model deployed on the front end, which limits the popularization of the technology and user experience.

Method used

Using a method based on text analysis, the terminal preprocessing neural network is used to perform feature mining and block feature extraction on the health care interactive text, and the target demand type mining neural network is used for classification prediction to achieve real-time demand determination and classification of the health care interactive text. .

Benefits of technology

It improves the timeliness and accuracy of user demand mining, reduces the requirements for client terminal computing power, and improves user experience and technology popularity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118692693B_ABST
    Figure CN118692693B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for mining health care service demand based on text analysis, which obtains health care interactive text, inputs the health care interactive text into a terminal preprocessing neural network, processes x text tensor descriptions corresponding to the health care interactive text, and obtains an inference result of whether the health care interactive text has a target health care demand. If the inference result indicates that the health care interactive text has a target health care demand, the health care interactive text is input into a target demand type mining neural network, and the target health care demand in the health care interactive text is classified and predicted according to the target demand type mining neural network, and the demand classification result corresponding to the target health care demand is output. The present invention performs demand judgment in real time in the health care interaction link, pre-judges whether the health care interactive text has a target health care demand, and performs demand detection if so, thereby increasing the timeliness and accuracy of user demand mining and improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of natural language processing, and more specifically, to a method and system for mining health care service needs based on text analysis. Background Art

[0002] With the aging of the population and the improvement of people's health awareness, health care services have gradually become the focus of social attention. However, traditional health care services often rely on manual services, with problems such as low efficiency and uneven service quality. In order to solve these problems, natural language processing technology has gradually been applied to the field of health care services. Natural language processing technology can understand and analyze the user's language to achieve intelligent interactive services. In the field of health care services, natural language processing technology can be used to explore users' interactive text needs, thereby providing more personalized and efficient services.

[0003] At present, some methods for mining interactive text requirements for health care services based on natural language processing have been proposed. These methods usually use machine learning algorithms to classify and cluster user interactive texts to mine user needs. However, these methods are often limited by high computing power requirements. Models deployed on the front end need to achieve timely recognition and smooth operation, which requires equipment with higher computing power. The recognition accuracy of ordinary neural networks may not achieve high-precision recognition. Overall, this reduces the user experience, limits the popularization of technology, and has poor scalability. Summary of the invention

[0004] In view of this, the embodiments of the present application at least provide a method and system for mining health care service needs based on text analysis.

[0005] According to one aspect of an embodiment of the present disclosure, a method for mining health care service needs based on text analysis is provided, comprising:

[0006] Get health care interactive text;

[0007] The health care interaction text is input into the terminal preprocessing neural network, and the x text tensor descriptions corresponding to the health care interaction text are processed according to the terminal preprocessing neural network to obtain an inference result of whether the health care interaction text has a target health care demand; wherein the x text tensor descriptions are obtained by feature mining the health care interaction text, and the terminal preprocessing neural network is used to perform block feature extraction processing on the x text tensor descriptions, and perform classification operations on the block feature extraction results, x≥1;

[0008] If the inference result represents that the health and wellness interaction text contains target health and wellness needs, the health and wellness interaction text is input into a target need type mining neural network, and the target health and wellness needs in the health and wellness interaction text are classified and predicted based on the target need type mining neural network, and a need classification result corresponding to the target health and wellness needs is output.

[0009] According to an example of an embodiment of the present disclosure, the step of inputting the health care interaction text into a terminal preprocessing neural network, processing x text tensor descriptions corresponding to the health care interaction text according to the terminal preprocessing neural network, and obtaining an inference result of whether the health care interaction text contains a target health care demand includes:

[0010] Inputting the health care interaction text into the feature mining component in the terminal preprocessing neural network, performing feature mining on the health care interaction text according to the feature mining component, and obtaining x text tensor descriptions;

[0011] Inputting the x text tensor descriptions into a block integration component in the terminal preprocessing neural network, dividing the x text tensor descriptions into u blocks according to the block integration component, each block having at least one text tensor description, and performing an integration operation on each text tensor description in the u blocks to obtain y integrated text tensor descriptions, wherein 1≤u≤x, 1≤y;

[0012] Merging the y integrated text tensor descriptions to obtain a merged tensor description;

[0013] The combined tensor description is input into the classification component in the terminal preprocessing neural network, and the combined tensor description is classified according to the classification component to obtain an inference result of whether the health care interaction text contains target health care needs.

[0014] According to an example of an embodiment of the present disclosure, the step of inputting the x text tensor descriptions into a block integration component in the terminal preprocessing neural network, dividing the x text tensor descriptions into u blocks according to the block integration component, and performing an integration operation on each text tensor description in the u blocks to obtain y integrated text tensor descriptions includes:

[0015] Divide the x text tensor descriptions into u blocks, perform feature extraction on each text tensor description in the u blocks, and obtain u blocks of refined text tensor descriptions;

[0016] Performing a tensor description combination operation on the refined text tensor descriptions corresponding to different blocks in the u-block refined text tensor description to obtain a u-block combined tensor description;

[0017] Performing a tensor description addition operation on the refined text tensor descriptions corresponding to different blocks in the u blocks of refined text tensor descriptions to obtain u added tensor descriptions;

[0018] Performing a channel-by-channel feature extraction operation on the u block combined tensor descriptions and the u added tensor descriptions to obtain v channel-by-channel extracted text tensor descriptions, where 1≤u≤v;

[0019] Projecting the u-block combined tensor description to obtain a u-block projected tensor description;

[0020] The v channel-by-channel refined text tensor descriptions are merged with the u block projection tensor descriptions to obtain y integrated text tensor descriptions.

[0021] According to an example of an embodiment of the present disclosure, the step of inputting the x text tensor descriptions into a block integration component in the terminal preprocessing neural network, dividing the x text tensor descriptions into u blocks according to the block integration component, and performing an integration operation on each text tensor description in the u blocks to obtain y integrated text tensor descriptions includes:

[0022] Input the x text tensor descriptions into the first block integration branch component in the block integration component, divide the x text tensor descriptions into u blocks according to the first block integration branch component, perform a tensor description integration operation on each text tensor description in the u blocks, and obtain 2ui+i first integrated text tensor descriptions, wherein i is the number of refined text tensor descriptions obtained by performing a feature extraction operation on each text tensor description, and 1≤i;

[0023] The 2ui+i first integrated text tensor descriptions are input into the second block integration branch component in the block integration component, the 2ui+i first integrated text tensor descriptions are divided into u blocks according to the second block integration branch component, and a tensor description integration operation is performed on each first integrated text tensor description in the u blocks to obtain y integrated text tensor descriptions, wherein the number y is 2uj+j, j is the number of refined text tensor descriptions obtained by performing feature refinement operation on each first integrated text tensor description, and 1≤j.

[0024] According to an example of an embodiment of the present disclosure, the y integrated text tensor descriptions are merged to obtain a merged tensor description, including:

[0025] Performing a downsampling operation on the y integrated text tensor descriptions to obtain y reduced-dimensional tensor descriptions corresponding to the y integrated text tensor descriptions;

[0026] The y dimension-reduced tensor descriptions are combined to obtain a combined tensor description.

[0027] According to an example of an embodiment of the present disclosure, the method further includes:

[0028] Acquire a positive training text and a negative training text, wherein the positive training text is matched with a positive training annotation, the negative training text is matched with a negative training annotation, the positive training text contains the target health care demand, and the negative training text does not contain the target health care demand;

[0029] The active training text is input into the terminal preprocessing neural network, and the x active text tensor descriptions corresponding to the active training text are processed according to the terminal preprocessing neural network to obtain a first inference result of whether the active training text has a target health care demand, wherein the x active text tensor descriptions are obtained by feature mining the active training text, and the terminal preprocessing neural network is used to perform block feature extraction processing on the x active text tensor descriptions, and perform classification operations on the block feature extraction results;

[0030] The negative training text is input into the terminal preprocessing neural network, and the x negative text tensor descriptions corresponding to the negative training text are processed according to the terminal preprocessing neural network to obtain a second inference result of whether the negative training text has a target health care demand, wherein the x negative text tensor descriptions are obtained by feature mining the negative training text, and the terminal preprocessing neural network is used to perform block feature extraction processing on the x negative text tensor descriptions, and perform classification operations on the block feature extraction results;

[0031] An objective function is obtained according to the positive training annotation, the first reasoning result, the negative training annotation and the second reasoning result, and a network learnable variable of the terminal preprocessing neural network is optimized according to the objective function.

[0032] According to an example of an embodiment of the present disclosure, the method further includes a debugging process of the target requirement type mining neural network, including:

[0033] Acquire a first interactive training text, wherein the first interactive training text corresponds to an interactive training modified text and a downsampled text, wherein the interactive training modified text is a text obtained by text modification of the first interactive training text, and the downsampled text is a text obtained by downsampling the interactive training modified text;

[0034] Based on the example learning network, the first interactive training text is used to identify health care needs, and a first reasoning result representing the type of health care needs in the first interactive training text is obtained;

[0035] Based on the example guidance network, health care needs are identified for the interactive training modified text and the first integrated text tensor description of the downsampled text to obtain reference self-annotation information;

[0036] Determining a first cost based on an error between the first inference result and the reference self-annotation information;

[0037] The example learning network is debugged based on the first cost to obtain the target demand type mining neural network.

[0038] According to an example of an embodiment of the present disclosure, the example-based guidance network performs health care demand identification on the interactive training modified text and the first integrated text tensor description of the downsampled text to obtain reference self-annotation information, including:

[0039] Performing text tensor description mining on the interactive training modified text based on the sample guidance network to obtain a first text tensor set corresponding to the interactive training modified text;

[0040] Performing text tensor description mining on the downsampled text based on the sample guidance network to obtain a second text tensor set corresponding to the downsampled text;

[0041] Adjusting and integrating the first text tensor set and the second text tensor set to obtain the first integrated text tensor description;

[0042] Performing health care demand identification on the first integrated text tensor description to obtain the reference self-annotation information;

[0043] The step of adjusting and integrating the first text tensor set and the second text tensor set to obtain the first integrated text tensor description includes:

[0044] Performing tensor merging on the b-th level first tensor description and the a-th level second tensor description to obtain a merged tensor description, wherein the first text tensor set includes the s-th level first tensor description, and the second text tensor set includes the s-th level second tensor description, 2≤a<s, b=a+1;

[0045] Performing dimensionality reduction processing on the combined tensor description to obtain a dimensionality reduction tensor description corresponding to the combined tensor description;

[0046] Filtering the reduced-dimensionality tensor description to obtain a filtered tensor description corresponding to the reduced-dimensionality tensor description;

[0047] Performing adjustment coefficient mapping on the screening tensor description to obtain the bth integrated adjustment coefficient;

[0048] Based on the integration adjustment coefficient, the first tensor description of the bth level and the second tensor description of the ath level are tensor-integrated to obtain a tensor integration result of the bth level;

[0049] Determine the s-level tensor integration result as the first integrated text tensor description;

[0050] The step of identifying health care needs on the first integrated text tensor description to obtain the reference self-annotation information includes:

[0051] Performing classification mapping on the first integrated text tensor description to obtain a plurality of reference reasoning results corresponding to the first interactive training text, wherein the reference reasoning results represent classification support coefficients of health care demand types in the first interactive training text;

[0052] Get the support coefficient of the set classification;

[0053] One or more reference reasoning results whose classification support coefficients reach the set classification support coefficients among the multiple reference reasoning results are determined as the reference self-annotation information.

[0054] According to an example of an embodiment of the present disclosure, the step of performing health care demand identification on the interactive training modified text and the downsampled text based on the example learning network to obtain a first reasoning result characterizing the type of health care demand in the first interactive training text includes:

[0055] Based on the example learning network, the interactive training modified text and the downsampled text are respectively mined by text tensor description to obtain a third text tensor set corresponding to the interactive training modified text, and a fourth text tensor set corresponding to the downsampled text;

[0056] Adjusting and integrating the third text tensor set and the fourth text tensor set to obtain a second integrated text tensor description;

[0057] Classify and map the third text tensor set, the fourth text tensor set, and the second integrated text tensor description respectively to obtain a first sub-inference result corresponding to the third text tensor set, a second sub-inference result corresponding to the fourth text tensor set, and a third sub-inference result corresponding to the second integrated text tensor description;

[0058] The first sub-inference result, the second sub-inference result, and the third sub-inference result are determined as the first inference result.

[0059] According to an example of an embodiment of the present disclosure, the determining of the first cost based on an error between the first inference result and the reference self-annotation information includes:

[0060] Obtaining a first sub-cost based on an error between the reference self-annotation information and the first sub-inference result;

[0061] Obtaining a second sub-cost based on an error between the reference self-annotation information and the second sub-inference result;

[0062] Obtaining a third sub-cost based on an error between the reference self-annotation information and the third sub-inference result;

[0063] A sum of the first sub-cost, the second sub-cost, and the third sub-cost is determined as the first cost.

[0064] According to another aspect of an embodiment of the present disclosure, a health care service demand mining system is provided, comprising a cloud platform and at least one client terminal communicatively connected to the cloud platform, wherein the client terminal is used to deploy the terminal preprocessing neural network as described above, for processing x text tensor descriptions corresponding to the health care interaction text according to the terminal preprocessing neural network, and obtaining an inference result of whether the health care interaction text contains a target health care demand; the cloud platform is used to deploy the target demand type mining neural network as described above, for classifying and predicting the target health care demand in the health care interaction text, and outputting a demand classification result corresponding to the target health care demand.

[0065] The beneficial effects of this application include at least:

[0066] In the health care service demand mining method and system based on text analysis provided by the present application, a health care interaction text is obtained; then the health care interaction text is input into a terminal preprocessing neural network, and x text tensor descriptions corresponding to the health care interaction text are processed according to the terminal preprocessing neural network to obtain an inference result of whether the health care interaction text contains a target health care demand, wherein the x text tensor descriptions are obtained by feature mining of the health care interaction text, and the terminal preprocessing neural network is used to perform block feature extraction processing on the x text tensor descriptions, and classify the results obtained by the block feature extraction, x≥1; if the inference result indicates that the health care interaction text contains a target health care demand, the health care interaction text is input into a target demand type mining neural network, and the target health care demand in the health care interaction text is classified and predicted according to the target demand type mining neural network, and the demand classification result corresponding to the target health care demand is output. The method for mining health care service needs based on text analysis provided in the embodiment of the present application processes the health care interaction text in the process of interaction with health care objects in real time, can make real-time demand judgment in the health care interaction link, pre-judge whether the health care interaction text contains target health care needs based on the terminal preprocessing neural network, detect the needs in the health care interaction text with target health care needs based on the target demand type mining neural network, output the demand classification result corresponding to the target health care need, increase the timeliness and accuracy of user demand mining, and improve user experience.

[0067] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0069] Figure 1 This is a schematic diagram of the architecture of a health care service demand mining system provided by this application;

[0070] Figure 2 This is a flowchart of a method for mining health care service needs based on text analysis provided by this application;

[0071] Figure 3 It is a structural schematic diagram of a health care service demand mining device provided in an embodiment of the present application;

[0072] Figure 4It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0074] In order to facilitate a clearer understanding of this application, we first introduce the health care service demand mining system provided by this application. Figure 1 As shown, the health care service demand mining system includes a cloud platform 10 and a terminal cluster. The terminal cluster may include one or more client terminals, and the number of client terminals is not limited. Figure 1 As shown, the terminal cluster may specifically include client terminal 1, client terminal 2, ..., client terminal n; it can be understood that client terminal 1, client terminal 2, client terminal 3, ..., client terminal n can all be connected to the cloud platform 10 through a network connection, so that each client terminal can exchange data with the cloud platform 10 through the network connection.

[0075] It is understandable that the cloud platform 10 may refer to a device for performing health care service demand mining, and the cloud platform 10 may also be used to store health care interactive texts. Both the cloud platform 10 and the client terminal may be implemented as computer devices, such as servers, personal computers and other devices. The cloud platform is preferably a server, wherein the server may be an independent physical server, or a server cluster or distributed system consisting of at least two physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms. The client terminal may specifically refer to a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a screen speaker, a smart watch, a terminal service machine, a chat robot device, a smart TV, etc., but is not limited thereto. Each client terminal and server may be directly or indirectly connected via wired or wireless communication. At the same time, the number of client terminals and servers may be one or at least two, and this application is not limited thereto.

[0076] For further information, see Figure 2, is a flow chart of a method for mining health care service needs based on text analysis provided in an embodiment of the present application. The method for mining health care service needs based on text analysis may include the following steps:

[0077] S100: Obtain health care interaction text.

[0078] In the embodiment of the present application, the health care interactive text is the interactive text information generated by the user (such as health care personnel) through the interaction based on the client terminal, such as a smart phone, a terminal service machine, a chat robot device, a smart TV, a wearable device, etc., such as chatting, consulting, creating, etc. For example, the user can directly enter the corresponding text in the client terminal, or after voice interaction, the client terminal converts the voice into the corresponding interactive text based on the voice-to-text technology. The health care interactive text often carries the user's demand information, such as the need for medical assistance, psychological counseling, and the purchase of materials. These needs have the characteristics of high real-time response and accurate identification.

[0079] S200: Input the health care interaction text into the terminal preprocessing neural network, process the x text tensor descriptions corresponding to the health care interaction text according to the terminal preprocessing neural network, and obtain an inference result of whether the health care interaction text contains the target health care demand.

[0080] Among them, x text tensor descriptions are obtained by feature mining of health care interaction texts, and the terminal preprocessing neural network is used to perform block feature extraction processing on the x text tensor descriptions, and perform classification operations on the results obtained by block feature extraction, x≥1.

[0081] In an embodiment of the present application, the terminal preprocessing neural network is a lightweight and compact neural network, such as a shallow neural network (Shallow Neural Network), a topic model (Latent Dirichlet Allocation), etc., which is deployed in the client terminal. By deploying the terminal preprocessing neural network in the client terminal, the health care interaction text can be acquired at a high frequency for real-time analysis, overcoming the time delay in acquiring the health care interaction text. The health care interaction text is analyzed based on the terminal preprocessing neural network. If the health care interaction text is a demand text, subsequent analysis is initiated, that is, further demand classification is performed through the back-end cloud platform. If the health care interaction text is a non-demand text, it is not further processed with the help of the cloud platform. This can help alleviate the data processing volume of the cloud platform.

[0082] The terminal preprocessing neural network includes a feature mining component, two sets of filtering components, a dimensionality reduction component and a classification component, wherein the filtering component includes a block integration component, a random arrangement component, a channel-by-channel filtering component, and the like.

[0083] Specifically, the health care interaction text is input into the feature mining component in the terminal preprocessing neural network, and feature mining is performed on the health care interaction text according to the feature mining component to obtain x text tensor descriptions; then the x text tensor descriptions are input into the block integration component in the terminal preprocessing neural network, and the x text tensor descriptions are divided into u blocks according to the block integration component, and each text tensor description in the u blocks is integrated to obtain y integrated text tensor descriptions; and the y integrated text tensor descriptions are used as inputs of the dimensionality reduction component, and the y integrated text tensor descriptions are reduced in dimension according to the dimensionality reduction component (for example, pooling is performed, such as maximum pooling, average pooling, global pooling, etc.), and the tensors after dimensionality reduction are merged to obtain a merged tensor description. The merging here refers to splicing the tensors according to one focus. For example, splicing can be performed by the two methods of "cat()" or "stack()". Among them, the "cat()" method does not increase the dimension of the tensor, but only increases the length in a certain dimension direction; the "stack()" method increases the dimension of the tensor, but does not increase the length in a single dimension direction, and the specific method is not limited; finally, the merged tensor description is input into the classification component in the terminal preprocessing neural network, and the merged tensor description is classified according to the classification component to obtain the inference result of whether the health care interaction text contains the target health care needs.

[0084] In the embodiment of the present application, it is assumed that the block integration component has two block integration modules, and x text tensor descriptions are simultaneously input into the first block integration module in the block integration component. The first block integration module first divides the x text tensor descriptions into u blocks, and performs feature extraction operation (for example, feature extraction based on convolution) on the text tensor descriptions corresponding to the same block. The number of first integrated text tensor descriptions obtained by each block extraction is i, and the u*i first integrated text tensor descriptions are integrated by tensor random arrangement ((Feature Shuffling)), that is, the first integrated text tensor descriptions in different blocks are tensor replaced (also called tensor crossing) to obtain u blocks of first combined tensor descriptions, and the first integrated text tensor descriptions of different blocks are tensor descriptions added to obtain u first added tensor descriptions, and then the u blocks of first combined tensor descriptions and the u first added tensor descriptions are subjected to channel-by-channel feature extraction operation to obtain 2ui+i first channel-by-channel refined text tensor descriptions. In this way, the operation of the first block integration module is completed. Then, the 2ui+i first channel-by-channel refined text tensor descriptions are input into the second block integration module in the block integration component, and the 2ui+i first channel-by-channel refined text tensor descriptions are divided into u blocks. The text tensor descriptions corresponding to the same block are subjected to feature extraction operation, and the number of second integrated text tensor descriptions obtained by refining each block is j. Then, the u*j second integrated text tensor descriptions are randomly arranged and integrated. For example, the second integrated text tensor descriptions in different blocks are tensor-replaced to obtain the second combined tensor descriptions of u blocks. At the same time, the second integrated text tensor descriptions of different blocks are tensor-description added to obtain u second added tensor descriptions. Then, the u block second combined tensor description and the u second added tensor descriptions are subjected to channel-by-channel feature extraction operation to obtain y integrated text tensor descriptions. Then, the number of y calculated is 2uj+j. Based on this, the operation of the second block integration module is completed.

[0085] S300: If the inference result indicates that the health care interaction text contains a target health care demand, the health care interaction text is input into a target demand type mining neural network, and the target health care demand in the health care interaction text is classified and predicted based on the target demand type mining neural network, and a demand classification result corresponding to the target health care demand is output.

[0086] In an embodiment of the present application, a target demand type mining neural network can be deployed on a cloud platform. When the terminal preprocessing neural network in the client terminal determines that the health care interaction text is a demand text (i.e., the health care interaction text contains target health care demands), the health care interaction text with the target health care demands will be further classified through the back-end cloud platform.

[0087] According to the target demand type mining neural network, the target health care demand in the health care interaction text is classified and predicted, and the demand classification results corresponding to the target health care demand are output. For example, the classification results can be item purchase, medical assistance, etc. The debugging process of the target demand type mining neural network will be introduced later.

[0088] The method for mining health care service needs based on text analysis provided in the embodiment of the present application processes the health care interaction text in the process of interaction with health care objects in real time, can make real-time demand judgment in the health care interaction link, pre-judge whether the health care interaction text contains target health care needs based on the terminal preprocessing neural network, detect the needs in the health care interaction text with target health care needs based on the target demand type mining neural network, output the demand classification result corresponding to the target health care need, increase the timeliness and accuracy of user demand mining, and improve user experience.

[0089] As an optional implementation, step S200 includes:

[0090] S210: Input the health care interaction text into the feature mining component in the terminal preprocessing neural network, perform feature mining on the health care interaction text according to the feature mining component, and obtain x text tensor descriptions.

[0091] In an embodiment of the present application, a feature mining component in a terminal preprocessing neural network may include multiple feature mining network layers. The feature mining component may be constructed by a feature mining component including x layers of a feature pyramid, each layer outputting a text tensor description of a different scale to obtain x text tensor descriptions. A text tensor description may include multiple channels, which may be understood here as the order of the tensor, such as a word vector channel, a phrase feature channel, a syntactic feature channel, and a semantic feature channel, etc. Among them, the word vector channel may be mined using a bag-of-words model, the phrase feature channel may be mined using an n-gram model, the syntactic feature channel may be mined using part-of-speech tagging, and the semantic feature channel may be mined using word embedding or a language model.

[0092] S220: Input the x text tensor descriptions into the block integration component in the terminal preprocessing neural network, divide the x text tensor descriptions into u blocks according to the block integration component, each block has at least one text tensor description, and perform an integration operation on each text tensor description in the u blocks to obtain y integrated text tensor descriptions. Wherein, 1≤u≤x, 1≤y.

[0093] In an embodiment of the present application, it is assumed that the block integration component has two block integration modules, and x text tensor descriptions are simultaneously loaded into the first block integration module in the block integration component. The first block integration module divides the x text tensor descriptions into u blocks, and performs feature extraction operations on the text tensor descriptions corresponding to the same block. The number of first integrated text tensor descriptions obtained by extraction of each block is i, and then the u*i first integrated text tensor descriptions are randomly arranged and integrated. For example, the first integrated text tensor descriptions in different blocks are tensor replaced to obtain u blocks of first combined tensor descriptions. At the same time, the first integrated text tensor descriptions of different blocks are tensor descriptions added to obtain u first added tensor descriptions, and then the u blocks of first combined tensor descriptions and u first added tensor descriptions are subjected to channel-by-channel feature extraction operations to obtain 2ui+i first channel-by-channel refined text tensor descriptions. In this way, the first block integration module is processed. Then, the 2ui+i first channel-by-channel refined text tensor descriptions are input into the second block integration module in the block integration component, and the 2ui+i first channel-by-channel refined text tensor descriptions are divided into u blocks. Feature extraction operation is performed on the text tensor description corresponding to the same block, and the number of second integrated text tensor descriptions obtained by refining each block is j. Then, the u*j second integrated text tensor descriptions are randomly arranged and integrated. For example, the second integrated text tensor descriptions in different blocks are tensor replaced to obtain the second combined tensor description of u blocks. At the same time, the second integrated text tensor descriptions of different blocks are tensor descriptions added to obtain u second added tensor descriptions. Then, channel-by-channel feature extraction operation is performed on the u block second combined tensor description and the u second added tensor descriptions to obtain y integrated text tensor descriptions. The number y is 2uj+j. In this way, the second block integration module is processed.

[0094] S230: Merge the y integrated text tensor descriptions to obtain a merged tensor description.

[0095] In an embodiment of the present application, y integrated text tensor descriptions are input into a dimensionality reduction component, and each of the y integrated text tensor descriptions is reduced in dimension according to the dimensionality reduction component to obtain y reduced-dimensionality tensor descriptions, and finally the y reduced-dimensionality tensor descriptions are merged to obtain a merged tensor description.

[0096] S240: Input the merged tensor description into the classification component in the terminal preprocessing neural network, perform classification operations on the merged tensor description according to the classification component, and obtain an inference result of whether the health care interaction text contains the target health care demand.

[0097] The merged tensor description is input into the classification component, and the merged tensor description is classified according to the classification component. For example, the classification component outputs a judgment result of yes or no on whether the merged tensor description has the target health care demand, that is, if the merged tensor description has the target health care demand, the inference result of yes is output, and if the merged tensor description does not have the target health care demand, the inference result of no is output. Of course, other ways of expression can also be used, such as Y and N, where Y represents the target health care demand and N represents the target health care demand.

[0098] The method for mining health care service demand based on text analysis provided in the embodiment of the present application makes a preliminary judgment on whether the health care interaction text contains target health care demand based on the terminal preprocessing neural network, specifically based on the block feature extraction and integration operations of the text tensor description corresponding to the health care interaction text, and finally performs binary classification based on the merged tensor description after dimensionality reduction of multiple integrated text tensor descriptions, thereby increasing the reasoning accuracy of the terminal preprocessing neural network on whether the health care interaction text contains target health care demand. The terminal preprocessing neural network provided in the embodiment of the present application is a small and sophisticated network with few network parameters. When deployed on a client terminal, it is less dependent on the computing power of the client terminal, thereby improving applicability.

[0099] In the method for mining health care service needs based on text analysis provided in the present application, optionally, step S220 may specifically include:

[0100] S221: Divide the x text tensor descriptions into u blocks, perform feature extraction on each text tensor description in the u blocks, and obtain u blocks of refined text tensor descriptions.

[0101] In an embodiment of the present application, x text tensor descriptions are arbitrarily divided into u blocks, and the x text tensor descriptions can be evenly filled into u blocks to ensure the balanced ability of network processing, and the number of text tensor descriptions in each block is as close as possible. If it cannot be evenly divided, the difference in the number of text tensor descriptions in different blocks is not greater than x / u. The text tensor descriptions corresponding to the same block are subjected to feature extraction operations to obtain a refined text tensor description corresponding to each block. For example, 8 text tensor descriptions are evenly distributed to 4 blocks, and the number of text tensor descriptions in each block is 2. The text tensor descriptions corresponding to the same block are convolved, and each block obtains 1 refined text tensor description. Accordingly, the 8 text tensor descriptions are refined according to the block features to obtain 4 refined text tensor descriptions.

[0102] S222: Perform a tensor description combination operation on the refined text tensor descriptions corresponding to different blocks in the u-block refined text tensor description to obtain a u-block combined tensor description.

[0103] In the embodiment of the present application, the tensor description combination is the feature combination, specifically, the tensors in the tensor descriptions of the extracted texts of different blocks are multiplied, that is, a tensor description of extracted texts in each block of the u blocks is multiplied with a tensor description of extracted texts in the remaining u-1 blocks, to obtain a tensor description of the u blocks, wherein the number of the tensor descriptions of the combined tensors in each block is equal to the number of the tensor descriptions of each block of the original tensor descriptions of the extracted texts in the u blocks. The principle of tensor multiplication can refer to the general technology.

[0104] S223: Perform tensor description addition operation on the refined text tensor descriptions corresponding to different blocks in the u-block refined text tensor descriptions to obtain u added tensor descriptions.

[0105] In the embodiment of the present application, the addition of tensor descriptions may be the addition of tensors of refined text tensor descriptions of different blocks to complete block integration.

[0106] S224: Perform channel-by-channel feature extraction on the u block combination tensor descriptions and the u added tensor descriptions to obtain v channel-by-channel extracted text tensor descriptions, where 1≤u≤v.

[0107] In the embodiment of the present application, a channel-by-channel feature extraction operation is performed on u block combined tensor descriptions and u added tensor descriptions, respectively, to obtain a channel-by-channel refined text tensor description corresponding to each combined tensor description, and a channel-by-channel refined text tensor description corresponding to each added tensor description. For example, if the number of combined tensor descriptions of each block in the u block combined tensor description is i, then channel-by-channel convolution (also known as separation convolution) is performed on the u*i combined tensor descriptions to obtain u*i channel-by-channel refined text tensor descriptions, and channel-by-channel convolution is performed on the u added tensor descriptions to obtain u channel-by-channel refined text tensor descriptions, and the number of v is u*i+i.

[0108] S225: Project the u-block combined tensor description to obtain the u-block projected tensor description.

[0109] In the embodiment of the present application, each combined tensor description in the u-block combined tensor description is projected to obtain a corresponding projected tensor description. The projection here can be understood as a mapping process of features (combined tensor descriptions) to generate new features that are more expressive, easier to understand, or more suitable for specific tasks, such as mapping by standardization, scaling, principal component analysis, feature selection, etc., without specific limitation.

[0110] S226: Merge the v channel-by-channel refined text tensor descriptions with the u block projection tensor descriptions to obtain y integrated text tensor descriptions.

[0111] In an embodiment of the present application, v channel-by-channel refined text tensor descriptions are merged with u block projection tensor descriptions, i.e., spliced, to obtain y integrated text tensor descriptions. If the number of projection tensor descriptions of each block in the u block projection tensor description is i, then the number of y is 2ui+i.

[0112] The method for mining health care service needs based on text analysis provided in the embodiment of the present application expands the scope of text tensor description based on the tensor integrated by block projection and random arrangement, increases the accuracy of the terminal preprocessing neural network in predicting whether the health care interactive text contains target health care needs, and at the same time reduces the parameters of the level network and the computing power requirements for the client terminal, so that the client terminal runs more smoothly and has stronger adaptability, thereby improving the user experience.

[0113] In one implementation of the method for mining health care service needs based on text analysis provided in an embodiment of the present application, S220 further includes:

[0114] S227: Input the x text tensor descriptions into the first block integration branch component in the block integration component, divide the x text tensor descriptions into u blocks according to the first block integration branch component, perform a tensor description integration operation on each text tensor description in the u blocks, and obtain 2ui+i first integrated text tensor descriptions. Wherein, i is the number of refined text tensor descriptions obtained by performing feature extraction operation on each text tensor description, 1≤i.

[0115] S228: Input 2ui+i first integrated text tensor descriptions into the second block integration branch component in the block integration component, divide the 2ui+i first integrated text tensor descriptions into u blocks according to the second block integration branch component, perform a tensor description integration operation on each first integrated text tensor description in the u blocks, and obtain y integrated text tensor descriptions. The number of y is 2uj+j, j is the number of refined text tensor descriptions obtained by performing feature extraction operation on each first integrated text tensor description, and 1≤j.

[0116] In the embodiment of the present application, it is assumed that the block integration component includes two block integration branch components. The first block integration branch component and the second block integration branch component have a consistent component architecture, that is, both have a block integration component, a random arrangement component, a channel-by-channel filtering component, etc. The x text tensor descriptions are simultaneously loaded into the first block integration module in the block integration component, the first block integration module divides the x text tensor descriptions into u blocks, and performs feature extraction operations on the text tensor descriptions corresponding to the same block. The number of the first integrated text tensor descriptions obtained by each block extraction is i, and then u*i first integrated text tensor descriptions are randomly arranged and integrated, for example, the first integrated text tensor descriptions in different blocks are tensor replaced to obtain u blocks of first combined tensor descriptions, and the first integrated text tensor descriptions of different blocks are tensor descriptions added to obtain u first added tensor descriptions, and then the u blocks of first combined tensor descriptions and u first added tensor descriptions are subjected to channel-by-channel feature extraction operations to obtain 2ui+i first channel-by-channel refined text tensor descriptions, so that the first block integration module is processed. Then, the 2ui+i first channel-by-channel refined text tensor descriptions are input into the second block integration module in the block integration component, the 2ui+i first channel-by-channel refined text tensor descriptions are divided into u blocks, and feature extraction operations are performed on the text tensor descriptions corresponding to the same block. The number of second integrated text tensor descriptions obtained by refining each block is j, and then the u*j second integrated text tensor descriptions are randomly arranged and integrated. For example, the second integrated text tensor descriptions in different blocks are tensor-replaced to obtain the second combined tensor descriptions of u blocks. At the same time, the second integrated text tensor descriptions of different blocks are tensor-description added to obtain u second added tensor descriptions. Then, the u block second combined tensor description and the u second added tensor descriptions are subjected to channel-by-channel feature extraction operations to obtain y integrated text tensor descriptions. It can be determined that the number y is 2uj+j. In this way, the second block integration module is processed. The total parameters of the block integration component are small, which reduces the computing power requirements for the client terminal, and the client terminal runs more smoothly and has stronger adaptability, thereby improving the user experience.

[0117] The method for mining health care service needs based on text analysis provided in the embodiment of the present application, as an implementation mode, step S230 may specifically include:

[0118] S231: Perform a downsampling operation on the y integrated text tensor descriptions to obtain y reduced-dimensional tensor descriptions corresponding to the y integrated text tensor descriptions.

[0119] S232: Merge the y dimensionality-reduced tensor descriptions to obtain a merged tensor description.

[0120] In an embodiment of the present application, y integrated text tensor descriptions are input into a dimensionality reduction component, and each of the y integrated text tensor descriptions is reduced in dimension (e.g., pooled) according to the dimensionality reduction component to obtain y reduced-dimensionality tensor descriptions, and then the y reduced-dimensionality tensor descriptions are merged to obtain a merged tensor description, thereby achieving the purpose of obtaining a merged tensor description based on the y integrated text tensor descriptions, which is beneficial for subsequent classification operations on the merged tensor description according to the classification component.

[0121] The embodiment of the present application provides a method that can reduce the dimension of the integrated text tensor description based on pooling, and then merge it into a merged tensor description to facilitate subsequent classification operations.

[0122] Optionally, the method for mining health care service needs based on text analysis also includes a debugging step of a terminal preprocessing neural network, which may specifically include:

[0123] S310: Obtaining positive training text and negative training text, wherein the positive training text is matched with positive training annotations, the negative training text is matched with negative training annotations, the positive training text contains target health care needs, and the negative training text does not contain target health care needs.

[0124] In the embodiment of the present application, the active training text and the passive training text are derived from multiple different types of interaction situations, thereby ensuring the generalization of the terminal preprocessing neural network.

[0125] S320: Input the active training text into the terminal preprocessing neural network, process the x active text tensor descriptions corresponding to the active training text according to the terminal preprocessing neural network, and obtain a first inference result of whether the active training text contains the target health care needs.

[0126] Among them, the x positive text tensor descriptions are obtained by feature mining of the positive training texts, and the terminal preprocessing neural network is used to perform block feature extraction on the x positive text tensor descriptions, and perform classification operations on the results obtained by the block feature extraction.

[0127] In an embodiment of the present application, the active training text is input into a feature mining component in a terminal preprocessing neural network, and feature mining is performed on the active training text according to the feature mining component to obtain x active text tensor descriptions; then the x active text tensor descriptions are input into a block integration component in the terminal preprocessing neural network, and the x active text tensor descriptions are divided into u blocks according to the block integration component, and an integration operation is performed on each positive text tensor description in the u blocks to obtain y active integrated text tensor descriptions; then the y active integrated text tensor descriptions are used as inputs of a dimensionality reduction component, and dimensionality reduction is performed on the y active integrated text tensor descriptions according to the dimensionality reduction component, and the results after dimensionality reduction are merged to obtain an active merged tensor description; the active merged tensor description is input into a classification component in the terminal preprocessing neural network, and a classification operation is performed on the active merged tensor description according to the classification component to obtain an inference result of whether the active training text has the target health care needs.

[0128] S330: Input the negative training text into the terminal preprocessing neural network, process the x negative text tensor descriptions corresponding to the negative training text according to the terminal preprocessing neural network, and obtain a second inference result of whether the negative training text contains the target health care needs.

[0129] Among them, the x negative text tensor descriptions are obtained by feature mining of negative training texts, and the terminal preprocessing neural network is used to perform block feature extraction processing on the x negative text tensor descriptions, and perform classification operations on the results obtained by block feature extraction.

[0130] In an embodiment of the present application, the negative training text is input into a feature mining component in a terminal preprocessing neural network, and feature mining is performed on the negative training text according to the feature mining component to obtain x negative text tensor descriptions; then the x negative text tensor descriptions are input into a block integration component in the terminal preprocessing neural network, and the x negative text tensor descriptions are divided into u blocks according to the block integration component, and an integration operation is performed on each negative text tensor description in the u blocks to obtain y negative integrated text tensor descriptions; then, the y negative integrated text tensor descriptions are used as inputs of a dimensionality reduction component, and dimensionality reduction is performed on the y negative integrated text tensor descriptions according to the dimensionality reduction component, and the dimensionality reduction results are merged to obtain a negative merged tensor description; the negative merged tensor description is input into a classification component in the terminal preprocessing neural network, and a classification operation is performed on the negative merged tensor description according to the classification component to obtain an inference result of whether the negative training text has a target health care need.

[0131] S340: Obtaining an objective function according to the positive training annotation, the first reasoning result, the negative training annotation and the second reasoning result, and optimizing the network learnable variables of the terminal preprocessing neural network according to the objective function.

[0132] The method for mining health care service needs based on text analysis provided in the embodiment of the present application makes a pre-judgment on whether the positive and negative training texts have the target health care needs based on the terminal pre-processing neural network, obtains the objective function based on the positive training annotations and negative training annotations corresponding to the judgment results and the positive training texts and negative training texts, and optimizes the network learnable variables of the terminal pre-processing neural network based on the objective function, so that the terminal pre-processing neural network can increase the reasoning of whether the interactive text has the target health care needs with higher reliability. The objective function is the loss function, and its type is not limited, for example, it is a cross entropy function.

[0133] As described in S300 above, if the inference result characterizes that there is a target health care demand in the health care interaction text, the health care interaction text is input into the target demand type mining neural network, and the target health care demand in the health care interaction text is classified and predicted according to the target demand type mining neural network, and the demand classification result corresponding to the target health care demand is output. The target demand type mining neural network can adopt a general text content recognition network, such as CNN, Bert, and RNN. It can be understood that before using the target demand type mining neural network for health care demand prediction, it is necessary to train and debug the demand type mining neural network to obtain a neural network with excellent classification effect. In a technical solution that can be implemented independently, the embodiment of the present application can also provide a network debugging method, which is carried out in a classic "student-teacher" learning or "self-training" manner. Specifically, it can include the following training steps:

[0134] Step S410: Acquire a first interactive training text.

[0135] The first interactive training text corresponds to an interactive training modification text and a downsampled text, wherein the interactive training modification text is a text obtained by modifying the first interactive training text, and the downsampled text is a text obtained by downsampling the interactive training modification text. It can be understood that the training text of the target demand type mining neural network and the terminal preprocessing neural network can use the same text.

[0136] Optionally, the first interactive training text is an interactive training text randomly selected from the first text library.

[0137] As an implementation mode, the first interactive training text is an interactive training text that is not matched with reference annotation information. Optionally, the interactive training modified text is a noisy modified text obtained by performing text noise processing on the first interactive training text. The text noise processing includes one or more methods of text word replacement, text word deletion, text word insertion, etc.

[0138] Optionally, the text downsampling is to select a part from the interactive training modified text to retain and discard the other parts, and the retained text obtained is the downsampled text. The selection method is, for example, performed in the following manner:

[0139] Method 1: Random sampling, i.e. randomly selecting a part from the original text to keep. Method 2: Uniform sampling, i.e. selecting a part from the original text to keep at a fixed interval. Method 3: Importance sampling, i.e. selecting the retained part based on certain features or importance of the text. For example, important text fragments can be selected based on word frequency, TF-IDF, etc. For specific methods, please refer to general technology, which will not be limited or elaborated here.

[0140] Step S420: performing health care demand identification on the first interactive training text based on the example learning network to obtain a first reasoning result representing the type of health care demand in the first interactive training text.

[0141] Optionally, the sample learning network is a neural network that has completed initialization, that is, a student network to be trained. For example, the first interactive training text is input into the sample learning network for health care needs identification, and the obtained output result is determined as the first reasoning result. Among them, health care needs identification includes identifying one or more health care needs types contained in the first interactive training text, and the paragraphs and needs types are located in the first interactive training text.

[0142] For example, the interactive training modified text and / or the downsampled text are input into the sample learning network for health care needs identification, and the obtained output result is determined as the first reasoning result. Wherein, when the interactive training modified text and the downsampled text are respectively input into the sample learning network for health care needs identification, health care needs identification is performed on the interactive training modified text and the downsampled text respectively, or the interactive training modified text and the downsampled text are combined for health care needs identification.

[0143] Step S430: Based on the example guidance network, health care needs are identified for the first integrated text tensor description of the interactive training modified text and the downsampled text to obtain reference self-annotation information.

[0144] As an implementation mode, the interactive training modified text and the downsampled text are respectively mined by text tensor description based on the sample guidance network to obtain the first tensor description corresponding to the interactive training modified text and the second tensor description corresponding to the downsampled text, and the guidance network is the teacher network. The first tensor description and the second tensor description are adjusted and integrated (for example, weighted summation) to obtain the first integrated text tensor description. In other words, the first integrated text tensor description is the tensor integration result corresponding to the first tensor description and the second tensor description, also known as the fusion result. Optionally, the sample guidance network includes a text tensor description mining component (i.e., a module for feature mining), and the interactive training modified text and the downsampled text are respectively mined by text tensor description based on the text tensor description mining component. For example, the first tensor description is a combination of a tensor description or multiple tensor descriptions corresponding to the interactive training modified text. In other words, the first tensor description can also be referred to as a first text tensor set, wherein the first text tensor set includes multi-level tensor descriptions. For example, the second tensor description is a combination of one tensor description or multiple tensor descriptions corresponding to the downsampled text. In other words, the second tensor description can also be called a second text tensor set, wherein the second text tensor set includes multiple tensor descriptions.

[0145] For example, the method of constructing the first integrated text tensor description is one or more of the following methods:

[0146] Method 1: merging a first tensor description corresponding to a tensor description and a second tensor description corresponding to a tensor description to obtain a first integrated text tensor description;

[0147] Method 2: merging the first text tensor set and the second text tensor set by level, and using the obtained merged text tensor set as the first integrated text tensor description;

[0148] Method 3: extracting features (i.e., performing convolution) on the first text tensor set and the second text tensor set respectively, and then merging the tensors (e.g., performing splicing) to obtain a first integrated text tensor description;

[0149] Method 4: Merge the first text tensor set and the second text tensor set on each channel (such as the word vector channel, phrase feature channel, syntactic feature channel, and semantic feature channel as exemplified in step S210) and then perform feature extraction (such as 1*1 convolution) to obtain the first integrated text tensor description.

[0150] Optionally, the sample guidance network includes a classification mapping component, and the first integrated text tensor description is classified and mapped (i.e., tensor decoding) based on the classification mapping component to obtain reference self-annotation information corresponding to the first interactive training text. Self-annotation information is to assign temporary labels to unlabeled data so that the network can use this information for training. Self-annotation information is also called self-supervision and pseudo-label.

[0151] For example, the reference self-annotation information represents the text paragraph and type of the reference health care demand in the first interactive training text. It should be noted that the reference self-annotation information is actually the inference result obtained after the sample guide network recognizes the health care demand of the first interactive training text according to the interactive training modified text and the downsampled text.

[0152] Step S440: Determine a first cost based on an error between the first inference result and the reference self-annotation information.

[0153] Optionally, a feature distance between the first inference result and the reference self-labeling information is obtained based on the first cost function and determined as the first cost.

[0154] Step S450: Debugging the sample learning network based on the first cost to obtain a target demand type mining neural network.

[0155] In the debugging process of the demand type mining neural network in the embodiment of the present application, after obtaining the first interactive training text without reference annotation information, the first interactive training text is subjected to text noise processing to obtain the interactive training modified text, the interactive training modified text is downsampled to obtain the downsampled text, the interactive training modified text and the downsampled text are input with samples of different text lengths to guide the network to obtain reference self-annotation information, the sample learning network is debugged based on the reference self-annotation information, and finally the target demand type mining neural network is obtained. In other words, the accuracy of the generated self-annotation information can be enhanced based on loading texts of different lengths, so that the accuracy of the target demand type mining neural network is improved.

[0156] As an implementation mode, the first integrated text tensor description is obtained by integrating and mining the text tensor description of the interactive training modified text and the downsampled text based on the sample guidance network. Optionally, before step S420, the method further includes step S411, and after step S410, it also includes steps S411 to S414, and step S430 also includes steps S431 to S434, specifically including:

[0157] Step S411: obtaining a second interactive training text, wherein the second interactive training text is matched with reference annotation information, and the reference annotation information represents the reference health care demand type in the second interactive training text.

[0158] Optionally, the second interactive training text is an interactive training text selected arbitrarily in the second text library. The first text library and the second text library are derived from the same or different text libraries. The reference annotation information characterizes the text paragraphs and demand types of the reference health care demand types in the second interactive training text. The reference annotation information may be manually annotated information, or the reference annotation information is the inference result output after the second interactive training text is input into other debugged demand type mining neural networks.

[0159] Step S411: performing a first text noise adding process on the first interactive training text to obtain a first noise added modified text corresponding to the first interactive training text.

[0160] Optionally, the first text noise addition process is to perform a text noise addition process with a greater degree of noise addition on the first interactive training text, such as text word replacement. As an implementation mode, the first text noise addition process is performed on only one first interactive training text at a time, or the first text noise addition process is performed on multiple first interactive training texts at a time, without any specific limitation.

[0161] Step S412: downsampling the first noisy modified text to obtain a first downsampled text corresponding to the first noisy modified text.

[0162] Step S413: performing second text noise addition processing on the first interactive training text to obtain a second noise added modified text corresponding to the first interactive training text.

[0163] The first text noise addition process and the second text noise addition process correspond to different noise addition degrees respectively.

[0164] As an implementation, the first text noise processing and the second text noise processing correspond to different noise levels, for example, the text ranges targeted may be different. Optionally, the second text noise processing is a text noise processing with a smaller noise level on the first interactive training text, such as text word deletion.

[0165] In one embodiment, the second text noise adding process is performed on only one first interactive training text at a time, or the second text noise adding process is performed on multiple first interactive training texts at a time.

[0166] Step S414: downsampling the second noisy modified text to obtain a second downsampled text corresponding to the second noisy modified text.

[0167] After step S420, the following steps are also included:

[0168] Step S421: performing health care demand identification on the second interactive training text based on the example learning network to obtain a second reasoning result representing the type of health care demand in the second interactive training text.

[0169] As an implementation method, the second interactive training text is input into the sample learning network for health care needs identification, and the obtained output result is determined as the second reasoning result.

[0170] The inference result is, for example, a support coefficient corresponding to the requirement category, such as probability or confidence.

[0171] Optionally, in debugging the demand type mining neural network, the second interactive training text matched with the reference annotation information is first input into the sample learning network, and the health care demand is identified based on the sample learning network. The classification prediction support coefficient corresponding to the health care demand type in the second interactive training text is output as the second reasoning result of the health care demand type. For example, the second interactive training text is directly input into the sample learning network, or the second interactive training text is subjected to text noise to obtain a noisy modified text, and the noisy modified text is subjected to text downsampling to obtain a downsampled text and input into the sample learning network.

[0172] In one implementation, all texts in the second interactive training text correspond to the second reasoning results, or part of the texts in the second interactive training text correspond to the second reasoning results, and part of the texts have no second reasoning results. In other words, the sample learning network may have omissions for the second interactive training text, that is, the second reasoning results corresponding to some health care demand types are not identified.

[0173] Step S431: Based on the example guidance network, text tensor description mining is performed on the interactive training modified text to obtain a first text tensor set corresponding to the interactive training modified text.

[0174] As an implementation mode, the sample guidance network includes a text tensor description mining component for performing text tensor description mining on the text input into the sample guidance network.

[0175] In an embodiment of the present application, the second noisy modified text is input into a text tensor description mining component, and text tensor description mining is performed on the second noisy modified text based on the text tensor description mining component to obtain a first text tensor set corresponding to the second noisy modified text, wherein the first text tensor set may be a tensor pyramid (refer to the relevant introduction of the aforementioned step S210, i.e., composed of multiple tensors of different scales, and the order of a tensor corresponds to different channels). In other words, the first text tensor set includes s-level first tensor descriptions, 1≤s.

[0176] Step S432: Perform text tensor description mining on the downsampled text based on the sample guidance network to obtain a second text tensor set corresponding to the downsampled text.

[0177] Optionally, the second downsampled text is input into the text tensor description mining component in the sample guidance network, and the second downsampled text is mined based on the text tensor description mining component to obtain a second text tensor set corresponding to the second downsampled text. For example, the second noise-added modified text and the second downsampled text are loaded into the text tensor description mining component in the sample guidance network together or separately, and the first text tensor set corresponding to the first noise-added modified text and the second text tensor set corresponding to the first downsampled text are output together or separately. In other words, the second text tensor set includes the s-level second tensor description.

[0178] Step S433: Adjust and integrate the first text tensor set and the second text tensor set to obtain a first integrated text tensor description.

[0179] Optionally, the sample guidance network also includes a tensor integration component, and the first text tensor set and the second text tensor set are input into the tensor integration component to obtain a first integrated text tensor description. As an implementation method, the first tensor description of the bth level and the second tensor description of the ath level are tensor merged (i.e., concatenated) to obtain a merged tensor description, 2≤a<s, b=a+1; the merged tensor description is subjected to dimensionality reduction processing (e.g., global average pooling) to obtain a reduced-dimensional tensor description corresponding to the merged tensor description; the reduced-dimensional tensor description is filtered (e.g., activated by an activation function, such as a ReLu function) to obtain a filtered tensor description (an activation feature) corresponding to the reduced-dimensional tensor description; the filtered tensor description is subjected to adjustment coefficient mapping (e.g., by using a normalization function, such as an S function to constrain the value between 0 and 1) to obtain the jth integration adjustment coefficient (i.e., the weight information used when fusing two tensors together, such as the weight information when weighted summing tensors); the first tensor description of the bth level and the second tensor description of the ath level are tensor integrated based on the integration adjustment coefficient to obtain a tensor integration result of the bth level; the tensor integration result of the sth level is determined as the first integrated text tensor description.

[0180] Optionally, the above description process only performs tensor integration on the first-level tensor description in the pyramid structure. The tensor description integration method of each level is the same, and the level-by-level tensor integration is performed according to the same idea to obtain an s-level tensor integration result, which is determined as the first integrated text tensor description.

[0181] Step S434: Identify health care needs for the first integrated text tensor description to obtain reference self-annotation information.

[0182] As an implementation method, the first integrated text tensor description is classified and mapped to obtain multiple reference reasoning results corresponding to the first interactive training text, and the reference reasoning results characterize the classification support coefficient of the health care demand type in the first interactive training text (as mentioned above, it can be implemented as a variable expressing possibility such as probability and confidence); obtain a set classification support coefficient; and determine one or more reference reasoning results whose classification support coefficients among the multiple reference reasoning results reach the set classification support coefficient as reference self-annotation information.

[0183] Optionally, the sample guidance network includes a classification mapping component, which is a decoder. The first integrated text tensor description is input into the classification mapping component, and classification mapping is performed based on the classification mapping component, so as to obtain a reference reasoning result corresponding to the first interactive training text. The reference reasoning result of the first interactive training text is used to predict the text paragraphs and classification support coefficients of the health care demand type in the first interactive training text.

[0184] Optionally, when screening multiple reference reasoning results of the first interactive training text, a threshold is set in advance (the classification support coefficient is set), because the reference reasoning results corresponding to the health care demand type in the first interactive training text include coordinate marks and classification support coefficients, wherein the coordinate marks are used to mark the text paragraphs where the health care demand type is located in the first interactive training text, and the classification support coefficient characterizes the corresponding possibility (such as probability or confidence) of the health care demand type. If the classification support coefficient is not less than the set classification support coefficient, the corresponding reference reasoning result (including the coordinate mark) is determined as the reference self-annotation information corresponding to the health care demand type. In other words, the first interactive training text includes reference self-annotation information corresponding to multiple different health care demand types.

[0185] Step S441: Obtain a second cost based on an error between the second inference result and the reference annotation information.

[0186] Optionally, a distance result between the second inference result and the reference annotation information is obtained based on a second cost function and determined as the second cost. The cost function is, for example, a cross entropy cost function.

[0187] The first cost function and the second cost function may be consistent or inconsistent.

[0188] Step S451: Debugging the sample learning network based on the first cost and the second cost to obtain a target demand type mining neural network.

[0189] For example, the second cost and the first cost are integrated, such as adding or weighted summing them, and then debugging the sample learning network, adjusting the network learnable variables of the sample learning network (such as various weights, biases and other parameters), and determining the sample learning network that has completed parameter adjustment as the target demand type mining neural network.

[0190] It should be noted that the above only introduces the first generation of debugging in the requirement type mining neural network debugging. The requirement type mining neural network debugging includes multiple generations of debugging. Each generation of debugging obtains different second interactive training texts and first interactive training texts for debugging. The above only introduces the first generation of debugging.

[0191] Based on the above debugging method, after obtaining the first interactive training text without reference annotation information, the first interactive training text is subjected to text noise addition to obtain the interactive training modified text, and the interactive training modified text is downsampled to obtain the downsampled text, and the interactive training modified text and downsampled text input samples based on different text lengths are used to guide the network to obtain reference self-annotation information, and the reference self-annotation information is used to supervise the debugging sample learning network to obtain the target demand type mining neural network. Then, based on loading texts of different scales, the generated self-annotation information can have a higher accuracy, thereby improving the effect of the target demand type mining neural network.

[0192] In an embodiment of the present application, a first text noise addition process and a second text noise addition process are respectively performed on a first interactive training text to obtain texts with different degrees of noise addition, and a first noisy modified text and a second interactive training modified text obtained by noise addition are respectively subjected to text downsampling process to obtain a first downsampled text corresponding to the first noisy modified text and a second downsampled text corresponding to the second noisy modified text, thereby improving the richness of the execution data of the network in terms of text length.

[0193] In an embodiment of the present application, after mining the text tensor descriptions of the first noisy modified text and the first downsampled text based on a sample guidance network, the first text tensor set corresponding to the first noisy modified text and the tensor descriptions corresponding to the first downsampled text are mined based on the sample guidance network and then adjusted and integrated to generate reference self-annotation information, which can improve the accuracy of the reference self-annotation information based on improving the richness of the tensor range.

[0194] In the embodiment of the present application, the accuracy of tensor generation is increased based on merging the multi-level first tensor description in the first text tensor set and the second tensor description in the second text tensor set by level.

[0195] In the embodiment of the present application, reference self-annotation information is obtained by selecting reference reasoning results obtained by classification mapping of the obtained first integrated text tensor description, which can increase the accuracy of self-annotation information generation.

[0196] As an implementation mode, the example learning network includes a text tensor description mining component. Optionally, step S420 includes steps S421 to S424.

[0197] Step S421: Based on the example learning network, text tensor description mining is performed on the interactive training modified text and the downsampled text respectively to obtain a third text tensor set corresponding to the interactive training modified text and a fourth text tensor set corresponding to the downsampled text.

[0198] In the embodiment of the present application, the first noise modified text and the downsampled text corresponding to the first noise modified text are input into the sample learning network. For example, the first noise modified text and the downsampled text are input into the sample learning network together, or the first noise modified text and the downsampled text are input into the sample learning network in sequence.

[0199] As an implementation method, the sample learning network includes a text tensor description mining component for performing text tensor description mining on the text input into the sample learning network. In the embodiment of the present application, the first noise-modified text is input into the text tensor description mining component, and the text tensor description mining component is used to perform text tensor description mining on the first noise-modified text to obtain a third text tensor set corresponding to the first noise-modified text, wherein the third text tensor set is also a set of pyramid levels.

[0200] In an embodiment of the present application, the downsampled text is input into a text tensor description mining component, and text tensor description mining is performed on the downsampled text based on the text tensor description mining component to obtain a fourth text tensor set corresponding to the downsampled text, and the fourth text tensor set is also a set of pyramid levels.

[0201] Step S422: adjust and integrate the third text tensor set and the fourth text tensor set to obtain a second integrated text tensor description.

[0202] In the embodiment of the present application, the method of hierarchically adjusting and integrating the third text tensor set and the fourth text tensor set can refer to the above-mentioned integration process of the first text tensor set and the second text tensor set, and finally obtain the second integrated text tensor description.

[0203] Step S423: Classify and map the third text tensor set, the fourth text tensor set, and the second integrated text tensor description respectively to obtain the first sub-inference result corresponding to the third text tensor set, the second sub-inference result corresponding to the fourth text tensor set, and the third sub-inference result corresponding to the second integrated text tensor description.

[0204] In the embodiment of the present application, the sample learning network also includes a classification mapping component. Unlike the sample guidance network, the third text tensor set, the fourth text tensor set, and the second integrated text tensor description are respectively input into the classification mapping component for classification mapping to obtain the first sub-inference result of the third text tensor set corresponding to the first interactive training text, the second sub-inference result of the fourth text tensor set corresponding to the first interactive training text, and the third sub-inference result corresponding to the second integrated text tensor description. The first sub-inference result, the second sub-inference result, and the third sub-inference result may be the same or different.

[0205] Step S424: Determine the first sub-inference result, the second sub-inference result, and the third sub-inference result as the first inference result.

[0206] In the embodiment of the present application, the first sub-inference result, the second sub-inference result and the third sub-inference result are determined as three sub-inference results of the first reasoning result.

[0207] Step S440: Determine a first cost based on an error between the first inference result and the reference self-annotation information.

[0208] As an implementation method, a first sub-cost is obtained based on an error between reference self-annotation information and a first sub-inference result; a second sub-cost is obtained based on an error between reference self-annotation information and a second sub-inference result; a third sub-cost is obtained based on an error between reference self-annotation information and a third sub-inference result; and the sum of the first sub-cost, the second sub-cost and the third sub-cost is determined as the first cost.

[0209] In an embodiment of the present application, after the first sub-inference result, the second sub-inference result and the third sub-inference result corresponding to the first interactive training text are obtained based on the example learning network, the sub-costs corresponding to the first sub-inference result, the second sub-inference result and the third sub-inference result are obtained based on the reference self-annotation information of the first interactive training text obtained by the example guidance network.

[0210] In the embodiment of the present application, the spatial distance (such as Euclidean distance) between the first sub-inference result and the reference self-annotation information is obtained based on a preset cost function to obtain the first sub-cost. In the embodiment of the present application, because the text length of the downsampled text of the second noise-modified text corresponding to the second sub-inference result is small, the reference self-annotation information is downsampled to obtain downsampled annotation information with the same text length as the downsampled text, and the distance between the second sub-inference result and the downsampled annotation information is obtained based on the preset cost function as the second sub-cost. In other words, the reference self-annotation information is downsampled to obtain the downsampled annotation information, and the text length corresponding to the downsampled annotation information corresponds to the text length corresponding to the second sub-inference result; the second sub-cost is obtained based on the error between the downsampled annotation information and the second sub-inference result.

[0211] In this embodiment of the present application, a spatial distance between the third sub-inference result and the reference self-annotation information is obtained based on a preset cost function to obtain a third sub-cost.

[0212] In the embodiment of the present application, after obtaining the first sub-cost, the second sub-cost and the third sub-cost, the first sub-cost, the second sub-cost and the third sub-cost are summed, and the sum result is determined as the first cost.

[0213] In general, the demand type mining neural network provided by the embodiment of the present application, during debugging, obtains the first interactive training text without reference annotation information, performs text noise addition on the first interactive training text to obtain the interactive training modified text, and downsamples the interactive training modified text to obtain the downsampled text, and uses interactive training modified text and downsampled text input samples of different text lengths to guide the network to obtain reference self-annotation information, and supervises the debugging sample learning network based on the reference self-annotation information to obtain the target demand type mining neural network. Based on the loaded text of various scales, the generated self-annotation information can have higher accuracy to increase the accuracy of the target demand type mining neural network.

[0214] In the embodiment of the present application, health care needs are identified by interactive training modified text and downsampled text based on a sample learning network, and the first reasoning result obtained has higher accuracy.

[0215] In an embodiment of the present application, after obtaining the second integrated text tensor description, the third text tensor set, the fourth text tensor set and the second integrated text tensor description are classified and mapped based on the sample learning network, and the first cost finally obtained has respective sub-costs under different text lengths, and the first cost has higher accuracy.

[0216] Please refer to Figure 3 , the embodiment of the present application also provides a health care service demand mining device 300A. The above-mentioned health care service demand mining device can be a computer program (including program code) running in a network device. For example, the health care service demand mining device is an application software; the device can be used to execute the corresponding steps in the method provided in the embodiment of the present application. The health care service demand mining device may include: a text acquisition module 310, a demand initial judgment module 320, and a demand classification module 330. Among them, the text acquisition module 310 and the demand initial judgment module 320 are deployed on the client terminal, and the demand classification module 330 is deployed on the cloud platform.

[0217] Among them, the text acquisition module 310 is used to obtain health care interaction text;

[0218] The demand initial judgment module 320 is used to input the health care interaction text into the terminal preprocessing neural network, and process the x text tensor descriptions corresponding to the health care interaction text according to the terminal preprocessing neural network to obtain the inference result of whether the health care interaction text has the target health care demand; wherein, the x text tensor descriptions are obtained by feature mining of the health care interaction text, and the terminal preprocessing neural network is used to perform block feature extraction processing on the x text tensor descriptions, and perform classification operation on the block feature extraction results, x≥1;

[0219] The demand classification module 330 is used to input the health care interaction text into a target demand type mining neural network if the reasoning result indicates that the health care interaction text contains a target health care demand, classify and predict the target health care demand in the health care interaction text based on the target demand type mining neural network, and output the demand classification result corresponding to the target health care demand.

[0220] According to one embodiment of the present application, Figure 2 The steps involved in the method for mining health care service needs based on text analysis can be executed by the various modules in the device for mining health care service needs shown above.

[0221] According to one embodiment of the present application, each module in the health care service demand mining device can be separately or completely combined into one or several units to constitute, or one (some) of the units can be further divided into at least two functionally smaller sub-units, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above modules are divided based on logical functions. In actual applications, the functions of one module can also be implemented by at least two units, or the functions of at least two modules can be implemented by one unit. In other embodiments of the present application, the health care service demand mining device may also include other units. In actual applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of at least two units.

[0222] According to one embodiment of the present application, the program can be executed by running on a general-purpose computer device such as a computer including a central processing unit (CPU), a random access memory medium (RAM), a read-only memory medium (ROM), and other processing components and storage components. Figure 2 The computer program (including program code) of each step involved in the corresponding method shown in the embodiment of the present application is implemented by a method for mining health care service needs based on text analysis. The above computer program can be recorded on, for example, a computer-readable recording medium, and loaded into the above computing device through the computer-readable recording medium, and run therein.

[0223] See also Figure 4, is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. The computer device can be implemented as a client terminal or a cloud platform, such as Figure 4 As shown, the above-mentioned computer device 1000 may include: a processor 1001, a network interface 1004 and a memory 1005. In addition, the above-mentioned computer device 1000 may also include: a user interface 1003, and at least one communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. Among them, in the client terminal, the user interface 1003 may also include a display screen (Display) and a keyboard (Keyboard). Optionally, the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1005 may optionally also be at least one storage device away from the aforementioned processor 1001. As Figure 4 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.

[0224] exist Figure 4 In the computer device 1000 shown, the network interface 1004 can provide a network communication function; the user interface 1003 is mainly used to provide an input interface; and the processor 1001 can be used to call the device control application stored in the memory 1005 to implement the method provided in the above embodiment.

[0225] It should be understood that the computer device 1000 described in the embodiment of the present application can execute the above Figure 2 The description of the method for mining health care service needs based on text analysis in the corresponding embodiment can also be performed by the description of the device for mining health care service needs in the previous embodiment, which will not be repeated here. In addition, the description of the beneficial effects of using the same method will not be repeated.

[0226] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the health care service demand mining device mentioned above, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the above Figure 2The description of the above-mentioned method for mining health care service needs based on text analysis in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application. As an example, the above-mentioned program instructions are deployed and executed on two computer devices (client terminal and cloud platform). The target demand type mining neural network deployed on the cloud platform can be executed on the cloud platform during the network debugging link, and the specific debugging location is not limited. For example, like the terminal preprocessing neural network, debugging is implemented on other computer devices.

[0227] The computer-readable storage medium may be the health care service demand mining device provided in any of the aforementioned embodiments or the central storage unit of the computer device, such as a hard disk or a memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device. Furthermore, the computer-readable storage medium may also include both the central storage unit of the computer device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0228] The terms "first", "second", etc. in the description, claims, and drawings of the embodiments of the present application are used to distinguish different contents, rather than to describe a specific order. In addition, the term "comprising" and any variation thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product, or equipment comprising a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules that are not listed, or may optionally include other step units inherent to these processes, methods, devices, products, or equipment.

[0229] The present application also provides a computer program product, including a computer program / instruction, which implements the above-mentioned Figure 2 The description of the above-mentioned method for mining health care service needs based on text analysis in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the embodiments of the computer program product involved in this application, please refer to the description of the method embodiment of this application.

Claims

1. A method for mining health care service needs based on text analysis. It is characterized in that include: Get health care interactive text; The health care interaction text is input into the terminal preprocessing neural network, and the x text tensor descriptions corresponding to the health care interaction text are processed according to the terminal preprocessing neural network to obtain an inference result of whether the health care interaction text has a target health care demand; wherein the x text tensor descriptions are obtained by feature mining the health care interaction text, and the terminal preprocessing neural network is used to perform block feature extraction processing on the x text tensor descriptions, and perform classification operations on the block feature extraction results, x≥1; If the inference result indicates that the health care interaction text contains a target health care demand, the health care interaction text is input into a target demand type mining neural network, and the target health care demand in the health care interaction text is classified and predicted according to the target demand type mining neural network, and a demand classification result corresponding to the target health care demand is output; The step of inputting the health care interaction text into the terminal preprocessing neural network, processing the x text tensor descriptions corresponding to the health care interaction text according to the terminal preprocessing neural network, and obtaining an inference result of whether the health care interaction text contains a target health care demand includes: Inputting the health care interaction text into the feature mining component in the terminal preprocessing neural network, performing feature mining on the health care interaction text according to the feature mining component, and obtaining x text tensor descriptions; Inputting the x text tensor descriptions into a block integration component in the terminal preprocessing neural network, dividing the x text tensor descriptions into u blocks according to the block integration component, each block having at least one text tensor description, and performing an integration operation on each text tensor description in the u blocks to obtain y integrated text tensor descriptions, wherein 1≤u≤x, 1≤y; Merging the y integrated text tensor descriptions to obtain a merged tensor description; Inputting the combined tensor description into a classification component in the terminal preprocessing neural network, performing a classification operation on the combined tensor description according to the classification component, and obtaining an inference result of whether the health care interaction text contains a target health care demand; The step of inputting the x text tensor descriptions into the block integration component in the terminal preprocessing neural network, dividing the x text tensor descriptions into u blocks according to the block integration component, and integrating each text tensor description in the u blocks to obtain y integrated text tensor descriptions includes: Divide the x text tensor descriptions into u blocks, perform feature extraction on each text tensor description in the u blocks, and obtain u blocks of refined text tensor descriptions; Performing a tensor description combination operation on the refined text tensor descriptions corresponding to different blocks in the u-block refined text tensor description to obtain a u-block combined tensor description; Performing a tensor description addition operation on the refined text tensor descriptions corresponding to different blocks in the u blocks of refined text tensor descriptions to obtain u added tensor descriptions; Performing a channel-by-channel feature extraction operation on the u block combined tensor descriptions and the u added tensor descriptions to obtain v channel-by-channel extracted text tensor descriptions, where 1≤u≤v; Projecting the u-block combined tensor description to obtain a u-block projected tensor description; Merging the v channel-by-channel refined text tensor descriptions with the u block projection tensor descriptions to obtain y integrated text tensor descriptions; Alternatively, the x text tensor descriptions are input into the block integration component in the terminal preprocessing neural network, the x text tensor descriptions are divided into u blocks according to the block integration component, and each text tensor description in the u blocks is integrated to obtain y integrated text tensor descriptions, including: Input the x text tensor descriptions into the first block integration branch component in the block integration component, divide the x text tensor descriptions into u blocks according to the first block integration branch component, perform a tensor description integration operation on each text tensor description in the u blocks, and obtain 2ui+i first integrated text tensor descriptions, wherein i is the number of refined text tensor descriptions obtained by performing a feature extraction operation on each text tensor description, and 1≤i; Input the 2ui+i first integrated text tensor descriptions into the second block integration branch component in the block integration component, divide the 2ui+i first integrated text tensor descriptions into u blocks according to the second block integration branch component, perform a tensor description integration operation on each first integrated text tensor description in the u blocks, and obtain y integrated text tensor descriptions, wherein the number of y is 2uj+j, j is the number of refined text tensor descriptions obtained by performing a feature refinement operation on each first integrated text tensor description, and 1≤j; The y integrated text tensor descriptions are merged to obtain a merged tensor description, including: Performing a downsampling operation on the y integrated text tensor descriptions to obtain y reduced-dimensional tensor descriptions corresponding to the y integrated text tensor descriptions; Merging the y dimensionality-reduced tensor descriptions into a combined tensor description; The method further comprises: Acquire a positive training text and a negative training text, wherein the positive training text is matched with a positive training annotation, the negative training text is matched with a negative training annotation, the positive training text contains the target health care demand, and the negative training text does not contain the target health care demand; The active training text is input into the terminal preprocessing neural network, and the x active text tensor descriptions corresponding to the active training text are processed according to the terminal preprocessing neural network to obtain a first inference result of whether the active training text has a target health care demand, wherein the x active text tensor descriptions are obtained by feature mining the active training text, and the terminal preprocessing neural network is used to perform block feature extraction processing on the x active text tensor descriptions, and perform classification operations on the block feature extraction results; The negative training text is input into the terminal preprocessing neural network, and the x negative text tensor descriptions corresponding to the negative training text are processed according to the terminal preprocessing neural network to obtain a second inference result of whether the negative training text has a target health care demand, wherein the x negative text tensor descriptions are obtained by feature mining the negative training text, and the terminal preprocessing neural network is used to perform block feature extraction processing on the x negative text tensor descriptions, and perform classification operations on the block feature extraction results; An objective function is obtained according to the positive training annotation, the first reasoning result, the negative training annotation and the second reasoning result, and a network learnable variable of the terminal preprocessing neural network is optimized according to the objective function.

2. According to the method for mining health care service needs based on text analysis according to claim 1, It is characterized in that The method also includes a debugging process of the target requirement type mining neural network, including: Acquire a first interactive training text, wherein the first interactive training text corresponds to an interactive training modified text and a downsampled text, wherein the interactive training modified text is a text obtained by text modification of the first interactive training text, and the downsampled text is a text obtained by downsampling the interactive training modified text; Based on the example learning network, the first interactive training text is used to identify health care needs, and a first reasoning result representing the type of health care needs in the first interactive training text is obtained; Based on the example guidance network, health care needs are identified for the interactive training modified text and the first integrated text tensor description of the downsampled text to obtain reference self-annotation information; Determining a first cost based on an error between the first inference result and the reference self-annotation information; The example learning network is debugged based on the first cost to obtain the target demand type mining neural network.

3. According to the method for mining health care service needs based on text analysis according to claim 2, It is characterized in that The example-based guidance network performs health care demand identification on the interactive training modified text and the first integrated text tensor description of the downsampled text to obtain reference self-annotation information, including: Performing text tensor description mining on the interactive training modified text based on the sample guidance network to obtain a first text tensor set corresponding to the interactive training modified text; Performing text tensor description mining on the downsampled text based on the sample guidance network to obtain a second text tensor set corresponding to the downsampled text; Adjusting and integrating the first text tensor set and the second text tensor set to obtain the first integrated text tensor description; Performing health care demand identification on the first integrated text tensor description to obtain the reference self-annotation information; The step of adjusting and integrating the first text tensor set and the second text tensor set to obtain the first integrated text tensor description includes: Performing tensor merging on the b-th level first tensor description and the a-th level second tensor description to obtain a merged tensor description, wherein the first text tensor set includes the s-th level first tensor description, and the second text tensor set includes the s-th level second tensor description, 2≤a<s, b=a+1; Performing dimensionality reduction processing on the combined tensor description to obtain a dimensionality reduction tensor description corresponding to the combined tensor description; Filtering the reduced-dimensionality tensor description to obtain a filtered tensor description corresponding to the reduced-dimensionality tensor description; Performing adjustment coefficient mapping on the screening tensor description to obtain the bth integrated adjustment coefficient; Based on the integration adjustment coefficient, the first tensor description of the bth level and the second tensor description of the ath level are tensor-integrated to obtain a tensor integration result of the bth level; Determine the s-level tensor integration result as the first integrated text tensor description; The step of identifying health care needs on the first integrated text tensor description to obtain the reference self-annotation information includes: Performing classification mapping on the first integrated text tensor description to obtain a plurality of reference reasoning results corresponding to the first interactive training text, wherein the reference reasoning results represent classification support coefficients of health care demand types in the first interactive training text; Get the support coefficient of the set classification; One or more reference reasoning results whose classification support coefficients reach the set classification support coefficients among the multiple reference reasoning results are determined as the reference self-annotation information.

4. The method for mining health care service demand based on text analysis according to claim 2 or 3, It is characterized in that The performing health care demand identification on the interactive training modified text and the downsampled text based on the example learning network respectively to obtain a first reasoning result characterizing the health care demand type in the first interactive training text includes: Based on the example learning network, the interactive training modified text and the downsampled text are respectively mined by text tensor description to obtain a third text tensor set corresponding to the interactive training modified text, and a fourth text tensor set corresponding to the downsampled text; Adjusting and integrating the third text tensor set and the fourth text tensor set to obtain a second integrated text tensor description; Classify and map the third text tensor set, the fourth text tensor set, and the second integrated text tensor description respectively to obtain a first sub-inference result corresponding to the third text tensor set, a second sub-inference result corresponding to the fourth text tensor set, and a third sub-inference result corresponding to the second integrated text tensor description; The first sub-inference result, the second sub-inference result, and the third sub-inference result are determined as the first inference result.

5. The method according to claim 4, It is characterized in that The determining a first cost based on an error between the first inference result and the reference self-annotation information includes: Obtaining a first sub-cost based on an error between the reference self-annotation information and the first sub-inference result; Obtaining a second sub-cost based on an error between the reference self-annotation information and the second sub-inference result; Obtaining a third sub-cost based on an error between the reference self-annotation information and the third sub-inference result; A sum of the first sub-cost, the second sub-cost, and the third sub-cost is determined as the first cost.

6. A health care service demand mining system, It is characterized in that It includes a cloud platform and at least one client terminal communicatively connected to the cloud platform, wherein the client terminal is used to deploy a terminal preprocessing neural network as described in any one of claims 1 to 5, and is used to process x text tensor descriptions corresponding to the health and wellness interaction text according to the terminal preprocessing neural network to obtain an inference result of whether the health and wellness interaction text contains a target health and wellness demand; the cloud platform is used to deploy a target demand type mining neural network as described in any one of claims 1 to 5, and is used to classify and predict the target health and wellness demand in the health and wellness interaction text, and output a demand classification result corresponding to the target health and wellness demand.