Cross-Domain Toxic Spans Detection
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
- 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 403
- 2018Challenges for Toxic Comment Classification: An In-Depth Error Analysiscited by 55
- 2021MUDES: Multilingual Detection of Offensive Spanscited by 30
- 2021NLRG at SemEval-2021 Task 5: Toxic Spans Detection Leveraging BERT-based Token Classification and Span Prediction Techniquescited by 6
Built on by
Citing papers per year: 2024: 2; 2025: 2.
4 papers.
- 2024The Constant in HATE: Analyzing Toxicity in Reddit across Topics and Languagescited by 2
- 2024Grounding Toxicity in Real-World Events across Languagescited by 1
- 2025Combating Toxic Language: A Review of LLM-Based Strategies for Software Engineeringcited by 1
- 2025Assessing and Refining ChatGPT's Performance in Identifying Targeting and Inappropriate Language: A Comparative Studycited by 0
- 2025Assessing and Refining ChatGPT's Performance in Identifying Targeting and Inappropriate Language: A Comparative Study27 May 2025
- 2025Combating Toxic Language: A Review of LLM-Based Strategies for Software Engineering21 Apr 2025
- 2024Grounding Toxicity in Real-World Events across Languages22 May 2024
- 2024The Constant in HATE: Analyzing Toxicity in Reddit across Topics and Languages29 Apr 2024