Skip to main content

ORIGINAL RESEARCH article

Front. Psychol., 08 October 2024
Sec. Psychology for Clinical Settings

A study on music therapy aimed at psychological trauma recovery for bereaved families driven by artificial intelligence

\r\nZixi WangZixi Wang1Xin GuanXin Guan2Enhui Li
&#x;Enhui Li1*Bo Dong
&#x;Bo Dong1*
  • 1College of Music and Dance, Guangzhou University, Guangzhou, China
  • 2Guangzhou Xinhua University, Dongguan, China

Introduction: This study explores the effectiveness of music therapy in repairing psychological trauma in bereaved families, aiming to provide a comprehensive understanding of its potential therapeutic impact. It begins with an analysis of the current situation faced by bereaved families, identifying the psychological challenges they experience.

Methods: The research design included the recruitment of participants from bereaved families, who were then divided into an experimental group and a control group. An optimized Long Short-Term Memory (LSTM) network model was constructed to analyze music therapy data, tailored specifically to capture the nuances of this therapeutic process. The experimental procedure detailed the specific operations involved in the music therapy sessions and established a clear comparison framework between the two groups.

Results: The performance of the proposed LSTM model demonstrated high accuracy (0.85), precision (0.86), recall (0.84), and F1-score (0.85), indicating its effectiveness in predicting treatment outcomes. When compared to the Self-Reporting Inventory-90 (SCL-90) scale, the model captured the trend of treatment effects with a high level of accuracy and reliability. Notably, participants numbered 2, 6, and 8 in the experimental group showed substantial improvement rates of 67.21%, 71.45%, and 75.67%, respectively, in their psychological health issues.

Discussion: The comparative analysis between the experimental and control groups confirmed that the music therapy approach, as guided by the proposed LSTM model, led to a more significant improvement in psychological health issues for bereaved families. This suggests that the model offers a promising avenue for enhancing the effectiveness of music therapy in this context.

1 Introduction

Bereaved families refer to those families who lost their only child for various reasons during the implementation of China's one-child policy. The implementation of this policy has resulted in many families in China being able to have only one child for a long time. Therefore, the loss of this unique child has been an extremely devastating and unbearable blow to the family (Myers-Coffman, 2024). Bereaved families face unprecedented psychological trauma and difficulties, which often last for many years or even a lifetime, greatly affecting the mental health of family members. Firstly, the loss of the only child is an indescribable pain for parents. In traditional Chinese culture, children are the main reliance and spiritual support for parents in their old age (Ghetti et al., 2023). However, once the only child is lost, parents not only lose the process of raising children but also lose the continuity and inheritance of the family. This sense of loss and helplessness often leads parents to long-term immersion in extreme sadness, and even severe depression and anxiety. Secondly, the marital relationship of bereaved families also faces enormous tests and challenges. Under the one-child policy, many families place all their love and hope on their only child. Once the child is lost, the relationship between spouses often falls into a state of mutual blame and estrangement (Gillespie et al., 2024). The emotions and trust between spouses may also be severely damaged, leading to the breakdown of family relationships and the failure of marriages. In addition, the elders and other family members of bereaved families also find it difficult to escape from psychological distress and negative effects. For the elders of bereaved families, losing their only grandson or granddaughter means losing the continuation of family affection and hope, often leading to deep anxiety and loneliness. Other family members, such as siblings, relatives, and friends, also often feel the pain and pressure of bereaved families, which often affects the harmony and stability of the entire family (Moriconi and Cantero-García, 2022).

The psychological trauma and challenges faced by families who have lost their only child are not limited to individual levels but have wide-ranging and profound impacts at the family and societal levels. Firstly, the family structure and function of such families suffer severe disruptions. In traditional family structures, children bear the responsibility of family continuity and inheritance. Losing the only child means the interruption of family continuity and inheritance, leading to irreversible changes in the family structure. This change results in the loss and breakdown of family functions, leaving these families lacking sufficient support and coping abilities when facing challenges and pressure. Secondly, social support and recognition for families who have lost their only child also face significant difficulties. In traditional Chinese culture, the family serves as the basic unit of social life. However, the emergence of families who have lost their only child challenges this traditional notion, resulting in insufficient social recognition and support for such families. On the contrary, they often face criticism, isolation, and even social marginalization. This societal pressure and rejection exacerbate the psychological trauma and suffering of members of these families, making them even more isolated and helpless. Furthermore, the psychological trauma experienced by families who have lost their only child presents challenges to social governance and services. Given that the psychological health issues of these families often persist for a long time and are difficult to treat, they require professional psychological support and therapy services. However, the current psychological health service system for families who have lost their only child is not yet well-developed, facing issues such as insufficient service resources and a lack of professional talents, making it difficult for members of these families to receive timely and effective help and support. This further intensifies the psychological plight of these families and presents new challenges and tasks for social governance and services.

Against the backdrop of significant psychological trauma and challenges faced by bereaved families, it becomes crucial to seek effective methods for psychological trauma recovery. While traditional psychological therapy methods can alleviate the psychological distress of bereaved family members to some extent, they often fail to achieve the desired results due to their limitations and shortcomings (Cheatley et al., 2022). Therefore, it is particularly important to explore a more effective and personalized approach to psychological trauma recovery by combining emerging artificial intelligence (AI) technology with traditional music therapy methods. AI, as an emerging technology, has shown tremendous potential and prospects in the medical field (Myers-Coffman et al., 2020). AI technology can not only help doctors improve the accuracy and efficiency of diagnosis and treatment but also provide patients with more personalized and precise medical services. In the field of psychotherapy, AI technology is also widely used in emotion recognition, psychological assessment, personalized treatment plan design, and other aspects, bringing new possibilities and opportunities for psychotherapy. Meanwhile, music therapy, as a traditional psychological treatment method, has been proven to have significant effects on psychological trauma recovery (Tuomi et al., 2021). Music, as a non-verbal art form, possesses unique functions of emotional expression and emotion regulation, directly influencing people's emotions and psychological states. In music therapy, therapists guide patients to express and release emotions and promote psychological recovery and self-awareness through carefully selected and designed music. Therefore, music therapy is considered a safe, effective, and popular psychological treatment method, widely used in the treatment of various mental health issues.

