PHASE: Learning Emotional Phase-aware Representations for Suicide Ideation Detection on Social Media

Ramit Sawhney, Harshit Joshi, Lucie Flek, Rajiv Ratn Shah

Abstract

Suicide ideation detection on social media is a critical task for early intervention. Traditional Natural Language Processing (NLP) models often overlook the temporal dynamics and non-linear emotional shifts in a user's posting history. This paper introduces PHASE (PHase-Aware Suicidality identification Emotion progression model), a framework that leverages historical emotional phases and irregular time intervals between posts. By incorporating a Plutchik Transformer for fine-grained emotion recognition, a Time-Sensitive Emotion LSTM (TSE-LSTM), and Phase-Adaptive Convolutions (PAC), PHASE achieves state-of-the-art performance, significantly improving Macro F1 and Recall on a large-scale Twitter dataset.

Introduction

Every year, a staggering number of people at risk for suicide do not seek clinical help; nearly 60% of those who die by suicide denied having suicidal thoughts to practitioners shortly before their death. However, many of these individuals express their feelings on social media platforms.

The challenge for NLP is that suicide ideation is complex and deeply contextual. A single tweet like "I can't do this anymore" could be about a difficult video game or a genuine cry for help. Existing models often fail because they treat a sequence of posts as if they happened at equal intervals and assume emotional decline is a smooth, steady slope. In reality, psychological progression involves "phases"—periods of stability followed by sudden shifts or "build-ups."

Example of a user's tweeting history showing emotional progression through distinct phases.

Proposed Method

The authors introduce PHASE, which consists of three main innovative components designed to capture the nuances of emotional progression:

  1. Plutchik Transformer: Instead of just looking at words, the model uses a BERT-based transformer fine-tuned to recognize the eight primary emotions from Plutchik’s wheel (Joy, Sadness, Anger, Fear, etc.). This turns every tweet into an "emotional spectrum" vector.
  2. Time-Sensitive Emotion LSTM (TSE-LSTM): Standard LSTMs struggle with irregular data. The TSE-LSTM uses specialized gates that factor in the elapsed time ($\Delta t$) between tweets. It learns to prioritize recent emotional context while maintaining a long-term memory of the user's state.
  3. Phase-Adaptive Convolutions (PAC): This core novelty identifies "phase split points"—moments where a user's emotional history shifts toward a new state. It uses convolutions to extract features specifically from these distinct phases to contextualize the user's current risk.
The PHASE architecture, integrating historical tweets and the current tweet for assessment.

Experimental Setup

The study utilizes a curated Twitter dataset containing 34,306 tweets from 32,558 unique users. Tweets were labeled by psychology students under clinical supervision as either "Suicidal Intent (SI) Present" or "SI Absent." For each user, the researchers collected up to ten years of posting history, averaging 748 historical tweets per user.

Results and Discussion

PHASE was evaluated against several baselines, including non-contextual models and previous state-of-the-art contextual models like DualContextBERT.

  • Superior Performance: PHASE achieved a Macro F1 score of 0.805, significantly outperforming DualContextBERT (0.767). In the context of suicide prevention, Recall is the most critical metric; PHASE achieved a Recall of 0.812, a substantial jump over the 0.786 of previous models.
  • Emotions Move in Phases: By identifying the onset of a new emotional phase (e.g., moving from "stable" to "hopeless"), the model gains a much clearer picture of risk.
  • The "Sweet Spot" of History: Performance improves as the model looks back further into a user's history, but it saturates after about 3 months. This suggests that while recent history is vital for context, emotions from years ago are less predictive of immediate suicidal intent.
  • Interpretability: Because the model tracks specific emotions over time, it can provide explainable predictions. A clinician could see exactly which emotional shift triggered a high-risk alert.

Conclusion

While PHASE shows great promise, it faces challenges with "cold start" problems for users with little historical data. The authors emphasize that this tool is intended for preliminary screening to aid human moderators and clinicians, not for autonomous diagnosis. Future work will focus on personalizing the model to account for individual baseline emotional states and navigating the complex trade-offs between user privacy and proactive intervention in real-time deployment.

Summary updated

BibTeX
@inproceedings{sawhney2021phase,
  author = {Ramit Sawhney and Harshit Joshi and Lucie Flek and Rajiv Ratn Shah},
  title = {{PHASE: Learning Emotional Phase-aware Representations for Suicide Ideation Detection on Social Media}},
  booktitle = {EACL},
  year = {2021},
  doi = {10.18653/v1/2021.eacl-main.205},
}
Figure