Introduction
While research into online safety often focuses on overt toxicity and hate speech, ad hominem fallacies—attacks on a person’s character rather than their argument—represent a more subtle but equally damaging form of discourse. These attacks, ranging from condescension to "tone policing," derail productive discussion and often amplify societal biases. This paper investigates the prevalence of ad hominems in both human and AI-generated dialogue, introducing a new annotated dataset and a novel decoding technique to mitigate these behaviors in large language models.
Taxonomy and Dataset
To systematically study these attacks, the researchers defined a taxonomy of six ad hominem categories: Stupidity, Ignorance, Trolling/Lying, Bias, Condescension, and Other.
The authors introduced the ADHOMINTWEETS dataset, comprising 14,585 English [post, response] pairs from Twitter. The data covers four topics: #BlackLivesMatter and #MeToo (marginalized groups), #Vegan (polarizing but not marginalized-focused), and #WFH (non-polarizing). A subset of 2,400 pairs was manually annotated to train a BERT-based classifier, which achieved an F1 score of 80.0% in detecting these fallacies.
Mitigation: SALIENSIMTOP-k
Dialogue systems like DialoGPT often mirror the toxic traits of their training data. To address this, the authors proposed SALIENSIMTOP-k, a constrained decoding algorithm. Unlike standard sampling, this method identifies salient n-grams (e.g., "you're a troll") frequently associated with ad hominems. During generation, the model calculates the semantic similarity between candidate tokens and these n-grams, steering the output away from personal attacks by backtracking or selecting alternative tokens when a response begins to resemble a known ad hominem pattern.
Key Results
The study revealed a significant "marginalization gap": both humans and AI produce more ad hominems when discussing topics related to marginalized communities. However, the proposed mitigation techniques showed substantial success in reducing these attacks.
As shown in the results, the SALIENSIMTOP-k technique reduced the percentage of ad hominem responses for #BlackLivesMatter from 21.7% to 6.7%. Importantly, human evaluators found that these "nicer" responses maintained high coherence (averaging 4.4/5.0), demonstrating that toxicity can be reduced without sacrificing conversational quality.
Discussion and Limitations
The findings highlight that context is crucial; phrases like "Nice try, kiddo" are only identified as ad hominems when the preceding post is considered. While effective, the authors note limitations regarding annotator bias and the focus on English-language Twitter. Future work aims to apply these saliency-based methods to other subtle harms, such as microaggressions, while ensuring that legitimate dissent is not inadvertently suppressed.
Summary updated