- Social Computing and Information Retrieval Research Center, Harbin Institute of Technology, Harbin, China
Nowadays, adolescents would like to share their daily lives via social media platforms, which presents an excellent opportunity for us to leverage these data to develop techniques to measure their mental health status, such as depression. Previous researches focus on the more accurate detection of depression through statistical learning and ignore psychological understanding of depression. However, psychologists have given lots of theoretical evidence for depression. Such as according to cognitive psychology research, cognitive distortions will result in depression. Thus, in this study, we propose a new task, explainable depression detection, to not only automatically detect depression but also try to give clues to depression based on cognitive distortion theory. For this purpose, we construct a multi-task learning model based on a pre-trained model to detect depression and identify cognitive distortion. And we use many analytical means including word clouds for data analysis to draw our conclusion. Previous social media users' depression corpus and our cognitive distortion corpus are utilized for analysis and experiment. Our experimental results outperform the baseline results and interesting conclusions about adolescent depression are drawn.
1. Introduction
At present, people's mental health problems have become more and more serious. During the COVID-19 pandemic, 53.8% of Chinese residents rate the psychological impact of the COVID-19 outbreak at moderate to severe levels, including 16.5% with depressive symptoms and 28.8% with anxiety (1). The psychological impact of the crown pneumonia epidemic on adolescents is more serious, 22.28% of adolescents are suffering from depressive symptoms in China (2). Among these psychological problems, depression, or called Major Depressive Disorder (MDD) is the most common one. Previous research has proved the language used by people with depression is different, such as more focus on self and detachment from the community, which prompts us to use language to automatically detect depression (3).
A large number of people, especially adolescents, are more willing to share their information on social media and people with depression also post their life events without directly interrupting or disturbing someone and get emotional support from it (4). These social media posts constitute a user's electronic footprint on the internet, which contains information about the user's daily life. Therefore, social media posts are useful to detect latent depressive risk.
With the development of statistical learning techniques, a large number of statistical learning methods have been applied to develop automatic depression detection tasks, such as BoW (Bag of words) and SVM(Support Vector Machine) (5, 6). Classic deep learning methods such as convolutional neural networks (CNN) and recurrent neural networks (RNN) have demonstrated their superiority in depression detection (7). Recently, the pre-trained model such as BERT has been introduced to improve the performance (8). However, most of the current researchers just focus on predicting whether the user is depressed or not based on linguistics statistical characteristics. They try to model the data using various statistical learning methods but ignore the long-running psychological research on depression. On the one hand, they do not take the psychological understanding of depression into account. On the other hand, simply giving a binary judgment of depression will not help professionals in subsequent treatment and intervention. In our research, we provide psychologists with effective clues about depression according to psychological theory, which can not only increase the credibility of the model but also guide subsequent psychologists' treatment.
In our research, the theory of cognitive distortion about depression is introduced to depression detection. Although the root of depression is still unclear in the field of psychology, psychologists have conducted extensive research and discussions on the occurrence and treatment of depression. Beck's cognitive distortion theory of depression believes that depression is caused by cognitive distortion (9, 10). A cognitive distortion is defined as a person's inaccurate perception of the real world, and it can reinforce negative thoughts and lead to depression. As shown in Table 1, these are common cognitive distortions, which represent people's inaccurate perceptions of the world. Cognitive distortion theory research on depression has provided us with a new perspective that we can assist detection of depression by capturing cognitive distortion languages. These cognitive distortion languages can be computed by computer, which has been proved by some word-level features in various aspects (11). We will go further by proposing the cognitive distortion classification task to automatically identify cognitively distorted sentences using existing natural language processing techniques.
Introducing cognitive distortion theory can also provide model explanations. As mentioned above, cognitive distortion theory provides a potential possible clue for depression. If we identify the cognitive distortion language of depressed patients, we can allow professionals to understand and treat depression via cognitive distortion theory. It also makes it easier for psychologists to correct cognitive distortions. This is more valuable than simply giving a binary judgment of depression.
Because cognitive distortions are very associated with depression, we analyze and exploit this relationship from the perspective of deep learning techniques. As Figure 1 shows, by combining depression detection with cognitive distortion detection, we construct an explainable depression detection model. The model has gotten the detection ability for cognitive distortions and improved the ability to detect depression. It is also better to help professionals treat depression by presenting cognitive distortion information. We use an advanced language model, BiDirectional Encoder Representation From Transformers (BERT) (12) to identify cognitive distortion language in social media posts of users and aggregate this information to obtain user representations to guide the depression detection model. Finally, our model can detect post-level cognitive distortion information and user-level depression. In this way, our model can not only detect depressed users more convincingly but can also help further correct this distorted information.
Figure 1. Our task is shown in the figure, labeling cognitive distortions at the post-level and depression at the user-level. The cognitive distortions are labeled with the 11 cognitive distortions.
In our study, we establish systems that could perform both tasks simultaneously, detecting depression and cognitive distortions. At the same time, we use many means to analyze the results obtained by the model, especially the cognitive distortion phenomenon in adolescents with depression, and we draw some interesting conclusions. In our research, we also create a cognitive distortion dataset and extend it to the social media domain using a semi-supervised approach. Experimental results show that the system outperforms the baseline model. Our research takes a step toward combining artificial intelligence technology with cognitive psychology, providing a new perspective for developing psychology-related artificial intelligence.
Our contributions are:
1. As far as we know, we are the first to use deep learning techniques to detect depression based on cognitive distortion. We explore the feasibility of introducing psychological conclusions into natural language processing.
2. We have examined the relationship between cognitive distortions and adolescent depression in psychology using deep learning techniques. At the same time, we also analyzed the differences in cognitive distortion in patients with depression in different age groups.
3. We construct a small publicly available corpus of cognitive distortions. At the same time, we extend it to social media data. For the first time, we combine the two tasks to improve the performance and interpretation of depression detection.
2. Cognitive distortion based explainable depression detection method
In this section, we introduce our cognitive distortion based explainable depression detection method. We first introduce the cognitive distortion theory and the relationship between cognitive distortion and depression. We then introduce a cognitive distortion classification task. Finally, we propose a new technique to detect both cognitive distortions and depression automatically.
2.1. Cognitive distortion theory on depression
2.1.1. Definition of cognitive distortion and relationship to depression
Aaron Temkin Beck developed the Cognitive Distortion Theory in his research on depression (10, 13). And on this basis, he put forward the treatment of depression, Cognitive Behavioral Therapy (CBT). Cognitive distortions are thoughts that cause an individual to perceive reality improperly. Such improper information processing affects the patient's mood, behavior, and physiology so that the patient's social and interpersonal functioning deteriorates which leads to more negative thoughts. Patients are lost in their own cognitive distortions, and the negative emotions continue to strengthen, which leads to depression. Specifically, cognitive distortions reinforce negative emotions and thoughts and lead to an overall negative view of the world and a depressed mental state. Cognitive distortions are described as 11 thought patterns, as shown in Table 2. CBT believes that by reversing the user's cognitive distortions, the user's depression can be treated.
Table 2. Eleven common cognitive distortions and their descriptions (14).
2.1.2. Cognitive distortion modeling
Cognitive distortions are reflected in the use of language. A set of cognitive distortion words is proposed by previous research, and posts containing these words are cognitive distortion posts (11). And Some research tries to use the Linguistic Inquiry and Word Count (LIWC) dictionary (15), which contains more than 32 categories of psychological catalog and decision tree methods to judge whether there is a cognitive distortion in a person's speech (16).
We argue that cognitive distortions can be learned by natural language models. Current natural language models can detect whether a post contains cognitive distortions. We discuss the cognitive distortion identification task below.
2.2. Cognitive distortion classification task
In this section, we discuss how we design and model the cognitive distortion classification task. We use existing natural language models to learn from the dataset we build. After learning, the model can detect cognitive distortions. Later, this method will be used to improve the depression detection model performances.
2.2.1. Cognitive distortion corpus
Leveraging natural language processing techniques requires a dataset. However, to our knowledge, there is no publicly available corpus of cognitive distortion detection. Annotating cognitive distortion labels requires professional knowledge and skills in psychology and it is difficult to annotate for annotators without professional skills. It requires specialized psychology practitioners to consume huge labor and time. To avoid this, we use some data from the internet and then expand to the size we need.
2.2.1.1. Collecting data from the internet
To obtain reliable annotations using the lowest cost, we employ a new data acquisition method. We first construct a small-scale dataset that obtains the data from two sources: We use examples from published research papers on cognitive distortions and examples from articles on the web that introduce cognitive distortions. The distribution of our dataset is shown in Table 3.
2.2.1.2. Expanding social media data
We have constructed a cognitive distortion dataset based on experts. However, the amount of data in our dataset is still too small for existing deep learning techniques. These data are not generated on the social media platform, so there may have gaps with data from social media. If our data distribution is inconsistent, it will not help social media depression detection.
To obtain a larger dataset of social-media-based cognitive distortions posts, we augment the data on social media in a semi-supervised manner. We train a classifier on our small dataset and then use this classifier to classify social media data. This will generate soft labels. We pick data that have high confidence as our new dataset.
We choose 100 posts randomly and check their labels to make sure their getting correct labels from pre-trained model. As shown in Table 4, we show the precision from the 100 posts we extracted. It can be seen that the precision of the pseudolabels varies significantly on different classes. This is mainly due to the differences in the difficulty of detecting the different classes. Overall, the precision of pseudolabels is acceptable.
In this way, we expand our dataset and obtain a dataset entirely consisting of social media posts, which makes the use of deep learning technology possible. The data distribution after semi-supervised learning is shown in Table 5.
2.2.2. Classifying cognitive distortion
BERT, a pre-trained deep learning language model, is used extensively in our research. We use it as the semi-supervised classifier and base model. BERT is an advanced natural language processing model and has been trained extensively on large-scale data. An advanced classifier can be easily obtained by fine-tuning BERT on a small dataset, so we choose it as our base model.
Actually, BERT is a Transformer (17) encoder and already optimized. There are two training tasks for BERT. The first one is to predict masked words and the second one is to determine whether two sentences are related. The researchers believe that in this way, the model can understand the semantics.
A cognitive distortion classifier can be trained by learning a cognitive distortion dataset using BERT. We treat cognitive distortion detection as a classification task. As shown in Figure 2, the input is a post on social media, and the output is the type of cognitive distortion contained in the post. The model outputs a total of 12 labels, including 11 cognitive distortions and no cognitive distortions.
Figure 2. We use BERT to identify cognitive distortions. Users input the text, and the model can output the categories of cognitive distortions it contains.
2.3. Cognitive distortion based explainable depression detection model
According to cognitive distortion theory, cognitive distortion can result in depression. Cognitive distortion detection is closely related to depression detection, and both of them can be expressed through language. We use the cognitive distortion detection task to guide the model for the depression detection task. We believe that modeling cognitive distortions can directly help the model improve depression detection performance. At the same time, cognitive distortion detection will lead to a better explanation of the depression detection model.
We think the model will benefit from combining both tasks. To achieve this, a multi-task architecture is introduced into our model. Multi-task tries to use useful information from multiple closely related learning tasks to help machines model more accurately and is a commonly used modeling method in machine learning. Because of the close relationship between cognitive distortions and depression, we think it would be appropriate to use multitask model to model them.
2.3.1. Model overview
We describe a neural network architecture for performing text classification over multiple input texts. We propose our model based on this architecture for performing two tasks in the social media and mental health domains.
We use the pre-trained technique and multi-task on the architectures of our model. Figure 3 summarizes the flowchart for the screening process based on our models. The inputs of our models are the users' posts. There are two kinds of output, cognitive distortion predictions for each post and depression predictions for each user. At the user-level, the model needs to decide whether the user suffers from depression. At the post-level, the model needs to output the probability distributions of the eleven classes of cognitive distortion. Use the useful information contained in multiple learning tasks to help learn a more accurate learner. In our architecture, there are two tasks at different scales. The main task is the detection of user-level depression. Whereas, cognitive distortion recognition works at the post level as an auxiliary task. Our multitasking arrangement is such that aggregation is done at the user level after explicitly training the cognitively distorted information within the post.
Figure 3. This is our model's structure. Our model uses user posts as input and produces two outputs, cognitive distortion predictions for posts vs. depression predictions for users.
2.3.2. Post-level cognitive distortion detection
This part is completed with the data obtained by the semi-supervised classifier and does not involve data aggregation. At post-level, we directly map the encoded data to the cognitive distortion category. The pretrained model has a powerful learning ability to learn the cognitively distorted language.
In this module, all posts will be fed into the encoder to get the text representation of posts. This encoder is shared between the two tasks. User-level issues are not involved here, so is abbreviated as ht in this. The process formula is as follows:
It is then mapped to 12 classification results through a Feedforward Neural Network (FFN).
p represents the user's posts, and h represents the hidden representation. The Encoder is BERT in our implementation. n is the number of input posts. c is the prediction result of the model. is the real label for cognitive distortion.
We use the cross-entropy loss function. The machine learning process guides the model to make correct predictions by optimizing the loss function. In the loss function, t is the true cognitive distortion label for the i-th post. ct is the predicted label given by the model.
Through this auxiliary task, BERT's encoding results will contain information related to cognitive distortions. This information is helpful for the next step in the model to detect depression. At the same time, the prediction results can also be displayed to professionals to further understand the user's psychological state.
2.3.3. User-level depression detection
For user-level depression detection, it is necessary to combine all the user's posting history information. We have added information about cognitively distorting judgments to each post through multi-task learning. After encoding, we use Long short-term memory (LSTM) (18) Attention (19) to aggregate information. LSTM can get contextual information for each post and aggregate information from user posts. User posts contain a lot of useless information, and Attention automatically filters and aggregates relevant posts. Finally, we get our depression prediction results through FFN.
Symbols have the same meaning as above. d is the model predicting depression outcome. We use the cross entropy loss function. N is the number of users entered.
In this part, the model aggregates posts with cognitively distorted information to get the final result. The model can improve its own depression detection performance using detecting cognitive distortion as an auxiliary task.
During training, we optimize two training objectives simultaneously, the model needs to detect both cognitive distortions and depression.
The final loss function is:
3. Experimental result
3.1. Metrics
We use specificity, precision, and F1-score commonly used in the computer field to evaluate the performance of the model. The calculation of these indicators is as follows:
TP = The user is a depressed user and the model predicts correctly.
TN = The user is a non-depressed user and the model predicts correctly.
FP = The user is a depressed user and the model predicts wrong.
FN = The user is a non-depressed user and the model predicts wrong.
3.2. Depression corpus
For social media datasets, we use two public datasets, the eRisk-2018 (20) and Clpsych-2015 datasets (21). The annotation process of these datasets is divided into two steps. They use a web crawler to retrieve posts similar to: "I suffered from depression" or "I diagnosed with depression" on social media platforms. Then they let professionals judge whether the post is credible or just a joke. If it is a credible description rather than a joke, they will collect the user's posting history.
The datasets are annotated in this way by automatic and manual work. It ensures a wide range of data sources and also guarantees the authenticity and reliability of the data.
Although these data are all collected on social media platforms, they are collected on different kinds of social media platforms. The distribution of the data is shown in Table 6.
Among them, the Clpsych-2015 dataset contains more detailed user-level features, which allows us to do some additional analysis.
3.3. Result
We test our model on two datasets. Our result shows that performing cognitive distortion detection as an auxiliary task effectively improves the sensitivity and specificity of our model. We compared outcomes with and without cognitive distortions as auxiliary tasks. Our result as the Table 7 shows:
Our model achieves improvements in all metrics. This proves the correlation of the two tasks from a computing perspective, and multi-task learning only improves the model's performance when the two tasks are related. We believe that the identification of mental illness can be improved in the future by adding psychological auxiliary tasks. In the future, depression detection can also be enhanced from the perspective of improving cognitive distortion recognition.
4. Discussion
4.1. The prevalence of cognitively distorted language in depression people
Some previous researchers have proved the relationship between cognitive distortion and depression via questionnaires (22). However, the questionnaires cannot track people's daily life and are disturbed by the state of the respondents who fill in the questionnaires.
In this section, we will demonstrate that depression patients express more cognitive distortions in their post histories than normal users via natural language processing technology. We explore the association of cognitive distortions with depression users' posts on the Clpsych-2015 dataset.
We use cognitive distortions as a percentage of all posts on behalf of the prevalence of user cognitive distortions. We define the prevalence as follows:
Where Nnormal is the number of normal post data and Ncogn is the number of posts with cognitive distortions.
We use deep learning technology to prove that depression patients have higher levels of various cognitive distortions than normal users and validate psychological theory about the relationship between cognitive distortions and depression. The results are shown in Figure 4.
Figure 4. This is a boxplot of various cognitive distortions. The vertical axis is the percentage of total information, and the horizontal axis is the abbreviation for the type of cognitive distortion.
In Figure 4, we can also find some differences in the model's detection result of various cognitive distortions. The model has the worst detection ability for mental filtering. The model only detects a small number of posts that contain mental filtering content. We believe that is because of the imbalance of the data when we collect it. And the characteristics of social media platforms themselves are also related to this.
For example, mental filtering is defined as users ignoring the positive parts of the event and focusing on the negative aspects of the event. This is difficult to reflect on social media posts. However, labeling and mislabeling, defined as labeling oneself or others has become a more common cognitive distortion when users interact with each other on social media.
4.2. Cognitive distortion in adolescents with depression
In this section, we show how cognitive distortions change with age, including changes in frequency and content. This research will provide inspiration for how to treat depression patients of different ages, especially adolescents.
As far as we know, this analysis is the first to analyze cognitive distortions based on social media among different ages. Before our research, the usual cognitive distortion data must be obtained through the psychologist in the interview to understand the cognitive distortion information. The problem is that none of these analyzes can be used as a real experience of everyday life, and the amount of data is few.
4.2.1. The frequency of cognitive distortions in different age groups
We try to analyze the differences in the frequency of cognitive distortions on social media between people with depression and normal people in different age groups. We still use the above ppopular to describe the frequency of cognitive distortions. We divide data into a, b, c, and d four age groups, indicating early adolescence (10–15), late adolescence (16–22), adolescence (22–35), early middle-aged (22–35), and middle-aged (35-). Our first two age groups are based on secondary school and university levels. We define the last two age groups as post-college until age 35 when most people have just graduated and started working, and after age 35, when most people enter a stable life stage. We calculate the average frequency of occurrence of cognitive distortions across age groups. The results of our analysis are shown in Figure 5.
Figure 5. This figure shows the change in the number of tweets with cognitive distortions on social media platforms with age. The horizontal axis is the group, and the vertical axis is the percentage of total cognitively distorted tweets.
We find that cognitive distortions detected on social media tended to decline broadly with age, in both depressed and normal individuals. We think there are two reasons for this: Adolescents are at a time when their perception of the world is forming. This age group involves a profound amount of change in all domains of development–biological, cognitive, psycho-social, and emotional. It is easy to create unreal perceptions of the world, lives, and themselves. At the same time, we cannot deny that people of different ages express themselves differently on social media. Adolescents prefer to express themselves and share their lives on social media, while other age groups are more likely to use it as a connection tool, so the data obtained from social media may have bias.
4.2.2. The content of cognitive distortions in different age groups
We count word frequencies in cognitively distorted sentences in data across age groups and produced word clouds. As shown in Figure 6, there are some differences between different age groups:
Figure 6. This image shows which words previous cognitive distortions focus on in various groups of people.
For adults with depression, their cognitive distortions come from work stress and a more trivial life. Their cognitive distortions focus on work.
For adolescents with depression, “mom,” “friend,” and “love” are the most frequently mentioned by adolescent depression patients. For the increased frequency for “mom,” We think that the role of the mother in the family is the key role in producing cognitive distortions in adolescents with depression. This may be because traditionally mothers have more parenting responsibilities and time than fathers. The importance of mothers is much higher than other family members. We think that the presence of “friends” represents social problems in adolescents with depression. As cognitive distortion theory points out, cognitive distortions reinforce social withdrawal, and social withdrawal continues to reinforce cognitive distortions. At last, the high frequency of “love” indicates that lack of love in life is also one of the factors that result in depression.
For normal people, the positive vocabulary in the language increases a bit. This also shows that the cognitive distortion we are talking about is not a negative emotion, but a thinking pattern.
4.3. Case study
We present here the output of our model to show how the model can assist professionals in CBT. We will show the cognitive distortion languages extracted by the model, and the distortions present in these sentences. Psychologists can treat people with depression by reversing the distortions.
Our system gives cognitive distortion language after detecting people with depression. We see a large number of cognitive distortion languages in depression patients. As shown in Figure 7, the language posted by the user has no direct explicit connection with depression and is easily ignored by the model. But psychologists can see that users have cognitive distortions in their perception of reality, which is an important signal of depression. With our approach to modeling cognitive distortions, models can capture this difference.
Figure 7. This figure shows the difference between cognitively distorted extracted text and regular text. Professionals can use the text processed by the model to examine the psychological situation of users and treat them.
In the process of CBT for depression must first find out the cognitive distortions of users, which are often obtained through the analysis of user conversations. And depression patients get many cognitive distortions in their everyday lives. After identifying a depressed patient and discovering his cognitive distortions, the next step for professionals is to reverse them. We leave both steps to the computer to complete, which saves a lot of time and allows psychologists to help patients recover as quickly as possible.
4.4. Conclusion and future work
In our study, we construct a system that can perform both tasks of depression detection and cognitive distortion detection simultaneously, combining two psychologically closely related tasks and making them work together to improve depression recognition reliability and accuracy. We the first attempt to study cognitive distortions in people with depression using deep learning technology. At the same time, we analyze the output of the model, especially the cognitive distortion phenomenon in depressed adolescents, and obtained several key factors affecting the cognition of adolescents with depression. Technically, we build a cognitive distortion corpus and a multi-task learning model and combine psychological theory with natural language processing technology. From a theoretical point of view, we have verified the psychological conclusions and drawn some new psychological findings based on natural language processing technology.
In the future, we believe that the combination of computing technique, especially artificial intelligence research and psychology is inevitable. We believe that automated models will help psychologists better analyze data, and psychological theory can also feed the development of automated models. We hope to explore how cognitive distortions can be better calculated from a computer's point of view. And hope for more reliable, better-understood algorithms that automatically identify depression.
Data availability statement
The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.
Author contributions
BW and YZ conceived the idea of this study and collected the necessary data for this study. BW and XL jointly designed the experimental procedure for this study. BW developed the tools required for the experiments, performed the entire experimental procedure, and wrote the manuscript with input from all authors. BQ and XL give important references. All authors contributed to the article and approved the submitted version.
Acknowledgments
The authors sincerely thank all participants and their contributions in this study.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher's note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
1. Wang C, Pan R, Wan X, Tan Y, Xu L, Ho CS, et al. Immediate psychological responses and associated factors during the initial stage of the 2019 coronavirus disease (COVID-19) epidemic among the general population in China. Int J Environ Res Public Health. (2020) 17:1729. doi: 10.3390/ijerph17051729
2. Li JY, Li J, Liang JH, Qian S, Jia RX, Wang YQ, et al. Depressive symptoms among children and adolescents in China: a systematic review and meta-analysis. Med Sci Monit. (2019) 25:7459. doi: 10.12659/MSM.916774
3. Schwartz HA, Eichstaedt J, Kern ML, Park G, Sap M, Stillwell D, et al. Towards assessing changes in degree of depression through Facebook. In: Proceedings of the Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality. Baltimore, MD: Association for Computational Linguistics (2014). p. 118–25.
4. Park M, McDonald D, Cha M. Perception differences between the depressed and non-depressed users in Twitter. Proc Int AAAI Conf Web Soc Media. (2021) 7:476–85. doi: 10.1609/icwsm.v7i1.14425
5. Hiraga M. Predicting depression for Japanese blog text. In: Proceedings of ACL 2017 Student Research Workshop. (2017). p. 107–13.
6. Tadesse MM, Lin H, Xu B, Yang L. Detection of depression-related posts in reddit social media forum. IEEE Access. (2019) 7:44883–93. doi: 10.1109/ACCESS.2019.2909180
7. Orabi AH, Buddhitha P, Orabi MH, Inkpen D. Deep learning for depression detection of twitter users. In: Proceedings of the Fifth Workshop on Computational Linguistics and Clinical Psychology: From Keyboard to Clinic. (2018). p. 88–97.
8. An M, Wang J, Li S, Zhou G. Multimodal topic-enriched auxiliary learning for depression detection. In: Proceedings of the 28th International Conference on Computational Linguistics. Barcelona (Online): International Committee on Computational Linguistics (2020). p. 1078–89.
9. Allen JP. An overview of Beck's cognitive theory of depression in contemporary literature. (2003) 5:2014.
10. Beck AT. Cognitive therapy: nature and relation to behavior therapy. Behav Therapy. (1970) 1:184–200. doi: 10.1016/S0005-7894(70)80030-2
11. Bathina KC, Ten Thij M, Lorenzo-Luaces L, Rutter LA, Bollen J. Individuals with depression express more distorted thinking on social media. Nat Hum Behav. (2021) 5:458–66. doi: 10.1038/s41562-021-01050-7
12. Kenton JDMWC, Toutanova LK. BERT: pre-training of deep bidirectional transformers for language understanding. In: Proceedings of NAACL-HLT. (2019). p. 4171–86.
14. Yurica CL, DiTomasso RA. Cognitive distortions. In: Encyclopedia of Cognitive Behavior Therapy. Springer (2005). p. 117–22.
15. Pennebaker JW, Boyd RL, Jordan K, Blackburn K. The development and Psychometric Properties of LIWC2015. Austin, TX: UT Faculty, University of Texas (2015).
16. Simms T, Ramstedt C, Rich M, Richards M, Martinez T, Giraud-Carrier C. Detecting cognitive distortions through machine learning text analytics. In: 2017 IEEE International Conference on Healthcare Informatics (ICHI). Park City, UT: IEEE (2017). p. 508–12.
17. Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, et al. Attention is all you need. Advances in Neural Information Processing Systems, Vol 30. (2017).
18. Hochreiter S, Schmidhuber J. Long short-term memory. Neural Comput. (1997) 9:1735–80. doi: 10.1162/neco.1997.9.8.1735
19. Bahdanau D, Cho KH, Bengio Y. Neural machine translation by jointly learning to align and translate. In: 3rd International Conference on Learning Representations, ICLR 2015. (2015).
20. Losada DE, Crestani F, Parapar J. Overview of eRisk 2018: early risk prediction on the internet (extended lab overview). In: Proceedings of the 9th International Conference of the CLEF Association, CLEF. (2018). p. 1–20.
21. Coppersmith G, Dredze M, Harman C, Hollingshead K, Mitchell M. CLPsych 2015 shared task: depression and PTSD on Twitter. In: Proceedings of the 2nd Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality. Denver, CO: Association for Computational Linguistics (2015). p. 31–9.
Keywords: depression detection, cognitive distortion, cognitive psychology, social media, data mining, adolescent psychology
Citation: Wang B, Zhao Y, Lu X and Qin B (2023) Cognitive distortion based explainable depression detection and analysis technologies for the adolescent internet users on social media. Front. Public Health 10:1045777. doi: 10.3389/fpubh.2022.1045777
Received: 16 September 2022; Accepted: 23 December 2022;
Published: 17 January 2023.
Edited by:
Wulf Rössler, Charité Universitätsmedizin Berlin, GermanyReviewed by:
Rui Xia, Nanjing University of Science and Technology, ChinaZhongyu Wei, Fudan University, China
Copyright © 2023 Wang, Zhao, Lu and Qin. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Yanyan Zhao, yyzhao@ir.hit.edu.cn