Psychological data labeling system based on psychological counseling model

Through the data labeling system based on the psychological counseling model, the user's psychological state in various data forms is collected and analyzed, and the psychological counseling model is constructed, which solves the problems of low efficiency and inconsistent effects of psychological counseling in the existing technology, and realizes fast and efficient psychological counseling. Status recognition and grooming.

CN112086168BActive Publication Date: 2024-10-18BEIJING MIND POWER TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010990497.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-19
Publication Date
2024-10-18
Estimated Expiration
2040-09-19

AI Technical Summary

Technical Problem

Existing psychological counseling methods are inefficient and rely heavily on the experience of practitioners, resulting in uneven counseling effects and a lack of data-based prior distribution impact analysis.

Method used

Design a data labeling system based on the psychological counseling model, including psychological counseling data collection, state detection database construction, feature extraction and model training. It collects and analyzes the user's psychological state through various data forms, builds a psychological counseling model, and achieves fast and efficient Identification and guidance of psychological states.

Benefits of technology

It improves the efficiency and consistency of the psychological counseling process, reduces dependence on professional experience, and enables rapid identification of users' psychological states and timely guidance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112086168B_ABST
    Figure CN112086168B_ABST
Patent Text Reader

Abstract

The present invention proposes a psychological data labeling system based on a psychological counseling model. The system includes a psychological counseling data collection subsystem, a psychological state detection database construction subsystem, a psychological state feature extraction subsystem, a psychological counseling model training data construction subsystem, and a psychological counseling model construction subsystem. The psychological counseling data collection subsystem is used to collect individual psychological data from multiple aspects. The psychological state detection database construction subsystem constructs a psychological state detection database based on the individual psychological data collected by the psychological counseling data collection subsystem; the psychological state feature extraction subsystem extracts the user's psychological state features based on the data in the psychological state database; the psychological counseling model training data construction subsystem converts the user's psychological state detection results into a label form, and obtains the psychological counseling model training data based on the psychological counseling data text, the user's psychological state detection result label, and the psychological state label.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of psychological data processing, and in particular relates to a psychological data labeling system implemented based on a psychological counseling model. Background Art

[0002] With the development of social economy and the improvement of human living standards, people's demand for health is also increasing. The concept of health has transcended the era of "disease-free" and has entered an era of physical and mental health and high-quality life. Modern people's material life is relatively comfortable, but with the accelerated pace of life, people's mental and psychological pressures are gradually increasing. Mental health issues are increasingly becoming the main health topic of modern people's health. Maintaining mental health depends largely on timely psychological counseling and emotional release. The extraction method lacks a theoretical basis and ignores the impact of the prior distribution of categories in the data on feature value extraction.

[0003] In the prior art, the most common psychological counseling program is for psychologists or related practitioners to conduct psychological tests, emotional assessments, etc., and communicate with the testees to obtain the testees' psychological aspects. Based on the information obtained, they provide counseling or treatment to the testees according to their own work experience or medical information.

[0004] For example, the Chinese invention patent application with application number CN201810043524 proposes a comprehensive social adaptability assessment method and device, which includes: pre-establishing a psychological counseling model, a character development model, and a rehabilitation training model corresponding to a variety of comprehensive social adaptability; obtaining the psychological information, intelligence information, cognitive information, and basic information including age groups of the assessed object; then based on the pre-saved psychological assessment model, intelligence assessment model, and cognitive assessment model, respectively assessing the psychological state, intelligence level, and cognitive level of the assessed object; then based on the pre-saved social adaptability assessment model, the age group, the psychological state, the intelligence level, and the cognitive level, matching the comprehensive social adaptability of the assessed object. Through this method, a more accurate assessment of social adaptability can be made, which is convenient for people to understand themselves more clearly, and further targeted solutions can be formulated for the deficiencies in their social adaptability.

[0005] However, the inventors found that this process is often inefficient and heavily dependent on the work experience, breadth of expertise, and affinity of the relevant practitioners, resulting in mixed results in psychological counseling. Summary of the invention

