Research on Toxic Speech Detection Based on Large Language Models

Toxic Speech (TS) is widely spread in social media and is increasingly harmful to the online networking environment. At the same time, words and their variants containing implicit toxic semantics are influenced by the humanistic and social environment of the language and are extremely rich in form and shape, and the lack of background knowledge related to the "discourse body" of existing research has led to the confusion of Implicit Toxic Speech (ITS) with Non-Toxic Speech (NTS). Therefore, this paper proposes the Prompt-enhanced Attention Head Fusion (PAHF) toxic text classification model based on the generative language model. We optimize the hidden layer vectors by intervening in the hidden layer information through prompt, then filter the vectors by combining linear probes to locate those vectors in the hidden layer information that are strongly correlated with the encoding of the background knowledge, and finally construct an attention fusion mechanism to fuse the filtered features, which provides a higher detection accuracy compared with the existing algorithms.

Authors

Institutions

Publication Details

Published
2024-12-17
DOI
https://doi.org/10.1109/trustcom63139.2024.00302
Citations
1
Primary Topic
Medical Research and Treatments
Type
article
Field-Weighted Citation Impact
0.72

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on Toxic Speech Detection Based on Large Language Models

Lidong Yang, Ran Gao, Yongbing Gao, Weihao Li et al.
1 citations
Medical Research and Treatments
0.72
article

Research on Toxic Speech Detection Based on Large Language Models

Lidong Yang, Ran Gao, Yongbing Gao, Weihao Li, Yu Zhang
article en
1 citations

Abstract

Toxic Speech (TS) is widely spread in social media and is increasingly harmful to the online networking environment. At the same time, words and their variants containing implicit toxic semantics are influenced by the humanistic and social environment of the language and are extremely rich in form and shape, and the lack of background knowledge related to the "discourse body" of existing research has led to the confusion of Implicit Toxic Speech (ITS) with Non-Toxic Speech (NTS). Therefore, this paper proposes the Prompt-enhanced Attention Head Fusion (PAHF) toxic text classification model based on the generative language model. We optimize the hidden layer vectors by intervening in the hidden layer information through prompt, then filter the vectors by combining linear probes to locate those vectors in the hidden layer information that are strongly correlated with the encoding of the background knowledge, and finally construct an attention fusion mechanism to fuse the filtered features, which provides a higher detection accuracy compared with the existing algorithms.

Inner Mongolia University of Science and Technology (CN)
National Natural Science Foundation of China
Gender equality
Openalex Percentile: Top 20%
Medical Research and Treatments
0.72
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.

Research on Toxic Speech Detection Based on Large Language Models — Lidong Yang, Ran Gao, et al. · (2024) | TGRS Research Map | TGRS