Fallacies are arguments that employ invalid reasoning, making their automatic detection critical in sensitive contexts such as high-stakes political debates, where public opinion is shaped. Spotting a fallacious argument requires contextual knowledge beyond its pure surface text. This entails world knowledge pertaining to the subject matter under discussion, as well as knowledge of the relationships that exist between arguments within the argumentative discourse. Prior work on fallacy analysis has shown that argumentative discourse structure can beneficially improve classification performance. However, such structure is typically encoded only as static classifier features, limiting its flexibility. Building on this intuition while addressing this limitation, we introduce a guided retrieval-augmented methodology for fallacy detection and classification that leverages argumentative relations of support and attack to dynamically steer the extraction of relevant documents. We evaluate our approach on the ElecDeb60to20 benchmark across 42 retrieval configurations and 14 models, performing retrieval over a 15GB knowledge base of collected political-related documents. Our approach improves macro-F1 up to 0.864 for fallacy detection and up to 0.725 for classification over non-retrieval baselines. These results show that incorporating external knowledge significantly enhances fallacy detection and classification when retrieval is argumentatively guided.
Figures & tables
Figure 1: Proposed pipeline for fallacy analysis using external knowledge.
Collection
Size
# Documents
# Paragraphs
Bills
14 GB
178,383
6,668,178
Geography
516 MB
125,891
125,891
People
297 MB
72,950
72,950
History
89 MB
16,121
16,121
Exemplars
5 MB
1,273
1,284
Definitions
1.3 MB
65
65
Table 1: Statistics of the collected KB documents.
Detection
Classification
Model
Baseline
RAG
Δ
Baseline
RAG
Δ
RoBERTa-base
74.7±0.8
80.9±1.5
+6.2
34.5±25.0
68.0±2.3
+33.5
DeBERTa-v3-base
74.2±6.1
77.5±2.2
+3.4
43.5±13.0
45.5±19.7
+2.0
ModernBERT-base
76.4±1.7
86.4±1.2
+10.0
57.7±2.1
72.5±4.0
+14.8
NeoBERT
57.2±21.9
50.8±24.0
−6.4
24.9±6.8
10.8±9.8
−14.1
LegalBERT
71.7±1.5
77.4±1.7
+5.8
53.9±23.7
60.8±3.7
+6.9
Table 2: Macro-F1 (mean ± std, 5 seeds) results. RAG uses a Sentence-RooseBERT retriever with hybrid search (temporal context for detection, none for classification). Δ= RAG − Baseline. Best model per column in bold .
Configuration
Detection
Classification
Full pipeline
80.2
71.8
Retrieval query
→ sentence+relations
78.3
61.0
→ target sentence only
73.0
66.4
Retriever
→ BGE
77.8
57.9
Table 3: Results of the ablation study (Macro F1) with hyperparameters frozen. Single seed (14).
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Models
Avg. Macro F1
Llama-3.1-8B-Instruct
80.5 ± 0.6
DeBERTa-v3-base
78.6 ± 0.8
gpt-oss-20b
78.5 ± 0.8
Mistral-7B-Instruct-v0.3
76.6 ± 2.9
ModernBERT-base
76.4 ± 1.0
Longformer-base-4096
76.3 ± 1.2
Appendix
Table 4: Argument Component Relation classification performance (mean ± std over 5 seeds) over LIARArg.
Model
Baseline
RAG
Δ
RoBERTa-base
73.5 ± 0.6
85.0 ± 0.8
+11.5
DeBERTa-v3-base
74.5 ± 0.5
42.7 ± 0.0
−31.8
ModernBERT-base
73.3 ± 0.5
81.3 ± 0.8
+8.0
NeoBERT
53.5 ± 14.7
42.7 ± 0.0
−10.8
LegalBERT
73.0 ± 0.4
84.9 ± 0.3
+11.9
Longformer-base-4096
73.7 ± 0.4
85.5 ± 1.4
+11.8
Appendix
Table 5: Propaganda detection performance (macro-F1, mean ± std over 5 seeds) for baseline models and their RAG-augmented counterparts, with the corresponding Δ improvement.
Fallacy Detection
Fallacy Classification
Propaganda Detection
Baseline
RAG
Baseline
RAG
Baseline
RAG
Model
BS
LR
Ep.
BS
LR
Ep.
BS
LR
Ep.
BS
LR
Ep.
BS
LR
Ep.
BS
LR
Ep.
RoBERTa-base
16
2e−5
5
8
3e−5
5
8
5e−5
5
8
3e−5
5
8
2e−5
3
16
5e−5
3
DeBERTa-v3-base
8
2e−5
5
16
2e−5
3
8
2e−5
5
16
5e−5
5
16
2e−5
3
16
2e−5
3
ModernBERT-base
8
3e−5
5
8
5e−5
5
8
3e−5
5
8
5e−5
5
16
2e−5
5
8
3e−5
5
NeoBERT
8
5e−5
5
16
2e−5
5
8
3e−5
5
16
2e−5
5
8
3e−5
3
16
5e−5
3
Appendix
Table 6: Best hyperparameters for fallacy detection and classification (ElecDeb60to20), and for propaganda detection (PROPAGANDA), Baseline vs. RAG settings (5 seeds). BS = batch size, LR = learning rate, Ep. = num. of epochs.