3.1. Overall System Architecture
The proposed AI-based adolescent mental health management and disaster response system integrates several core components to provide a comprehensive solution. The architecture of this system is designed to ensure real-time monitoring, accurate analysis, and timely intervention. The system includes a data collection module that gathers various types of data from users' smartphones and wearable devices, as well as an AI analysis engine that utilizes advanced machine learning algorithms to process the collected data and detect patterns and potential risk factors.
Additionally, a real-time monitoring dashboard provides a visual representation of the user's current psychological state and overall well-being, while an intervention module generates personalized recommendations and interventions based on AI analysis results. In crisis situations, a disaster response unit is activated to provide specialized support and guidance, and a secure data repository ensures the privacy and security of sensitive user data. An intuitive and engaging user interface that allows users to interact with the system and access resources is also a crucial component of this system.
This system operates as a continuous feedback loop, constantly updating analyses and recommendations based on new data inputs and user interactions. This enables effective management of adolescents' psychological well-being and allows for rapid and appropriate responses in disaster situations. This integrated and innovative approach well demonstrates how AI technology can revolutionize mental health management and disaster response strategies.
The algorithm presented outlines a comprehensive AI-based system for managing adolescent mental health and responding to disasters. This innovative approach integrates multiple data sources and advanced AI techniques to provide personalized mental health support and timely disaster response.
Figure 1.
Algorithm: AI-based Adolescent Mental Health Management and Disaster Response System.
Figure 1.
Algorithm: AI-based Adolescent Mental Health Management and Disaster Response System.
The AI-based Adolescent Mental Health Management and Disaster Response System represents a pioneering approach in digital mental health interventions, specifically tailored for adolescents. This innovative system is structured into six key stages: Data Collection, Data Preprocessing, Feature Extraction and Fusion, AI Analysis, Intervention and Feedback, and Display and Store Results. By integrating diverse data types including user-generated text, biometric signals, voice data, and location-based information, the system provides a comprehensive view of the user's mental state and environment. Advanced techniques such as BERT for text embedding and PCA for dimensionality reduction are employed to create a unified representation of the user's condition, enabling sophisticated AI analyses that can detect potential issues like gaslighting or verbal abuse, classify overall mental health status, and predict stress levels.
The system's design demonstrates a deep understanding of the complex nature of adolescent mental health in the digital age. Its proactive approach, combining real-time data analysis with personalized interventions, offers a versatile tool for both daily mental health support and crisis management. The inclusion of disaster response capabilities further enhances its utility. By balancing automated support with the option for professional intervention, the system ensures a comprehensive and ethically responsible method of mental health care. This multi-faceted approach not only addresses immediate mental health concerns but also contributes to long-term wellness, making it a significant advancement in the field of digital mental health interventions for young people.
Future research could focus on validating the effectiveness of this system through clinical trials, refining the AI models for improved accuracy, and exploring additional data sources or intervention strategies to enhance its capabilities further.
Figure 2 shows the detailed algorithm for conversation analysis and feedback generation. This algorithm incorporates several key NLP techniques discussed earlier, including sentiment analysis, inappropriate language detection, and suggestion generation. By following these steps, the system can provide real-time, personalized feedback to users, enhancing their communication skills and emotional awareness.
Figure 2.
Algorithm : AI-based Adolescent Mental Health Management and Disaster Response Sys-tem.
Figure 2.
Algorithm : AI-based Adolescent Mental Health Management and Disaster Response Sys-tem.
3.2. Real-Time Psychological State Monitoring and Gaslighting Detection Algorithm
The real-time psychological state monitoring and gaslighting detection algorithm developed in this study is a core component of the AI-based adolescent mental health management system. This algorithm utilizes Natural Language Processing (NLP) technologies and machine learning models to analyze users' digital communications and identify potential signs of psychological distress or manipulation. In particular, it uses a fine-tuned BERT (Bidirectional Encoder Representations from Transformers) model to classify text and determine the presence of gaslighting or verbal abuse .
The algorithm's process consists of data collection, preprocessing, feature extraction, BERT-based classification, sentiment analysis, risk assessment, and alert generation. Through this process, the system can monitor the user's psychological state in real-time and generate alerts for immediate intervention when necessary. Performance evaluation of the gaslighting detection algorithm resulted in 85% accuracy, 82% precision, 87% recall, and an F1 score of 0.84. This suggests that the algorithm demonstrates high performance in identifying potential gaslighting cases and maintains a good balance between precision and recall .
Table 1.
Performance Metrics of Gaslighting Detection Algorithm.
Table 1.
Performance Metrics of Gaslighting Detection Algorithm.
Metric |
Value |
Accuracy |
85% |
Precision |
82% |
Recall |
87% |
F1 Score |
0.84 |
These results demonstrate that the algorithm performs well in identifying potential gaslighting cases and maintains a balanced trade-off between precision and recall.
3.3. AI Algorithms and Data Analysis Techniques
The system employs a variety of AI algorithms and data analysis techniques to provide accurate and timely mental health support. The key components of this AI-driven approach are detailed below:
3.3.1. Natural Language Processing (NLP) for Text Analysis
Advanced NLP technologies are utilized to analyze textual data from user communications, including chat messages, social media posts, and diary entries. The NLP pipeline consists of the following stages:
- Tokenization using NLTK library
- Lowercasing and special character removal
- Stopword removal and lemmatization
- TF-IDF (Term Frequency-Inverse Document Frequency) vectorization
- Word embeddings using pre-trained GloVe (Global Vectors for Word Representation) model
- Fine-tuned BERT model for sentiment classification
- Output: Positive, negative, or neutral sentiment with confidence scores
- Latent Dirichlet Allocation (LDA) to identify prevalent topics in user communications
- Used to track changes in interests or concerns over time
In this study, advanced natural language processing (NLP) techniques are employed to analyze users' textual data. The NLP pipeline consists of stages including text preprocessing, feature extraction, sentiment analysis, and topic modeling. The text preprocessing stage involves tokenization using the NLTK library, lowercasing and special character removal, and stopword removal and lemmatization. In the feature extraction stage, TF-IDF vectorization and word embedding using a pre-trained GloVe model are performed. For sentiment analysis, a fine-tuned BERT model is used to classify sentiments and output positive, negative, or neutral sentiments along with confidence scores. Lastly, in the topic modeling stage, Latent Dirichlet Allocation (LDA) is employed to identify prevalent topics in user communications and track changes in interests or concerns over time. This comprehensive NLP approach contributes to a more accurate analysis and understanding of users' psychological states.
For data fusion, this study adopted a late fusion approach using a random forest classifier. In this method, each modality is processed individually and then combined at the decision level, applying a weighted voting mechanism based on the reliability of each modality. Additionally, to personalize the system, transfer learning techniques were introduced to adapt the global model to individual users, and a continuous learning approach was implemented to update the model based on user feedback and new data. These multi-modal fusion and personalization techniques enable a more accurate and contextualized understanding of the user's mental state.
Table 2.
Multi-modal Data Types and Sources.
Table 2.
Multi-modal Data Types and Sources.
Component |
Details |
Multi-modal Fusion Purpose |
• Provide a holistic view of the user's mental state |
Data Sources |
• Text data (NLP analysis results)• Voice data (prosodic features)• Physiological data (heart rate variability, sleep patterns)• Behavioral data (app usage patterns, physical activity levels) |
Feature Extraction |
• Text: Sentiment scores, topic distribution• Voice: Fundamental frequency, speaking rate, voice quality<• Physiological: HRV indices (SDNN, RMSSD), sleep efficiency• Behavioral: Screen time, step count, social interaction frequency |
Fusion Technique |
• Late fusion approach using random forest classifier• Each modality is processed individually and then combined at the decision level• Weighted voting mechanism based on the reliability of each modality |
Personalization |
• Transfer learning techniques to adapt the global model to individual users• Continuous learning approach to update the model based on user feedback and new data |
3.3.2. Time Series Analysis for Trend Detection
In this study, time series analysis techniques were applied to identify long-term trends and patterns in users' mental health. The following methodologies were adopted:
- Resampling techniques were applied to convert irregularly spaced data into uniform time series.
- Multiple imputation methods were used to handle missing values.
- Moving average smoothing techniques were applied to reduce noise in the data.
- Exponential smoothing was used for short-term predictions.
- An ARIMA (AutoRegressive Integrated Moving Average) model was implemented for complex time series data analysis.
- The PELT (Pruned Exact Linear Time) algorithm was applied to identify significant changes in users' mental health trajectories.
- Fourier analysis was performed to detect periodic patterns in mood and behavior.
- This provided useful information for identifying potential triggers or rhythms in mental health fluctuations.
3.3.3. Reinforcement Learning for Adaptive Interventions
In this study, a system was developed that utilizes reinforcement learning to optimize intervention strategies over time. This system was implemented through a problem formulation that defines the user's current mental health state, recent activities, and time of day as the state, various intervention types (e.g., CBT exercises, mindfulness activities, social support suggestions) as actions, and mood score improvements and app engagement as rewards. For the algorithm, a Deep Q-Network (DQN) was adopted to effectively handle large state-action spaces, along with experience replay for improved sample efficiency and a decreasing ε-greedy exploration strategy.
The model architecture consisted of an input layer with 64 units, two fully connected hidden layers (128 and 64 units) using ReLU activation functions, and an output layer producing Q-values for each possible action. In the training process, initial training was conducted on simulation data based on clinical guidelines, followed by continuous updates to the model based on actual user interactions and outcomes. To ensure safety, the action space was restricted to clinically approved interventions, and a human-in-the-loop system was implemented to monitor and override AI decisions when necessary. This approach enables safe and effective AI-driven interventions in adolescent mental health management.
By integrating these advanced AI algorithms and data analysis techniques, our system can provide highly personalized, adaptive, and effective mental health support to adolescents. The combination of NLP, multi-modal analysis, time series prediction, and reinforcement learning enables a comprehensive understanding of the user's mental state and the ability to provide timely and appropriate interventions.
3.4. Disaster Response Module and Stress Management Solution
The disaster response module is designed to provide users with appropriate support and guidance in crisis situations. This module automatically detects whether users are in disaster-affected areas by utilizing user location data and external APIs, and integrates with the system's core functions to provide specialized interventions tailored to disaster scenarios. The module also analyzes user data to assess stress levels during and after disaster situations, and provides personalized coping mechanisms and stress reduction techniques based on psychological profiles and current stress levels.
To enable users to easily find necessary resources in disaster situations, the module includes features for locating nearby shelters, medical facilities, and other essential resources. Additionally, it supports communication in emergency situations, allowing users to easily contact emergency contacts and provide updates on their safety status. These features help users reduce psychological burden and cope safely in crisis situations through immediate and practical support.
The stress management solution in this module includes continuous monitoring that tracks stress indicators through physiological data and self-reported measurements. Using machine learning models to predict stress levels and identify potential stressors, it provides effective support for each user through adaptive interventions that offer personalized stress reduction techniques. Furthermore, it provides progress tracking functionality that allows users to monitor their stress levels over time and observe the impact of various interventions. The effectiveness of this system was demonstrated in a simulation study with a group of adolescent participants, where users of the module showed a 30% improvement in stress reduction compared to the control group.
The integration of our digital therapeutic device and wellness solution enables a data-driven approach that utilizes multi-modal analysis for more accurate and comprehensive health assessments. This integrated solution employs multi-modal data collection to gather data from various sources, including psychological assessments, wellness app usage patterns, wearable device sensors, and user-reported information. It then applies advanced analytics using sophisticated AI algorithms to process and analyze multi-modal data, identifying correlations and patterns that may not be apparent from a single data source. Based on this, it performs holistic health profiling to generate a comprehensive health profile that considers mental, physical, and social well-being factors. Through personalized intervention design, it develops tailored intervention strategies that address both mental health issues and general wellness goals. Additionally, it employs continuous optimization using machine learning techniques to continuously improve and optimize the effectiveness of interventions based on user responses and outcomes.
Table 3.
Multi-modal Data Types and Sources.
Table 3.
Multi-modal Data Types and Sources.
Data Type |
Source |
Usage |
Psychological State |
Digital Therapeutic System |
Mental Health Assessment |
Physical Activity |
Wearable Devices |
Fitness and Energy Level Tracking |
Sleep Patterns |
Sleep Tracking Apps |
Sleep Quality Analysis |
Nutrition |
Diet Logging Apps |
Dietary Impact on Mental Health |
Social Interactions |
Smartphone Usage Data |
Social Well-being Assessment |
Stress Levels |
Physiological Sensors |
Stress Management |