arXiv:2610.23183cs.CLOct 2026

Manuscript Offprint

arXiv:2610.23183

AMEND: Constraint-Guided Multi-Agent Text Detoxification with Isolated Critics

Tianyu Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Text detoxification requires balancing toxicity removal, semantic preservation, and fluency. Existing methods typically optimize an unconstrained scalar objective—enabling safety scores to mask semantic loss—or rely on open-ended iterative debate prone to semantic drift and high computational cost. We propose AMEND, an inference-time framework that decouples detoxification into role-conditioned proposal generation, isolated multidimensional criticism, and constraint-first selection. AMEND evaluates diverse candidates with role-blind critics and enforces strict semantic and fluency feasibility before ranking by utility. To maximize efficiency, AMEND Lite restricts subsequent search to at most one targeted repair round only when residual toxic spans remain. On ParaDetox, one-round selection over diverse roles improves the joint evaluation metric by +0.0508 over the best single role. On a frozen confirmation test set, AMEND Lite achieves a joint score of 0.6597±0.00620.6597 \pm 0.0062, outperforming unconstrained multi-round loops by +0.0489 (p < 0.05) while reducing inference requests by 28.4%.

1 Introduction

Text detoxification—transforming abusive or toxic text into civil discourse while retaining the intended message—is an essential capability for safe human-AI interaction and online moderation. However, the task is fundamentally governed by a three-way tension between toxicity reduction, semantic preservation, and natural fluency (Mir et al., 2019; Logacheva et al., 2022b). Aggressive deletion or masking easily sanitizes toxic lexical tokens but frequently dismantles the speaker's core intent or introduces jarring disfluencies. Conversely, conservative edits risk leaving subtle or contextual toxicity intact.

Existing methods generally fall into two paradigms. First, supervised sequence-to-sequence models and reward-guided decoders typically optimize a collapsed scalar objective (Dale et al., 2021; Hallinan et al., 2023). In practice, scalar averaging enables a high safety score to compensate for an unacceptable collapse in semantic fidelity—a failure mode where the model evades toxicity simply by altering the topic. Furthermore, generating a single candidate conceals valuable strategic diversity between conservative localized substitutions and holistic pragmatic reframing. Second, emerging agentic and iterative self-refinement methods (Madaan et al., 2023; Chen et al., 2024) attempt multi-round editing. However, open-ended debate often suffers from feedback drift, role sycophancy, and unbounded token consumption with rapidly diminishing returns (Smit et al., 2024).

In this paper, we propose AMEND (Agentic Multi-critic dEtoxificatioN with constrainteD selection), an inference-time framework that structures detoxification as a decoupled proposal–critique–selection pipeline. Rather than forcing a single model to simultaneously generate, evaluate, and balance competing goals, AMEND disaggregates the process into three specialized stages:

  1. Role-Conditioned Proposals: A shared base language model is prompted under three complementary personas: a minimal_editor performing precise span replacement, a tone_rewriter converting vitriol into assertive, civil phrasing, and a semantic_paraphraser restructuring the utterance while rigidly preserving facts and stance.

  2. Isolated Multidimensional Critics: Candidates are evaluated by three independent critics focusing strictly on toxicity, semantic preservation, and fluency. Crucially, the critics are role-blind: they evaluate the text without observing which generator produced it, preventing persona bias and evaluator sycophancy.

  3. Constraint-First Selection: Rather than optimizing an unconstrained weighted sum, our selector first enforces hard preservation and fluency feasibility thresholds. Only candidates satisfying these non-negotiable criteria are ranked by utility, giving semantic fidelity veto power over superficial safety.

Through systematic ablation of the iterative loop, we observe that open-ended multi-round debate produces diminishing returns (+0.0061 over single-round selection, with confidence intervals crossing zero). We therefore formulate AMEND Lite, a lightweight, bounded control loop. AMEND Lite harnesses the full three-role diversity in the initial round, and invokes at most a single targeted repair round with the minimal editor only if residual toxic spans remain.

We summarize our main contributions as follows:

• We propose AMEND, a modular, inference-time framework that decouples text detoxification into role-conditioned proposal generation, isolated role-blind criticism, and constraint-first selection.

• We formulate constraint-first selection with hard feasibility gates, preventing low toxicity from masking semantic distortion or disfluency.

• We develop AMEND Lite, an efficient, bounded controller that reduces inference overhead by up to 28.4% while boosting detoxification performance over unconstrained multi-round loops.

• Across comprehensive, seed-aligned experiments on ParaDetox, we demonstrate that role diversity and constrained selection yield statistically significant improvements (+0.0508 over the best single role; +0.0489 over legacy multi-round loops), establishing a principled foundation for agentic text revision.