Retrieval-augmented Generation to Improve Math Question-Answering: Trade-offs Between Groundedness and Human Preference

Zachary Levonian, Chenglu Li, Wangda Zhu, Anoushka Gade, Owen Henkel +2 more
10/4/2023
cs.CLcs.HC

No official code found. Best implementation: DigitalHarborFoundation/rag-for-math-qa (24 stars, MIT, last commit 2024-09-23).

Abstract

For middle-school math students, interactive question-answering (QA) with tutors is an effective way to learn. The flexibility and emergent capabilities of generative large language models (LLMs) has led to a surge of interest in automating portions of the tutoring process - including interactive QA to support conceptual discussion of mathematical concepts. However, LLM responses to math questions can be incorrect or mismatched to the educational context - such as being misaligned with a school's curriculum. One potential solution is retrieval-augmented generation (RAG), which involves incorporating a vetted external knowledge source in the LLM prompt to increase response quality. In this paper, we designed prompts that retrieve and use content from a high-quality open-source math textbook to generate responses to real student questions. We evaluate the efficacy of this RAG system for middle-school algebra and geometry QA by administering a multi-condition survey, finding that humans prefer responses generated using RAG, but not when responses are too grounded in the textbook content. We argue that while RAG is able to improve response quality, designers of math QA systems must consider trade-offs between generating responses preferred by students and responses closely matched to specific educational resources.

View on arXivView PDF

Code Implementations(1)

MIT

Analysis code for a research paper

241Python, MakefileAug 31, 20232 years agoMIT
research-paper

Similar Papers

Cite this paper

@article{levonian2023retrievalaugmented,
  title  = {Retrieval-augmented Generation to Improve Math Question-Answering: Trade-offs Between Groundedness and Human Preference},
  author = {Zachary Levonian and Chenglu Li and Wangda Zhu and Anoushka Gade and Owen Henkel and Millie-Ellen Postle and Wanli Xing},
  year   = {2023},
  eprint = {2310.03184},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.03184v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.03184.svg)](https://codeofpaper.com/paper/2310.03184)

Discussion