This study aims to explore AI-driven music therapy methods for psychological trauma recovery in bereaved families, providing more effective and personalized psychological support and assistance. By combining emerging AI technology with traditional music therapy methods, this study aims to provide a novel psychological trauma recovery solution for bereaved family members, helping them rebuild confidence and hope, and reintegrate into social life. The innovation of this study lies in the integration of emerging AI technology and traditional music therapy methods to explore a new treatment approach for psychological trauma recovery in bereaved families. An emotion analysis model tailored to the characteristics of music therapy data is being constructed based on optimized deep learning algorithms to more accurately analyze emotional changes in bereaved family members during music therapy sessions. This innovative approach is expected to enhance the effectiveness and personalization of music therapy, providing better psychological support and assistance to bereaved family members and offering new insights and methods for the development of the field of psychotherapy. This study comprises six sections: Introduction, Literature Review, Research Methodology, Results Analysis, Discussion, and Conclusion. Section 2 reviews the current state of research in relevant fields. The Section 3 introduces the research design, participant recruitment, and the construction of the emotion analysis model based on optimized deep learning algorithms. The Section 4 details the changes in the psychological states of bereaved family participants and examines the effects of AI-driven music therapy on psychological trauma recovery. It also analyzes the outcomes of psychological trauma under various individual differences. In Section 5, the significance of the research findings is explained, differences between AI-driven music therapy and traditional music therapy are discussed, and limitations of the study and future directions for improvement are analyzed. Finally, in Section 6, the research findings are summarized, the potential role of AI-driven music therapy in psychological trauma recovery in bereaved families is emphasized, and suggestions for future research and clinical practice are proposed. This study also contributes to exploring the application of AI technology in the field of psychotherapy, providing new insights and methods for the future development of psychotherapy methods, enhancing understanding of psychological trauma in bereaved families, and promoting social attention and care for bereaved family members.

2 Literature review

In recent years, with social changes and diversification of family structures, research on the psychological trauma of bereaved families has gradually attracted attention from academia and society. Many studies have investigated the psychological status and living conditions of bereaved family members in depth, exploring the impact of bereavement on the mental health of family members, and proposing some psychological support and intervention measures (Loewy et al., 2021). For example, Cuervo-Suárez et al. (2022) conducted a study investigating the psychological health status of bereaved parents and its influencing factors. The study used a combined qualitative and quantitative approach, employing surveys and in-depth interviews, and showed that bereaved parents generally experienced severe psychological distress and negative emotions such as depression and anxiety. The study results showed that the psychological health of bereaved parents was influenced by various factors such as social support, family support, and individual factors, and required more care and support from society and family. Additionally, some research indicates that the psychological health issues of bereaved parents also affect marital relationships and family harmony. Love et al. (2022) proposed that the emotional support and communication level between bereaved parents were closely related to the quality of marital relationships, which in turn directly affected the harmony and stability of the entire family. Therefore, providing psychological support and intervention measures for bereaved families not only helped improve individual mental health but also helped maintain family relationships and promoted family harmony.

Music therapy, as a non-pharmacological, non-verbal psychological treatment method, has attracted attention in the field of psychological trauma recovery. Many studies have shown that music therapy plays a positive role in psychological trauma recovery, helping to facilitate emotional expression, emotional regulation, and psychological recovery (Apuke et al., 2023). Lu (2024) investigated the application effects of music therapy in patients with Post-Traumatic Stress Disorder (PTSD) after trauma. They used a randomized controlled trial design, dividing PTSD patients into a music therapy group and a conventional treatment group, and compared the treatment effects of the two groups of patients. The results showed that patients receiving music therapy had significant improvements in anxiety, depression, and sleep quality. Compared to the conventional treatment group, the treatment effect of the music therapy group was more significant and lasting. In addition, a meta-analysis study conducted by Ha (2022) comprehensively analyzed the effects of music therapy in psychological trauma recovery. The study included data from multiple relevant studies and evaluated and analyzed the overall effect of music therapy. The results showed that music therapy had a significant effect in psychological trauma recovery, not only alleviating patients' psychological symptoms but also improving their mental health and quality of life. Moreover, other studies have indicated that music therapy has a certain effect in various age groups and different populations. For example, research on music therapy for children and adolescents has found that music therapy can help them release emotions, enhance self-esteem and confidence, and promote psychological recovery and social skills development (Bensimon, 2020).

The application of AI technology in the field of psychological trauma recovery has gradually gained attention and has achieved some positive research results. AI technology provides new possibilities and methods for psychological therapy through emotion recognition, personalized treatment plan design, and other methods (Kammin et al., 2024). Liu et al. (2022) explored the application effects of emotion recognition technology in psychological trauma recovery. Using deep learning algorithms, they conducted real-time recognition and analysis of the emotional states of trauma patients and adjusted treatment plans based on the recognition results. The results showed that personalized treatment plans based on emotion recognition technology could better meet the psychological needs of patients, thereby improving treatment effectiveness and satisfaction. Additionally, research suggests that AI technology can also assist therapists in psychological assessment and intervention plan design. For example, Baglione et al. (2021) used machine learning algorithms to predict individual characteristics and treatment responses of trauma patients and provided therapists with personalized intervention plans. The results showed that personalized intervention plans based on machine learning algorithms could significantly improve treatment effectiveness and patient satisfaction. Furthermore, research indicates that virtual reality technology has also achieved some positive effects in psychological trauma recovery. Virtual reality technology combines AI technology and psychological therapy methods to provide patients with an immersive treatment experience, which helps promote emotional expression and emotion regulation (De Luca et al., 2022).

