Enhancing textual textbook question answering with large language models and retrieval augmented generation
Textbook question answering (TQA) is a challenging task in artificial intelligence due to the complex nature of context needed to answer complex questions. Although previous research has improved the task, there are still some limitations in textual TQA, including weak reasoning and inability to capture contextual information in the lengthy context. We propose a framework (PLRTQA) that incorporates the retrieval augmented generation (RAG) technique to handle the “out- of-domain” scenario where concepts are spread across different lessons, and utilize transfer learning to handle the long context and enhance reasoning abilities. Our architecture outperforms the baseline, achieving an accuracy improvement of 4. 12% in the validation set and 9. 84% in the test set for textual multiple-choice questions. While this paper focuses on solving challenges in the textual TQA, It provides a foundation for future work in multimodal TQA where the visual components are integrated to address more complex educational scenarios. Code: https://github.com/hessaAlawwad/PLR-TQA
Authors
- Ali Alkhathlan (ORCID: https://orcid.org/0000-0002-0715-3363)
- Hessa Abdulrahman Alawwad
- Areej Alhothali (ORCID: https://orcid.org/0000-0001-9727-0178)
- Amani Jamal (ORCID: https://orcid.org/0000-0001-9725-7985)
- Usman Naseem (ORCID: https://orcid.org/0000-0003-0191-7171)
Institutions
- King Abdulaziz University (SA)
- Imam Mohammad ibn Saud Islamic University (SA)
- Islamic University (BD)
- Macquarie University (AU)
Publication Details
- Journal
- Pattern Recognition
- Published
- 2025-01-16
- DOI
- https://doi.org/10.1016/j.patcog.2024.111332
- Citations
- 26
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 64.51
Funders
- King Abdulaziz University