[0006] In order to solve the above technical problems, the present invention proposes a psychological data labeling system based on a psychological counseling model. The system includes a psychological counseling data collection subsystem, a psychological state detection database construction subsystem, a psychological state feature extraction subsystem, a psychological counseling model training data construction subsystem, and a psychological counseling model construction subsystem. The psychological counseling data collection subsystem is used to collect individual psychological data from multiple aspects. The psychological state detection database construction subsystem builds a psychological state detection database based on the individual psychological data collected by the psychological counseling data collection subsystem; the psychological state feature extraction subsystem extracts the user's psychological state characteristics based on the data in the psychological state detection database; the psychological counseling model training data construction subsystem converts the user's psychological state detection results into a label form, and obtains the psychological counseling model training data based on the psychological counseling data text, the user's psychological state detection result label, and the psychological state label.

[0007] The technical solution of the present invention evaluates the user's current psychological state by analyzing the user's psychological state information within a unit of time, analyzes the user's current real psychological state, and performs psychological counseling on the user based on a psychological state counseling model according to the user's current real psychological state. The present invention can quickly and efficiently identify the user's psychological state, and perform psychological counseling on the user in a timely manner through the psychological counseling model, so as to solve the problems of long time consumption, low efficiency, and heavy reliance on relevant professional experience in the traditional psychological counseling process.

[0008] Specifically, in the first aspect of the present invention, a psychological data labeling system based on a psychological counseling model is provided.

[0009] The system includes a psychological counseling data collection subsystem, a psychological state detection database construction subsystem, a psychological state feature extraction subsystem, a psychological counseling model training data construction subsystem, and a psychological counseling model construction subsystem.

[0010] As the first advantage of the present invention, the psychological counseling data collection subsystem is used to collect individual psychological data from multiple aspects, and the multiple aspects of collecting individual psychological data include collecting individual professional psychological test data, collecting individual historical psychological data in voice form, text form, picture form and video form, and collecting new individual historical psychological data;

[0011] As a key technical means to achieve the above advantages, the user's current psychological state is evaluated by analyzing the user's psychological state information per unit time, the user's current real psychological state is analyzed, and psychological counseling is performed on the user based on the psychological state counseling model according to the user's current real psychological state. The present invention can quickly and efficiently identify the user's psychological state, and the psychological counseling model can provide psychological counseling to the user in a timely manner.

[0012] More specifically, the data collection includes: collecting the user's professional psychological test data, individual historical psychological data in voice, text, picture and video forms, and new individual historical psychological data; psychological counseling text and audio data collection;

[0013] The psychological state detection database construction subsystem constructs a psychological state detection database based on the individual psychological data collected by the psychological counseling data collection subsystem;

[0014] More specifically, a psychological state detection database is constructed based on the aforementioned collected user's professional psychological test data, individual historical psychological data in voice, text, picture and video forms, and new individual historical psychological data;

[0015] The psychological state feature extraction subsystem extracts the psychological state features of the user based on the data in the psychological state detection database;

[0016] More specifically, a psychological state detection database is constructed based on the aforementioned collected user's professional psychological test data, individual historical psychological data in voice, text, picture and video forms, and new individual historical psychological data;

[0017] The psychological counseling model training data construction subsystem uses the optimal psychological state detection model obtained by evaluating and optimizing the pre-established psychological state detection model to obtain the user's psychological state detection result, and constructs the psychological counseling model training data in combination with the psychological counseling text or audio data;

[0018] The psychological counseling model construction subsystem is trained to obtain a psychological counseling model according to the psychological counseling model training data.

[0019] Furthermore, the system also includes a psychological state threshold adjustment subsystem and a psychological counseling result output subsystem;

[0020] The psychological state threshold adjustment subsystem is used to adjust the psychological state threshold of the psychological data labeling system, and the psychological counseling result output subsystem is used to output the psychological counseling results. The output of the psychological counseling results is divided into two parts: psychological state judgment and suggestion output and psychological counseling generation result output.

[0021] The psychological counseling model construction subsystem is used to train the psychological counseling model according to the psychological counseling model training data, and specifically includes the following steps:

[0022] S201 Data preprocessing: Obtaining the feature vector of the user's psychological state detection result label One-hot feature vector of mental state label Semantic vector of psychological counseling data text The feature vector and the eigenvector Uniformly embedded into semantic vectors In this way, each feature of the semantic vector can enjoy the same label weighted final vector as the input data for model training;

[0023] S202 psychological counseling model training: using the seq2seq (end-to-end) framework, the entire network or training process is divided into two parts: encoder (encoding) and decoder (decoding);

[0024] S203 Model evaluation: The prediction results generated by S202 are converted into text form to evaluate the quality of the psychological counseling model;

[0025] S204 evaluates whether it meets expectations: evaluates whether the psychological counseling model meets expectations. If it does not meet expectations, optimize and adjust the model and then re-execute S202 and S203; iterates the model continuously until the optimal model that meets the expectations is obtained; and finally outputs the expected results;

[0026] S205: Generate psychological counseling results: process the optimal results of S204 to generate psychological counseling results that meet the expected format; convert the final prediction results into text form. The psychological counseling result generation output specifically includes the following steps:

[0027] S301 Text input: obtaining user input data in text form;

[0028] S302 Voice input: obtaining input data in the form of user voice;

[0029] S303 Speech recognition: If the input data is in speech form, it needs to be converted into text form through speech recognition;

[0030] S304 Psychological counseling model: after obtaining the final input data in text form; importing the data into the psychological counseling model to generate psychological counseling results;

[0031] S305 Psychological counseling text result: The psychological counseling result obtained through S304 is directly output as a psychological counseling result in text form;

[0032] S306 Speech Synthesis: Use speech data with expected psychological counseling or treatment effects to train a proprietary speech synthesis system model; extract the timbre, sound intensity, and speech speed features in the speech data, and add these features to the speech synthesis process;

[0033] S307 Psychological counseling speech result: outputting the speech synthesis result in S306;

[0034] S308 Psychological counseling result output: There are two output modes: manual and automatic;

[0035] In manual mode, the user can choose between voice output and text output according to his / her will; in automatic mode, the system automatically determines whether voice output is required.

[0036] The above method of the present invention can be implemented by automated programming in the form of computer program instructions. Therefore, the present invention also provides a computer-readable storage medium on which computer executable program instructions are stored, and the executable instructions are executed based on a processor and a memory to implement the attribute prediction method based on biased features.

[0037] As a prominent advantage of the present invention, the new individual historical psychological data collection of the psychological counseling data collection subsystem includes psychology-related voice, text, picture, and video data released by the individual within a unit time, or historical data released by the user himself on social networking sites and media within a predetermined time period.

[0038] The psychological counseling model training data construction subsystem converts the user's psychological state detection results into a label form, and obtains the psychological counseling model training data based on the psychological counseling data text, the user's psychological state detection result label, and the psychological state label.

[0039] Further advantages of the present invention will be further reflected in detail in the specific embodiments section in conjunction with the drawings of the specification. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0041] Figure 1 This is a main structure diagram of a psychological data labeling system based on a psychological counseling model according to an embodiment of the present invention.

[0042] Figure 2 yes Figure 1 Data processing flow chart of the system

[0043] Figure 3-Figure 4 is to use Figure 1 Schematic diagram of different embodiments of the system outputting psychological counseling results DETAILED DESCRIPTION

[0044] The invention is further described below in conjunction with the accompanying drawings and specific implementation methods.

[0045] First of all, it should be pointed out that in order to facilitate those skilled in the art to understand the data processing principle of the present application, the embodiments introduced here are introduced in the form of method steps. However, these method steps are all implemented through corresponding computer modules or subsystems when they are specifically executed. For example, the "S101 data collection" mentioned in the following embodiments is executed by the "psychological counseling data collection subsystem" described in the present invention, and the "S102 construction of psychological state detection database" is executed by the "psychological state detection database construction subsystem" described in the present invention.

[0046] The protection scope of the present invention shall be based on the product claims (system device claims) actually defined in the claims. The present invention does not seek to protect the corresponding method claims (because it may violate the provisions of Article 25 of the Patent Law).

