Large Language Models Are Better Logical Fallacy Reasoners with Counterargument, Explanation, and Goal-Aware Prompt Formulation
π NAACL 2025 Findings - This repository provides the source code & dataset used in our paper:
π© If you have any questions or issues, feel free to ask!
Before running the code, make sure you have access to the following:
1οΈβ£ ChatGPT API β Required for GPT-based experiments
2οΈβ£ LLaMA2 & LLaMA3 API β Required for LLaMA-based models
The original datasets used in our study can be found at the links below:
| Dataset | Source Link |
|---|---|
| Argotario | π Link |
| Logic (edu_train, edu_dev, edu_test) | π Link |
| Propaganda | π Link |
| CLIMATE & COVID-19 | π Link |
π Preprocessed datasets can be found in the data folder.
To generate Contextual Augmentation, run:
python make_case.py
To generate Reformulated Queries, run:
python make_case_query.py
Before running the experiments, create a result directory.
π All results will be saved as text files in this result directory.
python fallacy_gpt_{data/...}.py
{data/...} includes PROPAGANDA, ARGOTARIO, LOGIC, CLIMATE, and COVID-19.
python fallacy_llama3_{data/...}.py
{data/...} includes PROPAGANDA, ARGOTARIO, LOGIC, CLIMATE, and COVID-19.
python fine-tune-LM_concat_{data/...}.py
{data/...} includes PROPAGANDA, ARGOTARIO, LOGIC, CLIMATE, and COVID-19.
If this work is helpful in your research, we would appreciate if you could cite our paper as follows:
@inproceedings{jeong-etal-2025-large,
title = "Large Language Models Are Better Logical Fallacy Reasoners with Counterargument, Explanation, and Goal-Aware Prompt Formulation",
author = "Jeong, Jiwon and
Jang, Hyeju and
Park, Hogun",
editor = "Chiruzzo, Luis and
Ritter, Alan and
Wang, Lu",
booktitle = "Findings of the Association for Computational Linguistics: NAACL 2025",
month = apr,
year = "2025",
address = "Albuquerque, New Mexico",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2025.findings-naacl.384/",
pages = "6918--6937",
ISBN = "979-8-89176-195-7",
}