Current research on psychological trauma recovery in bereaved families has achieved some positive results. Firstly, in-depth investigations into the psychological health of bereaved families provide a theoretical basis for psychological therapy. Additionally, music therapy, as a non-pharmacological, non-verbal psychological treatment method, has shown effective roles in psychological trauma recovery. Moreover, the application of AI technology, such as emotion recognition technology and machine learning algorithms, provides new possibilities for psychological therapy and more means for designing personalized treatment plans and psychological assessments. The exploration of virtual reality technology also provides patients with immersive treatment experiences, which help promote emotional expression and emotion regulation. However, these studies still have some limitations, including insufficiently rigorous research designs and the need for further improvement in technological applications. Therefore, this study aims to combine AI technology and music therapy methods to explore a novel treatment approach for psychological trauma recovery in bereaved families, with the goal of providing more effective and personalized psychological support and assistance to bereaved families.

3 Music therapy research methodology for psychological trauma recovery in bereaved families

3.1 Research design and participant recruitment

This study selects a city in inland China as the research area and employs a randomized controlled trial design to ensure the scientific validity and credibility of the experimental results. Participant recruitment is based on the following criteria.

Firstly, selection criteria for participants include: Bereaved family members. Participants must be members of bereaved families, i.e., families who have lost a child. Psychological trauma: Participants exhibit symptoms of psychological trauma, such as depression, anxiety, etc., which need to be clinically diagnosed and confirmed.

Secondly, exclusion criteria for participants include: Severe psychological disorders: Participants with severe mental illnesses or psychological disorders, such as schizophrenia, are excluded from the study. Inability to accept music therapy: Participants who have strong aversions to music therapy or are unable to undergo treatment are also excluded.

During the participant recruitment process, research information is widely disseminated through various channels such as community notices, hospital announcements, internet platforms, etc., inviting eligible bereaved family members to participate. Simultaneously, researchers communicate face-to-face with potential participants, providing detailed explanations of the research content, risks, benefits, and clarifying the voluntary nature of participation, confidentiality, and the right to withdraw at any time.

A total of 480 participants are ultimately recruited. After determining the participants, they are randomly assigned to the experimental group and the control group, with 240 individuals in each group. The experimental group receives music therapy driven by an optimized Long Short-Term Memory (LSTM) algorithm, while the control group receives traditional music therapy, as shown in Figure 1.

Figure 1
www.frontiersin.org

Figure 1. Research design.

3.2 Construction of deep learning model

To address the characteristics of music therapy data, an optimized LSTM algorithm is adopted for model construction. LSTM is a variant of Recurrent Neural Network (RNN) that can effectively handle sequential data and capture long-term dependencies in long sequential data, making it suitable for processing time-series data such as music therapy process data. In this study, the LSTM model is optimized to better adapt to the characteristics of music therapy data and improve the model's prediction and analysis capabilities.

The LSTM network is a special type of RNN with gating mechanisms designed to handle and learn long-term dependencies in sequential data. Compared to traditional RNNs, LSTM introduces three key gate structures: the input gate, forget gate, and output gate, along with a cell state. These gate structures enable the LSTM network to selectively control the flow of information when processing sequential data, thereby more effectively capturing long-term dependencies within sequences. Firstly, the input gate determines which information from the current time step's input should be passed to the cell state. It achieves this by using a sigmoid activation function to control the relevance of each input, ensuring that only relevant information is passed to the cell state. Secondly, the forget gate determines which information in the cell state should be discarded or ignored. It accomplishes this by using a sigmoid activation function and element-wise multiplication to decide which information to forget, thereby preventing the cell state from being overly populated or containing irrelevant information. Lastly, the output gate determines which information from the current time step's cell state should be outputted to the next state and prediction. The output gate controls the information output from the cell state using a sigmoid activation function and another tanh activation function to map the information from the cell state into the range of output values. The cell state is the core of the LSTM network, allowing information to persist over long periods and mitigating the vanishing or exploding gradient problems present in traditional RNN. Through the cell state, the LSTM network can effectively transmit and capture information when processing long sequential data, thereby enhancing the network's performance and generalization ability. LSTM, as a type of RNN with gating mechanisms, better handles long-term dependencies in sequential data through the design of gate structures and cell states. It exhibits strong memory and generalization capabilities, leading to its widespread application and research across various sequential modeling tasks. The structure of the LSTM model is depicted in Figure 2 (Reid and Miño, 2021).

Figure 2
www.frontiersin.org

Figure 2. LSTM model structure.

The basic computational formulas for LSTM are shown in Equations 15:

it=σ(Wxixt+Whiht-1+Wcict-1+bi)    (1)
ft=σ(Wxfxt+Whfht-1+Wcfct-1+bf)    (2)
ct=ftct-1+ittanh(Wxcxt+Whcht-1+bc )    (3)
ot=σ(Wxoxt+Whoht-1+Wcoct+bo)    (4)
ht&=ottanh(ct )    (5)

In Equations 15, xt represents the input at the t-th time step of the input sequence; ht is the hidden state at the t-th time step of the output sequence; ct is the cell state; σ denotes the sigmoid function; ⊙ indicates element-wise multiplication; it, ft, and ot, respectively, represent the outputs of the input gate, forget gate, and output gate; W and b are the weight parameters and bias terms of the model.