[0047] Therefore, each embodiment of the present invention describes the principles of the present invention in the form of method steps, which does not affect the implementation of the corresponding product claims (system device claims) by those skilled in the art.

[0048] Specifically, see Figure 1 , a main architecture diagram of a psychological data labeling system based on a psychological counseling model according to an embodiment of the present invention.

[0049] exist Figure 1 The system includes a psychological counseling data collection subsystem, a psychological state detection database construction subsystem, a psychological state feature extraction subsystem, a psychological counseling model training data construction subsystem, and a psychological counseling model construction subsystem.

[0050] The psychological counseling data collection subsystem is used to collect individual psychological data from multiple aspects, and the multiple aspects of collecting individual psychological data include individual professional psychological test data collection, individual historical psychological data collection in voice form, text form, picture form and video form, and new individual historical psychological data collection;

[0051] The psychological state detection database construction subsystem constructs a psychological state detection database based on the individual psychological data collected by the psychological counseling data collection subsystem;

[0052] The psychological state feature extraction subsystem extracts the psychological state features of the user based on the data in the psychological state detection database;

[0053] The psychological counseling model training data construction subsystem uses the optimal psychological state detection model obtained by evaluating and optimizing the pre-established psychological state detection model to obtain the user's psychological state detection result, and constructs the psychological counseling model training data in combination with the psychological counseling text or audio data;

[0054] The psychological counseling model construction subsystem is trained to obtain a psychological counseling model according to the psychological counseling model training data.

[0055] The system also includes a psychological state threshold adjustment subsystem and a psychological counseling result output subsystem;

[0056] The psychological state threshold adjustment subsystem is used to adjust the psychological state threshold of the psychological data labeling system, and the psychological counseling result output subsystem is used to output the psychological counseling results. The output of the psychological counseling results is divided into two parts: psychological state judgment and suggestion output and psychological counseling generation result output.

[0057] Correspondingly, Figure 1 The basic implementation of the system can be expressed as Figure 2 The following method steps are described:

[0058] S101 Data collection: collecting users' professional psychological test data, individual historical psychological data in voice, text, picture and video forms, and new individual historical psychological data; psychological counseling text and audio data collection;

[0059] This step includes but is not limited to collecting data from at least the following aspects:

[0060] Collection of individual professional psychological test data: The collection of individual professional psychological test information includes but is not limited to obtaining highly credible relevant psychological test data from professional institutions; the professional institutions are but are not limited to professional psychotherapy institutions, professional psychotherapy websites, professional psychological research institutions, etc.; the relevant psychological test data include but are not limited to individual professional psychological test forms and their test results, as well as the corresponding test data source time, personal information, evaluation results, countermeasures and suggestions, etc.

[0061] Collection of individual historical psychological data in the form of voice, text, pictures and videos: Collection of individual historical psychological data in the form of voice, text, pictures and videos includes but is not limited to data obtained from users' historical data and data published by users themselves on social media; such as: historical psychological data related to psychology in social media such as WeChat, Weibo, QQ, Douyin, Kuaishou, etc. The data obtained are psychological data in the form of voice, text, pictures, videos, etc. published by users in the past.

[0062] Collection of historical psychological data of new individuals: The historical information of new individuals is collected from the psychologically-related voice, text, picture, video and other forms of data released by the new individuals in a unit of time. It can be the data released by the users themselves on social networking sites and media, such as WeChat, Weibo, QQ, Douyin, Kuaishou and other social media psychologically-related historical data.

[0063] Psychological counseling data collection: Collect psychological counseling data in the form of text and audio; psychological counseling data can come from professional psychological counseling, treatment data, the Internet, social media, etc.;

[0064] S102: constructing a psychological state detection database: constructing a psychological state detection database according to the user's professional psychological test data, individual historical psychological data in voice, text, picture and video forms, and new individual historical psychological data collected in S101;

