Evaluating Large Language Models for Detecting Antisemitism

Jay Patel, Hrudayangam Mehta, Jeremy Blackburn
9/22/2025
cs.CLcs.AIcs.CY

Official code: idramalab/quantify-llm-explanations (4 stars, last commit 2025-09-24).

Abstract

Detecting hateful content is a challenging and important problem. Automated tools, like machine-learning models, can help, but they require continuous training to adapt to the ever-changing landscape of social media. In this work, we evaluate eight open-source LLMs' capability to detect antisemitic content, specifically leveraging in-context definition. We also study how LLMs understand and explain their decisions given a moderation policy as a guideline. First, we explore various prompting techniques and design a new CoT-like prompt, Guided-CoT, and find that injecting domain-specific thoughts increases performance and utility. Guided-CoT handles the in-context policy well, improving performance and utility by reducing refusals across all evaluated models, regardless of decoding configuration, model size, or reasoning capability. Notably, Llama 3.1 70B outperforms fine-tuned GPT-3.5. Additionally, we examine LLM errors and introduce metrics to quantify semantic divergence in model-generated rationales, revealing notable differences and paradoxical behaviors among LLMs. Our experiments highlight the differences observed across LLMs' utility, explainability, and reliability. Code and resources available at: https://github.com/idramalab/quantify-llm-explanations

View on arXivView PDF

Code Implementations(1)

Evaluating Large Language Models for Detecting Antisemitism

41PythonSep 19, 20251 years ago
emnlp2025evaluation-metricsllmnlp

Similar Papers

Cite this paper

@article{patel2025evaluating,
  title  = {Evaluating Large Language Models for Detecting Antisemitism},
  author = {Jay Patel and Hrudayangam Mehta and Jeremy Blackburn},
  year   = {2025},
  eprint = {2509.18293},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.18293v2}
}

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/2509.18293.svg)](https://codeofpaper.com/paper/2509.18293)

Discussion