BanglaNirTox: A Large-scale Parallel Corpus for Explainable AI in Bengali Text Detoxification

Ayesha Afroza Mohsin, Mashrur Ahsan, Nafisa Maliyat, Shanta Maria, Syed Rifat Raiyan +2 more
11/3/2025
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Toxic language in Bengali remains prevalent, especially in online environments, with few effective precautions against it. Although text detoxification has seen progress in high-resource languages, Bengali remains underexplored due to limited resources. In this paper, we propose a novel pipeline for Bengali text detoxification that combines Pareto class-optimized large language models (LLMs) and Chain-of-Thought (CoT) prompting to generate detoxified sentences. To support this effort, we construct BanglaNirTox, an artificially generated parallel corpus of 68,041 toxic Bengali sentences with class-wise toxicity labels, reasonings, and detoxified paraphrases, using Pareto-optimized LLMs evaluated on random samples. The resulting BanglaNirTox dataset is used to fine-tune language models to produce better detoxified versions of Bengali sentences. Our findings show that Pareto-optimized LLMs with CoT prompting significantly enhance the quality and consistency of Bengali text detoxification.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mohsin2025banglanirtox,
  title  = {BanglaNirTox: A Large-scale Parallel Corpus for Explainable AI in Bengali Text Detoxification},
  author = {Ayesha Afroza Mohsin and Mashrur Ahsan and Nafisa Maliyat and Shanta Maria and Syed Rifat Raiyan and Hasan Mahmud and Md Kamrul Hasan},
  year   = {2025},
  eprint = {2511.01512},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.01512v1}
}

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

Discussion