[0065] The mental state detection database also includes an emotional vocabulary database, which includes data information such as emotional words, emotional polarity, emotional categories, emotional intensity, part of speech, word meaning number, etc. In the emotional category, emotions can be divided into emotional categories such as joy, anger, sadness, thinking, fear, etc., and then each emotional intensity can be divided into several emotional intensity levels such as 1, 2, 3, 4, etc.;

[0066] S103 Psychological state feature extraction: constructing a psychological state detection database based on the user's professional psychological test data collected in S101, individual historical psychological data in voice, text, picture and video forms, and new individual historical psychological data;

[0067] Emotional information features: including the user's emotion category, emotion polarity, emotion intensity and other emotional feature information;

[0068] Physiological information characteristics: including weight, body shape, appetite, blood pressure and other physiological characteristics information;

[0069] Emotional information characteristics: including emotional characteristic information such as irritability, anxiety, anger, joy, anger, sadness, etc.

[0070] Image information features: including image feature information such as brightness changes, color saturation, etc.

[0071] Audio information features: including audio feature information such as tone changes and sound intensity;

[0072] Behavioral information characteristics: including behavioral characteristics such as actions and styles of dealing with things, such as eating very little and being afraid of meeting people;

[0073] S104 calls a pre-established psychological state detection model: based on the psychological state feature data such as emotional information features, physiological information features, emotional information features, image information features, audio information features, and behavioral information features extracted in S103, calls a preset psychological state detection model to detect the user's psychological state;

[0074] S105: construct psychological counseling model training data: construct psychological counseling model training data according to the user psychological state detection result of S104 and the psychological counseling text or audio data;

[0075] For example, the user's psychological state can be quantified into several categories such as interpersonal sensitivity, depression, anxiety, etc., health index, or comprehensive psychological state representation and other psychological state description indicators;

[0076] Quantify several psychological state categories such as interpersonal sensitivity, depression, anxiety, etc.; call the pre-stored psychological state detection database, and quantify the classification indicators according to the user's psychological state diagnosis results and other high-quality and reliable diagnostic data; then automatically annotate the data according to the quantified indicators according to the user's psychological state diagnosis results and other high-quality and reliable diagnostic data, which can greatly reduce the labor cost and resource loss; of course, professional annotators can also be used for manual annotation; then extract features according to the annotation results of the previous step; then execute the training of the psychological state detection model; then evaluate and optimize the model according to the training results; finally retain the optimal psychological state detection model to ensure the accuracy of the final psychological state detection model;

[0077] Convert the user's psychological state detection result of S104 into a label form;

[0078] Psychological counseling data include high-quality conversations, questions and answers, communication data between users and professional mental health practitioners; professional psychological counseling, treatment data; high-quality comfort, encouragement, counseling and other data on the Internet, social media and other channels; the obtained psychological counseling data is sorted and formatted, such as unified storage format, unified naming format, audio data to text (that is, converting audio data into text through voice recognition, and recording the tone, sound volume and other data of the audio data); then the unified text is cleaned, and special characters and punctuation are unified, duplicates are removed, and non-psychological counseling related data (such as simple complaints, negative resonance, etc.) are removed to clean the data; then the final cleaned text is converted into dialogue pairs (which can be single-round or multi-round dialogue pairs).

[0079] The user's final input (in text form) is quantified into several reasonable levels, such as 0, 1, 2, 3, etc. Each level represents the tendency of different psychological states; the text data can be annotated in advance to improve the accuracy and reliability of the model; for example, "I feel very calm today, and everything feels normal..." can be marked as level 0; "I feel a little bored and don't know what to do..." can be marked as level 1, etc.; after the annotation is completed, the training data can be fed into our psychological state level prediction model for training, and then evaluated and optimized according to the training results (here, evaluation methods such as accuracy, precision, recall rate, F1 score, etc. can be used for evaluation), and finally the optimal psychological state level prediction model is used to predict the user's input (in text form), and the predicted label is used as the label feature of the psychological counseling model training data;

[0080] Finally, the psychological counseling data text, the user psychological state detection result label of S104, and the psychological state label are combined to form the psychological counseling model training data;

