paper-with-me

Papers

Detoxify: A framework for abusive text transformation using LLMs

2025-07-14 · Rohitash Chandra, Jiyong Choi, Jayesh Sonawane arxiv

Although Large Language Models (LLMs) have demonstrated significant advancements in natural language processing tasks, their effectiveness in the classification and transformation of abusive text into non-abusive versions remains an area for exploration. In this study, we present Detoxify: a framework that employs LLMs to transform abusive text (tweets and reviews) containing hate speech and profanity into non-abusive text while retaining the original intent. We evaluate the performance of four state-of-the-art LLMs, such as Gemini, GPT-4o, DeekSeek and Groq, on their ability to identify abusive text. We aim to transform and obtain a text that is clean of abusive and inappropriate content, but maintains a similar level of sentiment and semantics, i.e. the transformed text needs to maintain its message. Afterwards, we evaluate the raw and transformed datasets with sentiment analysis and semantic analysis. Our results show Groq provides vastly different results when compared with other LLMs. We have identified similarities between GPT-4o and DeepSeek. Groq stood out as the most distinct, as it often restructured sentences with excessive positive phrasing, with the original context lost or altered.

📄 PDF Abstract BibTeX arXiv:2507.10177

Code (0)

등록된 구현이 없습니다.

Tasks

Sentiment Analysis

Similar Papers 제목 키워드 기반

Detoxifying Large Language Models via Knowledge Editing

2024-03-21 · Mengru Wang, Ningyu Zhang, Ziwen Xu, Zekun Xi 외

This paper investigates using knowledge editing techniques to detoxify Large Language Models (LLMs). We construct a benchmark, SafeEdit, which covers nine unsafe categories with various powerful attack prompts and equips…

knowledge editing

UniDetox: Universal Detoxification of Large Language Models via Dataset Distillation

2025-04-29 · Huimin Lu, Masaru Isonuma, Junichiro Mori, Ichiro Sakata

We present UniDetox, a universally applicable method designed to mitigate toxicity across various large language models (LLMs). Previous detoxification methods are typically model-specific, addressing only individual mod…

Dataset DistillationLanguage ModelingLanguage Modelling

Multi-label Hate Speech and Abusive Language Detection in Indonesian Twitter

2019-08-01 · WS 2019 8 · Muhammad Okky Ibrohim, Indra Budi

Hate speech and abusive language spreading on social media need to be detected automatically to avoid conflict between citizen. Moreover, hate speech has a target, category, and level that also needs to be detected to he…

Abuse DetectionAbusive LanguageHate Speech DetectionMulti Label Text Classification+3

Unified Detoxifying and Debiasing in Language Generation via Inference-time Adaptive Optimization

2022-10-10 · Zonghan Yang, Xiaoyuan Yi, Peng Li, Yang Liu 외

Warning: this paper contains model outputs exhibiting offensiveness and biases. Recently pre-trained language models (PLMs) have prospered in various natural language generation (NLG) tasks due to their ability to genera…

Text Generation

Creating and Evaluating Code-Mixed Nepali-English and Telugu-English Datasets for Abusive Language Detection Using Traditional and Deep Learning Models

2025-04-23 · Manish Pandey, Nageshwar Prasad Yadav, Mokshada Adduru, Sawan Rai

With the growing presence of multilingual users on social media, detecting abusive language in code-mixed text has become increasingly challenging. Code-mixed communication, where users seamlessly switch between English …

Abuse DetectionAbusive Language