Recommended methods, devices, computer equipment and media for psychological intervention training programs
By dynamically analyzing user characteristic information and dose-effect relationship models, we optimize the recommendation of psychological intervention training programs, solve the problem of mismatch between existing system programs and user conditions, and improve the treatment effect.
Patent Information
- Application Number
- CN202410743212.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-11
AI Technical Summary
The existing psychological intervention training program recommendation system relies on a simple static matching algorithm and cannot dynamically analyze the user's specific needs, resulting in a mismatch between the recommended program and the user's actual situation, affecting the treatment effect.
A psychological intervention training program recommendation method is adopted. By receiving recommendation instructions, a feasible set of intervention parameters is generated based on the target user's characteristic information. The dose-response relationship model is used to determine the expected therapeutic effect of candidate intervention parameters, and threshold analysis is performed to select the optimal intervention parameters. , generate dynamic psychological intervention training programs.
Recommend more suitable psychological intervention training programs for users at each treatment stage to improve treatment effects.
Smart Images

Figure CN118335347B
Abstract
Description
Technical Field
[0001] The present application relates to the field of digital psychological medical technology, and in particular to a method, device, computer equipment and storage medium for recommending a psychological intervention training program. Background Art
[0002] The development of digital health technology has provided a technical basis for providing users with personalized intervention plans. Dynamic treatment plan recommendations based on digital technology have become the key to precision medicine and personalized medicine. However, existing treatment plan recommendation systems often rely on simple matching algorithms, and most of them are static matches. They are unable to dynamically analyze what kind of psychological intervention training users need and the corresponding intervention parameters. This results in the treatment plan recommended to users not matching their actual situation, which in turn affects the final treatment effect. Summary of the invention
[0003] In response to the above-mentioned deficiencies or shortcomings, the present application provides a method, apparatus, computer device and storage medium for recommending a psychological intervention training program. The embodiments of the present application can recommend a psychological intervention training program that better matches the user's actual situation to the user at each treatment stage of dynamic treatment, thereby improving the treatment effect.
[0004] The present application provides a method for recommending a psychological intervention training program according to a first aspect. In some embodiments, the method includes:
[0005] receiving a recommendation instruction, the recommendation instruction being used to instruct to recommend a psychological intervention training program for a target user;
[0006] Generate a feasible set of intervention parameters based on the acquired target user characteristic information; the target user characteristic information includes the basic characteristic information of the target user and the behavioral characteristic information generated in the current treatment stage;
[0007] Use the dose-effect relationship model corresponding to the next treatment stage to determine the expected value of the efficacy corresponding to each candidate intervention parameter;
[0008] Perform threshold analysis based on each candidate intervention parameter and its corresponding expected value of therapeutic effect, and select the optimal intervention parameter from the feasible set of intervention parameters based on the threshold analysis results;
[0009] A psychological intervention training program is generated based on the optimal intervention parameters for the target user to use in the next treatment stage.
[0010] In some embodiments, the target user is any user who undergoes psychological intervention using a dynamic treatment plan; the dynamic treatment plan includes multiple treatment stages, each treatment stage uses an intervention training module to provide psychological intervention training for the target user, and there are multiple intervention training modules; each treatment stage corresponds to a dose-effect relationship model trained based on historical intervention training data of multiple sample users collected in advance.
[0011] In some embodiments, the feasible set of intervention parameters includes multiple candidate intervention parameters; each candidate intervention parameter includes the type of an intervention training module that can be used by the target user in the next treatment stage, and the number of intervention training sessions and training difficulty of the intervention training provided by the intervention training module.
[0012] In some embodiments, generating a feasible set of intervention parameters according to the acquired target user characteristic information includes:
[0013] Determine the types of all intervention training modules that can be used by the target user in the next treatment stage, as well as the maximum number of training times and appropriate training difficulty ranges corresponding to various types of intervention training modules, based on the target user's basic characteristic information and the behavioral characteristic information generated in the current treatment stage;
[0014] According to the types of all intervention training modules, as well as the maximum number of training times and appropriate intervals of training difficulty corresponding to various types of intervention training modules, multiple candidate intervention parameters are constructed to obtain a feasible set of intervention parameters.
[0015] In some embodiments, using the dose-effect relationship model corresponding to the next treatment stage to determine the expected value of the therapeutic effect corresponding to any candidate intervention parameter includes:
[0016] The basic characteristic information of the target user and the behavioral characteristic information generated in the current treatment stage are recorded as ; The feasible set of intervention parameters is , any candidate intervention parameter is ; Note that a treatment phase is the first in a dynamic treatment plan treatment stage, the dose-effect relationship model for the next treatment stage is: ; The expected value of the efficacy corresponding to any candidate intervention parameter is ;
[0017] Determine the expected value of the efficacy corresponding to any candidate intervention parameter based on the following formula:
[0018] ;
[0019] in, Indicates that in a given and At that time, The expected value of the error term corresponding to each treatment period.
[0020] In some embodiments, the cumulative distribution of the error term is estimated by a bootstrap sampling method and a repeated cross-validation method; wherein, when estimating the cumulative distribution of the error term, the cumulative distribution of the error term is not required to be independent of the intervention parameters, user characteristic information, and treatment stage.
[0021] In some embodiments, a threshold analysis is performed based on each candidate intervention parameter and its corresponding expected value of therapeutic effect, and the optimal intervention parameter is selected from the feasible set of intervention parameters based on the threshold analysis result, including:
[0022] A nonlinear stochastic optimization problem is constructed according to each candidate intervention parameter and its corresponding expected value of therapeutic effect, the nonlinear stochastic optimization problem is solved, and the optimal threshold information is determined based on the solution result;
[0023] A capacity-constrained knapsack problem was constructed according to each candidate intervention parameter and its corresponding expected value of therapeutic effect and optimal threshold information. The capacity-constrained knapsack problem was solved, and the optimal intervention parameters were determined based on the solution results.
[0024] According to a second aspect, the present application provides a psychological intervention training program recommendation device. In some embodiments, the device includes:
[0025] A receiving module, used for receiving a recommendation instruction, where the recommendation instruction is used for instructing to recommend a psychological intervention training program for a target user;
[0026] A feasible set generation module is used to generate a feasible set of intervention parameters according to the acquired target user characteristic information; the target user characteristic information includes the basic characteristic information of the target user and the behavioral characteristic information generated in the current treatment stage;
[0027] The efficacy prediction module is used to determine the expected value of the efficacy corresponding to each candidate intervention parameter using the dose-effect relationship model corresponding to the next treatment stage;
[0028] A threshold analysis module is used to perform threshold analysis based on each candidate intervention parameter and its corresponding expected value of therapeutic effect, and select the optimal intervention parameter from the feasible set of intervention parameters based on the threshold analysis result;
[0029] The program generation module is used to generate a psychological intervention training program for the target user to use in the next treatment stage based on the optimal intervention parameters.
[0030] According to a third aspect, the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for recommending a psychological intervention training program provided in any of the above embodiments are implemented.
[0031] According to a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for recommending a psychological intervention training program provided in any of the above embodiments are implemented.
[0032] In the above-mentioned embodiment of the present application, after the computer device receives a recommendation instruction for instructing to recommend a psychological intervention training program for a target user, it generates a feasible set of intervention parameters according to the characteristic information of the target user, uses the dose-effect relationship model corresponding to the next treatment stage to determine the expected value of the therapeutic effect corresponding to each candidate intervention parameter, then performs a threshold analysis based on each candidate intervention parameter and its corresponding expected value of the therapeutic effect, selects the optimal intervention parameter from the feasible set of intervention parameters based on the threshold analysis result, and finally generates a psychological intervention training program for the target user to use in the next treatment stage according to the optimal intervention parameters. The present application can recommend a psychological intervention training program that is more in line with the user's actual situation to the user at each treatment stage of dynamic treatment, thereby improving the treatment effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A flowchart of a method for recommending a psychological intervention training program according to one or more embodiments of the present application;
[0034] Figure 2 A schematic diagram of a flow chart for determining a psychological intervention training program for each treatment stage according to one or more embodiments of the present application;
[0035] Figure 3 A structural block diagram of a psychological intervention training program recommendation device provided by the present application according to one or more embodiments;
[0036] Figure 4 This is a diagram of the internal structure of a computer device provided by the present application according to one or more embodiments. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0038] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0039] In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0040] In view of the shortcomings or defects of the prior art, the present application provides a method for recommending a psychological intervention training program, which can recommend a psychological intervention training program that better matches the user's actual situation to the user at each treatment stage of dynamic treatment, thereby improving the treatment effect. In some embodiments, the method can be applied to a computer device, which can be a server and / or a mobile smart device (such as a smart phone, a tablet computer, etc.). The method includes the following steps: Figure 1 The steps shown are steps S110 to S150. The following is an example of applying the method to the above-mentioned computer device.
[0041] S110: Receive a recommendation instruction.
[0042] The recommendation instruction received by the computer device is used to instruct to recommend a psychological intervention training program for the target user. The recommendation instruction can be triggered by the target user or by a doctor who performs psychological treatment for the target user.
[0043] The target user is any user who undergoes psychotherapy using a dynamic treatment program.
[0044] Users with mental illnesses can usually achieve psychological treatment through psychological intervention. Regarding psychological intervention, the following uses cognitive behavioral therapy and cognitive bias correction as examples to illustrate.
[0045] Cognitive Behavioral Therapy (CBT) is a widely used treatment method in the field of mental health. It is based on the theory of changing patients' thinking patterns and behavioral habits to solve psychological problems. The core assumption of CBT is that there is a mutually influential relationship between cognition (i.e., thinking and beliefs), emotion, and behavior. In turn, by identifying and changing unhealthy thinking patterns and practicing new behavioral strategies, it helps to improve emotional conditions and coping abilities. Cognitive Bias Modification (CBM) refers to directly adjusting cognitive biases that lead to emotional disorders (such as anxiety and depression). Cognitive bias modification reshapes patients' cognitive evaluation of specific stimuli through a series of digital training tasks, thereby reducing unfavorable automatic thinking patterns and promoting healthier thinking patterns. Digital psychological intervention training programs based on CBT and cognitive bias modification techniques include but are not limited to ABC records, automatic thinking records, daily activity plans, distorted cognition correction, sleep diaries, problem-solving plans, task decomposition, attribution style analysis, interpersonal relationship improvement, and core belief correction. When patients are at different stages of digital intervention treatment, considering the patient's own psychological characteristics and behavioral habits can help arrange a more appropriate intervention training program sequence, frequency and difficulty for them, thereby improving the effectiveness of psychological intervention training.
[0046] Dynamic Treatment Regime (DTR) is a personalized treatment decision framework, the core of which is to adjust treatment decisions, sequences and parameters according to the specific conditions of the patient to improve the effectiveness of treatment. The advantage of dynamic treatment regime is that it can maximize the treatment effect throughout the treatment process, so it is widely used in many fields such as mental health, chronic disease management, and cancer treatment. Dynamic treatment regime emphasizes dynamically adjusting the treatment plan according to the patient's current condition and treatment history (characteristics) at key time points (decision points) during the treatment process.
[0047] The dynamic treatment plan includes multiple treatment stages, and each treatment stage uses an intervention training module to provide psychological intervention training for the target user, and there are multiple intervention training modules; each treatment stage corresponds to a dose-effect relationship model obtained by training based on historical intervention training data of multiple sample users collected in advance. Among them, the multiple treatment stages included in the dynamic treatment plan correspond to different decision points in the treatment process, the intervention training module is used to provide psychological intervention training to the user, and different intervention training modules are used to provide different psychological intervention training. It should be noted that the number of treatment stages, the number of intervention training modules, and the training content of the psychological intervention training specifically provided by each intervention training module are all related to the specific disease suffered by the user and the specific treatment plan adopted, and this embodiment does not make any special restrictions.
[0048] The dose-effect relationship (also known as the dose-effect relationship) originally refers to a basic concept in pharmacology, which describes the relationship between the drug dose (or exposure, concentration) and the effect it produces. This relationship is usually represented in a graphical manner, with the horizontal axis representing the drug dose (or exposure) and the vertical axis representing the drug effect. The shape obtained by the graphical representation of this relationship can help understand the properties of the drug. For example, for many drugs, their effect increases with the increase of the dose until a maximum point is reached, and further increase in the dose will not increase the effect. This situation is called saturation. When the dose is less than the minimum effect amount (threshold dose), no effect will be produced. In this embodiment, the dose-effect relationship mainly refers to the relationship between the training parameters and the efficacy of psychological intervention training. Since the digital treatment module, such as the above-mentioned intervention training module, can provide users with more dynamic and personalized services, the dose-effect relationship is more complicated. The training parameters of the above-mentioned psychological intervention training are also referred to as intervention parameters below, which can specifically be parameters such as the type of psychological intervention training, training difficulty, and number of training.
[0049] This embodiment constructs and trains a dose-effect relationship model for each treatment stage of the dynamic treatment plan. The dose-effect relationship model is mainly used to predict the therapeutic effect corresponding to a given intervention parameter.
[0050] The construction and training process of the dose-effect relationship model corresponding to each treatment stage are similar. Each dose-effect relationship model can be trained based on the historical intervention training data of multiple sample users collected in advance, and the training process will be described in detail below. Among them, some users can be selected from users who have undergone psychological intervention training as sample users, and the specific selection rules can be existing rules for screening sample users, which are not particularly limited in this embodiment. The historical intervention training data of each sample user includes the intervention parameters of the psychological intervention training and the actual efficacy value of the psychological intervention training when the sample user undergoes psychological intervention training in the corresponding treatment stage.
[0051] S120: Generate a feasible set of intervention parameters according to the acquired target user feature information.
[0052] The target user characteristic information includes the target user's basic characteristic information and the behavioral characteristic information generated in the current treatment stage.
[0053] Among them, the basic characteristic information of the user may include one or more of the user's demographic information and psychological condition data. The above-mentioned demographic information includes information such as gender, age, occupation, home address, etc., which can reflect the user's preferences in terms of interaction mode, etc. The above-mentioned psychological condition data refers to data used to reflect the user's psychological condition, and specifically can be data obtained by tracking and recording the patient's psychological condition during the treatment process. These data help to determine more accurate personalized intervention measures. Generally, the user's psychological condition data can be collected through one or more scales, and the above-mentioned scales may include but are not limited to the Short Depression Questionnaire (PHQ-9), Beck Depression Inventory (BDI), Beck Anxiety Inventory (BAI) and Excessive Symptom Inventory (ASI).
[0054] The behavioral characteristic information generated by the user in the current treatment stage refers to the behavioral data generated when the user undergoes psychological intervention training in the current treatment stage. These data also have a certain causal relationship with the final therapeutic effect. These data help to adjust and optimize the functions and content of digital psychological intervention to provide a better user experience. These data can be, for example, frequent access time, continuous use time, usage function preferences, behavioral paths, training performance data, etc. Understandably, these data are related to the training content of the psychological intervention training adopted in the current treatment stage (such as the type, difficulty, number of intervention training, etc.), and the use of different training content may cause users to generate different behavioral characteristic information. Taking training performance data as an example, when a user uses the Find Pleasure module, the Find Pleasure module will present pictures of various emotions, and ask the user to find and click on the happy and joyful pictures. The training performance data generated by the user using this module can be the response time (referring to the interval between the two time points from the beginning of the appearance of the picture to the first time the user clicks on the screen) and accuracy (referring to the quotient of the number of times the user clicks on the happy and joyful pictures divided by the number of times each group of training pictures is displayed) of each set of training; when a user uses the Positive Action module, the Positive Action module will present multiple pictures surrounded in a ring, and ask the user to find and click on the picture that matches the attributes of the central picture. The training performance data generated by the user using this module can be the average reaction time and accuracy.
[0055] The feasible set of intervention parameters includes multiple candidate intervention parameters, wherein the candidate intervention parameters are intervention parameters to be screened. Each candidate intervention parameter includes the type of an intervention training module that can be used by the target user in the next treatment stage, and the number of training sessions and the training difficulty of the intervention training provided by the intervention training module.
[0056] Accordingly, in some embodiments, generating a feasible set of intervention parameters according to the acquired target user characteristic information includes:
[0057] Determine the types of all intervention training modules that can be used by the target user in the next treatment stage, and the appropriate intervals of training times and training difficulty corresponding to various types of intervention training modules, based on the target user's basic characteristic information and the behavioral characteristic information generated in the current treatment stage;
[0058] According to the types of all intervention training modules, as well as the appropriate intervals of training times and training difficulty corresponding to various types of intervention training modules, multiple candidate intervention parameters are constructed to obtain a feasible set of intervention parameters.
[0059] The following example illustrates the generation process of the feasible set of intervention parameters. In one example, it is assumed that there are 8 intervention training modules, namely, attention bias correction training module, automatic thought recording module, distorted cognition correction module, task decomposition module, core belief correction module, pleasure-seeking module, positive action module and review and prospect module. It is assumed that the target user has currently completed the intervention training of the second treatment stage, and it is necessary to recommend the intervention training type, number of trainings and training difficulty of the third treatment stage for the target user. The intervention training module suitable for the target user in the third treatment stage can be determined based on the basic feature information of the target user and the behavioral feature information generated in the second treatment stage. It is assumed that it is a pleasure-seeking module and a positive action module. The suitable interval of the number of trainings for the pleasure-seeking module is 1-3, and the suitable interval of training difficulty is difficulty 1 to difficulty 2. The suitable interval of the number of trainings for the positive action module is 2-3, and the suitable interval of training difficulty is difficulty 2 to difficulty 3. Then, the type of each intervention training module and each element in its suitable interval of training times and each element in its suitable interval of training difficulty are combined to obtain the corresponding intervention parameters, as shown in Table 1.
[0060] Table 1:
[0061]
[0062] S130: Use the dose-effect relationship model corresponding to the next treatment stage to determine the expected value of the efficacy corresponding to each candidate intervention parameter.
[0063] In some embodiments, using the dose-effect relationship model corresponding to the next treatment stage to determine the expected value of the therapeutic effect corresponding to any candidate intervention parameter includes:
[0064] The basic characteristic information of the target user and the behavioral characteristic information generated in the current treatment stage are recorded as ; The feasible set of intervention parameters is , any candidate intervention parameter is ; Note that a treatment phase is the first in a dynamic treatment plan treatment stage, the dose-effect relationship model for the next treatment stage is: ; The expected value of the efficacy corresponding to any candidate intervention parameter is ;
[0065] Determine the expected value of the efficacy corresponding to any candidate intervention parameter based on the following formula:
[0066] ;
[0067] in, Indicates that in a given and At that time, The expected value of the error term corresponding to each treatment period.
[0068] Specifically, the role of the quantity-effect relationship model is to predict the user's completion of a given user feature ( ) and intervention module type, frequency, difficulty and other parameters (referred to as parameters The therapeutic effect value obtained after the psychological intervention training provided by the intervention training module The efficacy value can be a binary label (such as Represents invalidity, represents effective), or it can be a continuous label (such as symptom improvement score).
[0069] No. The dose-effect relationship model for each treatment period can be expressed using the function express: ,in is the error term. Among them, the dose-effect relationship model Specifically, it can be a linear function, a logistic regression function, or a more complex deep learning model such as a random forest or a neural network. Specifically, for any user , if it is about to The characteristics of the treatment phase are , then the parameter is The therapeutic effect of psychological intervention training can be expressed as In particular, it is worth noting that the error term The distribution of distribution, but it is not required that the distribution This helps improve the robustness and flexibility of the dose-effect relationship model. For example, when the user's feature information is incomplete and the prediction error may have different distributions under different features, the dose-effect relationship model can still be applied. Furthermore, the error term The cumulative distribution of can be expressed as .
[0070] When predicting the expected value of the efficacy of each candidate intervention parameter, the relevant user characteristics are with the feasible set of intervention parameters ( ) are candidate intervention parameters By inputting them into the trained dose-effect relationship model in sequence, we can get the expected value of the efficacy corresponding to each candidate intervention parameter, which can be expressed as:
[0071] .
[0072] About The training sample data can be the historical intervention training data of multiple sample users, including the sample users in the first treatment stage. The corresponding user characteristic information (such as basic characteristic information, behavioral characteristic information) at the treatment stage and the completion of the The therapeutic effect value observed in the psychological intervention training of the treatment stage. The above training sample data can be obtained through observational study or microrandomized trial. Furthermore, when the sample size is insufficient or it is difficult to obtain real data, the existing training sample data can be provided to experts, and the expected labels can be judged by the experts' professional knowledge to obtain additional training sample data. Furthermore, the above error term Distribution It can be estimated through bootstraping and repeated cross-validation. When estimating the cumulative distribution of the error term, it is not required that the cumulative distribution of the error term is independent of the intervention parameters, user characteristic information, and treatment stage, and it is not required that the error term is independent of the above information, which helps to improve the robustness and flexibility of the prediction results.
[0073] S140: Perform threshold analysis based on each candidate intervention parameter and its corresponding expected value of therapeutic effect, and select the optimal intervention parameter from the feasible set of intervention parameters based on the threshold analysis result.
[0074] In some embodiments, a threshold analysis is performed based on each candidate intervention parameter and its corresponding expected value of therapeutic effect, and the optimal intervention parameter is selected from the feasible set of intervention parameters based on the threshold analysis result, including:
[0075] A nonlinear stochastic optimization problem is constructed according to each candidate intervention parameter and its corresponding expected value of therapeutic effect, the nonlinear stochastic optimization problem is solved, and the optimal threshold information is determined based on the solution result;
[0076] A capacity-constrained knapsack problem was constructed according to each candidate intervention parameter and its corresponding expected value of therapeutic effect and optimal threshold information. The capacity-constrained knapsack problem was solved, and the optimal intervention parameters were determined based on the solution results.
[0077] Among them, selecting the optimal intervention parameter from the feasible set of intervention parameters belongs to a complex nonlinear optimization problem. This embodiment splits the problem into two optimization problems, namely, a nonlinear random optimization problem and a capacity-constrained knapsack problem. The nonlinear random optimization problem can be solved offline in advance, and the solved threshold strategy table can be stored in a computer device. When solving the capacity-constrained knapsack problem, the corresponding optimal threshold information can be obtained from the pre-solved threshold strategy table to solve the capacity-constrained knapsack problem, thereby improving the problem solving speed.
[0078] Specifically, for the target user's upcoming treatment stage, given user feature information , and the feasible set of intervention parameters The elements in When the dose-effect relationship model is used, the candidate intervention parameters can be predicted. The expected value of the therapeutic effect is Among them, the expected value of the therapeutic effect needs to be greater than or equal to the threshold . It is not a preset fixed threshold. When performing threshold analysis, a nonlinear random optimization problem is first constructed, and then the problem is solved to determine the optimal threshold information, that is, . The nonlinear stochastic optimization problem is as follows:
[0079]
[0080] The objective function is to maximize the expected value of the corresponding therapeutic effect greater than the threshold The expected sum of all efficacy error terms, subject to the constraint that the variance of the efficacy error term is less than a positive number The above expected error term of efficacy is .
[0081] In solving After that, the capacity-constrained knapsack problem is constructed and solved to determine the optimal intervention parameters. The capacity-constrained knapsack problem is as follows:
[0082]
[0083] In the above formula It represents the expected value of therapeutic effect. is a 0-1 decision variable indicating whether to select the intervention training module. Indicates the upper limit of the number of intervention training modules selected; represents the optimal intervention parameters.
[0084] The capacity-constrained knapsack problem can be solved using existing mature and reliable methods (such as heuristic algorithms such as dynamic programming or genetic algorithms), and this embodiment does not impose any special restrictions on the solution method.
[0085] S150: Generate a psychological intervention training program for the target user to use in the next treatment stage according to the optimal intervention parameters.
[0086] In some embodiments, see Figure 2 , the figure shows the process of a computer device determining a psychological intervention training program for each treatment stage. In this embodiment, basic feature set 1 may be the basic feature information of the user, and feature set 2 may be the behavioral feature information generated during the psychological intervention training of the user in the previous treatment stage. Among them, if the treatment stage to be performed is the first stage, then feature set 2 may be the behavioral feature information generated during the user's last psychological intervention training. After determining the feasible set of intervention parameters based on feature set 1 and feature set 2, the corresponding dose-effect relationship model is used to predict the expected value of the efficacy of each candidate intervention parameter, and a threshold analysis operation is performed based on the prediction results to determine the optimal intervention parameter from the feasible set of intervention parameters. The intervention training module corresponding to the optimal intervention parameter is the optimal intervention module, and the optimal intervention module will provide the user with corresponding psychological intervention training based on the information in the optimal intervention parameter except the intervention training type.
[0087] It should be noted that, with respect to the various steps included in the method for recommending a psychological intervention training program provided in any of the above embodiments, unless otherwise clearly stated herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of these steps can include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0088] Based on the same inventive concept, the present application also provides a psychological intervention training program recommendation device. In some embodiments, Figure 3 As shown, the psychological intervention training program recommendation device includes the following modules:
[0089] A receiving module 110 is used to receive a recommendation instruction, where the recommendation instruction is used to instruct to recommend a psychological intervention training program for a target user;
[0090] A feasible set generation module 120 is used to generate a feasible set of intervention parameters according to the acquired target user characteristic information; the target user characteristic information includes the basic characteristic information of the target user and the behavioral characteristic information generated in the current treatment stage;
[0091] The efficacy prediction module 130 is used to determine the expected value of the efficacy corresponding to each candidate intervention parameter using the dose-effect relationship model corresponding to the next treatment stage;
[0092] A threshold analysis module 140 is used to perform a threshold analysis based on each candidate intervention parameter and its corresponding expected value of therapeutic effect, and select the optimal intervention parameter from the feasible set of intervention parameters based on the threshold analysis result;
[0093] The program generation module 150 is used to generate a psychological intervention training program for the target user to use in the next treatment stage according to the optimal intervention parameters.
[0094] In some embodiments, the target user is any user who undergoes psychological intervention using a dynamic treatment plan; the dynamic treatment plan includes multiple treatment stages, each treatment stage uses an intervention training module to provide psychological intervention training for the target user, and there are multiple intervention training modules; each treatment stage corresponds to a dose-effect relationship model trained based on historical intervention training data of multiple sample users collected in advance.
[0095] In some embodiments, the feasible set of intervention parameters includes multiple candidate intervention parameters; each candidate intervention parameter includes the type of an intervention training module that can be used by the target user in the next treatment stage, and the number of intervention training sessions and training difficulty of the intervention training provided by the intervention training module.
[0096] In some embodiments, the feasible set generation module 120 is specifically used to determine the types of all intervention training modules that can be used by the target user in the next treatment stage, as well as the maximum number of training times and suitable training difficulty intervals corresponding to various types of intervention training modules, based on the basic characteristic information of the target user and the behavioral characteristic information generated in the current treatment stage; and to construct multiple candidate intervention parameters according to the types of all intervention training modules, as well as the maximum number of training times and suitable training difficulty intervals corresponding to various types of intervention training modules, so as to obtain a feasible set of intervention parameters.
[0097] In some embodiments, the efficacy prediction module 130 is specifically used to: record the basic characteristic information of the target user and the behavioral characteristic information generated in the current treatment stage as ; The feasible set of intervention parameters is , any candidate intervention parameter is ; Note that a treatment phase is the first in a dynamic treatment plan treatment stage, the dose-effect relationship model for the next treatment stage is: ; The expected value of the efficacy corresponding to any candidate intervention parameter is ;
[0098] Determine the expected value of the efficacy corresponding to any candidate intervention parameter based on the following formula:
[0099]
[0100] in, Indicates that in a given and At that time, The expected value of the error term corresponding to each treatment period.
[0101] In some embodiments, the cumulative distribution of the error term is estimated by a bootstrap sampling method and a repeated cross-validation method; wherein, when estimating the cumulative distribution of the error term, the cumulative distribution of the error term is not required to be independent of the intervention parameters, user characteristic information, and treatment stage.
[0102] In some embodiments, the threshold analysis module 140 is specifically used to construct a nonlinear stochastic optimization problem based on each candidate intervention parameter and its corresponding expected therapeutic effect value, solve the nonlinear stochastic optimization problem, and determine the optimal threshold information based on the solution result; and to construct a capacity-constrained knapsack problem based on each candidate intervention parameter and its corresponding expected therapeutic effect value and optimal threshold information, solve the capacity-constrained knapsack problem, and determine the optimal intervention parameters based on the solution result.
[0103] The specific definition of the psychological intervention training program recommendation device can be found in the definition of the psychological intervention training program recommendation method mentioned above, which will not be repeated here. Each module in the above-mentioned psychological intervention training program recommendation device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0104] In some embodiments, the present application provides a computer device, whose internal structure diagram can be as follows: Figure 4As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store user feature information, a dose-effect relationship model of each treatment stage, training data of psychological intervention training of each intervention training module and other data. The specific stored data can also refer to the definition in the above method embodiment. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for recommending a psychological intervention training program is implemented.
[0105] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0106] This embodiment also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for recommending a psychological intervention training program provided in any of the above embodiments can be implemented.
[0107] In some embodiments, the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for recommending a psychological intervention training program provided in any of the above embodiments are implemented.
[0108] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0109] Those skilled in the art can understand that all or part of the processes in the above method embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink), DRAM (SLDRAM), memory bus (Rambus), direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0110] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0111] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for recommending a psychological intervention training program, characterized in that: The method comprises: Receive a recommendation instruction, the recommendation instruction is used to instruct to recommend a psychological intervention training program for a target user; the target user is any user who adopts a dynamic treatment program for psychological intervention; the dynamic treatment program includes multiple treatment stages, each treatment stage uses an intervention training module to provide psychological intervention training for the target user, and there are multiple intervention training modules; each treatment stage corresponds to a dose-effect relationship model trained based on historical intervention training data of multiple sample users collected in advance; Determine the types of all intervention training modules that can be used by the target user in the next treatment stage according to the basic characteristic information of the target user and the behavioral characteristic information generated in the current treatment stage, as well as the maximum number of training times and the appropriate interval of training difficulty corresponding to each type of intervention training module; construct a plurality of candidate intervention parameters according to the types of all intervention training modules, as well as the maximum number of training times and the appropriate interval of training difficulty corresponding to each type of intervention training module, so as to obtain a feasible set of intervention parameters; the target user characteristic information includes the basic characteristic information of the target user and the behavioral characteristic information generated in the current treatment stage; the basic characteristic information includes one or more of the demographic information and psychological condition data of the target user; the behavioral characteristic information refers to the behavioral data generated when the target user performs psychological intervention training in the current treatment stage; The dose-effect relationship model corresponding to the next treatment stage is used to determine the expected value of the efficacy corresponding to each candidate intervention parameter, including: recording the basic characteristic information of the target user and the behavioral characteristic information generated in the current treatment stage as ; The feasible set of intervention parameters is , any of the candidate intervention parameters is ; Note that the next treatment stage is the tth treatment stage in the dynamic treatment scheme, and the dose-effect relationship model corresponding to the next treatment stage is ; The expected value of the efficacy corresponding to any of the candidate intervention parameters is ; The expected value of the therapeutic effect corresponding to any of the candidate intervention parameters is determined based on the following formula: ; in, Indicates that in a given and When , the expected value of the error term corresponding to the tth treatment stage; A nonlinear stochastic optimization problem is constructed according to each candidate intervention parameter and its corresponding expected value of therapeutic effect, the nonlinear stochastic optimization problem is solved, and optimal threshold information is determined based on the solution result; a capacity-constrained knapsack problem is constructed according to each candidate intervention parameter and its corresponding expected value of therapeutic effect and the optimal threshold information, the capacity-constrained knapsack problem is solved, and optimal intervention parameters are determined based on the solution result; A psychological intervention training program is generated according to the optimal intervention parameters for the target user to use in the next treatment stage.
2. The method according to claim 1, characterized in that The feasible set of intervention parameters includes multiple candidate intervention parameters; each candidate intervention parameter includes the type of an intervention training module that can be used by the target user in the next treatment stage, and the number of intervention training sessions and training difficulty of the intervention training provided by the intervention training module.
3. The method according to claim 1, characterized in that The cumulative distribution of the error term is estimated by a bootstrap sampling method and a repeated cross-validation method; wherein, when estimating the cumulative distribution of the error term, it is not required that the cumulative distribution of the error term is independent of the intervention parameter, user characteristic information and treatment stage.
4. A psychological intervention training program recommendation device, characterized in that: The device comprises: A receiving module, used for receiving a recommendation instruction, wherein the recommendation instruction is used for instructing to recommend a psychological intervention training program for a target user; the target user is any user who adopts a dynamic treatment program for psychological intervention; the dynamic treatment program includes multiple treatment stages, each treatment stage uses an intervention training module to provide psychological intervention training for the target user, and there are multiple intervention training modules; each treatment stage corresponds to a dose-effect relationship model obtained by training based on historical intervention training data of multiple sample users collected in advance; A feasible set generation module is used to determine the types of all intervention training modules that can be used by the target user in the next treatment stage, as well as the maximum number of training times and the appropriate interval of training difficulty corresponding to various types of intervention training modules, based on the basic characteristic information of the target user and the behavioral characteristic information generated in the current treatment stage; construct multiple candidate intervention parameters according to the types of all intervention training modules, as well as the maximum number of training times and the appropriate interval of training difficulty corresponding to various types of intervention training modules, so as to obtain a feasible set of intervention parameters; the target user characteristic information includes the basic characteristic information of the target user and the behavioral characteristic information generated in the current treatment stage; the basic characteristic information includes one or more of the demographic information and psychological status data of the target user; the behavioral characteristic information refers to the behavioral data generated when the target user undergoes psychological intervention training in the current treatment stage; The efficacy prediction module is used to determine the expected efficacy value corresponding to each candidate intervention parameter using the dose-effect relationship model corresponding to the next treatment stage, including: recording the basic characteristic information of the target user and the behavioral characteristic information generated in the current treatment stage as ; The feasible set of intervention parameters is , any of the candidate intervention parameters is ; Note that the next treatment stage is the tth treatment stage in the dynamic treatment scheme, and the dose-effect relationship model corresponding to the next treatment stage is ; The expected value of the efficacy corresponding to any of the candidate intervention parameters is ; Determine the expected value of the therapeutic effect corresponding to any of the candidate intervention parameters based on the following formula: ; in, Indicates that in a given and When , the expected value of the error term corresponding to the tth treatment stage; A threshold analysis module, for constructing a nonlinear stochastic optimization problem according to each candidate intervention parameter and its corresponding expected value of therapeutic effect, solving the nonlinear stochastic optimization problem, and determining the optimal threshold information based on the solution result; constructing a capacity-constrained knapsack problem according to each candidate intervention parameter and its corresponding expected value of therapeutic effect and the optimal threshold information, solving the capacity-constrained knapsack problem, and determining the optimal intervention parameter based on the solution result; A program generation module is used to generate a psychological intervention training program for the target user to use in the next treatment stage according to the optimal intervention parameters.
5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Psychological intervention scheme personalized recommendation method oriented to depressive emotion
CN104143165A
Post-traumatic stress disorder intervention treatment recommendation method and system
CN115547440A
Method and system for safely guiding interventions in procedures the substrate of which is the neuronal plasticity
US20180151259A1
Systems and methods for automatically notifying a caregiver that a patient requires medical intervention
US20220084662A1
Method for predicting the onset or change of a medical condition
WO2005039388A2