[0081] S106 constructs a psychological counseling model: trains the psychological counseling model according to the psychological counseling model training data of S105;

[0082] S107 Adjustment of psychological state threshold H: The value of H can be an integer or a floating point number, and the specific standard can be reasonably set according to the quantitative results of the psychological state;

[0083] S108 Psychological counseling result output: Output the psychological counseling result according to S106 psychological counseling model and the user's current psychological state information.

[0084] Figure 3-Figure 4 is to use Figure 1 Schematic diagrams of different embodiments of the system outputting psychological counseling results.

[0085] The psychological counseling model construction subsystem is used to train the psychological counseling model according to the psychological counseling model training data, and further includes:

[0086] S201 Data processing: Before building the psychological counseling model, the training data of the psychological counseling model needs to be processed; the specific processing method is the same as S105;

[0087] One way to implement the psychological counseling model is to first obtain the vectorized features and process them into the same dimension, then obtain the feature vector of the user's psychological state detection result label One-hot encoded feature vector of mental state label Semantic vector of psychological counseling data text For example: the feature vector of the user's mental state detection result label and the semantic vector of psychological counseling data text BERT (Google pre-trained model) can be used to convert and obtain the feature vector of the user's psychological state detection result label If it is a multi-label value, you can use concatenate (connection, series) or superposition sum or average feature vector method to process; then the feature vector and the eigenvector Uniformly embedded into semantic vectors In this way, each feature of the semantic vector can enjoy the same label weighting and the final vector is used as the input data for model training.

[0088] S202 Psychological counseling model training: The following psychological counseling model can adopt the seq2seq (end-to-end) framework, that is, the entire network or training process is divided into two parts: encoder (encoding) and decoder (decoding); the encoder (encoding) part can be regarded as the semantic encoding form of the input text, which can be achieved through word vectors, sentence vectors, bert (Google pre-trained language model), etc., of course, it can also be generated by models such as GRU (gated recurrent unit), LSTM (long short-term memory network) or CNN (convolutional neural network) + Pooling (pooling) model, Attention (attention model) to generate the semantic vector of the input text. Then the feature vector and the eigenvector Uniformly embedded into semantic vectors As our final input vector This vector has a fixed size and contains all the important information of the sentence; next we will input the vector Input into the encoder framework, encode the input semantic vector according to the encoding algorithm to obtain the hidden vector of the encoding process. In order to obtain a hidden vector containing more semantic and contextual information of the input text, the semantic and contextual information of the input text can be recorded again through backward encoding after forward encoding; then the results of forward and backward semantic encoding are concatenated as the final hidden output vector The decoder is responsible for converting the hidden vector just encoded The decoded output is what we expect. Unlike the encoder process, the decoder part is "one-way recursive" because the decoding process is performed recursively.

[0089] S203 Model Evaluation: The prediction results generated by S202 are converted into text form to evaluate the quality of the psychological counseling model. The evaluation method can be a combination of manual, language model, syntactic analysis, sentiment polarity judgment and other methods. The results of the psychological counseling model can be preliminarily evaluated by using language model, syntactic analysis model, sentiment polarity judgment model and other methods, and then the results of the psychological counseling model can be further evaluated by combining manual and other evaluation methods to avoid subjective influence and reduce manual loss as much as possible.

[0090] S204 evaluates whether it meets expectations: evaluate whether the psychological counseling model meets expectations. If not, optimize and adjust the model and then re-execute S202 and S203. Iterate the model continuously to obtain the optimal model that meets the expectations of the model. Finally, output the expected results.

[0091] S205 Psychological counseling result generation: The optimal result of S204 is processed to generate a psychological counseling result that conforms to the expected format; the final prediction result is converted into text form, which is the psychological counseling response result we want.

[0092] The psychological counseling generates a result output, which specifically includes the following steps:

[0093] S301 Text input: obtaining user input data in text form;

[0094] S302 Voice input: obtaining input data in the form of user voice;

[0095] S303 Speech recognition: If the input data is in speech form, it needs to be converted into text form through speech recognition. The speech recognition module can use an existing speech recognition interface, or build a proprietary speech recognition system.