The LSTM model is optimized to improve its effectiveness in psychological trauma repair, considering the characteristics of music therapy data. The optimization focuses on several aspects:

1. Sequence length handling

Data generated during music therapy often have varying sequence lengths, presenting a challenge for input and processing in the model. To address variable-length sequence data, a dynamic time matching technique is employed. Specifically, a Bidirectional RNN (Bi-RNN) is used to dynamically capture the features of sequence data, and the sequences of different lengths are transformed into fixed-length inputs through weighted averaging (McFerran, 2020). Assuming the input sequence is X = {x1, x2, …, xT}, where T is the length of the sequence, the Bi-RNN model yields bidirectional hidden representations of the sequence, denoted as H = {h1, h2, …, hT}. The weighted averaging method aggregates these hidden representations, as shown in Equation 6:

h̄=t=1Tαtht    (6)

In Equation 6, αt represents the dynamically calculated weighting coefficient based on the importance of hidden representations.

2. Feature extraction

To address the characteristics of music therapy data, an effective feature extraction method is designed to extract key information from the music therapy process, which serves as input to the LSTM model. This process can be divided into several steps:

Audio signal preprocessing: Firstly, the audio signal undergoes preprocessing, including framing and time-frequency feature extraction. Assuming the audio signal sequence is x = {x1, x2, …, xT}, where T is the length of the sequence. The audio signal is framed into multiple windows, and each window's audio signal can be represented as a vector x, where t is the time step. Then, time-frequency features are extracted from the audio signal of each window using Short-Time Fourier Transform (STFT) to convert the time-domain signal into a time-frequency domain representation, obtaining the time-frequency feature matrix X. The calculation formula for STFT is given in Equation 7:

X(m,ω)=n=0N-1x[n]·w[n-m]·e-jωn    (7)

In Equation 7, the input signal is denoted as (t), the window length is N, and the window function is w(t). X(m, ω) represents the STFT result at time index mm and frequency index ωω, x[n] is a discrete time-domain sample of the input signal, w[n] is the window function, and ejωn is the rotation factor.

Extracting audio features using convolutional neural network (CNN): Next, a CNN is employed to extract advanced representations of audio features. CNNs can effectively capture local features of audio signals and extract audio features crucial for the task. A CNN model is constructed using convolutional layers, pooling layers, etc., with the time-frequency feature matrix X as the input, resulting in the advanced representation Faudio of audio features.

Integration of psychological state data: Finally, the advanced representation Faudio extracted by the CNN is fused with the psychological state data from the music therapy process to obtain a comprehensive feature representation as input to the LSTM model. Assuming the psychological state data sequence is y = {y1, y2, …, yT}, it can be represented as a feature vector yt. Then, the advanced representation of audio features Faudio and the feature vector yt of psychological state data are concatenated or added together to obtain the final feature representation Ffinal, as shown in Equation (8):

Ffinal =concatenate(Faudio ,yt)    (8)

3. Parameter tuning

By conducting repeated experiments and parameter tuning, various parameters of the LSTM model have been optimized, including learning rate, hidden layer size, and number of iterations, aiming to improve the convergence speed and prediction accuracy of the model. Parameter tuning is a crucial part of the training process of deep learning models, directly impacting the performance and generalization ability of the model. The following common parameter tuning methods are employed.

Random search is a simple yet effective method for parameter tuning, which involves randomly selecting parameter combinations within a predefined parameter space and training and evaluating each combination. Unlike traditional grid search methods, random search does not exhaustively search the parameter space but randomly samples within it, allowing for exploration of a wider range of parameter combinations in a shorter time. This random parameter selection approach imbues random search with a degree of exploration, aiding in the discovery of superior parameter settings. Due to its flexibility, random search can adapt to the requirements of different tasks and models, as it is not constrained by the size of the parameter space. Additionally, parallelizing random search implementation is relatively straightforward, enabling simultaneous training and evaluation of multiple parameter combinations across multiple computing resources, thereby enhancing tuning efficiency. Overall, random search, as a simple yet powerful parameter tuning method, has found wide application in the training process of deep learning models. Its characteristic of random sampling enables it to search for better-performing parameter settings in a shorter time, providing crucial support for model performance improvement.

Grid search is a common method for parameter tuning that employs an exhaustive search strategy by traversing all possible parameter combinations within a specified parameter grid. In grid search, candidate values for each parameter are predefined, and these values are combined to form a parameter grid. The grid search algorithm then trains and evaluates each parameter combination within the grid to determine the optimal combination. While the search space in grid search is typically limited, especially when there are many parameters and candidate values, the search process can become time-consuming. However, the advantage of grid search lies in its ability to ensure exhaustive search of all possible combinations within the parameter space. Since grid search traverses every corner of the parameter space, it can identify the globally optimal parameter settings without missing any possible combinations. One of the main advantages of grid search is its simple and intuitive implementation, making it one of the commonly used tuning tools in many machine learning tasks. By exhaustively searching within a limited parameter grid, the grid search algorithm can provide comprehensive coverage of the parameter space, helping us find the optimal parameter combination to optimize model performance and generalization ability.

Cross-validation is a commonly used method for evaluating model generalization performance. It involves partitioning the dataset into training and validation sets and repeatedly training and evaluating the model to reduce the risk of overfitting. During the parameter tuning process, cross-validation is used to evaluate the performance of each parameter combination to select the optimal parameter settings. Through cross-validation, the model's performance on unseen data can be more accurately assessed, thereby improving the model's generalization ability and preventing overfitting to the training data.

