Reproduce “Beyond Accuracy: An Explainability-Driven Analysis of Harmful Content Detection” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Trishita Dhara, Siddhesh Sheth

An explainability-driven analysis of a RoBERTa-based harmful content detection model by researchers Dhara and Sheth revealed specific failure modes, such as lexical over-attribution and difficulty with indirect toxicity, through the comparative application of SHAP and Integrated Gradients. The study highlights the diagnostic utility of Explainable AI (XAI) for uncovering model behavior beyond aggregate performance metrics, contributing to more trustworthy content moderation.

Key insights

  • Explainability methods are crucial for revealing model behaviors and limitations, like over-reliance on explicit lexical cues or struggles with implicit toxicity, that are not evident from overall accuracy scores.
  • SHAP produces sparse, focused attributions that clearly highlight explicit lexical triggers, while IG provides more distributed attributions sensitive to broader contextual and structural features.
  • XAI serves as a valuable diagnostic and transparency tool, exposing model uncertainty and providing interpretable rationales that can enhance human-in-the-loop moderation and system accountability.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.