Large Language Models are Few-Shot Training Example Generators: A Case Study in Fallacy Recognition

Tariq Alhindi, Smaranda Muresan, Preslav Nakov

Abstract

Detecting logical fallacies is a complex NLP task hindered by extreme class imbalance and domain diversity. This paper investigates a data augmentation pipeline where a Large Language Model (LLM), GPT-3.5-turbo, generates synthetic training examples to "teach" a smaller T5 classifier. Our results show that even minimal few-shot prompting (e.g., 1-shot) significantly boosts performance on rare fallacy classes, such as "Whataboutism," where traditional human-annotated data is scarce.

Introduction

Logical fallacy recognition requires a deep understanding of nuance, intent, and conversational context. Existing models face three primary challenges: extreme class imbalance (e.g., common "Loaded Language" vs. rare "Whataboutism"), high domain diversity (political debates vs. social media), and the necessity of broad context for identifying diversionary tactics. To address these, we propose using LLMs as synthetic data generators to populate underrepresented classes and provide diverse training signals for downstream models.

Methodology

The proposed pipeline utilizes a "large" model to train a "small" one. GPT-3.5-turbo serves as the generator, producing synthetic examples for 28 fallacy types across zero-shot and few-shot (1, 2, or 5 examples) prompting strategies. For context-dependent fallacies, the prompt includes surrounding sentences to ensure the generation of realistic, multi-sentence arguments.

The data augmentation pipeline using GPT-3.5 as a generator for a T5 classifier.

The generated data is used to fine-tune a T5-3B model in a multitask fashion. To maintain data quality and prevent overfitting, the ratio of original to synthetic data is carefully balanced, and the number of generated examples per class is capped.

Datasets

We unified five distinct fallacy datasets into a single multi-class, multi-label framework with 28 distinct categories:

  • ARGOTARIO: Game-based question-answer fallacies.
  • PROPAGANDA: 18 techniques found in news articles.
  • LOGIC: Fallacies sourced from educational websites.
  • COVID: Social media misinformation.
  • CLIMATE: Climate change news coverage.

Results and Analysis

The inclusion of LLM-generated synthetic data led to consistent improvements across all datasets. A key finding was the "1-shot sweet spot": providing GPT-3.5 with a single human example often yielded better training data than five examples. Higher-shot prompts (e.g., 5-shot) tended to result in repetitive outputs, whereas 1-shot prompting encouraged the "creativity" necessary for the T5 model to generalize. Analysis using BLEURT metrics confirmed that 1-shot data was less similar to original human data but more useful for training, effectively filling gaps in the original distribution.

Performance metrics (F1 scores) for the Propaganda and Climate datasets across different augmentation strategies.

As shown in the table above, the Macro F1 score for the Propaganda dataset increased from 0.36 to 0.52 using 1-shot augmentation. Notably, rare classes saw the most dramatic gains; "Whataboutism" improved from a baseline F1 of 0 to 0.63. Furthermore, even zero-shot generation—relying solely on the LLM's internal definitions—outperformed the baseline, highlighting the robust latent knowledge within LLMs.

Conclusion and Limitations

While synthetic data significantly aids fallacy recognition, challenges remain. Certain fallacies like "Strawman" in the Propaganda dataset remained difficult to classify (F1 of 0), suggesting a need for even broader context or external knowledge. Additionally, the inherent subjectivity of fallacy labeling and the potential for LLMs to generate biased content are ongoing concerns. Future research will focus on evaluating these models on out-of-distribution real-world data, such as live political discourse.

Summary updated

BibTeX
@inproceedings{alhindi2024large,
  author = {Tariq Alhindi and Smaranda Muresan and Preslav Nakov},
  title = {{Large Language Models are Few-Shot Training Example Generators: A Case Study in Fallacy Recognition}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.732},
}
Figure