SOFIA: a knowledge-infused prompt-based reasoning framework for anxiety screening in social media
Ashala Senanayake, Prasan Yapa, Sidath R. Liyanage
Yunnan Investment Group (China) · University of Luxembourg
Key points
From the paper's conclusion- We evaluate SOFIA across three self-reported anxiety corpora, such as Guo, SMHD, and Kim, using multiple 100M−300M-parameter PLMs.
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 ( A nxious? SOF ten- I t-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 the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Explainable Emotion and Mental Health Reasoning in Large Language Models Using Theories of EmotionarXiv · 2026
- MH-EABERT: an adaptive fusion approach with emotion knowledge-enhanced BERT for explainable mental health sentiment analysis from social mediaScientific Reports · 2026
- VEILED-SH: Vulnerability Expression through Indirect Language Evaluation Dataset (Self-Harm)arXiv · 2026
- Candidate Generation and Definition-Guided Verification for Sentence-Level Depression Symptom RecognitionarXiv · 2026
- Structure vs. Chain-of-Thought: Evaluating LLM Criteria Extraction for Depression SeverityarXiv · 2026
- Retrieval‑augmented large language models for depression screening and suicide risk stratificationBMC Psychiatry · 2026