Skip to content
Conference

Context as a Signal: Context-Aware Transformers for Fine-Grained Depression Emotions

Jul 2026 · International Conference on Digital Health · pp. 247-255 · 0 citations · 40 references

Abstract

People who write about depression on social media often convey several emotions that shift within a single post, yet most datasets flatten these dynamics into one post-level label. To enable sentence-level study, we present DepressionEmo-SL, a corpus of Reddit posts in which each sentence is annotated with one of nine emotions: anger, cognitive dysfunction, emptiness, hopelessness, loneliness, sadness, suicide intent, worthlessness, or no emotion. We propose a four-level context protocol (C0-C3) that provides models with progressively larger windows of surrounding text to assess the impact of narrative context on classification. We evaluate five Transformer encoders, including MentalBERT and MentalRoBERTa, under each context setting. Results show that wider narrative context consistently improves performance and that ensembling across context levels provides further improvements. However, these improvements are not uniform across categories, with some emotions benefiting more from additional context than others. Overall, our findings show that context is an important factor in sentence-level depression emotion analysis, while also highlighting the challenges that remain for reliable category-level classification.

View source

Similar papers

#artificial intelligence Preprint Sep 2026

Some Emotions Run Deeper: Layer-wise Probing and Causal Intervention in Large Language Models

This work investigates whether the depth at which emotion becomes accessible is a property of the model or also of the text source, and combines layer-wise probing with offline feature scaling and online forward interventions, transfer analyses, and an early-exit classifier.

Tian-Mi Fang, Gaël Guibon, Davide Buscaldi · 0 citations
#artificial intelligence Preprint Sep 2026

Exposing Weaknesses in Emotion Recognition in Conversations

An LLM-as-Judge framework is introduced that evaluates each emotion independently according to its plausibility in the conversational context rather than enforcing a single-label decision, suggesting that standard single-label evaluation is therefore insufficient.

Amir Ben Khalifa, Fanny Bezancon, B. Abdulrazak et al. · 0 citations
Open access 2026

Detection of Anxiety and Depression from Social Media Text Using Natural Language Processing

A comprehensive Natural Language Processing (NLP) pipeline for detecting linguistic correlates of anxiety and depression from social media text, a task distinct from clinical diagnosis is presented.

Muhammad Azhar, Adeen Amjad, Bilal Hussain et al. · 0 citations
Review Open access Aug 2026

A curated dataset for emotion-based analysis of students’ experiences in higher education

Understanding the emotional states of university students is essential for addressing academic performance, well-being, and institutional support. This paper presents EduAffect, a novel emotion-labeled dataset constructed from public social media posts and structured survey responses by University Students in Ghana. Th...

F. A. Acheampong, Henry Nunoo-Mensah, Richard Dei-Asamoa et al. · 0 citations
Conference Aug 2026

HLLC: A Four-Stage Human-AI Collaborative Annotation Framework for Panic Emotion Recognition in Social Networks

Public emergencies often trigger large-scale panic emotions, which are further amplified by social media, potentially leading to serious consequences such as resource hoarding and social disorder. Therefore, timely identification and intervention of panic are of great significance. However, the development of panic emo...

Yu Cai, Chuan Ai, Meng-Zhu Liu et al. · 0 citations
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

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