Enhancing LLM-based Hatred and Toxicity Detection with Meta-Toxic Knowledge Graph

The rapid growth of social media platforms has raised significant concerns regarding online content toxicity.When Large Language Models (LLMs) are used for toxicity detection, two key challenges emerge: 1) the absence of domain-specific toxicity knowledge leads to false negatives; 2) the excessive sensitivity of LLMs to toxic speech results in false positives, limiting freedom of speech.To address these issues, we propose a novel method called Meta-Tox, leveraging graph search on a meta-toxic knowledge graph to enhance hatred and toxicity detection.First, we construct a comprehensive meta-toxic knowledge graph by utilizing LLMs to extract toxic information through a three-step pipeline.Second, we query the graph via retrieval and ranking processes to supplement accurate, relevant toxicity knowledge.Extensive experiments and case studies across multiple datasets demonstrate that our MetaTox boosts overall toxicity detection performance, particularly in out-of-domain settings.In addition, under in-domain scenarios, we surprisingly find that small language models are more competent.Our code is available at https: //github.com/YiboZhao624/MetaTox.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.1270
Citations
2
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
4.96
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing LLM-based Hatred and Toxicity Detection with Meta-Toxic Knowledge Graph

Jiapeng Zhu, Yibo Zhao, Xiang Li, Yao Liu et al.
2 citations
Adversarial Robustness in Machine Learning
4.96
article

Enhancing LLM-based Hatred and Toxicity Detection with Meta-Toxic Knowledge Graph

Jiapeng Zhu, Yibo Zhao, Xiang Li, Yao Liu, Can Xu
article en
2 citations

Abstract

The rapid growth of social media platforms has raised significant concerns regarding online content toxicity.When Large Language Models (LLMs) are used for toxicity detection, two key challenges emerge: 1) the absence of domain-specific toxicity knowledge leads to false negatives; 2) the excessive sensitivity of LLMs to toxic speech results in false positives, limiting freedom of speech.To address these issues, we propose a novel method called Meta-Tox, leveraging graph search on a meta-toxic knowledge graph to enhance hatred and toxicity detection.First, we construct a comprehensive meta-toxic knowledge graph by utilizing LLMs to extract toxic information through a three-step pipeline.Second, we query the graph via retrieval and ranking processes to supplement accurate, relevant toxicity knowledge.Extensive experiments and case studies across multiple datasets demonstrate that our MetaTox boosts overall toxicity detection performance, particularly in out-of-domain settings.In addition, under in-domain scenarios, we surprisingly find that small language models are more competent.Our code is available at https: //github.com/YiboZhao624/MetaTox.

East China Normal University (CN)
Openalex Percentile: Top 5%
Adversarial Robustness in Machine Learning
4.96
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.