Related Experiment Videos
Large Language Model Few-Shot Learning for Predicting Individual Treatment Response to Smartphone-Based Mindfulness
Gun Ahn1, Cindy E Li2, Aixin Liang3
1Department of Brain and Cognitive Science, Massachusetts Institute of Technology, 43 Vassar Street, Cambridge, MA, United States, 1 617-253-8946.
Background:
Anxiety disorders are highly prevalent among adults with autism, with 20%-65% experiencing at least one diagnosable anxiety disorder. While mindfulness-based interventions have demonstrated efficacy for anxiety reduction, treatment response varies considerably across individuals. Machine learning approaches offer potential for identifying who is most likely to benefit from smartphone-based mindfulness interventions, enabling personalized treatment recommendations.
Objective:
This study aimed to develop and evaluate machine learning models to predict individual treatment response to a smartphone-based mindfulness intervention for adults with autism. We identified baseline characteristics that distinguish responders from nonresponders and explored few-shot learning with large language models (LLMs) as a complementary approach for low-data clinical prediction.
Methods:
We conducted a secondary analysis of a randomized controlled trial comparing a 6-week smartphone-based mindfulness intervention with a waitlist control group in adults with autism. Among 73 participants who completed the intervention, we defined responders as those achieving a ≥7-point reduction in State-Trait Anxiety Inventory state anxiety scores. Baseline predictors included demographic variables; autism trait measures; and self-report questionnaires assessing anxiety symptoms, perceived stress, affect, and mindfulness. To determine which machine learning model was most predictive of response, we trained 6 different models (logistic regression, random forest, extreme gradient boosting [XGBoost], tabular data network [TabNet], TabICL, and Tabular Prior-Data Fitted Network [TabPFN]) using nested 10-fold cross-validation with inner 5-fold cross-validation for hyperparameter tuning and evaluated GPT-4o few-shot learning with tokenized features at 20 to 70 shots.
Results:
Random forest achieved the highest predictive performance for state anxiety response (area under the curve [AUC] 0.79, 95% CI 0.66-0.91), followed by TabPFN (AUC 0.78, 95% CI 0.64-0.94) and logistic regression (AUC 0.77, 95% CI 0.73-0.81). Higher baseline state anxiety (standardized β coefficient=1.20, P<.001) predicted better treatment response, while higher Autism Spectrum Quotient at baseline (standardized β coefficient=-0.17, P=.001), older age (standardized β coefficient=-0.18, P=.02), and lower childhood pretend play scores (standardized β coefficient=-0.93, P=.007) were associated with poorer response. Few-shot learning with 7-feature tokenization achieved an accuracy of 0.867 at 70 shots, compared to an accuracy of 0.733 for random forest. Prediction of trait anxiety changes was substantially weaker (AUCs 0.46-0.68), likely reflecting the inherent stability of this personality dimension.
Conclusions:
Machine learning models successfully identified baseline characteristics predicting state anxiety response to a smartphone-based mindfulness intervention in adults with autism. Few-shot learning with LLMs demonstrated superior performance to traditional machine learning when provided with compact, high-signal feature representations, offering a promising approach for clinical prediction in small-sample settings. These findings demonstrate the feasibility of precision psychiatry in digital mental health interventions for adults with autism. As online mental health interventions become ubiquitous, patients and clinicians can know whether a particular intervention is more or less likely to benefit an individual patient.
Related Concept Videos
Modeling in Therapy
Participant Modeling
Participant modeling involves therapists demonstrating calm and effective behaviors in situations...
Autism Spectrum Disorder
These core symptoms manifest differently among individuals, ranging from mild to severe. The disorder's complexity extends beyond its clinical presentation, encompassing a diverse range of biological, cognitive, and sociocultural influences.