Abstract
Large Language Models (LLMs) excel at generating persuasive text but frequently produce logically incoherent arguments. This paper introduces Fallacy-Informed Preference Optimization (FIPO), a framework that aligns models to avoid 13 specific types of logical fallacies. By integrating a fine-grained classification loss into the preference optimization process, FIPO significantly improves argument quality, reducing fallacy rates by up to 17.5% compared to standard supervised fine-tuning.
Introduction
While modern LLMs have mastered the stylistic nuances of human language, they often fall into logical traps such as circular reasoning, ad hominem attacks, or false causality. These errors undermine the reliability of AI-generated content and contribute to the spread of misinformation. Current alignment techniques like Direct Preference Optimization (DPO) often treat all "bad" responses as a single category, lacking the granularity needed to address specific reasoning flaws.
The authors propose that to generate sound arguments, models must explicitly learn to recognize and avoid specific categories of logical errors. FIPO addresses this by teaching models to classify the type of fallacy present in rejected arguments during training.
Methodology
The FIPO framework follows a four-step pipeline designed to bake logical awareness into the model's architecture.
- Supervised Fine-Tuning (SFT): The base model is trained on a dataset of valid arguments (EXPLAGRAPHS) to establish a baseline for the task.
- Preference Data Collection: A synthetic dataset of nearly 8,000 fallacious arguments was generated using ChatGPT. For each valid argument, four fallacious counterparts were created across 13 categories, such as Appeal to Emotion and Faulty Generalization.
- Preference Optimization: Standard methods (DPO, PPO, CPO) were evaluated to determine their baseline effectiveness in reducing fallacies.
- FIPO (Fallacy-Informed Preference Optimization): The core contribution is the addition of a weighted cross-entropy classification loss to the preference loss. This forces the model to not only prefer the sound argument but also classify the specific fallacy in the rejected one. The loss is weighted by fallacy frequency to prioritize the most common errors.
Datasets and Evaluation
The study utilized several key datasets:
- EXPLAGRAPHS: Provided the initial "preferred" logically sound arguments.
- LOGIC Dataset: Used to define and exemplify real-world logical fallacies for the synthetic generator.
- Synthetic Fallacy Dataset: A custom collection of 7,872 fallacy-argument pairs.
- Debatepedia: Employed for out-of-domain evaluation to test the model's generalization capabilities.
Key Results
Experimental results demonstrate that FIPO significantly outperforms standard alignment methods:
- Fallacy Reduction: The fallacy rate dropped from 34.5% to 17% for Llama-2 (7B) and from 32.5% to 19.5% for Mistral (7B).
- Comparative Performance: FIPO produced 8-9% fewer logical errors than the next best preference optimization method (e.g., DPO or KTO).
- Human Preference: In human evaluations, FIPO-aligned models were preferred over SFT baselines in 46% of cases, maintaining persuasiveness while increasing logical rigor.
- Generalization: The model's performance remained consistent on the out-of-domain Debatepedia dataset, indicating that it learned general logical principles rather than topic-specific heuristics.
Discussion and Limitations
FIPO demonstrates that logical soundness can be treated as a specific alignment objective. By providing a stronger gradient signal through fallacy classification, the model develops a more nuanced "logical compass."
However, several limitations remain. The current study focused on short-form arguments (5-20 words); identifying fallacies in long-form prose or complex chains of thought remains a challenge. Additionally, human agreement on fallacy classification is relatively low (47%), reflecting the inherent ambiguity in human reasoning. Future work will explore scaling this framework to multi-turn debates and more complex reasoning tasks.
Summary updated