"Nice Try, Kiddo": Investigating Ad Hominems in Dialogue Responses

Emily Sheng, Kai-Wei Chang, Prem Natarajan, Nanyun Peng

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.

Table 1: Taxonomy of ad hominem types with examples from the ADHOMINTWEETS dataset.

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.

Figure 1: Percentage of ad hominem responses across different topics and model configurations. Note the significant reduction in attacks for the BLM topic using the proposed mitigation (6.7% vs 21.7%).

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

BibTeX
@inproceedings{sheng2021nice,
  author = {Emily Sheng and Kai-Wei Chang and Prem Natarajan and Nanyun Peng},
  title = {{"Nice Try, Kiddo": Investigating Ad Hominems in Dialogue Responses}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-main.60},
}
Figure