[0096] S304 Psychological counseling model: After obtaining the final input data in text form through the above method; import the data into the psychological counseling model constructed in S106 to generate psychological counseling results;

[0097] S305 psychological counseling text result: the psychological counseling result obtained through S304 is in text form and can be directly output as the psychological counseling result;

[0098] S306 Speech Synthesis: You can use the existing speech synthesis interface or build a proprietary speech synthesis system. When building a proprietary speech synthesis system, you can use speech data with good psychological counseling or treatment effects to train the proprietary speech synthesis system model; extract features such as timbre, sound intensity, and speech speed from the speech data; and add these features into the speech synthesis process; the final synthesized speech will be as infectious and emotionally expressive as a professional psychotherapist, and the effect will be much better than ordinary speech;

[0099] S307 Psychological counseling speech result: outputting the speech synthesis result in S306;

[0100] S308 Psychological counseling result output: There are two output modes: manual and automatic. In manual mode, the user can choose according to his / her wishes, and the user can choose voice output or text output. In automatic mode, the system automatically determines whether voice output is required. For example, the system can choose text output during ordinary conversation. When infection or encouragement is required, the system automatically switches to voice, which will have a better expression effect. The corresponding output form can also be selected according to the frequency of user voice input. Finally, the psychological counseling of the user is completed, and the user's mental state returns to a healthy state in time.

[0101] The protection scope of the present invention shall be based on the product claim (system device claim) actually defined in the claims. Each embodiment of the present invention describes the principle of the present invention in the form of method steps, which does not affect the implementation of the corresponding product claim (system device claim) by those skilled in the art.

[0102] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A psychological data labeling system based on a psychological counseling model, the system comprising a psychological counseling data collection subsystem, a psychological state detection database construction subsystem, a psychological state feature extraction subsystem, a psychological counseling model training data construction subsystem, and a psychological counseling model construction subsystem. Features: The psychological counseling data collection subsystem is used to collect individual psychological data from multiple aspects, and the multiple aspects of collecting individual psychological data include individual professional psychological test data collection, individual historical psychological data collection in voice form, text form, picture form and video form, and new individual historical psychological data collection; The psychological state detection database construction subsystem constructs a psychological state detection database based on the individual psychological data collected by the psychological counseling data collection subsystem; The psychological state feature extraction subsystem extracts the psychological state features of the user based on the data in the psychological state detection database; The psychological counseling model training data construction subsystem uses the optimal psychological state detection model obtained by evaluating and optimizing the pre-established psychological state detection model to obtain the user's psychological state detection result, and constructs the psychological counseling model training data in combination with the psychological counseling text or audio data; The psychological counseling model construction subsystem is used to train the psychological counseling model according to the psychological counseling model training data; The psychological counseling model construction subsystem is used to train the psychological counseling model according to the psychological counseling model training data, and specifically includes the following steps: S201 Data preprocessing: Obtaining the feature vector of the user's psychological state detection result label One-hot feature vector of mental state label Semantic vector of psychological counseling data text The feature vector and the eigenvector Uniformly embedded into semantic vectors In this way, each feature of the semantic vector can enjoy the same label weighted final vector as the input data for model training; S202 Psychological Counseling Model Training: Using the seq2seq framework, the entire network or training process is divided into two parts: encoder and decoder; S203 Model evaluation: The prediction results generated by S202 are converted into text form to evaluate the quality of the psychological counseling model; S204 evaluates whether it meets expectations: evaluates whether the psychological counseling model meets expectations. If it does not meet expectations, optimize and adjust the model and then re-execute S202 and S203; iterates the model continuously until the optimal model that meets the expectations is obtained; and finally outputs the expected results; S205: generating psychological counseling results: processing the optimal results of S204 to generate psychological counseling results that meet the expected format; the final prediction results are converted into text form; The step S202 further comprises: The feature vector and the eigenvector Uniformly embedded into semantic vectors As the final input vector The input vector Input into the encoder framework, and encode the input semantic vector according to the encoding algorithm to obtain the hidden vector of the encoding process; The results of forward and backward semantic encoding are concatenated as the final hidden layer output vector 2. A psychological data labeling system based on a psychological counseling model as claimed in claim 1, Features: The new individual historical psychological data collection of the psychological counseling data collection subsystem includes psychology-related voice, text, picture, and video data released by the individual within a unit time, or historical data released by the user himself on social networking sites and media within a predetermined time period.

