Related Experiment Video
Updated: Jan 7, 2026

07:31
Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
7.5K
Continuous Monitoring of Mental Health through Streaming Machine Learning with Counterfactual Explanations
Francisco de Arriba-Pérez1, Silvia García-Méndez2
1Information Technologies Group, atlanTTic, University of Vigo, Vigo, Spain.
Journal of Medical Systems
|December 16, 2025
Summary
This study introduces a novel framework for real-time detection of anxiety and depression using large language models and machine learning. The system provides counterfactual explanations for improved transparency in mental healthcare decisions.
Area of Science:
- Artificial Intelligence in Healthcare
- Computational Psychiatry
- Machine Learning for Mental Health
Background:
- Mental health disorders like anxiety and depression affect many, yet a significant portion do not receive care.
- Existing automatic detection solutions and treatments have limitations in accessibility and real-time application.
- There is a need for interpretable and adaptable systems for timely mental health assessment.
Purpose of the Study:
- To develop an innovative framework for multi-label detection of anxiety and depression.
- To integrate counterfactual explanations for enhanced interpretability and user-centered results.
- To enable real-time processing of mental health data through a streaming approach.
Main Methods:
- Utilized large language models (LLMs) for feature extraction.
- Employed multi-label machine learning for accurate prediction of anxiety and depression.
- Implemented a streaming mode with sliding window techniques for temporal data management.
- Generated counterfactual explanations to ensure transparency and accountability.
Main Results:
- Achieved over 90% accuracy in detecting anxiety and depression labels.
- Demonstrated a low rate of misclassifications across all labels.
- Validated the framework's effectiveness in a real-time, streaming environment.
Conclusions:
- The proposed framework offers a timely and transparent decision-making tool for mental healthcare.
- Integration of counterfactual explanations enhances the interpretability and trustworthiness of AI in mental health.
- The system addresses critical gaps in real-time detection and care for mental health disorders.
Related Concept Videos
Counterfactual Thinking
194
Counterfactual thinking is a cognitive process wherein individuals mentally reconstruct alternative versions of past events, often beginning with “what if” or “if only.” This reflective mechanism plays a significant role in shaping emotional experiences and guiding future behavior. Though typically triggered by unfavorable or unexpected outcomes, counterfactual thinking can also emerge in mundane, everyday decisions and experiences, revealing its deep entrenchment in...
194
Pulse rhythm
1.3K
Pulse rhythm refers to the pattern of pulsations within specific intervals, offering valuable insights into the regularity or irregularity of the heart's beats as observed through the pattern of pulsation within specific intervals. A regular pulse exhibits a consistent heart rate with uniform waveforms and pulsation force, variations of which can be classified as normal, weak, or bounding.
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
1.3K
The Scientific Method
64.6K
Research is what makes the difference between facts and opinions. Facts are observable realities, and opinions are personal judgments, conclusions, or attitudes that may or may not be accurate. In the scientific community, facts can be established only using evidence collected through empirical research.
64.6K
Strategies of Self-Presentation III: Self-Monitoring
178
Self-monitoring is a central construct in understanding individual differences in self-presentation strategies across social contexts. It refers to how individuals observe, regulate, and control their expressive behavior and self-presentation following situational cues. Self-monitoring reflects a person's sensitivity to social appropriateness and willingness to adapt behavior to fit varying interpersonal demands.High vs. Low Self-Monitoring IndividualsIndividuals high in self-monitoring are...
178
