[Paper Review] Constructive and Toxic Speech Detection for Open-domain Social Media Comments in Vietnamese
This paper introduces the UIT-ViCTSD dataset, a 10,000-sample, human-annotated collection of Vietnamese social media comments labeled for constructiveness and toxicity. It proposes a PhoBERT-based transfer learning system that achieves 78.59% F1-score for constructive speech detection and 59.40% for toxic speech detection, setting a new benchmark for Vietnamese NLP in online discourse quality assessment.
The rise of social media has led to the increasing of comments on online forums. However, there still exists invalid comments which are not informative for users. Moreover, those comments are also quite toxic and harmful to people. In this paper, we create a dataset for constructive and toxic speech detection, named UIT-ViCTSD (Vietnamese Constructive and Toxic Speech Detection dataset) with 10,000 human-annotated comments. For these tasks, we propose a system for constructive and toxic speech detection with the state-of-the-art transfer learning model in Vietnamese NLP as PhoBERT. With this system, we obtain F1-scores of 78.59% and 59.40% for classifying constructive and toxic comments, respectively. Besides, we implement various baseline models as traditional Machine Learning and Deep Neural Network-Based models to evaluate the dataset. With the results, we can solve several tasks on the online discussions and develop the framework for identifying constructiveness and toxicity of Vietnamese social media comments automatically.
Motivation & Objective
- To address the lack of annotated datasets for constructive and toxic speech detection in Vietnamese.
- To develop a robust, automated system for identifying the quality and toxicity of Vietnamese social media comments.
- To improve online discussion quality by enabling automatic filtering and promotion of informative, non-toxic content.
- To provide a foundation for future NLP research in low-resource Vietnamese language processing.
Proposed method
- Proposes a transfer learning framework using PhoBERT, a state-of-the-art pre-trained model for Vietnamese NLP.
- Applies fine-tuning of PhoBERT on the UIT-ViCTSD dataset for both binary classification tasks: constructiveness and toxicity.
- Implements a detailed annotation scheme with four toxicity levels and two constructiveness labels to ensure high-quality human-annotated data.
- Uses grid search for hyperparameter tuning across multiple baseline models including SVM, Random Forest, LSTM, and Bi-GRU-LSTM-CNN.
- Employs word embeddings such as fastText and PhoW2V for baseline neural network models.
- Applies macro-averaged F1-score and accuracy as evaluation metrics across all models.
Experimental results
Research questions
- RQ1Can a pre-trained transformer model like PhoBERT effectively detect constructive and toxic comments in Vietnamese social media?
- RQ2How does the performance of PhoBERT compare to traditional machine learning and deep learning baselines on Vietnamese comment classification?
- RQ3What impact does class imbalance have on toxicity detection performance in Vietnamese datasets?
- RQ4To what extent does dataset quality and annotation scheme affect model generalization and reliability?
- RQ5How can error patterns in classification be diagnosed and mitigated through confusion matrix analysis?
Key findings
- The proposed PhoBERT-based system achieves 78.59% F1-score for constructive speech detection, outperforming all baseline models.
- For toxic speech detection, the system reaches 59.40% F1-score, which is the highest among all evaluated models despite class imbalance.
- Baseline models such as SVM and Bi-GRU-LSTM-CNN with PhoW2V embeddings achieve competitive results, with F1-scores ranging from 70.78% to 77.94% for constructiveness.
- The confusion matrix reveals that the main error type in constructiveness detection is misclassifying non-constructive comments as constructive (14% of errors).
- Toxicity detection performance is significantly hampered by data imbalance, with fewer toxic comments in the dataset due to platform moderation policies.
- Error analysis confirms that noisy annotations and low-resource data distribution negatively affect model performance, especially in the toxicity classification task.
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.