ToVo: Toxicity Taxonomy via Voting

Tinh Son Luong, Thanh-Thien Le, Thang Viet Doan, Linh Ngo Van, Thien Huu Nguyen, Nguyen Thi Ngoc DiepNAACL 2025

Introduction

In the landscape of AI safety, toxicity detection remains a critical yet opaque component. Developers frequently rely on "black box" APIs such as OpenAI’s Moderation endpoint or Llama Guard. While effective, these tools offer limited transparency, provide no explanations for their classifications, and allow for minimal customization. This lack of flexibility is particularly problematic for communities with specific safety guidelines that diverge from standard industry definitions.

To address these challenges, researchers from Oraichain Labs, VinAI, and several partner universities have introduced ToVo (Toxicity Taxonomy via Voting). ToVo is a framework designed to democratize and clarify the process of identifying toxic content through a "committee" of open-source Large Language Models (LLMs) and Chain-of-Thought (CoT) reasoning.

The Problem: Transparency and Customization

Current content moderation tools suffer from three primary deficiencies: transparency, customization, and reproducibility. When a closed-source model flags content as "toxic," it rarely provides a rationale. This opacity hinders developers from debugging false positives or aligning the model with specific community standards. Furthermore, the proprietary nature of training data for industry-standard tools prevents researchers from reproducing results or fine-tuning models for specialized, "out-of-domain" contexts.

Methodology: The Voting Framework

ToVo utilizes a "wisdom of the crowd" approach to generate high-quality, transparent toxicity datasets. The pipeline consists of four main stages:

  1. Dataset Sourcing: 10,000 prompts were extracted from the chat-lmsys-1M dataset, pre-filtered by HateBERT to identify potentially toxic content.
  2. The Voting Committee: A pool of 42 toxicity metrics was derived from major tools (Llama Guard 2, OpenAI Moderation, Perspective API, and BeaverTails). For each sample, a "committee" of three open-source LLMs (selected from a pool including DeepSeek-67B and Mixtral-8x7B) voted on violations across randomly selected metrics.
  3. Chain-of-Thought (CoT) Rationale: Models were prompted to provide a rationale for their decisions. The explanation from the model with the highest consensus rate was designated as the "gold" rationale.
  4. Model Training: A Mistral-Hermes-2-Pro (7B) model was fine-tuned using LoRA on this "voted" dataset. Two versions were developed: one providing only labels and another providing both labels and reasoning steps.

Key Insights: Reasoning as a Robustness Multiplier

A pivotal finding of the study is that incorporating reasoning significantly enhances model performance, especially on unfamiliar tasks. In Out-of-Domain (OOD) testing—which includes non-toxic categories like "Financial Literacy" or "Cooking and Recipes"—the reasoning-enabled model achieved a 92.5% consensus rate, compared to 84.7% for the label-only version.

Comparison of consensus rates with and without reasoning (Consensus-R) across Out-of-Domain categories.

This suggests that explaining the "why" helps the model navigate "gray area" content and generalizes better than simple keyword matching. The framework demonstrates that the knowledge of large models can be effectively distilled into a smaller, 7B parameter model that remains highly interpretable.

Results and Alignment

The ToVo-trained models demonstrated strong alignment with established industry leaders. The framework achieved a 90.0% overall consensus with OpenAI’s (OAIM) moderation labels and between 86.6% and 91.2% with Llama Guard 2 across various metrics.

Consensus metrics across various toxicity categories for Llama Guard 2, OAIM, and Perspective API.

Even when tested on external benchmarks like BeaverTails—which uses a different taxonomy—the model remained competitive. This indicates that the model learned the underlying concept of toxicity rather than just memorizing specific training labels.

Limitations and Future Outlook

While ToVo represents a significant advancement in open-source toxicity detection, several limitations remain. The use of 7B parameter models with Chain-of-Thought reasoning results in slower inference speeds compared to simple binary classifiers, potentially impacting high-volume, real-time applications. Additionally, the current taxonomy is binary; future work will explore multi-level, nuanced classifications to better capture the spectrum of toxicity.

By transforming moderation into a transparent voting process with logical "paper trails," ToVo moves the field closer to AI safety systems that are both robust and understandable.

Summary updated

BibTeX
@inproceedings{luong2025tovo,
  author = {Tinh Son Luong and Thanh-Thien Le and Thang Viet Doan and Linh Ngo Van and Thien Huu Nguyen and Nguyen Thi Ngoc Diep},
  title = {{ToVo: Toxicity Taxonomy via Voting}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.findings-naacl.11},
}
Figure