Skip to content
Open access

SOFIA: a knowledge-infused prompt-based reasoning framework for anxiety screening in social media

Aug 2026 · Frontiers in Digital Health · Vol 8 · 0 citations · 67 references
Medicine

TL;DR

SOFIA (Anxious? SOFten-It-Out) is introduced, a novel prompt-based reasoning framework that enhances PLM capability for binary AD without full fine-tuning and highlights SOFIA's effectiveness as a scalable, low-resource, and knowledge-informed framework for digital mental health screening applications.

Abstract

Linguistic-based anxiety screening has become a widely adopted approach for detecting anxiety in social media, with pre-trained language models (PLMs) now forming the state-of-the-art foundation for early mental health detection. However, most existing PLMs are not explicitly optimized for anxiety detection (AD), limiting their adaptability to fine-grained psycholinguistic cues. To address this gap, we introduce SOFIA (Anxious? SOFten-It-Out), a novel prompt-based reasoning framework that enhances PLM capability for binary AD without full fine-tuning. SOFIA integrates multiple prompt template strategies with a dual-end truncation method that preserves both initial contextual cues and concluding emotional markers, enabling richer and more stable representations of conversational anxiety signals. Additionally, a knowledge-enhanced verbalizer incorporates structured domain knowledge through soft, manual, and automatic verbalizers, improving reasoning within frozen PLMs. We evaluate SOFIA across three self-reported anxiety corpora, such as Guo, SMHD, and Kim, using multiple 100M−300M-parameter PLMs. Experimental results demonstrate consistent improvements over traditional baselines, including F1 score gains of 5.37%, 5.40%, and 7.92% for MentalBERT on the respective datasets when using soft templates of length 20 with knowledge base-driven verbalizers. These findings highlight SOFIA's effectiveness as a scalable, low-resource, and knowledge-informed framework for digital mental health screening applications.

Read PDF

Similar papers

Preprint Aug 2026

EmoS: A Theory-Grounded Framework for Evaluating and Aligning Emotional Intelligence in Spoken Language Models

EmoDialogue, a bilingual dataset providing necessary fine-grained supervision through response pairs with rigorously defined EI gradations, and EmoS, a specialized evaluator model optimized via Supervised Fine-Tuning and Group Relative Policy Optimization, are introduced, establishing a foundational framework for advan...

Junyu Wang, Si-Yuan Zhang, Peiyuan Jiang et al. · 1 citation
#machine learning Book Open access Sep 2026

Multimodal Detection of Higher-Order Behavioral Constructs: Self-Compassion in Structured Reflective Interactions

Many of the qualities that matter most in how people learn and grow, how someone regulates their emotions, reflects on a setback, or stays aware of others during a difficult conversation, are not directly observable. They have to be inferred from how someone speaks, moves, and sounds over time, and they resist the kind...

Siddhant Jain, Dimitra Tsovaltzi · 0 citations
Conference Open access 2026

AI-Assisted Language Learning, Self-Efficacy, and Speaking Anxiety in ESL Contexts: A Literature Review

In second language acquisition, oral anxiety significantly limits learners' willingness to communicate and academic achievement. Though AI conversational systems offer low-stress oral practice, the psychological mechanisms underlying anxiety reduction—and how individual differences such as personality traits moderate t...

Shuo-Yao Gao · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.