To further enhance the predictive performance of the model, this study introduces Bayesian Optimization as the hyperparameter optimization method. Bayesian Optimization is an advanced optimization technique that constructs a probabilistic model based on prior knowledge to iteratively explore the parameter space in search of the global optimum. Specifically, Bayesian Optimization builds a surrogate model (often a Gaussian Process or tree-based model) in each iteration to approximate the objective function, such as the validation error of the model. By using acquisition functions like Expected Improvement (EI), Bayesian Optimization focuses the search on high-potential regions, thus more efficiently identifying the optimal parameter combination. Compared to traditional random search and grid search methods, Bayesian Optimization significantly reduces the number of trials required for parameter tuning, as it leverages information from previous evaluations to guide the selection of the next candidate parameters. This technique not only converges to the global optimal parameters more quickly with fewer computational resources but also manages complex dependencies between parameters, thereby improving the model's predictive performance and generalization ability. In this study, Bayesian Optimization will be used to adjust key hyperparameters of the LSTM model, such as learning rate, hidden layer size, and number of iterations. Through these optimizations, the study aims to further improve the model's accuracy, making its predictions in psychological trauma recovery more precise.

In the process of parameter tuning, the parameter combination that performs best on the validation set is selected based on the model's performance on the validation set, and this combination is used for the final training and testing of the model. This ensures that the model has good generalization ability on unseen data, thus better predicting and analyzing the effects of music therapy on psychological trauma repair in bereaved families. The music dataset chosen in this study is the Giant Musical Instrument Digital Interface (MIDI)-Piano dataset, released by ByteDance, which contains a large amount of classical piano music MIDI data covering various genres and styles of music. The final parameter combination determined in this study is: a learning rate of 0.00005, a hidden layer size of 256, and 150 iterations.

To further prevent overfitting and enhance the model's generalization ability, this study introduces more robust regularization methods on top of the optimized LSTM model. These methods include L2 regularization (weight decay) and Dropout techniques, both of which are widely used in deep learning to effectively improve the model's robustness and generalization performance.

L2 regularization works by adding a penalty term to the loss function that is proportional to the square of the model weights. This regularization method effectively limits the size of the model weights, thereby reducing the risk of overfitting. Specifically, the effect of L2 regularization on the loss function is expressed by the formula in Equation 9:

L=Loriginal+λi=1nwi2    (9)

In Equation 9, Loriginal represents the original loss function, λ is the regularization strength parameter, and wi are the model's weight parameters. By adjusting the value of λ, one can control the strength of the regularization, thereby balancing the model's complexity and its fitting capability.

Dropout is a commonly used regularization technique in deep learning. It reduces co-adaptation among neurons by randomly dropping out (i.e., setting the activation values to zero) a portion of neurons during each training iteration. This approach helps the model learn more robust feature representations across different training epochs, thus improving its generalization ability. Specifically, during training, neurons are randomly selected and dropped with a certain probability p (typically between 0.2 and 0.5), while during testing, all neurons are retained and the outputs are scaled accordingly, as shown in Equation 10:

hi={0                  with probability phi1p              with probability 1p    (10)

In Equation 10, hi represents the activation value of a neuron, and p is the dropout probability. Dropout prevents model overfitting and improves performance on the test set by reducing dependencies between neurons.

By combining L2 regularization and Dropout techniques, the optimized LSTM model demonstrates enhanced robustness in handling complex patterns in music therapy data. It is expected to show improved performance on test data, exhibiting better generalization capability.

3.3 Music therapy process and control group setup

The music therapy process in this study aims to explore the impact of music on psychological trauma repair in bereaved families and adopts a control group design to validate the treatment effect. During the music therapy process, participants in the treatment group receive specially designed music therapy, while participants in the control group receive conventional psychological support or other non-music interventions. The duration of the experiment for both groups is 1 month.

The selection of music is based on classical piano pieces, covering a variety of styles and emotional characteristics of music to ensure the diversity and specificity of the treatment. Music environment creation: during the music therapy process, a quiet and comfortable environment is created for participants to maximize their listening and experiencing of music. Therapy process supervision: the therapy process is supervised and guided by professionally trained music therapists to ensure that participants can fully engage in the music experience. Emotional expression and relaxation: participants are guided to express their inner emotions through music, release emotional stress, and relax their minds and bodies with the accompaniment of music, promoting psychological recovery. Participants in the control group receive similar music therapy to the treatment group.

To conduct a more in-depth analysis of individual differences among participants in the music therapy process, this study introduces an analysis dimension for individual differences within the experimental group of 240 individuals. Participants are first grouped based on key demographic factors (such as age, gender, and economic background) and psychological status (initial SCL-90 scores). These groups is used to explore variations in music therapy outcomes among different characteristic groups.

Specifically, the study employs hierarchical regression analysis to assess the impact of various factors on treatment efficacy. Additionally, it examines the interaction effects among different characteristic groups to identify factors that may lead to significant differences in treatment outcomes. Through this design, the study aims to better understand how individual differences affect the efficacy of music therapy and provide insights for future personalized treatment plans.

3.4 Ethical approval

This study was approved by the Academic Ethics Review Committee of Guangzhou University, China, on February 12, 2024. Our study did not involve animal or human clinical trials and was not unethical. In accordance with the ethical principles outlined in the Declaration of Helsinki, all participants provided informed consent before participating in the study. The anonymity and confidentiality of the participant guaranteed, and participation was completely voluntary. At the same time, researchers communicate face-to-face with potential participants, providing detailed explanations of the research content, risks, benefits, and clarifying the voluntary nature of participation, confidentiality, and the right to withdraw at any time.

4 Analysis of research results on music therapy for psychological trauma repair in bereaved families

4.1 Model performance evaluation

The performance of the proposed optimized LSTM algorithm in this study is evaluated and compared with four other common deep learning models, including Multilayer Perceptron (MLP), CNN, LSTM Networks, and Gate Recurrent Unit Networks (GRU). The results are shown in Table 1.

Table 1
www.frontiersin.org

Table 1. Comparison of model performance.

To provide a more intuitive representation, a graph is plotted based on the content of Table 1, as shown in Figure 3.

Figure 3
www.frontiersin.org

Figure 3. Comparison of model performance results.

Table 1 and Figure 3 show that the model proposed in this study demonstrates superior performance across accuracy, precision, recall, and F1-score, achieving values of 0.88, 0.89, 0.87, and 0.88, respectively. In comparison, the performance of MLP and GRU is slightly inferior, with accuracy and F1-score slightly lower than other models, at 0.79 and 0.81, respectively. Meanwhile, CNN and LSTM show performance similar to the model proposed in this study but with slightly lower recall rates. Overall, the LSTM algorithm proposed in this study demonstrates significant advantages in predicting the effect of music therapy on the psychological trauma recovery of bereaved families, exhibiting better predictive and generalization abilities.

4.2 Analysis of differences in results between the experimental and control groups

This study selects the Self-reporting Inventory 90 (SCL-90) scale to evaluate the therapeutic effects. Initially, a comparative analysis is conducted between the treatment effects predicted by the model for the experimental group and the results of the SCL-90 scale completed by the experimental subjects at the end of the experiment. Due to the consideration of space, only the treatment data of 10 participants in the experimental group, out of 240 individuals, are listed in this study. To simplify the analysis process and compare the degree of improvement, the factors of the SCL-90 are merged, and the results are shown in Figure 4.

Figure 4
www.frontiersin.org

Figure 4. Evaluation of model predictive effectiveness.

Figure 4 demonstrates that the therapeutic effects predicted by the model in this study have a certain consistency with the improvement levels characterized by the SCL-90 scale reported by the participants. For example, for participant number 2, the improvement degree predicted by the model proposed in this study is 74.35%, whereas the actual improvement degree as represented by the SCL-90 scale is 67.21%. This trend is also visible in other participants, indicating a correlation between the predicted improvement level and the actual characterized improvement level. This suggests that the model in this study has a certain accuracy and reliability in predicting the effects of music therapy. Although the predictions are not entirely accurate, the model can capture the general trend of the therapeutic effects. The predictive ability and guiding therapeutic capacity of the model have significant implications for music therapy.

Furthermore, by comparing the improvement data of psychological problems before and after treatment for 10 participants each in the experimental and control groups, the greater improvement in psychological health issues in the experimental group can be more intuitively illustrated, indirectly indicating the feasibility of the model proposed in this study, as shown in Figure 5.

Figure 5
www.frontiersin.org

Figure 5. Comparison of treatment effects.

Figure 5 demonstrates that the experimental group performs better in terms of treatment effects. For example, the improvement in treatment effects for participants numbered 2, 6, and 8 in the experimental group reached 67.21, 71.45, and 76.67%, respectively. In contrast, these participants show significantly lower improvement in the control group. Conversely, some participants in the control group (such as participants numbered 1, 3, and 6) have lower treatment effect improvements, even falling below the average level of the experimental group. This data indicates that using the model proposed in this study for music therapy in the experimental group has significant advantages and can more effectively improve participants' mental health issues.

4.3 Individual difference analysis

Descriptive statistics are used to analyze the treatment effects for different characteristic groups. Table 2 shows the treatment effect improvement percentages (%) across various age groups, genders, and initial SCL-90 score categories.

Table 2
www.frontiersin.org

Table 2. Descriptive results of treatment effects for different characteristic groups.

Table 2 shows that different characteristic groups exhibit significant differences in psychological health improvement following music therapy. For instance, younger participants (< 40 years) show a higher average improvement compared to older participants (>60 years), who have relatively lower improvement. Female participants have a higher average improvement compared to males, and participants with a favorable economic background show more pronounced treatment effects. Participants with higher initial SCL-90 scores experience the greatest improvement, which may indicate a high responsiveness to the treatment in these groups.

To quantify the impact of various factors on treatment outcomes, a hierarchical regression analysis was conducted to assess the independent contributions of age, gender, economic background, and initial SCL-90 scores to treatment effects. In the regression analysis, one group is selected as the baseline (e.g., males or low-income) and other groups (e.g., females or high-income) are compared relative to the baseline group. This approach simplifies the model, avoids multicollinearity issues, and more clearly demonstrates the differences in treatment effects across different characteristic groups. Therefore, the regression analysis results present coefficients relative to the baseline group rather than listing all variables. The results are shown in Table 3.

Table 3
www.frontiersin.org

Table 3. Hierarchical regression analysis results.

Based on the hierarchical regression analysis results in Table 3, age, gender, economic background, and initial SCL-90 scores all significantly affect treatment outcomes. Notably, initial psychological state has the greatest impact on treatment effects, with a regression coefficient of 0.45, indicating that individuals with poorer initial psychological states benefit more from the treatment. Economic background also has a significant effect on treatment outcomes, with higher income participants showing greater improvement (p < 0.00001). These results highlight the importance of individual characteristics in music therapy and provide crucial references for future personalized treatment plans.

5 Discussion

This study first evaluates the performance of the proposed optimized LSTM algorithm and compares it with four other common deep learning models. The results show that the proposed model achieves the best performance in accuracy, precision, recall, and F1-score. In contrast, the performance of other models, particularly multilayer perceptrons and gated recurrent units, is somewhat inferior, with slightly lower accuracy and F1-scores. This indicates that the proposed optimized LSTM algorithm offers significant advantages in predicting the effectiveness of music therapy for psychological trauma recovery in bereaved families, demonstrating superior predictive and generalization capabilities. The model's advantages primarily stem from the use of advanced optimization methods such as Bayesian optimization and regularization techniques, along with finely tuned parameters. Bayesian optimization efficiently explores the parameter space, allowing the model to converge quickly to a global optimum and further enhance predictive accuracy. L2 regularization and Dropout techniques effectively prevent overfitting and improve the model's generalization ability, resulting in excellent performance across accuracy, precision, recall, and F1-score metrics. These optimization measures collectively contribute to the model's significant advantages in predicting music therapy outcomes. In the analysis of differences between the experimental and control groups, the experimental group using the proposed model shows better performance, further validating the accuracy and reliability of the model in predicting music therapy effects. The model's superiority is not only due to its comprehensive understanding and learning ability for music therapy data but also its capacity to capture the complex mechanisms of psychological trauma recovery in bereaved families, providing a powerful tool for therapists. Additionally, through the analysis of individual differences in the experimental group, this study further reveals the significant impact of demographic factors (such as age, gender, economic background) and psychological state (such as initial SCL-90 scores) on treatment outcomes. Hierarchical regression analysis finds that younger participants, females, those with better economic backgrounds, and individuals with poorer initial psychological states show greater improvement in treatment. These findings provide important references for future personalized music therapy plans and suggest that individual differences should be thoroughly considered when developing treatment plans.

6 Conclusion

This study aims to explore the effect of music therapy on the psychological trauma repair of families who have lost their only child, and proposes an optimized LSTM algorithm based on deep learning models to predict and guide the music therapy process. Through comparative analysis between the experimental and control groups, as well as comparison between model predictions and actual treatment outcomes, the following conclusions are drawn in this study. The predictive ability and guiding role of the model help therapists better understand and guide patients' treatment processes, thereby achieving better treatment outcomes. The experimental results show that patients in the experimental group who undergo music therapy using the model in this study perform better in improving their mental health issues, further validating the effectiveness and guiding role of the model. Individuals with poorer initial psychological states benefit more from the treatment. The impact of economic background on treatment outcomes is also significant, with high-income participants showing greater improvement (p < 0.00001). Although there is still some prediction error, the model can capture the general trend of treatment effects with a certain level of accuracy and reliability. However, this study has some limitations. First, the sample size is relatively small, which may affect the stability and generalizability of the experimental results. Although the study involves 480 participants, providing a certain degree of representativeness within the research scope, the focus on a city in inland China results in a culturally and socio-economically homogeneous sample, potentially limiting the generalizability of the findings. Lastly, the study only reports on treatment effects 1 month after intervention and lacks long-term follow-up data. Future research should consider expanding the sample size, including participants from diverse cultural and socio-economic backgrounds, optimizing the model algorithms, and incorporating more psychological theories. Long-term follow-up studies should be designed to track participants' psychological state changes over extended periods to assess the long-term effects and sustainability of music therapy, providing more comprehensive treatment outcome information and ultimately enhancing the model's predictive capability and practical applicability.

Data availability statement

The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding authors.

Ethics statement

The studies involving humans were approved by the Academic Ethics Review Committee of Guangzhou University. The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation was not required from the participants or the participants' legal guardians/next of kin in accordance with the national legislation and institutional requirements.

Author contributions

ZW: Writing – review & editing, Data curation, Conceptualization. XG: Writing – original draft, Visualization, Validation, Software. EL: Writing – review & editing, Methodology, Investigation, Funding acquisition, Data curation. BD: Writing – review & editing, Writing – original draft, Formal analysis.

Funding

The author(s) declare financial support was received for the research, authorship, and/or publication of this article. This work was funded by the 2024 Humanities and Social Sciences Youth Fund Project of the Ministry of Education of China, titled “Research on the ‘Waijiang' Symbolic System in Lingnan Traditional Music Culture,” project, approval number 24YJC760131. Additionally, it was funded by the 2024 Higher Education Research Project of the Guangzhou Municipal Education Bureau, titled “Research on the Survival and Development of Private Cantonese Opera Troupes in the New Media Era,” approval number 2024312216.

Acknowledgments

Our heartfelt appreciation extends to the school teachers who assisted in experiment administration. Gratitude is also extended to all participants whose contributions enriched this study.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher's note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

Apuke, O. D., Omar, B., Iyendo, T. O., Tunca, E. A., and Gever, C. V. (2023). Comparing the therapeutic effect of social media-based art, music and poetry therapies intervention on treating post-traumatic stress disorder symptoms of flood victims. J. Asian Afr. Stud. 00219096231171539. doi: 10.1177/00219096231171539

Crossref Full Text | Google Scholar

Baglione, A., Clemens, M., Maestre, J., Min, A., Dahl, L., Shih, P., et al. (2021). Understanding the technological practices and needs of music therapists. Proc. ACM Hum. Comp. Interact. 5, 1–25. doi: 10.1145/3449107

Crossref Full Text | Google Scholar

Bensimon, M. (2020). Perceptions of music therapists regarding their work with children living under continuous war threat: experiential reframing of trauma through songs. Nord. J. Music Therapy 29, 1–17. doi: 10.1080/08098131.2019.1703210

Crossref Full Text | Google Scholar

Cheatley, L., Ackerman, M., Pease, A., and Moncur, W. (2022). Musical creativity support tools for bereavement support. Digital Creat. 33, 1–17. doi: 10.1080/14626268.2022.2034648

Crossref Full Text | Google Scholar

Cuervo-Suárez, M. I., Molina-Gómez, K., Bolaños-Lopez, J. E., Pereira, L. F., Devia, A. M., Nieto, N. D., et al. (2022). Cultivating gratitude in bereaved families: understanding the impact of the bereavement workshop on the families of deceased patients in the pediatric palliative care program. Illness Crisis Loss 2, 209–227. doi: 10.1177/10541373221130877

Crossref Full Text | Google Scholar

De Luca, R., Bonanno, M., Vermiglio, G., Trombetta, G., Andidero, E., Caminiti, A., et al. (2022). Robotic verticalization plus music therapy in chronic disorders of consciousness: promising results from a pilot study. Brain Sci. 12:1045. doi: 10.3390/brainsci12081045

PubMed Abstract | Crossref Full Text | Google Scholar

Ghetti, C. M., Schreck, B., and Bennett, J. (2023). Heartbeat recordings in music therapy bereavement care following suicide: action research single case study of amplified cardiopulmonary recordings for continuity of care. Act. Res. 14767503231207993. doi: 10.1177/14767503231207993

Crossref Full Text | Google Scholar

Gillespie, K., McConnell, T., Roulston, A., Potvin, N., Ghiglieri, C., Gadde, I., et al. (2024). Music therapy for supporting informal carers of adults with life-threatening illness pre- and post-bereavement; a mixed-methods systematic review. BMC Palliat. Care 23:55. doi: 10.1186/s12904-024-01364-z

PubMed Abstract | Crossref Full Text | Google Scholar

Ha, K. M. (2022). Integrating music into natural disaster recovery. J. Arts Manag. Law Soc. 52, 217–230. doi: 10.1080/10632921.2022.2068714

Crossref Full Text | Google Scholar

Kammin, V., Fraser, L., Flemming, K., and Hackett, J. (2024). Experiences of music therapy in paediatric palliative care from multiple stakeholder perspectives: a systematic review and qualitative evidence synthesis. Palliat. Med. 38, 364–378. doi: 10.1177/02692163241230664

PubMed Abstract | Crossref Full Text | Google Scholar

Liu, Z., Yang, Z. L., Xiao, C., Zhang, K., and Osmani, M. (2022). An investigation into art therapy aided health and well-being research: a 75-year bibliometric analysis. Int. J. Environ. Res. Public Health 19:232. doi: 10.3390/ijerph19010232

PubMed Abstract | Crossref Full Text | Google Scholar

Loewy, J., Rossetti, A., Telsey, A., and Dassler, A. (2021). Assessing & treating trauma: music psychotherapy for parents of neonates. Music Med. 13, 138–149. doi: 10.47513/mmd.v13i2.829

Crossref Full Text | Google Scholar

Love, A., Greer, K., Woods, C., Clark, L., Baker, J. N., Kaye, E. C., et al. (2022). Bereaved parent perspectives and recommendations on best practices for legacy interventions. J. Pain Sympt. Manag. 63:1022+. doi: 10.1016/j.jpainsymman.2022.02.003

PubMed Abstract | Crossref Full Text | Google Scholar

Lu, N. (2024). Mental health rehabilitation of college students based on self-regulated music psychotherapy. Entertain. Comput. 50:100636. doi: 10.1016/j.entcom.2024.100636

Crossref Full Text | Google Scholar

McFerran, K. S. (2020). Adolescents and music therapy: contextualized recommendations for research and practice. Music Therapy Perspect. 38, 80–88. doi: 10.1093/mtp/miz014

Crossref Full Text | Google Scholar

Moriconi, V., and Cantero-García, M. (2022). Bereaved families: a qualitative study of therapeutic intervention. Front. Psychol. 13:841904. doi: 10.3389/fpsyg.2022.841904

Crossref Full Text | Google Scholar

Myers-Coffman, K. (2024). Intersections of trauma and grief: navigating multilayered terrain in music therapy to support youth through bereavement. Arts Psychotherapy 89:102166. doi: 10.1016/j.aip.2024.102166

Crossref Full Text | Google Scholar

Myers-Coffman, K., Baker, F. A., and Bradt, J. (2020). The Resilience Songwriting Program: A working theoretical model and intervention protocol for adolescent bereavement. Nord. J. Music Therapy. 29, 132–149. doi: 10.1080/08098131.2019.1642373

Crossref Full Text | Google Scholar

Reid, A., and Miño, P. (2021). When therapy goes public: copyright gatekeepers and sharing therapeutic artifacts on social media. Int. J. Commun. 15, 950–69.

Google Scholar

Tuomi, K., Thompson, G. A., Gottfried, T., and Ala-Ruona, E. (2021). Theoretical perspectives and therapeutic approaches in music therapy with families. Voices 21:24. doi: 10.15845/voices.v21i2.2952

PubMed Abstract | Crossref Full Text | Google Scholar

Keywords: music therapy, bereaved families, psychological trauma repair, Long Short-Term Memory network, effect evaluation

Citation: Wang Z, Guan X, Li E and Dong B (2024) A study on music therapy aimed at psychological trauma recovery for bereaved families driven by artificial intelligence. Front. Psychol. 15:1436324. doi: 10.3389/fpsyg.2024.1436324

Received: 23 May 2024; Accepted: 26 September 2024;
Published: 08 October 2024.

Edited by:

Paolo Taurisano, University of Bari Aldo Moro, Italy

Reviewed by:

Bhuvaneswari Ramesh, Sri Balaji Vidyapeeth University, India
Ya Li, Hainan Normal University, China

Copyright © 2024 Wang, Guan, Li and Dong. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Enhui Li, U3VMREQzJiN4MDAwNDA7aG90bWFpbC5jb20=; Bo Dong, ZHhtXzEyMTYmI3gwMDA0MDtnemh1LmVkdS5jbg==

These authors have contributed equally to this work

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.