πŸŽ‰ logical-fallacy-classification v1.0 β€” 183 hand-authored examples, 20 fallacy types

#1
by SalutefaceAAC - opened

Dataset Published: logical-fallacy-classification v1.0

I've just published logical-fallacy-classification, a curated benchmark for detecting and classifying logical fallacies in natural language text.

What's in it

Property Details
Total examples 183
Fallacy types 20 canonical informal logic fallacies
Negative class 20 sound (non-fallacious) examples
Domains politics, science, health, law, economics, ethics, philosophy, education, marketing, everyday
Difficulty levels subtle / moderate / overt
Splits train (137) / validation (23) / test (23)
Formats JSONL + Parquet
License Apache 2.0

Fallacy types covered

ad_hominem, straw_man, slippery_slope, false_dilemma, appeal_to_authority, hasty_generalization, post_hoc, circular_reasoning, appeal_to_emotion, appeal_to_popularity, false_equivalence, red_herring, appeal_to_nature, equivocation, sunk_cost, anecdotal_evidence, no_true_scotsman, tu_quoque, appeal_to_ignorance, naturalistic_fallacy

Quick start

from datasets import load_dataset

ds = load_dataset("SalutefaceAAC/logical-fallacy-classification")

# Binary: fallacious vs. sound
for ex in ds["train"]:
    label = 1 if ex["label"] == "fallacious" else 0

# 20-class multi-label classification
types = set(ex["fallacy_type"] for ex in ds["train"])

# Filter to subtle examples (require domain knowledge to spot)
subtle = ds["train"].filter(lambda x: x["difficulty"] == "subtle")

Why this dataset

Most LLM benchmarks test factual recall or instruction following. Identifying why an argument is logically flawed requires a different kind of reasoning β€” understanding the argument's structure, not just its surface content. This dataset is intended to:

  • Fine-tune classifiers for fallacy detection in political speech, health misinformation, and marketing copy
  • Evaluate whether LLMs can correctly label and explain logical errors
  • Serve as a component in fact-checking and misinformation detection pipelines
  • Support educational tools for rhetoric and argumentation courses

Design notes

All examples are hand-authored rather than scraped or LLM-generated in bulk. Each includes:

  • A verbose explanation field (why it is/isn't a fallacy β€” useful for explanation generation tasks)
  • A subcategory field for finer-grained variants (e.g., tu_quoque within ad_hominem)
  • Balanced difficulty across the three levels

Feedback, issues, and PRs welcome β€” especially additional examples for underrepresented categories (marketing, philosophy).


Published by SalutefaceAAC as part of the SalutefaceAAC OSS dataset portfolio.

Sign up or log in to comment