mlsanityData to 7 Oct 2026

Cross-Domain Toxic Spans Detection

arXiv 2306.09642 ↗First posted 16 Jun 2023cs.CL cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Given the dynamic nature of toxic language use, automated methods for detecting toxic spans are likely to encounter distributional shift. To explore this phenomenon, we evaluate three approaches for detecting toxic spans under cross-domain conditions: lexicon-based, rationale extraction, and fine-tuned language models. Our findings indicate that a simple method using off-the-shelf lexicons performs best in the cross-domain setup. The cross-domain error analysis suggests that (1) rationale extraction methods are prone to false negatives, while (2) language models, despite performing best for the in-domain case, recall fewer explicitly toxic words than lexicons and are prone to certain types of false positives. Our code is publicly available at: https://github.com/sfschouten/toxic-cross-domain.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 9 of its 24 references that are in the map. First posted on arXiv 16 Jun 2023.

Builds on

9 of 24 references.

References · 9

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  3. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  4. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
  5. 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
  6. 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 403
  7. 2018Challenges for Toxic Comment Classification: An In-Depth Error Analysiscited by 55
  8. 2021MUDES: Multilingual Detection of Offensive Spanscited by 30
  9. 2021NLRG at SemEval-2021 Task 5: Toxic Spans Detection Leveraging BERT-based Token Classification and Span Prediction Techniquescited by 6

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 2.

4 papers.