Proceedings

Case-Based Reasoning with Language Models for Classification of Logical Fallacies

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 5188-5196.

https://doi.org/10.24963/ijcai.2023/576

Abstract

The ease and speed of spreading misinformation and propaganda on the Web motivate the need to develop trustworthy technology for detecting fallacies in natural language arguments. However, state-of-the-art language modeling methods exhibit a lack of robustness on tasks like logical fallacy classification that require complex reasoning. In this paper, we propose a Case-Based Reasoning method that classifies new cases of logical fallacy by language-modeling-driven retrieval and adaptation of historical cases. We design four complementary strategies to enrich input representation for our model, based on external information about goals, explanations, counterarguments, and argument structure. Our experiments in in-domain and out-of-domain settings indicate that Case-Based Reasoning improves the accuracy and generalizability of language models. Our ablation studies suggest that representations of similar cases have a strong impact on the model performance, that models perform well with fewer retrieved cases, and that the size of the case database has a negligible effect on the performance. Finally, we dive deeper into the relationship between the properties of the retrieved cases and the model performance.

  1. [Aamodt and Plaza, 1994] Agnar Aamodt and Enric Plaza. Case-based reasoning: Foundational issues, methodolog- ical variations, and system approaches. AI Communica- tions, 7:39-59, 1994.
  2. [Allcott et al., 2019] Hunt Allcott, Matthew Gentzkow, and Chuan Yu. Trends in the diffusion of misin- formation on social media. Research & Politics, 6(2):2053168019848554, 2019.
  3. [Aristotle, 1989] Aristotle. On sophistical refutations: On Comin to be passing away -on the cosmos v. 3. Loeb Classical Library. LOEB, London, England, July 1989.
  4. [Barker, 1965] Stephen Francis Barker. The Elements of Logic. New York: Mcgraw-Hill, 1965.
  5. [Barrón-Cedeno et al., 2019] Alberto Barrón-Cedeno, Israa Jaradat, Giovanni Da San Martino, and Preslav Nakov. Proppy: Organizing the news based on their propagan- distic content. Information Processing & Management, 56(5):1849-1864, 2019.
  6. [Brüninghaus and Ashley, 2006] Stefanie Brüninghaus and Kevin D Ashley. Progress in textual case-based reason- ing: predicting the outcome of legal cases from text. In AAAI, pages 1577-1580, 2006.
  7. [Chen et al., 2021] Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021.
  8. [Clark et al., 2020] Kevin Clark, Minh-Thang Luong, Quoc V. Le, and Christopher D. Manning. ELECTRA: Pre-training text encoders as discriminators rather than generators. In ICLR, 2020.
  9. [Clark et al., 2021] Peter Clark, Oyvind Tafjord, and Kyle Richardson. Transformers as soft reasoners over language. In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI'20, 2021. IJCAI
  10. [Copi, 1954] Irving M. Copi. Introduction to logic. Philoso- phy, 29(110):271-271, 1954.
  11. [Da San Martino et al., 2019] Giovanni Da San Martino, Se- unghak Yu, Alberto Barrón-Cedeno, Rostislav Petrov, and Preslav Nakov. Fine-grained analysis of propaganda in news article. In Proceedings of the 2019 conference on em- pirical methods in natural language processing and the 9th international joint conference on natural language pro- cessing (EMNLP-IJCNLP), pages 5636-5646, 2019.
  12. [Das et al., 2020] Rajarshi Das, Ameya Godbole, Shehzaad Dhuliawala, Manzil Zaheer, and Andrew McCallum. A simple approach to case-based reasoning in knowledge bases. In Automated Knowledge Base Construction, 2020.
  13. [Das et al., 2022] Rajarshi Das, Ameya Godbole, Ankita Naik, Elliot Tower, Manzil Zaheer, Hannaneh Hajishirzi, Robin Jia, and Andrew McCallum. Knowledge base ques- tion answering by case-based reasoning over subgraphs. In International Conference on Machine Learning, pages 4777-4793. PMLR, 2022.
  14. [Devlin et al., 2018] Jacob Devlin, Ming-Wei Chang, Ken- ton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understand- ing. arXiv preprint arXiv:1810.04805, 2018.
  15. [Ford et al., 2020] Courtney Ford, Eoin M. Kenny, and Mark T. Keane. Play mnist for me! user studies on the effects of post-hoc, example-based explanations &; error rates on debugging a deep learning, black-box classifier. arXiv preprint arXiv:2009.06349, 2020.
  16. [Gabbay et al., 2004] Dov M Gabbay, John Hayden Woods, et al. Handbook of the History of Logic, volume 2009. Elsevier North-Holland, 2004.
  17. [Gao et al., 2021] Tianyu Gao, Xingcheng Yao, and Danqi Chen. SimCSE: Simple contrastive learning of sentence embeddings. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6894-6910, Online and Punta Cana, Dominican Re- public, November 2021. Association for Computational Linguistics.
  18. [Gentner and Smith, 2012] D. Gentner and L. Smith. Ana- logical reasoning. In V.S. Ramachandran, editor, Encyclo- pedia of Human Behavior (Second Edition), pages 130- 136. Academic Press, San Diego, second edition edition, 2012.
  19. [Goffredo et al., 2022] Pierpaolo Goffredo, Shohreh Had- dadan, Vorakit Vorakitphan, Elena Cabrio, and Serena Vil- lata. Fallacious argument classification in political de- bates. In Thirty-First International Joint Conference on Artificial Intelligence {IJCAI-22}, pages 4143-4149. In- ternational Joint Conferences on Artificial Intelligence Or- ganization, 2022. IJCAI
  20. [Hansen, 2020] Hans Hansen. Fallacies. In Edward N. Zalta, editor, The Stanford Encyclopedia of Philosophy. Meta- physics Research Lab, Stanford University, Summer 2020 edition, 2020.
  21. [Harvey, 2009] Gordon Harvey. A brief guide to the ele- ments of the academic essay. Harvard College Writing Program, 2009.
  22. [Hendrycks and Gimpel, 2016] Dan Hendrycks and Kevin Gimpel. Gaussian error linear units (gelus). arXiv preprint arXiv:1606.08415, 2016.
  23. [Holyoak and Thagard, 1996] Keith J Holyoak and Paul Thagard. Mental leaps: Analogy in creative thought. MIT press, 1996.
  24. [Jin et al., 2022] Zhijing Jin, Abhinav Lalwani, Tejas Vaid- hya, Xiaoyu Shen, Yiwen Ding, Zhiheng Lyu, Mrinmaya Sachan, Rada Mihalcea, and Bernhard Schoelkopf. Log- ical fallacy detection. In Findings of the Association for Computational Linguistics: EMNLP 2022, pages 7180- 7198, Abu Dhabi, United Arab Emirates, December 2022. Association for Computational Linguistics.
  25. [Lawrence and Reed, 2020] John Lawrence and Chris Reed. Argument Mining: A Survey. Computational Linguistics, 45(4):765-818, 01 2020.
  26. [Leake, 2001] D.B. Leake. Problem solving and reasoning: Case-based. In Neil J. Smelser and Paul B. Baltes, edi- tors, International Encyclopedia of the Social & Behav- ioral Sciences, pages 12117-12120. Pergamon, Oxford, 2001.
  27. [Lecun et al., 1998] Y. Lecun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278-2324, 1998.
  28. [Lewis et al., 2020] Patrick Lewis, Ethan Perez, Aleksan- dra Piktus, Fabio Petroni, Vladimir Karpukhin, Na- man Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. Retrieval-augmented generation for knowledge-intensive nlp tasks. In Proceedings of the 34th International Confer- ence on Neural Information Processing Systems, NIPS'20, Red Hook, NY, USA, 2020.
  29. [Curran Associates Inc. Liu et al., 2019] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019.
  30. [Locke, 1997] John Locke. An Essay Concerning Human Understanding. Penguin classics. Penguin Classics, Lon- don, England, June 1997.
  31. [Nakpih and Santini, 2020] Callistus Ireneous Nakpih and Simone Santini. Automated discovery of logical fallacies in legal argumentation. International Journal of Artificial Intelligence & Applications, 11(2):37-48, mar 2020.
  32. [OpenAI, 2022] OpenAI. Chatgpt. https://openai.com/blog/ chatgpt, 2022. Accessed: April 30, 2023. Link
  33. [Oyelade and Ezugwu, 2020] Olaide N. Oyelade and Absa- lom E. Ezugwu. A case-based reasoning framework for early detection and diagnosis of novel coronavirus. Infor- matics in Medicine Unlocked, 20:100395, 2020.
  34. [Qin and Regli, 2003] Xiaoli Qin and William C. Regli. A study in applying case-based reasoning to engineering design: Mechanical bearing design. Artificial Intelli- gence for Engineering Design, Analysis and Manufactur- ing, 17(3):235-252, 2003.
  35. [Renkl, 2014] Alexander Renkl. Toward an instructionally oriented theory of example-based learning. Cognitive Sci- ence, 38(1):1-37, 2014.
  36. [Schank, 1983] Roger C. Schank. Dynamic Memory: A The- ory of Reminding and Learning in Computers and People. Cambridge University Press, USA, 1983.
  37. [Shwartz et al., 2020] Vered Shwartz, Peter West, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Unsupervised commonsense question answering with self-talk. arXiv preprint arXiv:2004.05483, 2020.
  38. [Spensberger et al., 2022] Florian Spensberger, Ingo Kollar, and Sabine Pankofer. Effects of worked examples and external scripts on fallacy recognition skills: a random- ized controlled trial. Journal of Social Work Education, 58(4):622-639, 2022.
  39. [Tracy, 2013] Karen Tracy. Understanding face-to-face in- teraction: Issues linking goals and discourse. Routledge, 2013.
  40. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Sys- tems, volume 30.
  41. Curran Associates, Inc., 2017.
  42. [Vijayaraghavan and Vosoughi, 2022] Prashanth Vija- yaraghavan and Soroush Vosoughi. TWEETSPIN: Fine-grained Propaganda Detection in Social Media Using Multi-View Representations. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 3433-3448, Seattle, United States, July 2022. Association for Computational Linguistics.
  43. [Walia et al., 2019] Himdweep Walia, Ajay Rana, and Vi- neet Kansal. Case based interpretation model for word sense disambiguation in gurmukhi. In 2019 9th Interna- tional Conference on Cloud Computing, Data Science & Engineering (Confluence), pages 359-364, 2019.
  44. [Wang et al., 2022] PeiFeng Wang, Aaron Chan, Filip Ilievski, Muhao Chen, and Xiang Ren. PINTO: Faithful language reasoning using prompt-generated rationales. In Workshop on Trustworthy and Socially Responsible Ma- chine Learning, NeurIPS 2022, 2022.
  45. [Wei et al., 2022] Jason Wei, Xuezhi Wang, Dale Schuur- mans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. Chain of thought prompting elicits reasoning in large lan- guage models. arXiv preprint arXiv:2201.11903, 2022.
  46. [West et al., 2021] Peter West, Chandrasekhar Bhagavatula, Jack Hessel, Jena D. Hwang, Liwei Jiang, Ronan Le Bras, Ximing Lu, Sean Welleck, and Yejin Choi. Symbolic knowledge distillation: from general language models to commonsense models. In North American Chapter of the Association for Computational Linguistics, 2021.
  47. [Weston et al., 2014] Jason Weston, Sumit Chopra, and An- toine Bordes. Memory networks. arXiv preprint arXiv:1410.3916, 2014.
  48. [Wu et al., 2019] Liang Wu, Fred Morstatter, Kathleen M. Carley, and Huan Liu. Misinformation in social media: Definition, manipulation, and detection. SIGKDD Explor. Newsl., 21(2):80-90, nov 2019.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards