Next Article in Journal
Deep-Learning-Driven Turbidity Level Classification
Previous Article in Journal
FinSoSent: Advancing Financial Market Sentiment Analysis through Pretrained Large Language Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Computing System for Complex Cases of Major Recurrent Depression Based on Latent Semantic Analysis: Relationship between Life Themes and Symptoms

by
Alin Gilbert Sumedrea
1,*,
Cristian Mihai Sumedrea
1 and
Florin Săvulescu
2
1
Department of Psychology, “Lucian Blaga” University of Sibiu, 550024 Sibiu, Romania
2
Department of Medical-Surgical Specialities, “Titu Maiorescu” University of Bucharest, 040441 Bucharest, Romania
*
Author to whom correspondence should be addressed.
Big Data Cogn. Comput. 2024, 8(8), 88; https://doi.org/10.3390/bdcc8080088
Submission received: 3 May 2024 / Revised: 28 July 2024 / Accepted: 31 July 2024 / Published: 5 August 2024

Abstract

The paper presents a computing procedure with the goal of suggesting applicable solutions to improve complex cases of major recurrent depression. The focus is on identifying the patients’ illness patterns and on finding solutions for alleviating problematic symptoms. The illness patterns synthesize the outcomes of the relationship between the patients’ life themes and symptoms. The testing of the effectiveness of illness improvement solutions was conducted by evaluating and comparing the Beck scores of patients after each psychotherapy session. In addition to latent semantic analysis used to identify semantic relationships between life themes and symptoms, the research also employed the correlation method to find life themes/symptoms that are experienced undistortedly and associations between life themes that amplify latent symptoms. The computing system was applied to eleven patients with severe forms of depression and their progress was monitored for six months. The results obtained following the application of the computing system demonstrated its ability to describe personalized illness patterns and to significantly improve, through its suggestions, the illness of all patients. These findings recommend the use of the computing system in severe cases of major recurrent depression.

1. Introduction

Clinical depression is undoubtedly part of life experience. Life as we perceive it is a chronology of events/moments that are subject to interpretations. Interpretations generate mood states. The fact that at least the initial moment of a person’s life cannot be influenced, postponed, or cancelled suggests that life as a whole must be accepted [1].
Furthermore, life in its entirety is a sequential and synchronous running of three programs: biological, psychological, and social. The finality of the biological program is the exhaustion of the genetic program; the finality of the psychological program seems to be the acceptance of one’s own life, while the finality of the social program is the exhaustion of the person’s life scenes [2].
Clearly, each individual/patient experiences life uniquely. The variety of interpretations given to the same stimuli/life events/contexts can be explained by the fundamental intervals of time of individuals. These intervals are capable of describing, through multiplication, the entire life horizon of all basic anatomical units and larger anatomical structures. Likewise, these intervals determine the number of life frames accessible to the individual in one second [2].
Personalized interpretations of life events suggest that, at its core, clinical depression in patients is a personalized pattern of biological, psychological, and social interaction impairments.
Major depressive disorder (MDD) is defined as a mental disorder [3] or as a mood disorder [4]. To be diagnosed with MDD, according to the Diagnostic and Statistical Manual of Mental Disorders, 5th edition (DSM-5), an individual must have five of the following symptoms: persistently low or depressed mood, anhedonia, feelings of guilt or worthlessness, lack of energy, poor concentration, appetite changes, psychomotor retardation or agitation, sleep disturbances, suicidal thoughts. One of the five symptoms must be depressed mood or anhedonia [5].
The prevalence of depression in different age groups has reached alarming levels. A recent study shows that 34% of adolescents aged 10–19 years are at risk of developing clinical depression [6]. Another meta-analysis involving 72,878 older adults demonstrated that 28.4% of them screened positive for depression [7]. The association of MDD with morbidity and mortality makes these values even more worrying [8].
The clearest and most visible effects of MDD, interpreted as associations, are dysfunctions and abnormalities at the level of the brain. Recent studies have shown that these abnormalities are due to the impairment of complex neuroregulatory systems and neuronal circuits [5,9,10,11,12,13]. Other studies highlight the connection between chemical imbalance in the brain and mood disorders [14,15].
How does MDD manifest at the mental level? An important characteristic of MDD is reduced emotional reactivity to sad contexts [16]. Self-compassion is often used as an adaptive emotion regulation strategy, especially by patients with high levels of depressed mood [17]. High levels of suppression of positive or negative emotions are associated with MDD symptoms [18]. The posibility of emotional regulation in MDD medicated patients is preserved, depending on the severity of the symptoms [19]. These conclusions do not exclude the specific manifestations of the experiences of patients affected by clinical depression [1].
Cognitive impairment and dysfunction are major causes of the onset and manifestation of clinical depression [20]. Cognitive dysfunction can be determined by altering certain biochemical/physiological processes. Changes recorded in the hypothalamic–pituitary–adrenal axis and decreased serotonin levels contribute to the development of cognitive decline [21]. There are findings that justify the importance of studying cognitive impairment because it persists despite the remission of depressive symptoms [22,23]. What is specific in major depression is the presence of strong connections between symptoms resulting from cognitive impairment [24]. A major cause of impaired thinking capacity determined by major depression is the persistence of negative self-information that is strongly interconnected in the cognitive system of patients [25]. The complicated thinking of depressed patients is influenced by the persistence of implicative dilemmas that determine cognitive conflicts [26]. Recovery from major depression is mediated by the increase in patients’ capacity to evaluate, observe, and regulate their own cognitive processes [27].
Assessing major depression is undoubtedly a challenging task. Here, a distinction must be made between the clinical presentation of MDD and how the illness is experienced at the patient level. The clinical presentation of the illness includes symptoms observed in patients diagnosed with clinical depression. However, DSM-5 does not accurately describe the experience of these symptoms.
Each moment of life is experienced from a biological, psychological, and social perspective. The sequential unfolding of life events elicits response reactions. These reactions are determined by fundamental life concepts through which individuals understand and interpret reality. The reactions induce experiences. Therefore, an essential presence in life is defined by the relationship between life themes and experiences. In the case of a life affected by clinical depression, studying the relationship between life themes and symptoms can offer a better understanding of the illness pattern and solutions for psychotherapeutic intervention.
The treatment of major depression involves both medication and psychotherapy. Although medication treatment usually leads to the improvement of certain physical symptoms of depression, a range of other psychological and emotional aspects such as those related to cognition and mental states may not improve adequately. In complex cases, with multiple relapses, the persistence and consistency of dysfunctional life themes are aggravating factors for the illness. Discussing certain life themes during the patient’s psychotherapy sessions to facilitate the reinterpretation of their dysfunctional life themes can lead to some symptomatic improvements. In complex cases, this approach can improve some symptoms and amplify other symptoms. An alternative solution would be to shift the patient’s focus towards other life themes with the potential to alleviate the problematic symptoms.
The research we propose is focused on identifying those categories of symptoms, both observable and less observable, that manifest at a mental level and deeply affect the quality of life of depressive patients. We consider that these categories of symptoms are major sources of relapse and exacerbation of the illness over time.
The unique manner in which the illness is experienced by the patient suggests that emphasis should be placed on the patient’s illness pattern rather than on identifying generic features of the illness that aid in diagnosis.
The observable symptoms of the depressive patient are actually the most relevant symptoms. In reality, the patient experiences a combination of symptoms, which, in our opinion, is a new symptom called the latent symptom (LS). The register of latent symptoms is often complemented by a distinct category of symptoms that intensify patients’ stress and anxiety, and also by symptoms that are experienced undistortedly. We refer to these three categories of symptoms as problematic symptoms (PSs). What we aim to demonstrate is that identifying and treating problematic symptoms is essential to understand and improve the illness.
In this regard, we designed a computing system that processes the natural language of patients to provide a personalised description of the illness pattern and suggest psychotherapeutic solutions. Natural language processing is performed through specific techniques of latent semantic analysis (LSA) [28,29].
To achieve a comprehensive description of the computing system, we structured this work as follows: Section 1—Introduction; Section 2—Related Topics, Works and Concerns; Section 3—Presentation of the Computing System for Assessing the Relationship between Life Themes and Symptoms in Patients Diagnosed with Major Recurrent Depression; Section 4—Testing and Validation of the Computing System; Section 5—Discussion; Section 6—Conclusions.
The established abbreviations are used in the text of the paper, while any remaining abbreviations are employed within tables or in the interpretation of the results derived from these tables.

2. Related Topics, Works, and Concerns

In a broader context, our work could be integrated into the field of artificial intelligence applied in psychiatry, clinical psychology, and psychotherapy.
Undoubtedly, the specialized literature addressing depression from the perspective of artificial intelligence is vast. Remarkable progress has been made in creating products that incorporate the experience of diagnosing depression. The emphasis is on machine learning of both symptoms and associated behaviours. However, training machine learning models with symptoms and associated behaviours is difficult. Undoubtedly, one cause could be linked to the descriptions of the illness in diagnostic manuals. With a view to extracting complex symptoms and behaviors, significant progress has been made in identifying effective solutions for unsupervised machine learning [30,31]. At the same time, it is crucial not to overlook the fact that each individual possesses unique biological building capabilities that determine distinct behaviors, including those related to depression.
Despite the advancements, there are opinions underscoring the limitations of artificial intelligence products [32]. One such limitation pertains to the analysis of mood, which is essential in detecting early signs of depression and suicidal tendencies [33]. Another major limitation is the lack of definitive medical tests for depression [34].
The applications of LSA in clinical psychology and psychotherapy are consistent, where the focus is on identifying hidden variables that sustain cognitive impairments and dysfunctions. In our view, achievements of LSA aimed at intervention in major depression could be synthesized as follows: improving algorithms for latent semantic analysis in major depression [35,36,37,38,39]; the role of semantic interpretations in major depression [40,41,42,43,44,45]; subtle computing in major depression [46,47,48]; the use of latent semantic analysis in major depression [49,50,51,52,53].

3. Presentation of the Computing System for Assessing the Relationship between Life Themes and Symptoms in Patients Diagnosed with Major Recurrent Depression

Since the computing system is focused on the patient and on the symptoms for each life theme of the patient, we opted for a strictly matrix-based approach to the relationship between life themes and symptoms.
The construction of the computing system is part of an exploratory research endeavor aimed at evaluating the ability of LSA to accurately capture the patient’s illness pattern and provide effective suggestions for psychotherapy sessions. The overall objective of the computing system is to provide the necessary information for an efficient intervention aimed to improve the patient’s illness. To achieve this goal, we set the following specific objectives: to extract the LIFE THEMES-SYMPTOMS matrix for each patient; to describe the illness pattern of the patient by identifying dysfunctional life themes (Tis), irrelevant life themes (ILTs), latent life themes (LLTs), the most relevant symptoms (MRSs) in relation to life themes, and problematic symptoms; to provide the most suitable life themes as discussion topics for the patient’s psychotherapy sessions.
To achieve these objectives, the computing system uses the representation of life themes through symptom vectors, LSA, and the correlation method. The choice of these methods is justified by their ability to extract what is less visible, but with potential to worsen the illness. Specifically, these hidden aspects are represented by latent life themes, latent symptoms, nonspecific symptoms, and irrelevant life themes.
A latent life theme defines a composite theme resulting from the statistically significant association of life themes. This theme determines, with a certain probability, the symultaneously experiencing of the associated life themes. Each life theme is experienced through a latent symptom. Latent life theme can determine the amplification of some components of latent symptoms associated or the amplification of a latent symptom.
On the other hand, the statistically significant association of symptoms also generates a latent symptom. Therefore, latent symptoms are generated by life themes or by associations between symptoms.
Extraction of latent symptoms is facilitated by using matrix dimensionality reduction [54], often used by LSA [55,56,57,58].
In the case of our work, matrix dimensionality reduction transforms a space of higher dimensions into a space of lower dimensions, represented by the most specific (relevant) symptoms. Thus, similarities between life themes are interpreted in the new coordinates given by these symptoms, which allow the identification of hidden correlations. Additionally, LSA enables the identification of hidden semantic relationships between life themes/symptoms, which are more challenging to observe in the original space of higher dimensions. This way, LSA provides a more compact semantic representation of the data.
In a certain sense, cosine similarity can be interpreted as a correlation measure. However, what is specific to patients with severe forms of depression and multiple relapses is the strength of the associations between life themes/symptoms, especially in the case of those that present a potential threat to the integrity of the psychological system. Often, the strength of the associations between life themes/symptoms persists over time. Therefore, identifying and addressing them is essential. We used Spearman correlation applied to column vectors of an approximated matrix to capture and measure the strength and statistical significance of associations. This approximated matrix is obtained by reducing the dimensionality of the original matrix.
Representation of life themes through symptom vectors allows the identification of symptomatic noises. We define a symptomatic noise as a symptom that is present in all life themes. Thus, symptomatic noise is a nonspecific symptom. In the case of a patient diagnosed with severe depression, the presence of symptomatic noises can dramatically amplify anxiety, the burden of managing latent symptoms, and specific symptoms.
We define life themes represented exclusively by symptomatic noises as irrelevant life themes. Irrelevant life themes are major vulnerability factors for the patient, as they are impossible to manage despite being dysfunctional life themes. Since irrelevant life themes cannot be distinguished from other life themes, they must be eliminated from LSA.
The block diagram of the computing system is described in Figure 1.
The life themes of the patient diagnosed with major recurrent depression are dysfunctional ones associated with problematic symptoms. Redirecting the patient’s attention to other life themes involves identifying them from a more extensive source of themes. We identified this source within the patient group. This is the reason for the presence of the module for aggregating the patients’ matrices into a matrix of the group of patients.
Illness patterns and solutions for alleviating problematic symptoms, as outputs of the computing system, result exclusively from the processing of patients’ natural language. The natural language, as input to the computing system, is not subjected to manipulation or control to generate specific types of outputs. The system’s inputs and outputs are not treated as variables. Essentially, the entire research is based on the collection and processing of patients’ natural language using LSA techniques.
All modules are defined through data flow diagrams, except for the Processing Module of the Narrative, for which we provided a procedural presentation. Each diagram is described by processes, external entities, and arrows. The specific calculations for each process are performed in MATLAB R2024a.

3.1. Modules of the Computing System

3.1.1. Processing Module of the Narrative

The purpose of this module is to transform the patient’s narrative into a matrix in which the columns (life themes) are represented by the vectors of symptoms (see the first specific objective). Practically, through this matrix model, the patient’s experiences (symptoms) are linked to their dysfunctional sources (life themes).
Correct identification of life themes and symptoms is crucial for understanding the depression pattern at patient level. Their extraction must result from accurately interpretating text corpora by treating physicians/psychologists.
The thematic method [59] is used by this module to extract life themes. It is useful to employ the content analysis method to identify the symptomatic content of each life theme [1,60].
We now present the procedure used in this module. Each patient investigated is asked to present concisely, within a maximum of one page, the happiest, the unhappiest and also some daily events. What is the premise of this request? [1].
The absence of future perspective experienced in major depression (MD) engages the patient in a costly strategy of comparing an unfavorable present with a past unaffected by this absence. The reason behind such a strategy may lie in the need to sustain a state of seeking answers that justify and enable the acceptance of the traumatic event. In our opinion, the mood of patients is maintained by comparing the unhappiness and happiness themes, as well as by the presence of a daily theme encompassing activities, concerns, and so on necessary for managing the current psychological state [1].
The happiest events are grouped into the theme of happiness, the unhappiest events into the theme of unhappiness, and the daily events into the theme of everyday life [1]. Each of the three themes has to be divided into life subthemes [1]. Each life subtheme is a life theme (Ti). The life subthemes need to be validated by a group of experts.
Each life subtheme is divided into groups of meaningful words. Each group is described based on the symptom that the patient experiences at the time of the request. For this purpose, each patient is asked to select one of the following symptoms (Sis): anxiety, apathy, zest for life, fury, tranquility, regret, gratitude, low self-esteem, high self-esteem, fatigue, euphoria, sadness, happiness, and other symptoms [1]. The selection of this list was performed in accordance with the content of the three themes, which include positive/negative mental states.
All these symptoms are explained to the patients beforehand. To ensure that the patient accurately chooses Si, we ask them to justify their choice [1]. Additionally, patients need to be aware that selecting the option other symptoms involves specifying and justifying them. By providing the option other symptoms, we make sure that the patients can mention symptoms that are not included in the list.
The unique symptoms gathered from all the life themes of the patients investigated are coded. The symptom code indicates the position of the symptom in the life theme vectors. All the life themes are represented by column vectors of the same size, containing the associated values of the presence of all the symptoms. These associated values contain the summed values of the occurrence of each symptom in the life theme.
At the level of each patient, the matrix LIFE THEMES-SYMPTOMS contains all the column vectors of the life themes identified.
Algorithm 1 for generating the LIFE THEMES-SYMPTOMS matrix at the patient level is presented below.
Algorithm 1 Pseudocode for generating the LIFE THEMES-SYMPTOMS matrix
Input:
   1:    Vectors of symptom occurrences for each life theme in patient i
Output:     The matrix LIFE THEMES-SYMPTOMS in patient i, Ai
   2:        procedure for Ai construction
   3:         Initialize the matrix Ai
   4:         for each life theme vector do
   5:           for each symptom do
   6:            Sum up the occurrences of each symptom
   7:           end for
   8:           Write the transposed vector of the life theme in Ai
   9:            end for
   10:          return Ai
   11:     end procedure
Example 1. 
Life themes T1, T3, T20, T2, and T6 are identified in patient i. Each theme corresponds to a vector of symptom occurrences. These vectors are [3,3,3,4], [1,2,7,7,7], [4,3,3,1], [1,1,1,1,3,3,2,2,2,2,7,6,7,8], [1,3,3,2,4,4,4,4,4,4]. The components of the vectors are represented by symptom labels. For example, 4 is symptom number 4 and also the fourth component of the symptom vector. The procedure for obtaining these vectors is the one described above. Assuming that twenty symptoms are recorded at the level of the patient group to which patient i belongs, the LIFE THEMES-SYMPTOMS matrix for this patient is the one presented in Table 1.
The results of applying Algorithm 1 to the patients investigated (see Section 4) are presented in Table A1, Table A2, Table A3, Table A4, Table A5, Table A6, Table A7, Table A8, Table A9, Table A10 and Table A11.

3.1.2. Computing Module (CM)

CM processes the matrices LIFE THEMES-SYMPTOMS of the patients investigated. It contributes to achieving the second specific objective.
The data flow diagram for this module is presented in Figure 2.
The process Calculation of Normalized TFIDF Matrices requires, for each matrix Ai, the calculation of the number of life themes, where the presence of symptom i is signaled, df(i), the knowledge of the frequency of symptom i in life theme j, f(i,j), the number N of the life themes of the patient, and the column-wise normalization of TFIDF matrices. To compute df, we use the procedure outlined in Algorithm 2.
Algorithm 2 Pseudocode for computing df
Input:
   1:    Ai
Output:     df
   2:     procedure for computing df
   3:      Initialize df
   4:      for each line k of Ai do
   5:       Calculate the total number of non-zero components, df(k)
   6:      end for
   7:      return df
   8:     end procedure
CM uses relation (1) [61] to calculate the specificity of symptom i within life theme j:
t f i d f ( i , j ) = ( 1 + l o g 2 ( f ( i , j ) ) ) × l o g 2 N d f ( i )
The specificity score is higher, as f(i, j) increases and df(i) decreases. The notation log2(…) is used in MATLAB R2024a and represents the base-2 logarithm of (…). Relation (1) transforms matrix Ai into matrix TFIDF.
To mitigate the impact of large variations in symptom specificities on the statistical correlations, we use column-wise normalization of the TFIDF matrix and Euclidean norm [62]. To normalize a TFIDF matrix, we use the following formula:
T F I T F _ n o r m a l i s e d = T F I D F i = 1 n t f i d f ( i , j ) 2
For each matrix, CM uses the MATLAB command [U,S,V]=svd(TFIDF_normalised_ matrix) for the process of Decomposition of the Singular Value of Normalized TFIDF Matrices. The decomposition formula is [61,63]
A = U × S × V T
where A is the normalized TFIDF matrix, S is a diagonal matrix containing n singular values of matrix A sorted in a descending order, and U and V are orthogonal matrices that contain eigenvectors.
For the process of Calculation of the Matrices From Which the Most Relevant Symptoms are Extracted, we need the number of the most relevant symptoms for each patient. This number, r, is deduced from i = 1 r σ i 2 i = 1 n σ i 2 0.85 , where σ i is the singular value i. The equality indicates the amount of information retained after eliminating irrelevant symptoms. r is used to extract the most relevant symptoms and to calculate the approximated TFIDF matrix. To extract the most relevant symptoms, CM calculates, for each patient i, matrix P i = S r 1 U r T , where S r and U r are the truncated matrices of S and U.
For the process of Extraction of the Most Relevant Symptoms of the Patients Investigated, we use Algorithm 3 and the abbreviated form of these symptoms. The most relevant symptoms of patient i are represented by a vector of labels associated with the highest absolute values of matrix Pi.
Algorithm 3 Pseudocode for extracting MRS of the patients investigated
Input:
   1:    Pi
Output:     MRS of the patients investigated
    2:       procedure for extracting MRS of the patients
   3:         for each Pi do
   4:          for each row k of Pi do
   5:           Identify the largest absolute value and MRS(k)
   6:          end for
   7:         end for
   8:         return MRS of the patients investigated
   9:    end procedure
For the process of Approximation of Normalized TFIDF Matrices, CM uses formula [61]
A ˜ i = U i ( : , 1 : r ) × S i ( 1 : r , 1 : r ) × V i ( 1 : r , : ) T
where A ˜ is the approximated matrix obtained by the dimensionality reduction in A; U(:,1:r) is the matrix that contains all rows and the first r columns; S(1:r,1:r) is the matrix that includes the first r rows and the first r columns; V(1:r,:) is the matrix that includes the first r rows and all columns.
For the process of Calculation of the Spearman Correlations Between Symptoms, CM employs the formula for the Spearman correlation coefficient [64,65],
ρ = 1 6 d i 2 n 3 n
where d i is the difference between the ranks of a pair of observations and n is the number of pairs of observations.
For the process of Calculation of the Spearman Correlations Between Life Themes, we also use relation (5).
The process of Calculation of Transposed Matrices from Approximated Matrices is carried out, for each matrix, by using the MATLAB command, transpose_matrix = transpose(matrix).
For the process of Identification of Symptomatic Noises, we use Algorithm 4 for each matrix Ai. Here, S is a vector of labels, and Sk is the label taken from the kth row of matrix Ai.
Algorithm 4 Pseudocode for extracting symptomatic noises from Ai
Input:
   1:    Ai
Output:     Symptomatic noises, S
   2:        procedure for extracting S
   3:        for each row k of Ai do
   4:            Calculate the number of non-zero components of row k
   5:            if the number of nonzero components is equal to the number of columns of Ai
   6:             add Sk to S
   7:            end if
   8:        end for
   9:        return S
  10:       end procedure
In the case of the module of Extraction of Latent Symptoms From Life Themes Present in Approximated Matrices, the approximated matrices contain relevant dysfunctional life themes whose components are updated by taking into consideration the most relevant symptoms. Each life theme has its own latent symptom. The latent symptom contains the labels of the component symptoms associated with the positive values in the life theme vector.
Example 2. 
Let us assume that the approximated matrix contains three life themes and five symptoms presented in Table 2.
The latent symptom associated with T1 is S1S4S5, the latent symptom associated with T2 is S1S2S3S4S5, and the latent symptom associated with T3 is S1S3S4S5.
For the module of Extraction of Latent Symptoms and Symptoms Experienced Undistorted from the Significant Associations Between Symptoms, it is essential to specify that latent symptoms result from the significant positive associations between symptoms. In contrast, the symptoms experienced undistortedly result from the significant negative associations between symptoms.
For example, for correlation S2–S3, ρ = 1.000 , p = 0.000 , where ρ is the value of the Spearman correlation coefficient and p is the p-value corresponding to ρ , the symptom experienced undistortedly is S2 or S3, if and only if neither of the two symptoms is involved in a perfect positive association. In the case of significant positive associations between symptoms, identifying the latent symptom is straightforward. For example, for correlation S2–S3, ρ = 1.000 , p = 0.000 , the latent symptom is S2S3. Life themes experienced undistortedly are extracted similarly.

3.1.3. Aggregation Module of All Matrices LIFE THEMES-SYMPTOMS

The inputs of this module are the matrices LIFE THEMES-SYMPTOMS of all the patients investigated. The output is represented by the aggregated matrix. The data flow diagram is presented in Figure 3.
For the process of Aggregation of Matrices, we use Algorithm 5.
Algorithm 5 Pseudocode for generating the aggregated matrix
Input:
       1:   The matrices LIFE THEMES-SYMPTOMS of all patients, Ais
Output:     Aggregated matrix LIFE THEMES-SYMPTOMS, A_group
       2:        procedure for generating A_group
       3:        Concatenate Ais horizontally, A_concatenated
       4:        for each life theme in A_concatenated do
       5:            Identify the positions where the life theme is present in A_concatenated
       6:             if the life theme is unique in A_concatenated
       7:                  Write the life theme vector in A_group
       8:             end if
       9:             if the life theme appears at multiple positions in A_concatenated
       10:                Sum up the column vectors corresponding to the positions identified
       11:                Write the result in A_group
       12:           end if
       13:       end for
       14:       return A_group
       15:        end procedure
The result of aggregating matrices Ais is presented in Table A45.   

3.1.4. Computing Module on the Aggregated Matrix

The input of this module is the aggregated matrix LIFE THEMES-SYMPTOMS. The outputs are the representations of patients’ life themes and problematic symptoms. The data flow diagram is presented in Figure 4.
All the processes of this module, except for two, are similar to those presented in CM. The two processes are described below.
First is the calculation of Life Theme Representations, for which we apply formula [61]
L T g = P g × N T F I D F g
where LTg, Pg, and NTFIDFg are matrices at the level of the group of patients. LTg contains the representations of life themes through column vectors calculated in relation to the most relevant symptoms extracted from Pg.
Second is the calculation of the Representations of the Patients’ Problematic Symptoms, for which we apply formula [61]
P S g = P g × S P S g T
where PSg is the representation of the column vector of the problematic symptom at the level of the group of patients and SPSg is the vector of the specificity of the problematic symptom at the level of the group of patients.
For example, for a total of N = 26 life themes, the vector of the specificity for S2S3, where dfg(2) = 3 and dfg(3) = 4, takes the form [ 0 , ( 1 + l o g 2 ( 1 ) ) × l o g 2 26 3 , ( 1 + l o g 2 ( 1 ) ) × l o g 2 26 4 , 0 , , 0 ] .
The algorithm for calculating vector dfg is similar to the one presented in Algorithm 2. The results of this module are presented in Table A46, Table A47, Table A48 and Table A49.

3.1.5. Query Module

The function of this module is to provide discussion topics for the patient’s psychotherapy sessions. This module ensures the achievement of the third specific objective.
The inputs of this module are the outputs of the Computing Module on the Aggregated Matrix presented in Section 3.1.4. The output is represented by a set of discussion topics with the potential to improve problematic symptoms in each patient.
To fulfill its function, the module uses cosine similarity calculation between two vectors. The vectors must have the same dimension. The cosine similarities are calculated between each problematic symptom and each life theme recorded at the level of the group of patients. Since the components of the life theme vectors are represented by symptoms extracted from matrix Pg, the problematic symptom vectors must have the same components. This way, we obtain an alternative representation of the patient’s problematic symptoms at the level of the group of patients.
The alternative representation of the problematic symptom is not the same as the representation of the patient’s problematic symptom. The patient’s problematic symptom is represented based on the most relevant symptoms extracted from matrix Ai, whereas the alternative representation takes into account the most relevant symptoms extracted from matrix A_group.
The criterion used to assess the symptomatic improvement potential of a life theme is the similarity one. Dissimilarity leads to symptomatic improvement, while similarity leads to symptomatic preservation or exacerbation.
For cosine similarity calculation, we use formula [61]
s i m i l a r i t y ( C , D ) = C · D | C | | D |
where C and D are two vectors.
In order for a life theme to be considered dissimilar in relation to a problematic symptom, it is necessary for the application of Formula (8) to lead to a negative result.
The data flow diagram for this module is presented in Figure 5.
The process of Calculation of Similarities applies Algorithm 6.
Algorithm 6 Pseudocode for calculating the similarities of life themes in relation to problematic symptoms
Input:
       1:   Representations of life themes
       2:   Representations of the patients’ problematic symptoms
Output:    Problematic symptoms as column vectors of life theme similarities
       3:   procedure for calculating the similarity of life themes in relation to problematic symptoms
       4:        Initialize the vectors of problematic symptoms
       5:        for each vector of the problematic symptom do
       6:            for each vector of the life theme do
       7:             Calculate the similarity between the two vectors
       8:             Add the similarity value to the vector of the similarities of life themes in relation to the
         problematic symptom
       9:            end for
       10:      end for
       11:      return Problematic symptoms as column vectors of life theme similarities
       12:       end procedure
Applying Algorithm 6 leads to the results presented in Table A51.
The process of Searching for Suitable Discussion Themes to Alleviate Problematic Symptoms applies Algorithm 7. For each patient, this process filters the life themes recorded at the level of the group of patients from their dysfunctional life themes (see Table A1, Table A2, Table A3, Table A4, Table A5, Table A6, Table A7, Table A8, Table A9, Table A10 and Table A11) and also from similar life themes in relation to their problematic symptoms. The output of Algorithm 7 is represented by a vector of the life theme labels for each patient.
Algorithm 7 Pseudocode for generating the most suitable discussion themes for patients’ psychotherapy sessions
Input:
    1:    Problematic symptoms as column vectors of life theme similarities
    2:    Patients’ dysfunctional life themes
Output:  Discussion themes for the patients’ psychotherapy sessions
    3:    procedure for extracting the discussion themes for the patients’ psychotherapy sessions
    4:         for each patient do
    5:             for each vector of the problematic symptom do
    6:              for each row k of the vector of the problematic symptom do
    7:                  if life theme k is dissimilar in relation to the patient’s problematic symptom
    8:                      if life theme k is not one of the patient’s dysfunctional life themes
    9:                       add life theme k to life themes dissimilar in relation to the problematic symptom of the patient and also distinct in relation to the life themes of the patient
    10:                    end if
    11:                  end if
    12:               end for
    13:           end for
    14:      end for
    15:      return Discussion themes for the patients’ psychotherapy sessions
    16:     end procedure

4. Testing and Validation of the Computing System

The computing system was subjected to testing on a group of eleven patients diagnosed with major recurrent depression. Each of these patients experienced at least three relapses and attended psychotherapy sessions for six months. These sessions focused on discussing the life topics suggested by the computing system. Additionally, the conduct of the psychotherapy sessions took into account the patients’ illness patterns.
The procedure for testing the computing system consisted of two phases:
  • the application phase;
  • the system performance evaluation phase.

4.1. The Application Phase

The testing of the computing system took place at a psychiatric hospital in Romania. The Ethics Committee of Lucian Blaga University of Sibiu, Romania approved the research and use of data for research purposes (decision no. 27 dated 10 May 2023). All the patients selected for our study were individually informed about how the study would be conducted. They provided informed consent for the anonymous use of data for scientific purposes [1]. The data subject to confidentiality are those related to identity and reports about one’s own life. Also, the ethics report specifies the task of maintaining data confidentiality even after completing the research.

4.1.1. Selection of Participants

The computing system was designed to capture the specificities of depression patterns regardless of the age of the patients investigated. The patients were selected based on the following inclusion/exclusion criteria [1]:
Inclusion criteria
  • Socio-demographic subchapter:
    males and females.
  • Procedural subchapter:
    ability to understand and sign the informed consent form;
    fluency in the investigator’s language;
    availability of a contact person.
  • Diagnostic subchapter:
    major recurrent depression diagnostic with at least three episodes of relapse;
    IQ score higher than or equal to 90;
    requiring increased medical attention.
Exclusion criteria
  • Demographic subchapter:
    family members are not included in the research team.
  • Medical/psychiatric subchapter:
    poorly controlled medical conditions that may interfere with the assessment;
    no history of seizures;
    no diagnosis of substance abuse/dependence in the last six months, excluding nicotine;
    a disorder that can be induced by a substance;
    imminent risk of self-harm or harm to others;
    unstable mental status under medication;
    exclusion of other types of diagnoses that may involve depressive episodes.
Initially, twenty-four patients with a diagnosis of major recurrent depression who met the inclusion criteria were selected. The application of the exclusion criteria led to the elimination of two patients with unstable mental status under medication, six patients with a history of seizures, and five patients diagnosed with alcohol dependence in the last six months. Only patients without secondary affective disorders induced by substances or medical conditions directly affecting the brain were included in the study [1].
We considered relevant for the analysis of the system’s ability to extract the essence from the patients’ illness model the presentation of the following data of the patients selected for the study: the average age of the eleven patients was 47.73 years (SD = 3.25; range = 37–49 years). In total, 45.5% were females with the average age of 48.13 years (SD = 2.97; range = 39–51 years), while 55.5% were males with the average age of 46.67 years (SD = 4.01; range = 39–50 years). Further, 36.4% were married, 36.4% were unmarried, and 27.2% were divorced. Regarding employment status, 45.5% were employed, and 54.5% were retired due to illness. Finally, 36.4% obtained higher education, and 63.64% completed high school.

4.1.2. The Results Generated by the Computing System

The content analysis of the patients’ themes of happiness, unhappiness, and daily life led to the identification of twenty-six life themes and seven symptoms coded in Table 3 [1].
The solutions for improving the problematic symptoms generated by the computing system (as a result of applying Algorithm 7) are presented in Table 5.

4.2. The System Performance Evaluation Phase

Before the implementation of the computing system, all patients attended two psychotherapy sessions per month for two months. The applied psychotherapy was the cognitive behavioral one. At initial assessment, all patients presented Beck scores (PSYS0) corresponding to a severe level of depression. The efficiency of each psychotherapy session (PSYSi) was analyzed in relation to the previous one by comparing the Beck scores of the eleven patients (see Table 6).
The sign test was used to assess the efficiency of each session. The p-values (see Table 7) and the number of positive differences between the Beck scores recorded (PSYSi−PSYSi + 1) show that statistically, the depression levels of the eleven patients remained unchanged.
The Beck scores of the last psychotherapy session became the initial levels of depression in the testing procedure of the computing system.
Our intention was to test the efficiency of the computing system for two months, during which each patient received two psychotherapy sessions per month. The results obtained showed that the computing system was efficient. Consequently, we continued the testing procedure for the next four months, during which patients additionally received eight psychotherapy sessions. The results obtained are presented in Table 8, Table 9 and Table 10. The overall effect of efficiency was measured by comparing the Beck scores corresponding to the first and last evaluations of all the patients.
The medians of the 13 columns presented in Table 9 confirm the trend of improvement in the illness.
The p-values below 0.05 presented in Table 10 confirm that, over the period of the six months of psychotherapy, the solutions provided by the computing system proved to be effective. The comparison of the results obtained by all patients at the initial and final evaluation confirms a clear improvement in the illness. At the end of the six months of psychotherapy, all patients recorded Beck scores corresponding to the level of moderate depression. However, there were two instances where the efficiency of the computing system solutions recorded a plateau. This demonstrates, at least in the case of the patients investigated, that the impact of applying computing system solutions becomes significant over time.
The evaluation phase of the computing system’s efficiency also included its ability to accurately capture the illness patterns of the patients. The symptoms observed by the attending physicians/psychologists were compared to those inferred by the computing system. Essentially, the symptoms deduced from clinical observation were compared to those obtained from the patients’ narratives (see Table A1, Table A2, Table A3, Table A4, Table A5, Table A6, Table A7, Table A8, Table A9, Table A10 and Table A11). All symptoms resulting from the application of the computing system were fully confirmed by the attending physicians/psychologists.
In addition to these symptoms, the computing system generated other characteristics of the illness pattern that could not be noticed by specialists. These include irrelevant life themes, latent life themes, problematic symptoms, and the most relevant symptoms. Assessing these characteristics contributes to a deeper understanding of each patient’s illness pattern.
It is important to mention that the medication administered to each patient remained unchanged throughout the attendance of the psychotherapy sessions. This period also includes the two months of psychotherapy prior to the implementation of the computing system. Of course, the effect of the medication administered to the eleven patients contributed to achieving these results over time. A comparative analysis of the Beck scores recorded before and after using the computing system shows us that some of these results are due to the solutions provided by this system to alleviate the problematic symptoms of the patients.

5. Discussion

The specialized literature addresses topics related to our research studying the relationships between life themes and severe depression or between life events and depressive symptoms [66,67,68,69]. In these works, the focus is directed towards identifying the causes that trigger and sustain severe depression.
The purpose of our work was to test the ability of LSA to describe personalized patterns of severe depression and generate illness improvement solutions. The testing of LSA was conducted through a computing system applied in a six-month longitudinal study. Future patient psychotherapy used the results provided by the computing system.
Applications and concerns regarding the use of computing techniques in psychiatry, clinical psychology, and psychotherapy are numerous [70,71,72,73].
The way these techniques are used requires adaptations, according to the context pursued. In our research, we attempted to adapt LSA techniques in such a way that they correctly identify the patient’s illness pattern. We were not interested in finding similarities between patients’ illness patterns because, in our opinion, they lack utility. In the classical approach to LSA and related to our paper, both the symptoms and their sources, represented by life themes, are treated globally to identify semantic relationships between them. Here, the interest is directed towards finding generic features of the illness. We attempted to directly relate the patient’s symptoms to their life themes. Thus, one of the adaptations of LSA used in capturing the illness pattern consisted in using the matrix LIFE THEMES-SYMPTOMS for each patient, instead of using a single matrix LIFE THEMES-SYMPTOMS for all the patients investigated. This adaptation is useful as it facilitates, strictly at the patient level, the calculation of correlations between life themes/symptoms from which latent and undistorted symptoms can be extracted. The calculation of correlations uses the column vectors of the approximated matrices of normalized TFIDF matrices, obtained through dimensionality reduction. Also, these patient-specific matrices allow the identification of the presence of symptomatic noises, which are another category of symptoms with the potential to exacerbate the illness. Additionally, extracting solutions for improving each patient’s illness require exclusively the adaptation of some matrix calculation techniques. These aspects are some of the many reasons why we opted for a numerically adapted approach of LSA instead of LSA performed by its specialized module.
For each patient, MATLAB calculation programmes were run using the algorithms presented in the paper. Alternatively, other programming environments (R, Python, Mathematica) can be used.
Teamwork significantly reduces the time to generate results for all patients investigated. As shown in the architecture of the calculation system, generated results for each patient involve, additionally, the performance of calculations at the level of the group of patients. The time for generating all results, including the time for data input, validation, data checking, and the calculations, was approximately 135 min, with the involvement of five specialists.
Severe cases of clinical depression with many relapses require new, specific approaches capable of capturing and treating what is difficult to capture in the illness. We sought to extract the patient’s illness pattern (see Table 4) by including both observable sources of dysfunctionality and some less visible ones that may lead to negative illness progression. In these cases, all life themes are dysfunctional and generate an entire life history dominated by morbid experiences. The fact that psychotherapy sessions did not show progress in alleviating the illness prior to the implementation of the computing system led us to the idea that addressing the observed symptoms by discussing the patient’s life themes might not be the most suitable option. Therefore, we sought to identify the problematic symptoms of the patient defined in the paper and the appropriate discussion topics distinct from their life themes but with the potential to alleviate their problematic symptoms. The choice of these different life themes aims to break the link between the problematic symptoms and the dysfunctional life themes of patients.
The results in improving the illness after the application of the computing system indicate that problematic symptoms should be prioritized for treatment, and also that a distinction should be made between the problematic symptoms and those observed. For patient 4, the computing system identified thematic solution T13 for improving all problematic symptoms (see Table 5). For the other patients, multiple solutions corresponding to groups of problematic symptoms were identified. These multiple solutions show us that thematic solutions can be dissimilar to certain problematic symptoms and similar to other problematic symptoms. Since thematic solutions are distinct from dysfunctional life themes, which are linked to problematic symptoms, the likelihood of activating these symptoms is virtually zero. Why? Distinct life themes determine new experiences that are different from the dysfunctional symptoms of the patients. The similarity between the thematic solution chosen by the computing system and its latent experience is higher than the similarity between the same thematic solution and each of the problematic symptoms targeted for improvement. Therefore, the effect of distinct life themes manifests in deactivating problematic symptoms, which results in their improvement. To alleviate all problematic symptoms, the solutions generated by the computing system must be discussed in the same psychotherapy session. Where there are multiple solutions for the same symptoms it is sufficient to choose one of them.
As mentioned above, we addressed the objective of finding the most suitable discussion topics for psychotherapy sessions from the perspective of similarity/dissimilarity. The higher the dissimilarity between a life theme vector and a problematic symptom vector, the lower the likelihood of the patient experiencing the problematic symptom. Consequently, the dysfunctional experience can be replaced by a new experience. A life theme similar to a specific problematic symptom sustains the patient’s temptation to experience the dysfunctional symptom. A possible explanation could be the inability of the life theme to distract the patient from their dysfunctional concerns. Thus, there is an exacerbation of the problematic symptom over time.
A distinction should be made between what is noticed in the illness and reality. Extremely rarely does a patient experience a particular symptom undistorted. If this happens, the experience is extremely intense, bordering on unbearable. Candidates for these symptoms are those involved in significant negative correlations. In reality, the symptoms observed are the most intense symptoms of a more extensive corpus of symptoms at a given moment. Usually, at any given moment, the patient or person experiences a combination of symptoms that we call a latent symptom. Latent symptoms differ from the observed symptoms in that they are much more complex. Another symptom, distinct from those observed, is symptomatic noise (see Algorithm 4). This is a symptom that maintains a background of anxiety and stress for the patient. Symptomatic noise can be a favoring factor in exacerbating the illness in the case of irrelevant life themes whose symptomatic content includes exclusively symptomatic noises. These themes are dysfunctional because they are experienced nonspecifically. All these aspects suggest that the three categories of symptoms hold significant potential for exacerbating the illness.
The symptoms extracted by LSA as the most relevant symptoms are semantic structures extracted from a truncated space. More clearly, in the context of the paper, a symptom extracted from the matrix Pi (see Algorithm 3) is semantically associated with the context represented by the life themes of the patient; it appears in similar contexts in the life themes of the patient, and it has a vector similar to the vectors associated with life themes. In a particular sense, we can say that the dysfunctional thematic context of the patient is best represented by the symptoms extracted by LSA.
The analysis of the results generated by the computing system highlights several interesting aspects. Although the illness levels of all patients investigated are significantly reduced after six months of psychotherapy, cognitive impairments continue to manifest. These predominantly take the form of negative self-evaluations and self-deprecating thoughts, which can be significant sources of relapse. The specialized literature confirms this possibility [22,23,74,75,76].
A specific characteristic of clinical depression refers to the frequency of symptoms. The specialized literature indicates that, in severe depressive illness, the most common symptoms are anxiety and sadness [77,78,79]. The analysis of Table A1, Table A2, Table A3, Table A4, Table A5, Table A6, Table A7, Table A8, Table A9, Table A10 and Table A11 confirms the findings of the specialized literature in the case of patients 3 and 4. The symptom of sadness records higher frequencies compared to other symptoms in patients 3, 4, 6, 7, and 11. The high scores recorded for symptomatic noises represented by fury, regret, and low self-esteem are noteworthy in the case of patient 1. We consider that the differences from the findings recorded in the specialized literature are due to the specificity of the illness.
Another important characteristic refers to the presence, in all patients, of complex latent symptoms that induce combinations of morbid experiences. The difference between a latent symptom in a depressive patient and a latent experience in a balanced person lies in the content of the experience, which, in the case of the depressive patient, is exclusively morbid.
In the same context, some latent life themes amplify latent symptoms (see Table A34, Table A35, Table A36, Table A37, Table A38, Table A39, Table A41, Table A42, Table A43, Table A44 and Table A50). A latent life theme amplifies a latent symptom if the vectors of life themes associated contain positive values of the same components. This is the case of patient 1, where the latent life themes T1T19, T1T17, and T17T19 amplify the latent symptom S1S2S6S7; of patient 5, where the latent theme T1T8 amplifies the latent symptom S1S2S5S6; of patient 6, where the latent theme T1T2 amplifies the latent symptom S1S2S3S4; and of patient 10, where the latent theme T14T15 amplifies the latent symptom S1S2S3S5S7.
Another interesting aspect, inferred from the same table, refers to the possibility of the simultaneous, distorted experiencing of multiple life themes. This aspect is noticed in the case of life themes T1, T19, T17, and T5 in patient 1, respectively, in the case of life themes T3, T14, and T15 in patient 5. Also, the analysis of correlations between these themes suggests the possibility of the existence of mechanisms capable of generating dysfunctional thematic cycles.
The same table indicates the possibility of experiencing life themes/symptoms in a pure, undistorted manner. We identified these experiences in the case of patient 1, where the results indicate a high probability of undistorted experiencing of symptom S7, and in the case of patient 2, where the results also indicate a high probability of undistorted experiencing of symptoms S4, S6, and S7. Also, there is a high likelihood of undistorted experiencing of life theme T6 in patient 2.
The suggestion of the same life topics for all psychotherapy sessions is explained by the fact that no changes occurred over time in the structure of the patients’ dysfunctional life themes. Thus, at least in the cases analyzed, we can speak about a closed set of life themes. At the same time, the improvement of the illness can be explained by the perspectives determined by the discussion of the life topics selected by the computing system, which leads to a functional reinterpretation of the patient’s dysfunctional life topics or by focusing attention on other life themes.
The computing system continues to be tested on patients with encouraging results. Although it has demonstrated its effectiveness on the patients investigated, we believe that a more significant number of improved illness cases could strengthen confidence in the system’s ability to extract what is essential in the illness and provide solutions for improving the illness. On the other hand, the sustainability of the effectiveness of the psychotherapeutic approach suggested by the computing system has not been tested for periods longer than two weeks. However, we consider it necessary for patients to continue psychotherapy sessions, at least to alleviate and eliminate cognitive impairments.
Theoretically, a limitation of the method proposed may be the system’s inability to generate discussion topics capable of leading to symptomatic improvement in patients. In such situations, it is necessary to increase the number of patients investigated to identify life themes distinct from the patient’s themes and dissimilar to their problematic symptoms. At the same time, the computing system does not perform psychotherapy. But the results of psychotherapy applied to the patients investigated validated the effectiveness of the computing system.
Using the research framework presented, we aim to continue applying the computing system to obtain many illness patterns associated with symptomatic relief solutions.
Another objective aims to identify the mechanisms of rumination and transition from one dysfunctional life theme to another. We aim to apply the theory of algebraic groups to non-numeric structures. In the hypothesis of identifying compelling theories, proven by reality, we intend to integrate these mechanisms in describing depression patterns in patients.

6. Conclusions

The proposed computing system is primarily intended for use in cases of severe depression. The computing system serves a dual purpose: to provide a model of the patient’s illness and to offer solutions for improving the illness. The key element revealed by the computing system in improving the patient’s illness is the substitution of dysfunctional life themes with other themes that keep problematic symptoms inactive or alleviate them.
Compared to other similar/related research, our study addresses severe depression from the perspective of semantic relationships between dysfunctional life themes and symptoms, latent life themes and symptoms, irrelevant life themes, symptomatic noise, distorted/undistorted experienced symptoms, and life themes with potential for symptomatic improvement/exacerbation.
The results obtained show that the computational system and medication treatment can be successfully used in alleviating complex cases of illness.

Author Contributions

Conceptualization, A.G.S. and C.M.S.; methodology, A.G.S.; software, A.G.S.; validation, F.S. and C.M.S.; formal analysis, A.G.S., C.M.S. and F.S.; writing—original draft preparation, C.M.S. and F.S.; writing—review and editing, F.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki and approved by the Ethics Committee in Scientific Research of Lucian Blaga University of Sibiu, Romania. Protocol code: 27; date of approval: 10 May 2023.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study. Written informed consent has been obtained from the patients to publish this paper.

Data Availability Statement

The data of this reasearch are available from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CMComputing module
DSM-5Diagnostic and Statistical Manual of Mental Disorders, 5th edition
ILTIrrelevant life theme
LLTLatent life theme
LSLatent symptom
LSALatent semantic analysis
MDDMajor depressive disorder
MRSMost relevant symptoms
PSProblematic symptom
PSYSiPsychotherapy session i
SiSymptom i
TiLife theme i
UIPSUnivers of ideals, psychological experiences, and skills

Appendix A

Appendix A.1. The Matrices LIFE THEMES-SYMPTOMS of the Eleven Patients [1]

Table A1. Patient 1.
Table A1. Patient 1.
Sis\TisT1T3T19T20T5T17T2T18
S160300114
S200000142
S3132421228
S423314114
S521531519
S650601616
S720202620
Table A2. Patient 2.
Table A2. Patient 2.
Sis\TisT13T6T3T22T16T21
S1110000
S2400001
S3000000
S4542330
S5120001
S6010000
S7304103
Table A3. Patient 3.
Table A3. Patient 3.
Sis\TisT1T3T7
S16112
S2000
S3283
S4006
S5200
S6000
S7101712
Table A4. Patient 4.
Table A4. Patient 4.
Sis\TisT1T9T10T3T11
S102352
S200000
S300170
S420100
S500003
S610022
S7030103
Table A5. Patient 5.
Table A5. Patient 5.
Sis\TisT1T3T8T18
S10000
S20005
S30000
S435221
S51014
S651450
S79532
Table A6. Patient 6.
Table A6. Patient 6.
Sis\TisT1T8T2T25T12
S1491110
S200000
S317000
S424100
S500000
S6943122
S7513538
Table A7. Patient 7.
Table A7. Patient 7.
Sis\TisT1T3T16T24
S18624
S21110
S391635
S4141000
S50120
S62020
S7185105
Table A8. Patient 8.
Table A8. Patient 8.
Sis\TisT1T26T14T3T23
S110140
S2300173
S312051
S400260
S500010
S600000
S760073
Table A9. Patient 9.
Table A9. Patient 9.
Sis\TisT1T3T14T13T21
S100100
S202000
S302200
S424000
S501101
S600000
S704020
Table A10. Patient 10.
Table A10. Patient 10.
Sis\TisT1T3T14T15
S10453
S21013
S30332
S42719
S50026
S61436
S70615
Table A11. Patient 11.
Table A11. Patient 11.
Sis\TisT1T3T4
S1100
S2102
S3111
S4111
S5000
S6000
S7230

Appendix A.2. Normalized TFIDF Matrices of the Eleven Patients without the Columns That Represent Irrelevant Life Themes

Table A12. Patient 1.
Table A12. Patient 1.
T1T19T5T17T2T18
S10.7830.65700.2080.1500.537
S20000.4350.9380.747
S3000000
S4000000
S5000000
S60.4440.5570.2930.4570.0920.393
S70.4370.5080.9560.7470.3000
Table A13. Patient 2.
Table A13. Patient 2.
T13T6T3T22T16T21
S10.2930.4260000
S20.88000000.658
S3000000
S40.1620.2120.2870.75810
S50.1850.5380000.415
S600.6950000
S70.28000.9580.65200.628
Table A14. Patient 3.
Table A14. Patient 3.
T1T7
S100
S200
S300
S401
S510
S600
S700
Table A15. Patient 4.
Table A15. Patient 4.
T1T9T10T3T11
S100.3200.4070.1720.099
S200000
S3000.6460.8080
S40.96300.64600
S500000.923
S60.269000.2370.227
S700.94700.5110.293
Table A16. Patient 5.
Table A16. Patient 5.
T1T3T8T18
S10000
S20000.983
S30000
S40000
S50.28800.2880.184
S60.95810.9580
S70000
Table A17. Patient 6.
Table A17. Patient 6.
T1T8T2T25
S10.4380.2370.4001
S20000
S30.6000.88900
S40.6690.3910.9160
S50000
S60000
S70000
Table A18. Patient 7.
Table A18. Patient 7.
T1T3T16
S1000
S20.0790.0930.145
S3000
S40.9200.9700
S500.2240.700
S60.38300.700
S7000
Table A19. Patient 8.
Table A19. Patient 8.
T1T26T14T3T23
S10.22000.2690.2960
S20.568000.5020.702
S30.096100.1430.119
S4000.9630.6340
S50000.3110
S600000
S70.787000.3760.702
Table A20. Patient 9.
Table A20. Patient 9.
T1T3T14T13T21
S1000.64600
S200.597000
S300.3400.73500
S410.510000
S500.0950.20501
S600000
S700.510010
Table A21. Patient 10.
Table A21. Patient 10.
T1T3T14T15
S100.5620.5070.255
S2100.1530.255
S300.4840.3940.197
S40000
S5000.7350.851
S60000
S700.6710.1530.327
Table A22. Patient 11.
Table A22. Patient 11.
T1T3T4
S10.77100
S20.28501
S3000
S4000
S5000
S6000
S70.56910

Appendix A.3. The Matrices Pi for the Eleven Patients

Table A23. Patient 1.
Table A23. Patient 1.
S1S2S3S6S7
−0.246−0.2020−0.236−0.305
0.000−0.792−0.0000.1180.432
Table A24. Patient 2.
Table A24. Patient 2.
S1S2S3S4S5S6S7
−0.069−0.2220.000−0.324−0.125−0.047−0.403
−0.135−0.539−0.0000.579−0.254−0.054−0.061
0.3880.002−0.0000.2780.4170.585−0.489
Table A25. Patient 3.
Table A25. Patient 3.
S4S5
0−1
−10
Table A26. Patient 4.
Table A26. Patient 4.
S1S2S3S4S5S6S7
−0.2280.000−0.386−0.332−0.116−0.137−0.358
−0.0520.0000.0680.611−0.2760.010−0.521
0.096−0.0000.468−0.337−0.870−0.2240.113
Table A27. Patient 5.
Table A27. Patient 5.
S1S2S3S5S6
−0.000−0.0110−0.116−0.571
0.0000.9810.0000.184−0.055
Table A28. Patient 6.
Table A28. Patient 6.
S1S2S3S4
−0.350−0.000−0.304−0.398
−0.855−0.0000.6470.258
Table A29. Patient 7.
Table A29. Patient 7.
S1S2S4S5S6
−0.000−0.080−0.636−0.181−0.237
0.000−0.1100.451−0.664−0.669
Table A30. Patient 8.
Table A30. Patient 8.
S1S2S3S4S5S7
−0.134−0.371−0.121−0.225−0.065−0.391
−0.1930.2090.091−0.774−0.0840.298
−0.022−0.1420.9870.0160.003−0.172
Table A31. Patient 9.
Table A31. Patient 9.
S1S2S3S4S5S7
−0.101−0.233−0.248−0.452−0.157−0.452
−0.3500.044−0.3730.248−0.6790.248
0.000−0.0000.0000.707−0.000−0.707
0.5440.0350.639−0.121−0.717−0.121
Table A32. Patient 10.
Table A32. Patient 10.
S1S2S3S5S7
−0.307−0.181−0.248−0.410−0.254
−0.2210.923−0.1890.016−0.231
Table A33. Patient 11.
Table A33. Patient 11.
S1S2S7
−0.333−0.316−0.632
−0.000−0.8940.447

Appendix A.4. Approximated Matrices of the Normalized TFIDF Matrices without the Lines That Contain Only Absolute Zeros

Table A34. Patient 1.
Table A34. Patient 1.
T1T19T5T17T2T18
S10.4240.4420.3550.4680.3340.369
S20.1160.088−0.1370.3520.8500.824
S3−0.000−0.000−0.000−0.0000.0000.000
S60.4410.4640.4050.4530.2340.277
S70.6510.6960.6730.5960.0990.174
Table A35. Patient 2.
Table A35. Patient 2.
T13T6T3T22T16T21
S10.2130.399−0.076−0.0140.0670.133
S20.6290.2130.2310.031−0.2240.670
S30.000−0.000−0.000−0.000−0.0000.000
S40.0220.3430.4350.7790.857−0.010
S50.3640.480−0.0260.0000.0320.287
S60.1520.545−0.173−0.0240.1660.021
S70.471−0.1810.7530.6240.1980.644
Table A36. Patient 3.
Table A36. Patient 3.
T1T7
S401
S510
Table A37. Patient 4.
Table A37. Patient 4.
T1T9T10T3T11
S10.0980.2470.2490.3220.090
S2−0.000−0.000−0.000−0.000−0.000
S30.1920.3460.5450.605−0.148
S40.859−0.1780.7060.1000.078
S50.1510.191−0.114−0.0780.829
S60.1860.0860.1440.0850.228
S7−0.1890.6910.1360.6250.416
Table A38. Patient 5.
Table A38. Patient 5.
T1T3T8T18
S10.0000.0000.0000.000
S20.018−0.0370.0180.981
S3−0.000−0.000−0.0000.000
S50.1970.1840.1970.194
S60.9760.9630.976−0.002
Table A39. Patient 6.
Table A39. Patient 6.
T1T8T2T25
S10.4340.1450.5480.929
S20.000−0.0000.0000.000
S30.5900.6670.355−0.170
S40.6810.6430.5150.192
Table A40. Patient 7.
Table A40. Patient 7.
T1T3T16
S10.0000.000−0.000
S20.0940.0790.143
S40.9300.960−0.001
S50.1560.0730.680
S60.2320.1460.719
Table A41. Patient 8.
Table A41. Patient 8.
T1T26T14T3T23
S10.123−0.0010.2850.2800.107
S20.6520.0060.0340.4500.652
S30.0941.000−0.0020.1460.118
S40.015−0.0020.9370.669−0.037
S50.0620.0140.1290.1320.055
S70.722−0.006−0.0440.4400.726
Table A42. Patient 9.
Table A42. Patient 9.
T1T3T14T13T21
S1−0.0730.1110.608−0.073−0.004
S20.1980.2980.1020.1980.010
S30.0290.2950.7510.0290.001
S40.9490.586−0.026−0.051−0.002
S5−0.0020.0980.204−0.0021.000
S7−0.0510.586−0.0260.949−0.002
Table A43. Patient 10.
Table A43. Patient 10.
T1T3T14T15
S1−0.0740.4210.4690.424
S20.938−0.1470.2030.334
S3−0.0700.3440.3790.341
S50.1910.4440.6030.590
S7−0.1060.3670.3920.347
Table A44. Patient 11.
Table A44. Patient 11.
T1T3T4
S10.3860.3450.172
S20.366−0.0730.964
S70.7320.855−0.073

Appendix A.5. Matrices of the Group of Patients

Table A45. Aggregated matrix LIFE THEMES-SYMPTOMS [1].
Table A45. Aggregated matrix LIFE THEMES-SYMPTOMS [1].
T1T3T19T20T5T17T2T18T13T6T22T16T21T7T9T10T11T8T25T12T24T26T14T23T15T4
S126303001241102022329110407030
S2620000147400110000000001332
S315452421228000303010700525121
S428383141225543306010600003091
S5545315113120220003100003060
S623206016460102000029122003060
S75261202672501103123031638501350
Table A46. The matrix NTFIDFg.
Table A46. The matrix NTFIDFg.
T1T3T19T20T5T26T14T23T15T4
S10.3610.3220.3170000.47800.2440
S20.4770.61000000.2640.9490.5120.948
S30.3110.3540.2450.6450.46710.4170.1750.1890.225
S40.3680.3410.3170.2150.70100.32400.3930.225
S50.2780.2160.5370.7340.30800.42800.4460
S60.5230.4340.65700.34900.48500.5060
S70.2460.2190.14200.27100.0730.2620.1820
Table A47. The matrix Pg [1].
Table A47. The matrix Pg [1].
S1S2S3S4S5S6S7
−0.094−0.097−0.097−0.104−0.099−0.122−0.078
0.201−0.4750.0710.000−0.0080.1480.039
−0.0650.041−0.414−0.2380.1350.4110.048
0.3980.1860.005−0.304−0.389−0.0230.216
0.132−0.019−0.4540.530−0.227−0.0660.112
Table A48. Representations of the patients’ problematic symptoms.
Table A48. Representations of the patients’ problematic symptoms.
S1 *S1S2 *S1S2S3S4 *S1S2S3S4S5S6S7 *S4 *S5 *S6 *S7 *
S6−0.05−0.157−0.264−0.453−0.055−0.069−0.096−0.024
S20.106−0.423−0.386−0.2620.000−0.0050.1170.012
S3−0.0350.0106−0.3350.100−0.1260.0950.3260.015
S10.2110.4180.2600.036−0.161−0.273−0.0180.067
S40.0700.0490.089−0.0870.281−0.159−0.0520.034
* Alternative representations of the patients’ problematic symptoms at the level of the group of patients.
Table A49. Representations of life themes.
Table A49. Representations of life themes.
T1T3T19T20T5T26T14T23T15T4
S6−0.258−0.25−0.23−0.157−0.212−0.097−0.251−0.129−0.251−0.137
S2−0.047−0.1290.1790.040.0930.0700.071−0.428−0.103−0.434
S30.044−0.0060.152−0.219−0.162−0.414−0.01−0.0210.110−0.109
S10.0550.093−0.162−0.347−0.2800.005−0.0190.234−0.0720.108
S40.023−0.002−0.051−0.3460.097−0.454−0.080−0.0680.031−0.001

Appendix A.6. Significant Spearman Correlations between Life Themes/Symptoms

Table A50. Significant correlations between Tis/Sis for each patient [1].
Table A50. Significant correlations between Tis/Sis for each patient [1].
PatientCorrelation ρ pPatientCorrelation ρ p
1T1–T191.0000.0012T13–T210.9640.003
1T1–T50.7820.0472T3–T6−0.8210.034
1T1–T170.9640.0032T3–T220.9290.007
1T5–T190.7820.0472S1–S51.0000.003
1T17–T190.9640.0032S2–S31.0000.003
1T2–T181.0000.0012S2–S4−0.9430.017
1S1–S60.8860.032S3–S4−0.9430.017
1S2–S31.0000.0032S6–S7−0.9430.017
1S2–S7−0.9430.0174S1–S31.0000.017
1S3–S7–0.9430.0175T1–T81.0000.001
6T1–T20.8850.0217T1–T30.9640.004
8T1–T230.9290.00710T3–T140.8910.01
10T14–T151.0000.00110T3–T150.8910.01

Appendix A.7. Matrix of the Similarities of Life Themes in Relation to Problematic Symptoms

Table A51. Similarities of life themes in relation to each problematic symptom [1].
Table A51. Similarities of life themes in relation to each problematic symptom [1].
S1 *S1S2 *S1S2S3S4 *S1S2S3S4S5S6S7 *S4 *S5 *S6 *S7 *
T10.2820.5070.5070.9060.0640.0380.3170.488
T30.2450.7260.7500.935−0.011−0.0780.0500.44
T19−0.133−0.474−0.450.3550.0410.6540.73−0.087
T20−0.548−0.453−0.0610.186−0.0250.74−0.133−0.748
T5−0.253−0.4750.0400.1680.7240.433−0.144−0.345
T26−0.026−0.1010.2450.071−0.3220.180−0.411−0.359
T140.154−0.0160.1710.678−0.0460.3690.3410.124
T230.0480.9400.8040.663−0.262−0.255−0.2450.264
T15−0.1990.2960.2740.8920.1900.4210.4320.111
T4−0.1050.8410.8750.6490.020−0.173−0.4300.096
* Alternative representations of the patients’ problematic symptoms at the level of the group of patients.

References

  1. Sumedrea, A.G.; Sumedrea, C.M.; Minescu, I. Major Recurrent Depression in Middle-Aged Adults: Symptoms and Life Themes in a Latent Semantic Indexing Approach. Preprints 2023, 2023101111. Available online: https://www.preprints.org/manuscript/202310.1111/v2 (accessed on 23 December 2023).
  2. Sumedrea, A.G.; Sumedrea, C.; Săvulescu, F. Fundamentals of an Artificial Intelligence Engine for Human Life: Topological Modelling of the Fundamental Moments and States of Life. Mathematics 2022, 10, 4313. [Google Scholar] [CrossRef]
  3. World Health Organization. The ICD-10 Classification of Mental and Behavioural Disorders: Clinical Descriptions and Diagnostic Guidelines; World Health Organization: Geneva, Switzerland, 1992. [Google Scholar]
  4. Uher, R.; Payne, J.L.; Pavlova, B.; Perlis, R.H. Major depressive disorder in DSM-5: Implications for clinical practice and research of changes from DSM-IV. Depress. Anxiety 2014, 31, 459–471. [Google Scholar] [CrossRef]
  5. Bains, N.; Abdijadid, S. Major Depressive Disorder; StatPearls Publishing: Treasure Island, FL, USA, 2020. [Google Scholar]
  6. Shorey, S.; Ng, E.D.; Wong, C.H. Global prevalence of depression and elevated depressive symptoms among adolescents: A systematic review and meta-analysis. Br. J. Clin. Psychol. 2022, 61, 287–305. [Google Scholar] [CrossRef] [PubMed]
  7. Hu, T.; Zhao, X.; Wu, M.; Li, Z.; Luo, L.; Yang, C.; Yang, F. Prevalence of depression in older adults: A systematic review and meta-analysis. Psychiatry Res. 2022, 311, 114511. [Google Scholar] [CrossRef] [PubMed]
  8. Papakostas, G.I.; Fava, M. Predictors, moderators, and mediators (correlates) of treatment outcome in major depressive disorder. Dialogues Clin. Neurosci. 2022, 10, 439–451. [Google Scholar] [CrossRef]
  9. Kim, I.B.; Park, S.C. The entorhinal cortex and adult neurogenesis in major depression. Int. J. Mol. Sci. 2021, 22, 11725. [Google Scholar] [CrossRef] [PubMed]
  10. Beauregard, M.; Paquette, V.; Le Vesque, J. Dysfunction in the neural circuitry of emotional self-regulation in major depressive disorder. Neuroreport 2006, 17, 843–846. [Google Scholar] [CrossRef] [PubMed]
  11. Ressler, K.J.; Mayberg, H.S. Targeting abnormal neural circuits in mood and anxiety disorders: From the laboratory to the clinic. Nat. Neurosci. 2007, 10, 1116–1124. [Google Scholar] [CrossRef]
  12. Drevets, W.C.; Videen, T.O.; Price, J.L.; Preskorn, S.H.; Carmichael, S.T.; Raichle, M.E. A functional anatomical study of unipolar depression. J. Neurosci. 1992, 12, 3628–3641. [Google Scholar] [CrossRef] [PubMed]
  13. Goldapple, K.; Segal, Z.; Garson, C.; Lau, M.; Bieling, P.; Kennedy, S.; Mayberg, H. Modulation of cortical-limbic pathways in major depression: Treatment-specific effects of cognitive behavior therapy. Arch. Gen. Psychiatry 2004, 61, 34–41. [Google Scholar] [CrossRef] [PubMed]
  14. Jiang, Y.; Zou, D.; Li, Y.; Gu, S.; Dong, J.; Ma, X.; Xu, S.; Wang, F.; Huang, J.H. Monoamine neurotransmitters control basic emotions and affect major depressive disorders. Pharmaceuticals 2022, 15, 1203. [Google Scholar] [CrossRef]
  15. Truong, V.; Cheng, P.Z.; Lee, H.C.; Lane, T.J.; Hsu, T.Y.; Duncan, N.W. Occipital gamma-aminobutyric acid and glutamate-glutamine alterations in major depressive disorder: An mrs study and meta-analysis. Psychiatry Res. Neuroimaging 2021, 308, 111238. [Google Scholar] [CrossRef] [PubMed]
  16. Rottenberg, J. Mood and emotion in major depression. Curr. Dir. Psychol. Sci. 2005, 14, 167–170. [Google Scholar] [CrossRef]
  17. Diedrich, A.; Grant, M.; Hofmann, S.G.; Hiller, W.; Berking, M. Self-compassion as an emotion regulation strategy in major depressive disorder. Behav. Res. Ther. 2014, 58, 43–51. [Google Scholar] [CrossRef] [PubMed]
  18. Beblo, T.; Fernando, S.; Klocke, S.; Griepenstroh, J.; Aschenbrenner, S.; Driessen, M. Increased suppression of negative and positive emotions in major depression. J. Affect. Disord. 2012, 141, 474–479. [Google Scholar] [CrossRef]
  19. Erk, S.; Mikschl, A.; Stier, S.; Ciaramidaro, A.; Gapp, V.; Weber, B.; Walter, H. Acute and sustained effects of cognitive emotion regulation in major depression. J. Neurosci. 2010, 30, 15726–15734. [Google Scholar] [CrossRef] [PubMed]
  20. Pan, Z.; Park, C.; Brietzke, E.; Zuckerman, H.; Rong, C.; Mansur, R.B.; Fus, D.; Subramaniapillai, M.; Lee, Y.; McIntyre, R.S. Cognitive impairment in major depressive disorder. CNS Spectrums 2019, 24, 22–29. [Google Scholar] [CrossRef] [PubMed]
  21. Sierksma, A.S.; van den Hove, D.L.; Steinbusch, H.W.; Prickaerts, J. Major depression, cognitive dysfunction and Alzheimer’s disease: Is there a link? Eur. J. Pharmacol. 2010, 626, 72–82. [Google Scholar] [CrossRef]
  22. Zuckerman, H.; Pan, Z.; Park, C.; Brietzke, E.; Musial, N.; Shariq, A.S.; Iacobucci, M.; Yim, S.J.; Lui, L.M.; Rong, C.; et al. Recognition and treatment of cognitive dysfunction in major depressive disorder. Front. Psychiatry 2018, 9, 655. [Google Scholar] [CrossRef]
  23. Reppermund, S.; Ising, M.; Lucae, S.; Zihl, J. Cognitive impairment in unipolar depression is persistent and non-specific: Further evidence for the final common pathway disorder hypothesis. Psychol. Med. 2009, 39, 603–614. [Google Scholar] [CrossRef] [PubMed]
  24. Cramer, A.O.; Van Borkulo, C.D.; Giltay, E.J.; Van Der Maas, H.L.; Kendler, K.S.; Scheffer, M.; Borsboom, D. Major depression as a complex dynamic system. PLoS ONE 2016, 11, e0167490. [Google Scholar] [CrossRef] [PubMed]
  25. Segal, Z.V.; Gemar, M.; Truchon, C.; Guirguis, M.; Horowitz, L.M. A priming methodology for studying self-representation in major depressive disorder. J. Abnorm. Psychol. 1995, 104, 205–213. [Google Scholar] [CrossRef] [PubMed]
  26. Feixas, G.; Montesano, A.; Compan, V.; Salla, M.; Dada, G.; Pucurull, O.; Trujillo, A.; Paz, C.; Munoz, D.; Gasol, M.; et al. Cognitive conflicts in major depression: Between desired change and personal coherence. Br. J. Clin. Psychol. 2014, 53, 369–385. [Google Scholar] [CrossRef] [PubMed]
  27. Sheppard, L.C.; Teasdale, J.D. How does dysfunctional thinking decrease during recovery from major depression? J. Abnorm. Psychol. 2004, 113, 64–71. [Google Scholar] [CrossRef] [PubMed]
  28. Evangelopoulos, N.E. Latent semantic analysis. Wiley Interdiscip. Rev. Cogn. Sci. 2013, 4, 683–692. [Google Scholar] [CrossRef] [PubMed]
  29. Hassani, A.; Iranmanesh, A.; Mansouri, N. Text mining using nonnegative matrix factorization and latent semantic analysis. Neural Comput. Appl. 2021, 33, 13745–13766. [Google Scholar] [CrossRef]
  30. Amoretti, S.; Verdolini, N.; Mezquida, G.; Rabelo-da Ponte, F.D.; Cuesta, M.J.; Pina-Camacho, L.; Gomez-Ramiro, M.; De-la Cámara, C.; González-Pinto, A.; Díaz-Caneja, C.M.; et al. Identifying clinical clusters with distinct trajectories in first-episode psychosis through an unsupervised machine learning technique. Eur. Neuropsychopharmacol. 2021, 47, 112–129. [Google Scholar] [CrossRef]
  31. Kanchanatawan, B.; Sriswasdi, S.; Thika, S.; Stoyanov, D.; Sirivichayakul, S.; Carvalho, A.F.; Geffard, M.; Maes, M. Towards a new classification of stable phase schizophrenia into major and simple neuro-cognitive psychosis: Results of unsupervised machine learning analysis. J. Eval. Clin. Pract. 2018, 24, 879–891. [Google Scholar] [CrossRef]
  32. Yan, W.J.; Ruan, Q.N.; Jiang, K. Challenges for artificial intelligence in recognizing mental disorders. Diagnostics 2022, 13, 2. [Google Scholar] [CrossRef]
  33. Zohuri, B.; Zadeh, S. The utility of artificial intelligence for mood analysis, depression detection, and suicide risk management. J. Health Sci. 2020, 8, 67–73. [Google Scholar]
  34. LeMoult, J.; Gotlib, I.H. Depression: A cognitive perspective. Clin. Psychol. Rev. 2019, 69, 51–66. [Google Scholar] [CrossRef]
  35. Cohen, T.; Blatter, B.; Patel, V. Simulating expert clinical comprehension: Adapting latent semantic analysis to accurately extract clinical concepts from psychiatric narrative. J. Biomed. Inform. 2008, 41, 1070–1087. [Google Scholar] [CrossRef]
  36. Ren, L.; Lin, H.; Xu, B.; Zhang, S.; Yang, L.; Sun, S. Depression detection on reddit with an emotion-based attention network: Algorithm development and validation. JMIR Med. Inform. 2021, 9, 1–13. [Google Scholar] [CrossRef] [PubMed]
  37. Simina, M.; Barbu, C. Meta latent semantic analysis. In Proceedings of the 2004 IEEE International Conference on Systems, Man and Cybernetics, The Hague, The Netherlands, 10–13 October 2004; IEEE Cat. No. 04CH37583. IEEE: Piscataway, NJ, USA, 2004; Volume 4, pp. 3720–3724. [Google Scholar]
  38. Cacheda, F.; Fernandez, D.; Novoa, F.J.; Carneiro, V. Early detection of depression: Social network analysis and random forest techniques. J. Med. Internet Res. 2019, 21, e12554. [Google Scholar] [CrossRef]
  39. Rosa, R.L.; Schwartz, G.M.; Ruggiero, W.V.; Rodríguez, D.Z. A knowledge-based recommendation system that includes sentiment analysis and deep learning. IEEE Trans. Ind. Inform. 2018, 15, 2124–2135. [Google Scholar] [CrossRef]
  40. Everaert, J.; Podina, I.R.; Koster, E.H. A comprehensive meta-analysis of interpretation biases in depression. Clin. Psychol. Rev. 2017, 58, 33–48. [Google Scholar] [CrossRef]
  41. Harel, E.V.; Shetreet, E.; Tennyson, R.; Fava, M.; Bar, M. Constricted semantic relations in acute depression. J. Affect. Disord. 2022, 311, 565–571. [Google Scholar] [CrossRef]
  42. Collins, A.C.; Lekkas, D.; Nemesure, M.D.; Griffin, T.Z.; Price, G.; Pillai, A.; Nepal, S.; Heinz, M.V.; Campbell, A.T.; Jacobson, N.C. Semantic Signals in Self-Reference: The Detection and Prediction of Depressive Symptoms from the Daily Diary Entries of a Sample with Major Depressive Disorder. 2023. Available online: https://osf.io/preprints/psyarxiv/vwpd8 (accessed on 30 December 2023).
  43. Bartczak, M.; Bokus, B. Semantic distances in depression: Relations between ME and PAST, FUTURE, JOY, SADNESS, HAPPINESS. J. Psycholinguist. Res. 2017, 46, 345–366. [Google Scholar] [CrossRef] [PubMed]
  44. Henry, J.D.; Crawford, J.R. A meta-analytic review of verbal fluency deficits in depression. J. Clin. Exp. Neuropsychol. 2005, 27, 78–101. [Google Scholar] [CrossRef] [PubMed]
  45. Neuman, Y.; Cohen, Y.; Assaf, D.; Kedma, G. Proactive screening for depression through metaphorical and automatic text analysis. Artif. Intell. Med. 2012, 56, 19–25. [Google Scholar] [CrossRef] [PubMed]
  46. König, A.; Tröger, J.; Mallick, E.; Mina, M.; Linz, N.; Wagnon, C.; Karbach, J.; Kuhn, C.; Peter, J. Detecting subtle signs of depression with automated speech analysis in a non-clinical sample. BMC Psychiatry 2022, 22, 830. [Google Scholar] [CrossRef] [PubMed]
  47. Hasler, G.; Northoff, G. Discovering imaging endophenotypes for major depression. Mol. Psychiatry 2011, 16, 604–619. [Google Scholar] [CrossRef] [PubMed]
  48. Goltermann, J.; Winter, N.R.; Meinert, S.; Sindermann, L.; Lemke, H.; Leehr, E.J.; Grotegerd, D.; Winter, A.; Thiel, K.; Waltemate, L.; et al. Resting-state functional connectivity patterns associated with childhood maltreatment in a large bicentric cohort of adults with and without major depression. Psychol. Med. 2023, 53, 4720–4731. [Google Scholar] [CrossRef]
  49. Zucco, C.; Calabrese, B.; Cannataro, M. Sentiment analysis and affective computing for depression monitoring. In Proceedings of the 2017 IEEE International Conference on Bioinformatics and Biomedicine (BIBM), Kansas City, MO, USA, 13–16 November 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 1988–1995. [Google Scholar]
  50. Yang, W.; Mu, L. GIS analysis of depression among Twitter users. Appl. Geogr. 2015, 60, 217–223. [Google Scholar] [CrossRef]
  51. Abbe, A.; Grouin, C.; Zweigenbaum, P.; Falissard, B. Text mining applications in psychiatry: A systematic literature review. Int. J. Methods Psychiatr. Res. 2016, 25, 86–100. [Google Scholar] [CrossRef] [PubMed]
  52. Trotzek, M.; Koitka, S.; Friedrich, C.M. Utilizing neural networks and linguistic metadata for early detection of depression indications in text sequences. IEEE Trans. Knowl. Data Eng. 2018, 32, 588–601. [Google Scholar] [CrossRef]
  53. Mujahid, M.; Lee, E.; Rustam, F.; Washington, P.B.; Ullah, S.; Reshi, A.A.; Ashraf, I. Sentiment analysis and topic modeling on tweets about online education during COVID-19. Appl. Sci. 2021, 11, 8438. [Google Scholar] [CrossRef]
  54. Strang, G. Linear Algebra and Its Applications; Thomson, Brooks/Cole: Belmont, CA, USA, 2006. [Google Scholar]
  55. D’Silva, J.; Sharma, U.; More, C. Automatic Text Summarization of Konkani Texts Using Latent Semantic Analysis. In Proceedings of the International Conference on Innovative Computing and Communications (ICICC 2022), Delhi, India, 19–20 February 2022; Springer: Berlin/Heidelberg, Germany, 2022; Volume 1, pp. 425–437. [Google Scholar]
  56. Ahmad, S.N.; Laroche, M. Extracting marketing information from product reviews: A comparative study of latent semantic analysis and probabilistic latent semantic analysis. J. Mark. Anal. 2023, 11, 662–676. [Google Scholar] [CrossRef]
  57. Jain, S.; Seeja, K.; Jindal, R. Computing semantic relatedness using latent semantic analysis and fuzzy formal concept analysis. Int. J.-Reason.-Based Intell. Syst. 2021, 13, 92–100. [Google Scholar] [CrossRef]
  58. Dumais, S.T. Latent semantic analysis. Annu. Rev. Inf. Sci. Technol. (ARIST) 2004, 38, 189–230. [Google Scholar] [CrossRef]
  59. Braun, V.; Clarke, V. Using thematic analysis in psychology. Qual. Res. Psychol. 2006, 3, 77–101. [Google Scholar] [CrossRef]
  60. Drisko, J.W.; Maschi, T. Content Analysis; Oxford University Press: New York, NY, USA, 2016. [Google Scholar]
  61. Patterson, D.J. Using Matlab for LSA. Introduction to Information Retrieval INF141. 2009. Available online: https://ics.uci.edu/~djp3/classes/2009_01_02_INF141/Lectures/Lecture19.pdf (accessed on 23 December 2023).
  62. Golub, G.H.; Van Loan, C.F. Matrix Computations; JHU Press: Baltimare, MD, USA, 2013. [Google Scholar]
  63. Tomasi, C. Orthogonal Matrices and the Singular Value Decomposition; Duke University: Durham, NC, USA, 2013; pp. 1–12. Available online: https://courses.cs.duke.edu/fall13/cps274/notes/svd.pdf (accessed on 9 April 2023).
  64. Astivia, O.L.O.; Zumbo, B.D. Population models and simulation methods: The case of the Spearman rank correlation. Br. J. Math. Stat. Psychol. 2017, 70, 347–367. [Google Scholar] [CrossRef]
  65. Chambers, L.G. 73.52 Spearman’s rank correlation coefficient. Math. Gaz. 1989, 73, 331–332. [Google Scholar] [CrossRef]
  66. Hammen, C.; Marks, T.; Mayol, A.; DeMayo, R. Depressive self-schemas, life stress, and vulnerability to depression. J. Abnorm. Psychol. 1985, 94, 308. [Google Scholar] [CrossRef]
  67. Monroe, S.M.; Slavich, G.M.; Georgiades, K. The social environment and life stress in depression. Handb. Depress. 2009, 2, 340–360. [Google Scholar]
  68. Keller, M.C.; Neale, M.C.; Kendler, K.S. Association of different adverse life events with distinct patterns of depressive symptoms. Am. J. Psychiatry 2007, 164, 1521–1529. [Google Scholar] [CrossRef]
  69. Bjørndal, L.D.; Ebrahimi, O.V.; Røysamb, E.; Karstoft, K.I.; Czajkowski, N.O.; Nes, R.B. Stressful life events exhibit complex patterns of associations with depressive symptoms in two population-based samples using network analysis. J. Affect. Disord. 2024, 349, 569–576. [Google Scholar] [CrossRef]
  70. Cioffi, V.; Mosca, L.L.; Moretto, E.; Ragozzino, O.; Stanzione, R.; Bottone, M.; Maldonato, N.M.; Muzii, B.; Sperandeo, R. Computational Methods in Psychotherapy: A Scoping Review. Int. J. Environ. Res. Public Health 2022, 19, 12358. [Google Scholar] [CrossRef]
  71. Nair, A.; Rutledge, R.B.; Mason, L. Under the hood: Using computational psychiatry to make psychological therapies more mechanism-focused. Front. Psychiatry 2020, 11, 140. [Google Scholar] [CrossRef]
  72. Schöller, H.; Viol, K.; Goditsch, H.; Aichhorn, W.; Hütt, M.T.; Schiepek, G. A Nonlinear Dynamic Systems Model of Psychotherapy: First Steps Toward Validation and the Role of External Input. Nonlinear Dyn. Psychol. Life Sci. 2019, 23, 79. [Google Scholar]
  73. Moradi, S.; Falsafinejad, M.R.; Delavar, A.; Rezaeitabar, V.; Borj’ali, A.; Aggen, S.H.; Kendler, K.S. Network modeling of major depressive disorder symptoms in adult women. Psychol. Med. 2023, 53, 5449–5458. [Google Scholar] [CrossRef]
  74. Bhalla, R.K.; Butters, M.A.; Mulsant, B.H.; Begley, A.E.; Zmuda, M.D.; Schoderbek, B.; Pollock, B.G.; Reynolds III, C.F.; Becker, J.T. Persistence of neuropsychologic deficits in the remitted state of late-life depression. Am. J. Geriatr. Psychiatry 2006, 14, 419–427. [Google Scholar] [CrossRef]
  75. Gonda, X.; Pompili, M.; Serafini, G.; Carvalho, A.F.; Rihmer, Z.; Dome, P. The role of cognitive dysfunction in the symptoms and remission from depression. Ann. Gen. Psychiatry 2015, 14, 1–7. [Google Scholar] [CrossRef]
  76. Bortolato, B.; Miskowiak, K.W.; Köhler, C.A.; Maes, M.; Fernandes, B.S.; Berk, M.; Carvalho, A.F. Cognitive remission: A novel objective for the treatment of major depression? BMC Med. 2016, 14, 1–18. [Google Scholar] [CrossRef]
  77. Kumar, K.S.; Srivastava, S.; Paswan, S.; Dutta, A.S. Depression-symptoms, causes, medications and therapies. Pharma Innov. 2012, 1, 37. [Google Scholar]
  78. Walker, P.W.; Rashid, A. Anxiety and depression. In Hospice and Palliative Medicine and Supportive Care; Yennurajalingam, S., Bruera, E., Eds.; Oxford University Press: New York, NY, USA, 2016; pp. 104–111. [Google Scholar]
  79. Mouchet-Mages, S.; Baylé, F.J. Sadness as an integral part of depression. Dialogues Clin. Neurosci. 2008, 10, 321–327. [Google Scholar] [CrossRef]
