Prediction of Cognitive-Behavioral Therapy using Deep Learning for the Treatment of Adolescent Social Anxiety and Mental Health Conditions

Cognitive-behavioral therapy is a type of psychosocial intervention which aims to reduce the mental health conditions like depression, anxiety disorder, and others. Similarly, deep learning is a type of machine learning and articial intelligence that imitates how humans gain certain types of knowledge. In this paper, deep learning has been used to eectively alleviate teenagers’ social anxiety and improve their social ability and the quality of social relations. It aims to conduct an in-depth study on the diagnosis and treatment of cognitive behavior therapy in teenagers based on deep learning. First, it constructs the cognitive behavior diagnosis and treatment evaluation system of adolescent social anxiety and divides the system function into functional, structural, and database design. ­en, the correlation prediction model between cognitive behavior therapy and adolescent social anxiety is constructed based on a multiobjective evolutionary algorithm. ­e risk and protective factors in adolescent growth are screened from the perspectives of people, family, school, and society. ­e fuzzy itemset support of dierent factors is dened. ­e vector of adolescent social anxiety expression index’s weight is calculated. ­e subjective and objective factors of social anxiety in adolescents are extracted based on the grey correlation degree. ­e correlation prediction model between accurate cognitive behavior therapy and adolescents’ social anxiety is established to complete the prediction research, diagnosis, and treatment eect. Simulation experiments show that the proposed method has good feasibility and high prediction accuracy. It can eectively alleviate the social anxiety of teenagers.


Introduction
One of the most frequent types of pediatric diseases is anxiety disorders. According to research, juvenile anxiety disorders are linked to social and family factors. If left untreated, academic impairment is likely to remain, and children are more likely to acquire anxiety problems later in adolescence and age [1]. Clearly, being able to intervene early in the treatment of these illnesses would be advantageous. Promising cognitive-behavioral therapy (CBT) for childhood anxiety disorders, such as social phobia, separation anxiety disorder, and generalized anxiety disorder, has been developed over the previous two decades [2,3]. According to these studies, CBT can be e ective for various problems when used alone or in conjunction with sertraline and when given individually or as a family treatment. Despite the fact that at least eight early studies have shown the e cacy of approaches such as in vivo desensitization, lmed, live, and participant modeling, graded exposure, reinforced practice, and verbal self-instruction in treating fears or speci c phobias in preschool-and kindergarten-age children, protocols for treating the other major childhood anxiety disorders have primarily been evaluated in school-age children and adolescents [4]. Although some studies lowered the age of inclusion to 5 or 6.12, they typically included a limited number of the youngest children (mean sample ages of 11.03 and 7.8 years, respectively) and did not look at the outcomes individually for this age group [5].
According to research from the 1950s and 1960s, 40-60% of people with panic disorder were unaffected or improved just a little. Although some of these publications found no significant change in participants after various periods, the results of retrospective studies conducted after the availability of approved anxiety drugs are also variable [6]. ere is also a perception that younger children were not developed enough to benefit from cognitive-behavioral therapies. It may have contributed to the underrepresentation of younger children in trials using CBT protocols for severe childhood anxiety disorders. Recent research, however, has cast doubt on these beliefs. For starters, investigations have revealed that preschoolers develop chronic anxiety disorders at about the exact incidence as older children. Factor-analytic studies have indicated that preschoolers' symptom presentations are similar to those in older children. Moreover, numerous organizations have recently begun experimenting with CBT procedures for various anxiety issues in young children [7].
In the case of adolescents, relevant studies show that interpersonal skills and relationship quality are the main factors affecting teenagers' mental health [8]. Junior high school students are in the early stage of adolescence, which is a significant turning point in life. Some developed countries have a wide range of research objects for social anxiety. It has a very high incidence and comorbidity rate. It is one of the primary diseases that affect students' mental health in the adolescent stage [9]. It has an essential impact on adolescents' life, learning, personality improvement, and future development. erefore, this paper explores teenagers' social anxiety in depth, hoping to use appropriate, feasible, and practical implementation methods to provide experience for alleviating teenagers' social anxiety, mental health education courses, and activities. It will promote teenagers' mental health, improve interpersonal communication, and increase social adaptability. e innovations of this paper are as follows: (1) We construct a cognitive behavior diagnosis and treatment evaluation system for adolescent social anxiety. Next, we built the correlation prediction model between cognitive behavior therapy and adolescent social anxiety based on a multiobjective evolutionary algorithm. Also, we established the correlation prediction model between accurate cognitive behavior therapy and adolescent social anxiety. (2) We made a comparison with other prediction models to evaluate the effectiveness and novelty of our work. e proposed method can effectively alleviate teenagers' social anxiety and improve teenagers' social ability. Our work has much better performance as compared to existing work in terms of complexity and accuracy and is highly effective for alleviation of adolescent social anxiety e rest of the research paper is organized as follows; Section 2 will explain all the related work linked to this research. Section 3 sheds light on the evaluation system of cognitive behavior diagnosis and treatment of adolescent social anxiety. Similarly, Section 4 elaborates on the predictive modeling of the relationship between cognitive-behavioral therapy and adolescent social anxiety based on deep learning. In addition, Section 5 explains the analysis of experimental results conducted in this research. Finally, concluding remarks have been described in Section 6.

Related Work
With the progress of the times, the emphasis on teenagers' psychological problems has gradually increased. An indepth study on teenagers' social anxiety has been carried out, and some results have been achieved. It identified the potential categories of alexithymia and the relationship between social anxiety and depression to provide the basis for promoting the positive development of emotion and mental health of college students [10]. e Alexithymia Scale, social anxiety scale, and the self-rating depression scale of the center for flow survey were used to carry out a questionnaire survey. e relevant data were analyzed by profile analysis and logistic regression analysis. Logistic regression analysis showed that, after controlling the demographic variables, college students' good emotional expression and discrimination were negatively correlated with depressive symptoms and social anxiety. Relevant conclusions show that the alexithymia of college students is distributed according to categories. e potential categories are different from social anxiety and depressive symptoms. In the education related to mental health, schools should scientifically formulate specific programs for the cultivation and intervention of college students' emotional regulation ability to promote the positive development of college students' psychology. However, it should be noted that this method has not alleviated college students' social anxiety [11]. Firstly, this paper expounds on the impact of anxiety of mobile social media measures on teenagers' mental health, analyzes the influencing factors, and establishes a model. It enriches the integration of teenagers' behavior theory in psychology and puts forward targeted psychological counseling and related intervention programs for social media users. Using the model framework based on I-PACE theory, this paper analyzes the model elements of adolescent social media users from four dimensions to establish the relationship model of adolescent social media, analyze the interaction-driven relationship between different elements, and determine the path of linkage between factors. e cognitive behavior method is used to specifically intervene in social media and establish a scientific service and management system for teenagers' social media users, but this method has not alleviated the teenagers' social anxiety [12]. It mainly takes teenagers in the context of content-based social media as the research object and conducts an in-depth study on the main factors and the internal correlation mechanism between different factors influencing the formation of content-based teenagers' social media social anxiety.
From the perspective of the generation characteristics provided by content youth social media, taking the theory and calculation of expectation confirmation as the theory and basis, the theoretical research model is established with 2 Scientific Programming the relevant theories of cognitive psychology and information behavior under the framework of social media. e data is obtained by questionnaire survey, and then the model is tested. e experimental results show that teenagers' expectation of confirmation will be positively affected by the content and service quality. In contrast, system quality will have little impact on teenagers' expectation confirmation. Teenagers' willingness to continue to use and perceive popularity will impact their stress perception. However, the intensity is easily restricted by the psychological elasticity of individual quality. erefore, it does not improve teenagers' social ability [13].
rough group treatment of cognitive behavior, the effect of emotional regulation efficiency of adolescent patients with social anxiety was observed. Firstly, 61 adolescents with social anxiety were divided into CBGT (cognitive-behavioral group therapy) groups by lot for 12 weeks of treatment. ere were 32 and 29 cases in the control group without any treatment. e social anxiety scale and emotion regulation self-efficacy scale were used to evaluate the social anxiety and emotion regulation efficacy of adolescent social anxiety patients. e two groups of adolescent social anxiety patients were scored. e results showed that, after 12 weeks of treatment, the score of the social anxiety scale of adolescents in the CBGT group was significantly lower than that before treatment and the self-efficacy of emotion regulation was improved compared with that before treatment. e difference between the control group and the 12th week was not statistically significant. e conclusion shows that CBGT can effectively improve the symptoms of adolescents' social anxiety and improve the self-efficacy of emotion regulation. However, due to the complex process, the treatment cycle is long [14].

Evaluation System of Cognitive Behavior Diagnosis and Treatment of Adolescent Social Anxiety
is section sheds light on the overall design of adolescent social anxiety cognitive behavior diagnosis and treatment evaluation system, functional, structural design of cognitive behavior diagnosis and treatment evaluation system for adolescents' social anxiety, and database design. It will help clarify the evaluation system of cognitive behavior diagnosis and treatment of the adolescent. e explanation is as follows.

Overall Design of Adolescent Social Anxiety Cognitive Behavior Diagnosis and Treatment Evaluation System.
e design idea of cognitive behavior diagnosis and treatment evaluation system for adolescent social anxiety is to combine new computer technology with artificial intelligence and medical technology to build a human-computer interaction and intelligent evaluation system. It will realize the scientific and correct evaluation of adolescent social anxiety patients. Figure 1 shows the evaluation system of the B/S (Browser-Server) mode. In Figure 1, the client browser only undertakes less logical operations. Most of the operations in the system functions are realized through the server, thus forming a three-tier structure framework of the client, browser, and server. e evaluation system of this model can effectively reduce the development, maintenance, and upgrade costs of the evaluation system. It simplifies the operation process of the client and effectively improves the system's efficiency [15].
Adolescent social anxiety patients send a request to the web server through the browser. e browser displays the requested data of adolescent users, such as pictures or videos, while receiving the file [16]. After receiving the request, the server sends the request to the database server that stores the data for execution and returns the results from the database server to the system browser in the form of an HTML file [17].

Function and Structure Design of Cognitive Behavior Diagnosis and Treatment Evaluation System for Adolescents' Social Anxiety.
e cognitive behavior diagnosis and treatment evaluation system of juvenile social anxiety includes three modules. ey are evaluation, audit, and qualification modules. According to relevant doctors' actual positions and titles, correctly divide the roles of superior doctors and ordinary doctors, and set the operation authority for different roles. e operation authority of superior doctors is higher than ordinary doctors. It has the function of qualification review. Figure 2 shows the functional design of the module of the cognitive behavior diagnosis and evaluation system for adolescents' social anxiety. e overall functional modules of the system are described in Figure 2.

Youth User Registration and Login.
After registration, new users can only enter the cognitive behavior diagnosis and treatment evaluation system. Before dividing the operation authority of new users, they must submit their real information for qualification and authentication, and the superior doctor decides whether they are qualified to enter the evaluation page. It can effectively avoid malicious registration and chaotic management [18].
ere are two ways for users to log in: user name login and mobile phone number login. After registration, users  Scientific Programming must enter the correct user's name and password on the login page of the cloud platform to enter the diagnosis and treatment evaluation platform. It is convenient for users to log in to the system even if they forget their password [19].

User Evaluation Module.
New users can conduct evaluation operations after completing the registration and review. Currently, users (doctors) registered on the evaluation platform can only conduct cognitive function evaluation on the evaluation object (adolescent social anxiety patients) entered into the account. Patient information and evaluation results cannot be shared among evaluation doctors. It can effectively avoid the disclosure of patient information.

User Audit Module.
e qualification review function of the cognitive behavior evaluation platform for adolescent social anxiety can provide doctors with the ability to review the qualification information submitted by new users, reject or receive operations, and perform the cognitive behavior evaluation function only after reviewing new users. In addition, the qualification review page can also query and display the review status of subordinate users. After passing the audit, if the new user registers under the professional title, he/she will obtain the audit qualification. If not, he will be a general evaluation doctor. e superior doctor can choose to refuse or accept the operation.

User Qualification Authentication Module.
e qualification certification of adolescent social anxiety cognitive behavior evaluation platform can carry out qualification certification for login users. e newly added users must fill in the certification and submit the certification [20]. ey can only use the system evaluation function after being reviewed and confirmed by the superior doctor. If the review fails, the new user can continue to submit the qualification certification and view the user's historical certification information on the page.

Structure of Cognitive Behavior Evaluation System.
e use process of the cognitive behavior evaluation platform is shown in Figure 3. It shows the current cognitive behavior evaluation platform for adolescent social anxiety. Doctors are only allowed to register and review the qualification of subordinate doctors or evaluate patients according to their needs. According to web page prompts, the above operations can be realized by logging in to relevant web pages through the browser.

Database Design.
e database of adolescent social anxiety cognitive behavior evaluation system mainly refers to the abstraction of the analyzed information after analyzing the users' needs. It is used to obtain the system information world structure and implement the database. e database in the system contains many relational tables. is paper specifically represents the doctor's table and patient table. Table. is table stores the basic information of login users (doctors). It includes the user ID, gender, and audit status. e basic information structure of doctors is represented in Table 1.

Basic Patient Information.
is table stores all patient information entered by the current login user, including name, outpatient number, and address. e information table of adolescent social anxiety patients is represented in Table 2.

Predictive Modeling of the Relationship between Cognitive-Behavioral Therapy and Adolescent Social Anxiety Based on Deep Learning
is section explains the characteristics of vector acquisition of adolescent social anxiety performance weight and the establishment of a correlation prediction model. Based on deep learning, it will help clarify the predictive modeling of the relationship between cognitive-behavioral therapy and adolescent social anxiety. e explanation is as follows.

Vector Acquisition of the Weight of Adolescent Social
Anxiety Performance Characteristics. In the process of predicting and optimizing the correlation between cognitive-behavioral therapy and adolescent social anxiety, the risk and protective factors of adolescent growth are screened  from the perspectives of individuals, school, family, and society. e support degree of factor fuzzy itemset is defined. e vector of morphological feature index weight of adolescent social anxiety is calculated. e detailed steps are as follows.
Use (1) to obtain all the factors causing teenagers' social anxiety: (1) In (1), X represents the factors that cause teenagers' social maladjustment, y represents the social events that aggravate teenagers' social maladjustment, N represents the category attributes of different factors, and n represents the function of membership on attributes. e factors causing adolescents' social anxiety mainly come from social stress, traumatic events, or the accumulation of individual environmental stress [13]. In the process of teenagers' growth, the factors that affect their growth are risk and protective factors. ese two factors are two extremes of the same variables. Whether the variable is a certain factor depends on the score of the corresponding variable of the adolescent individual, not the attribute of the variable itself [14]. erefore, the risk factors and protective factors in the growth process of teenagers are screened out from all factors in formula (1). It is assumed that (Z 1 , Z 2 . . . Z n ) represents the different attributes of all factors causing teenagers' social anxiety. Formula (2) is used to calculate the value of Category attribute Z n+1 as In formula (2), x k represents the samples of different factors causing teenagers' social anxiety, (Z n+1 ) represents the function of attribute Z membership, D k represents the fuzzy membership value of attribute k of teenagers' social anxiety factors, and A i represents the number of attribute k membership functions.
If D f represents the sample of unknown factors of adolescent growth, r j represents the fuzzy correlation between adolescent growth factors and family, school, and society and screens the risk factors and protective factors of adolescent growth according to the calculated Z n+1 .
In formula (3), FS represents the growth factors of teenagers and the fuzzy association rules between people, families, schools, and society. 〈Z: R〉 represents the growth factors of teenagers and the risk factors of people, families, schools, and society. 〈Y: C〉 represents the growth factors of teenagers and the protective factors of people, families, schools, and society.
rough formula (4), the fuzzy itemset support of risk factors and protective factors is defined and expressed as In formula (4), max(v) represents the fuzzy frequent item sets of different factors, q represents the analogy setting of samples of different factors, and l represents a new index for evaluating the support of fuzzy item sets of different factors.
Here, S B represents the manifestation of teenagers' social anxiety, S A represents the manifestation of being at a loss, and S Q represents the manifestation of rapid heartbeat. Substitute formula (4) into formula (5) to obtain the vector of characteristic index weight of adolescent social anxiety: In formula (5), v p represents the distinction between the characteristic membership functions of the manifestations of adolescents' social anxiety, f 1 represents the number of characteristic variables of the manifestations of adolescents' social anxiety, f Δ indicates the morphological characteristics of being at a loss, f ξ indicates the characteristics of the manifestations of heartbeat acceleration, and f ϕ indicates the manifestations of adolescents' cognitive behavior [17,18].

Establishment of Correlation Prediction Model.
On the basis of obtaining the weight vector of the morphological characteristics of adolescents' social anxiety, a correlation prediction model is established. e specific process is as follows.
(Z ij ) n×m represents the weight of different factors of teenagers' social anxiety and (V) n×m represents the vector ranking the different factors of teenagers' social anxiety. Based on the above acquisition of vc(r j ), the vector optimal value of the weight of the characteristic index of the expression form is defined. It is expressed as In formula (6), W m1 represents the incommensurability between different factors, r 1 represents the number of Scientific Programming factors, f m represents the subjective factors of teenagers' social anxiety, f n represents the objective factors of teenagers' social anxiety, η represents the deviation of different factors, and f i×η represents the proportion of different factors of teenagers' social anxiety and meets the condition of η ≤ 0. e correlation prediction model between cognitive behavior and adolescent social anxiety is established through In formula (7), ψ represents the judgment matrix of adolescents' social anxiety. e above process completes the prediction research on the diagnosis and treatment effect of adolescents' social anxiety based on deep learning cognitivebehavioral therapy.

Analysis of Experimental Results
In order to verify the effectiveness of cognitive-behavioral therapy based on deep learning in predicting the diagnosis and treatment effect of adolescent social anxiety, simulation experiments were carried out. 100 adolescents with social anxiety were selected for experimental data with an average age of 16 years. e system requirements for experimental data and simulation are shown in Table 3. Table 4 shows the prediction time comparison between the relevance prediction model of adolescents' social anxiety and the traditional relevance prediction model of cognitivebehavioral therapy based on deep learning proposed in this paper.
e analysis of Table 4 shows that the prediction time of the correlation prediction model proposed in this paper is different from the traditional correlation prediction model. e prediction time of the model proposed in this paper is significantly faster than the traditional method. Figure 4 shows the accuracy comparison between the correlation prediction model and the traditional model proposed in this paper. It shows that the relevance prediction model proposed in this paper can effectively improve teenagers' social anxiety prediction efficiency.
As shown in Figure 4, the accuracy of the traditional prediction model in predicting the diagnosis and treatment effect of adolescent social anxiety is not high since the experiment. With the number of experiments, the overall accuracy has not been significantly improved. e prediction accuracy of the correlation prediction model used in this paper is higher from the beginning of the experiment. e overall accuracy has been very stable with the increasing number of experiments. Figure 5 shows the stability comparison between the proposed correlation prediction model and the traditional model proposed in this paper. It shows that the relevance prediction model proposed in this paper can well predict adolescent social anxiety's diagnosis and treatment effect. e method proposed in this paper has good overall stability at the beginning and end of the experiment. As shown in Figure 5, when the traditional prediction model predicts the diagnosis and treatment effect of adolescent social anxiety, the stability of the model is 71% at the beginning of the experiment. It gradually decreases with the increase in the number of experiments. Figure 6 shows the complex comparison between the proposed correlation prediction model and the traditional model proposed in this paper.
e analysis of Figure 6 shows that the complexity of this model in predicting the correlation between cognitive behavior therapy and adolescent social anxiety is significantly lower than that of the traditional model. It shows that the overall process of this model in predicting the correlation between cognitive behavior therapy and adolescent social anxiety is relatively simple and feasible. Figure 7 shows the correlation prediction model proposed in this paper and the    rough the analysis of Figure 7, it can be seen that the effect of applying the traditional model to the diagnosis and treatment of adolescent social anxiety is poor. e cognitive behavior therapy based on deep learning proposed in this paper has a good effect on diagnosing and treating adolescent social anxiety. erefore, because this paper constructs the correlation prediction model between cognitive behavior therapy and adolescent social anxiety and treats adolescent social anxiety through cognitive behavior therapy, it can effectively alleviate adolescent social anxiety.

Conclusion
To effectively alleviate the current social anxiety of adolescents, the effect prediction of cognitive behavior therapy based on deep learning applied to the diagnosis and treatment of adolescent social anxiety was studied. Firstly, the system of adolescent social anxiety is constructed. Secondly, the correlation prediction model between cognitive behavior therapy and adolescent social anxiety based on a multiobjective evolutionary algorithm is constructed. Anxiety disorders appear to be stealthy, with a protracted clinical course, low recovery rates, and high recurrence rates, according to these studies. e existence of particular concomitant mental conditions reduced the chances of recovery and increased the likelihood of recurrence of anxiety disorders. e risk and protective factors in the growth of teenagers are screened from the perspectives of people, family, school, and society. e subjective and objective factors of teenagers' social anxiety are extracted utilizing the grey correlation degree. Similarly, the correlation prediction model between accurate cognitive behavior therapy and teenagers' social anxiety is also established. Compared with other models, the method proposed in this paper can effectively improve teenagers' social ability and is feasible. e findings contribute to our knowledge of the illnesses' nosology and management.

Data Availability
All the data are included within the article.

Conflicts of Interest
e authors declare that they have no conflicts of interest for publication of this paper.    Scientific Programming