HEARTS: A Holistic Framework for Explainable, Sustainable and Robust Text Stereotype Detection

Theo King, Zekun Wu, Adriano Koshiyama, Emre Kazim, Philip Treleaven
9/17/2024
cs.CL

No official code found. Best implementation: holistic-ai/HEARTS-Text-Stereotype-Detection (2 stars, MIT, last commit 2024-11-29).

Abstract

Stereotypes are generalised assumptions about societal groups, and even state-of-the-art LLMs using in-context learning struggle to identify them accurately. Due to the subjective nature of stereotypes, where what constitutes a stereotype can vary widely depending on cultural, social, and individual perspectives, robust explainability is crucial. Explainable models ensure that these nuanced judgments can be understood and validated by human users, promoting trust and accountability. We address these challenges by introducing HEARTS (Holistic Framework for Explainable, Sustainable, and Robust Text Stereotype Detection), a framework that enhances model performance, minimises carbon footprint, and provides transparent, interpretable explanations. We establish the Expanded Multi-Grain Stereotype Dataset (EMGSD), comprising 57,201 labelled texts across six groups, including under-represented demographics like LGBTQ+ and regional stereotypes. Ablation studies confirm that BERT models fine-tuned on EMGSD outperform those trained on individual components. We then analyse a fine-tuned, carbon-efficient ALBERT-V2 model using SHAP to generate token-level importance values, ensuring alignment with human understanding, and calculate explainability confidence scores by comparing SHAP and LIME outputs...

View on arXivView PDF

Code Implementations(1)

MIT
22PythonNov 29, 20241 years agoMIT

Similar Papers

Cite this paper

@article{king2024hearts,
  title  = {HEARTS: A Holistic Framework for Explainable, Sustainable and Robust Text Stereotype Detection},
  author = {Theo King and Zekun Wu and Adriano Koshiyama and Emre Kazim and Philip Treleaven},
  year   = {2024},
  eprint = {2409.11579},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.11579v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.11579.svg)](https://codeofpaper.com/paper/2409.11579)

Discussion