[Paper Review] Data Quality Matters: Suicide Intention Detection on Social Media Posts Using RoBERTa-CNN
This paper proposes a RoBERTa-CNN model for suicide intention detection (SID) on social media posts, combining RoBERTa's contextual understanding with CNN's local pattern extraction to achieve 98% mean accuracy and over 97.5% AUC on the Suicide and Depression Detection (SDD) dataset. The study emphasizes data quality as a critical factor, using GPT-based cleaning to enhance performance.
Suicide remains a pressing global health concern, necessitating innovative approaches for early detection and intervention. This paper focuses on identifying suicidal intentions in posts from the SuicideWatch subreddit by proposing a novel deep-learning approach that utilizes the state-of-the-art RoBERTa-CNN model. The robustly Optimized BERT Pretraining Approach (RoBERTa) excels at capturing textual nuances and forming semantic relationships within the text. The remaining Convolutional Neural Network (CNN) head enhances RoBERTa's capacity to discern critical patterns from extensive datasets. To evaluate RoBERTa-CNN, we conducted experiments on the Suicide and Depression Detection dataset, yielding promising results. For instance, RoBERTa-CNN achieves a mean accuracy of 98% with a standard deviation (STD) of 0.0009. Additionally, we found that data quality significantly impacts the training of a robust model. To improve data quality, we removed noise from the text data while preserving its contextual content through either manually cleaning or utilizing the OpenAI API.
Motivation & Objective
- To develop a robust NLP model for early suicide intention detection using social media text.
- To improve upon existing methods by integrating RoBERTa with a CNN head for enhanced pattern recognition.
- To investigate the impact of data quality on model performance in suicide detection tasks.
- To identify optimal hyperparameters, particularly sequence length (Max_Len), for optimal performance on the SDD dataset.
- To demonstrate the effectiveness of GPT-based data cleaning in improving model generalization and accuracy.
Proposed method
- Fine-tuned RoBERTa as the contextual encoder to capture semantic and syntactic relationships in text.
- Added a convolutional neural network (CNN) head to extract local linguistic patterns and enhance feature learning.
- Used a conductive learning setting with 5-fold cross-validation to ensure objective and reproducible evaluation.
- Optimized the input sequence length (Max_Len) by ablation study across 64, 128, and 256 tokens to find the best performance.
- Employed a GPT API to clean and preprocess the SDD dataset, improving data quality prior to training.
- Trained and evaluated the RoBERTa-CNN model using standard NLP metrics: accuracy, precision, recall, F1 score, and AUC.
Experimental results
Research questions
- RQ1Can a RoBERTa-CNN model outperform existing state-of-the-art models in suicide intention detection on social media text?
- RQ2How does data quality influence the performance of deep learning models in suicide detection tasks?
- RQ3What is the optimal input sequence length (Max_Len) for the RoBERTa-CNN model on the SDD dataset?
- RQ4To what extent does GPT-based data cleaning improve model robustness and accuracy in suicide intention detection?
- RQ5How does the integration of CNN with RoBERTa enhance the model’s ability to detect nuanced linguistic cues in suicidal posts?
Key findings
- The RoBERTa-CNN model achieved a mean test accuracy of 98.00% ± 0.09% on the SDD dataset, with a standard deviation of only 0.0009.
- The model reached a mean AUC of 97.63% ± 0.13% on the test set, indicating strong discriminative performance.
- The ablation study showed that Max_Len = 256 yielded the highest accuracy (98.00%) and most stable precision on the test set.
- Data quality was found to be a critical factor, with GPT-based cleaning significantly improving model performance.
- The RoBERTa-CNN outperformed competitive models such as CNN-BiLSTM and XGBoost on the same dataset.
- The model demonstrated robustness across metrics, with F1 score of 96.81% ± 0.14% and recall of 96.64% ± 0.30% on the test set.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.