Figure 1. Block diagram of the computing system.
Figure 1. Block diagram of the computing system.
Bdcc 08 00088 g001
Figure 2. Data flow diagram of CM.
Figure 2. Data flow diagram of CM.
Bdcc 08 00088 g002
Figure 3. Data flow diagram for the aggregation of matrices.
Figure 3. Data flow diagram for the aggregation of matrices.
Bdcc 08 00088 g003
Figure 4. Data flow diagram of the computing module on the aggregated matrix.
Figure 4. Data flow diagram of the computing module on the aggregated matrix.
Bdcc 08 00088 g004
Figure 5. Data flow diagram for the query module.
Figure 5. Data flow diagram for the query module.
Bdcc 08 00088 g005
Table 1. Example of constructing the LIFE THEMES-SYMPTOMS matrix for patient i.
Table 1. Example of constructing the LIFE THEMES-SYMPTOMS matrix for patient i.
T1T3T20T2T6
S101141
S201041
S330222
S410106
S500000
S600010
S703020
S800010
S900000
S1000000
S1100000
S1200000
S1300000
S1400000
S1500000
S1600000
S1700000
S1800000
S1900000
S2000000
Table 2. Example of constructing latent symptoms.
Table 2. Example of constructing latent symptoms.
T1T2T3
S10.090.0320.098
S2 0.015 0.64 0.002
S3 0.148 0.360.192
S40.0780.7420.859
S50.8290.360.151
Table 3. Coding of Sis and Tis [1].
Table 3. Coding of Sis and Tis [1].
SisCodeTisCode
AnxietyS1Personal achievementT1
ApathyS2Achievement of othersT2
FuryS3Personal lossT3
RegretS4Loss of othersT4
Low self-esteemS5Devaluation of placesT5
FatigueS6FailureT6
SadnessS7Escape from failureT7
DangerT8
Personal chanceT9
Child’s chanceT10
Getting close to loved onesT11
Away from loved onesT12
CommunicationT13
SufferingT14
ChildhoodT15
MeditationT16
Regret of own existenceT17
CareT18
Meaning of placesT19
Center of attentionT20
UtilityT21
HelpT22
EnvyT23
AttachmentT24
NewT25
HumiliationT26
Table 4. Synthesis of the illness pattern of each patient.
Table 4. Synthesis of the illness pattern of each patient.
PatientTisILTsLLTsMRSPSs
1T1T3T1T19S7S7
T3T20T1T5S2S3
T19 T1T17 S4
T20 T5T19 S5
T5 T17T19 S1S6
T17 T2T18 S2S3
T2 S1S2S6S7
T18 S1S2S3S6S7
2T13 T13T21S7S4
T6 T3T22S4S6
T3 S6S1S5
T22 S2S3
T16 S7
T21 S1S2S3S4S5S6S7
S1S2S3S5S6S7
S1S2S4S5S6
S2S4S5S7
S2S4S7
S1S4S5S6S7
3T1T3 S4S1
T3 S5S3
T7 S4
S5
S7
4T1 S3S1S3S4S5S6
T9 S4S1S3S5S6S7
T10 S5S1S3S4S6S7
T3 S1S4S5S6S7
T11 S1S3
5T1 T1T8S6S1S2S5S6
T3 S2S1S5S6
T8 S1S2S3S5
T18 S4
S7
6T1T12T1T2S4S1S2S3S4
T8 S1S1S3S4
T2 S1S2S4
T25 S6
S7
7T1T24T1T3S4S1S2S4S5S6
T3 S6S2S5S6
T16 S1
S3
S7
8T1 T1T23S7S1S2S3S4S5S7
T26 S4S2S3S5
T14 S3S1S2S4S5
T3 S1S2S3S5S7
T23
9T1 S7S2S3S4
T3 S5S1S2S3S4S5S7
T14 S4S1S2S3S5
T13 S3S2S3S7
T21 S2S3S5
10T1 T3T14S5S2S5
T3 T3T15S2S1S3S5S7
T14 T14T15 S1S2S3S5S7
T15 S4
S6
11T1 S7S1S2S7
T3 S2S1S7
T4 S1S2
S3
S4
Table 5. Solutions provided by the computing system for alleviating the problematic symptoms of the patients.
Table 5. Solutions provided by the computing system for alleviating the problematic symptoms of the patients.
PatientProblematic SymptomsThematic Solutions
1S1S2S6S7, S1S2S3S6S7, S1S6, S2S3, S7T6
S3, S4, S5T9, T25
2S1S2S3S4S5S6S7, S1S2S4S5S6, S2S4S5S7, S1S2S3S5S6S7, S1S5, S2S3, S1S4S5S6S7T10
S4, S6, S7, S2S4S7T20, T26
3S4, S5T2, T9, T25, T24, T23
S1, S3, S7T19, T6, T21
4S1S3S4S5S6, S1S3S5S6S7, S1S3S4S6S7, S1S4S5S6S7, S1S3T13
5S1S2S5S6, S1S5S6, S1S2S3S5T22, T7, T10
S4, S7T20, T17, T21, T26
6S1S2S3S4, S1S3S4, S1S2S4T19, T17, T11
S6, S7T20, T5, T26
7S1S2S4S5S6, S2S5S6T7, T9, T10, T26
S1, S3, S7T19, T6, T21
8S1S2S3S4S5S7, S2S3S5, S1S2S4S5, S1S2S3S5S7T19, T9, T11, T8, T25, T12
9S2S3S4, S1S2S3S4S5S7, S1S2S3S5, S2S3S7, S2S3S5T19, T6, T11, T8, T25, T12
10S2S5, S1S3S5S7, S1S2S3S5S7T6, T22, T12
S6,S4T20, T24, T26, T23
11S1S2S7, S1S7, S1S2, S4T20, T17, T26
S3T19, T2, T13, T6, T22, T21, T9, T11, T25, T12, T15
Table 6. The Beck scores recorded by the eleven patients at each psychotherapy session.
Table 6. The Beck scores recorded by the eleven patients at each psychotherapy session.
PSYS0PSYS1PSYS2PSYS3PSYS4
P13334333434
P23535353636
P34141414040
P44039383939
P54042403939
P63532333436
P73534333536
P83738383939
P94141414242
P103132313231
P113434343435
Table 7. Testing the efficiency of psychotherapy sessions in improving the patients’ illness.
Table 7. Testing the efficiency of psychotherapy sessions in improving the patients’ illness.
PSYSi : PSYSi + 1pNumber of Positive Differences
PSYS0 : PSYS113
PSYS1 : PSYS20.2195
PSYS2 : PSYS30.1092
PSYS3 : PSYS40.6251
PSYS0 : PSYS50.3443
Table 8. The Beck scores recorded by the eleven patients following the use of the computing system.
Table 8. The Beck scores recorded by the eleven patients following the use of the computing system.
PSYS0PSYS1PSYS2PSYS3PSYS4PSYS5PSYS6PSYS7PSYS8PSYS9PSYS10PSYS11PSYS12
P134343331303029292928262625
P236363636353431302828272625
P340393534333330292827262624
P439373636343231302827252524
P539353333323030282727252422
P636363534343029282927252422
P736333433312929292726262525
P839313131292827262826262423
P942363532282726252424242221
P1031292730292726272624232120
P1135313028272726252423212120
Table 9. The medians of the Beck scores of the thirteen assessments.
Table 9. The medians of the Beck scores of the thirteen assessments.
PSYS0PSYS1PSYS2PSYS3PSYS4PSYS5PSYS6PSYS7PSYS8PSYS9PSYS10PSYS11PSYS12
36353433313029282827252423
Table 10. Testing the efficiency of psychotherapy sessions in improving the patients’ illness.
Table 10. Testing the efficiency of psychotherapy sessions in improving the patients’ illness.
PSYSi : PSYSi + 1pNumber of Positive DifferencesPSYSi : PSYSi + 1pNumber of Positive Differences
PSYS0 : PSYS10.0088PSYS6 : PSYS70.0398
PSYS1 : PSYS20.0398PSYS7 : PSYS80.1098
PSYS2 : PSYS30.1256PSYS8 : PSYS90.0088
PSYS3 : PSYS40.00210PSYS9 : PSYS100.0088
PSYS4 : PSYS50.0088PSYS10 : PSYS110.0167
PSYS5 : PSYS60.0049PSYS11 : PSYS120.00210
PSYS0 : PSYS120.00111
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sumedrea, A.G.; Sumedrea, C.M.; Săvulescu, F. A Computing System for Complex Cases of Major Recurrent Depression Based on Latent Semantic Analysis: Relationship between Life Themes and Symptoms. Big Data Cogn. Comput. 2024, 8, 88. https://doi.org/10.3390/bdcc8080088

AMA Style

Sumedrea AG, Sumedrea CM, Săvulescu F. A Computing System for Complex Cases of Major Recurrent Depression Based on Latent Semantic Analysis: Relationship between Life Themes and Symptoms. Big Data and Cognitive Computing. 2024; 8(8):88. https://doi.org/10.3390/bdcc8080088

Chicago/Turabian Style

Sumedrea, Alin Gilbert, Cristian Mihai Sumedrea, and Florin Săvulescu. 2024. "A Computing System for Complex Cases of Major Recurrent Depression Based on Latent Semantic Analysis: Relationship between Life Themes and Symptoms" Big Data and Cognitive Computing 8, no. 8: 88. https://doi.org/10.3390/bdcc8080088

APA Style

Sumedrea, A. G., Sumedrea, C. M., & Săvulescu, F. (2024). A Computing System for Complex Cases of Major Recurrent Depression Based on Latent Semantic Analysis: Relationship between Life Themes and Symptoms. Big Data and Cognitive Computing, 8(8), 88. https://doi.org/10.3390/bdcc8080088

Article Metrics

Back to TopTop