3. A psychological data labeling system based on a psychological counseling model as claimed in claim 1, Features: The psychological state detection database construction subsystem constructs a psychological state detection database based on the individual psychological data collected by the psychological counseling data collection subsystem, specifically including: The mental state detection database includes an emotional vocabulary database, which includes emotional words, emotional polarity, emotional category, emotional intensity, part of speech, and word meaning number; In the emotion category, emotions are divided into joy, anger, sadness, thought, and fear, and the intensity of each emotion can be divided into multiple emotion intensity levels.

4. A psychological data labeling system based on a psychological counseling model as claimed in claim 1 or 3, Features: The psychological state feature extraction subsystem extracts the psychological state features of the user according to the data in the psychological state detection database, specifically including: The user's psychological state characteristics include emotional information characteristics, physiological information characteristics, emotional information characteristics, picture information characteristics, audio information characteristics, and behavioral information characteristics; in: Emotional information features: including the user's emotion category, emotion polarity, and emotion intensity; Physiological information characteristics: including weight, body shape, appetite, and blood pressure; Emotional information characteristics: including irritability, anxiety, anger, joy, anger, and sadness; Image information features: including brightness and darkness changes, color saturation; Audio information features: including tone changes and sound intensity; Behavioral information characteristics: including actions and styles of dealing with things.

5. A psychological data labeling system based on a psychological counseling model as claimed in claim 4, Features: The psychological state feature extraction subsystem calls a preset psychological state detection model to detect the user's psychological state based on the emotional information features, physiological information features, emotional information features, picture information features, audio information features, and behavioral information features.

6. A psychological data labeling system based on a psychological counseling model as claimed in claim 5, Features: The psychological counseling model training data construction subsystem converts the user's psychological state detection results into a label form, and obtains the psychological counseling model training data based on the psychological counseling data text, the user's psychological state detection result label, and the psychological state label.

7. A psychological data labeling system based on a psychological counseling model as claimed in claim 1, Features: The system also includes a psychological state threshold adjustment subsystem and a psychological counseling result output subsystem; The psychological state threshold adjustment subsystem is used to adjust the psychological state threshold of the psychological data labeling system, and the psychological counseling result output subsystem is used to output the psychological counseling results. The output of the psychological counseling results is divided into two parts: psychological state judgment and suggestion output and psychological counseling generation result output.

8. A psychological data labeling system based on a psychological counseling model as claimed in claim 7, Features: The psychological counseling generates a result output, which specifically includes the following steps: S301 Text input: obtaining user input data in text form; S302 Voice input: obtaining input data in the form of user voice; S303 Speech recognition: If the input data is in speech form, it needs to be converted into text form through speech recognition; S304 Psychological counseling model: after obtaining the final input data in text form; importing the data into the psychological counseling model to generate psychological counseling results; S305 Psychological counseling text result: The psychological counseling result obtained through S304 is directly output as a psychological counseling result in text form; S306 Speech Synthesis: Use speech data with expected psychological counseling or treatment effects to train a proprietary speech synthesis system model; extract the timbre, sound intensity, and speech speed features in the speech data, and add these features to the speech synthesis process; S307 Psychological counseling speech result: outputting the speech synthesis result in S306; S308 Psychological counseling result output: There are two output modes: manual and automatic; In manual mode, the user can choose between voice output and text output according to his / her will; in automatic mode, the system automatically determines whether voice output is required.

Citation Information

Patent Citations

  • Comprehensive social adaptive capacity evaluating method and device

    CN108231139A

  • User emotion evaluation method and device

    CN108095740A

  • Man-machine conversation-based psychological counseling method, psychological counseling terminal and storage medium

    CN111564202A