TL;DR
This paper explores BERT-based token classification and span prediction techniques for toxic span detection, combining multiple models and approaches to improve performance on the SemEval-2021 task, achieving notable F1 score improvements.
Contribution
It introduces hybrid BERT-based models and techniques for toxic span detection, demonstrating performance gains over baseline models through combined approaches and thorough analysis.
Findings
Best F1 score of 0.6895 on test set
Hybrid models outperform baseline by 3%
Combination of SpanBERT and RoBERTa yields best results
Abstract
Toxicity detection of text has been a popular NLP task in the recent years. In SemEval-2021 Task-5 Toxic Spans Detection, the focus is on detecting toxic spans within passages. Most state-of-the-art span detection approaches employ various techniques, each of which can be broadly classified into Token Classification or Span Prediction approaches. In our paper, we explore simple versions of both of these approaches and their performance on the task. Specifically, we use BERT-based models -- BERT, RoBERTa, and SpanBERT for both approaches. We also combine these approaches and modify them to bring improvements for Toxic Spans prediction. To this end, we investigate results on four hybrid approaches -- Multi-Span, Span+Token, LSTM-CRF, and a combination of predicted offsets using union/intersection. Additionally, we perform a thorough ablative analysis and analyze our observed results. Our…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsLinear Layer · Layer Normalization · Linear Warmup With Linear Decay · Softmax · Adam · Multi-Head Attention · Residual Connection · Attention Dropout · Refunds@Expedia|||How do I get a full refund from Expedia? · Weight Decay
