[Paper Review] Retrieval-augmented Generation to Improve Math Question-Answering: Trade-offs Between Groundedness and Human Preference
The paper designs a retrieval-augmented generation system using an open-source math textbook as a retrieval corpus to answer middle-school math questions and analyzes how prompt guidance affects groundedness and human preferences, revealing a trade-off between groundedness and perceived usefulness.
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.
Motivation & Objective
- Motivate and evaluate concept-focused math QA for middle-school students using LLMs.
- Investigate how retrieval-augmented generation (RAG) can ground responses to a vetted curriculum.
- Explore how prompt guidance levels impact groundedness and human preference.
- Assess the relationship between retrieved-document relevance and grounding.
- Identify trade-offs between educational resource alignment and user satisfaction.
Proposed method
- Build a RAG-enabled math QA system using a OpenStax Prealgebra textbook corpus segmented by sub-section.
- Use cosine similarity with text-embedding-ada-002 to retrieve the most relevant textbook section for a student question.
- Generate responses with a gpt-3.5-turbo-0613 model under three prompt guidance conditions (None, Low, High).
- Include an Information Retrieval prompt condition that repeats the question and the most relevant paragraph.
- Evaluate groundedness with three metrics (K-F1++, BLEURT, BERTScore) and collect human preference rankings in a within-subjects survey.
- Compare responses across guidance conditions to assess the impact on groundedness and perceived usefulness.
Experimental results
Research questions
- RQ1Can retrieval-augmented generation and prompt engineering increase the groundedness of LLM-generated math explanations?
- RQ2Do humans prefer more grounded or less grounded responses in conceptual math QA with RAG?
- RQ3How does retrieval relevance of the textbook content affect groundedness and user preferences?
- RQ4What is the relationship between automated groundedness metrics and human judgments?
Key findings
- Humans preferred responses generated with RAG when prompt guidance was not too high, indicating a balance between grounding and usefulness.
- Groundedness increases with more guidance in prompts, but high guidance did not outperform low guidance in preference.
- Retrieved-document relevance correlates with perceived groundedness, but is not a consistent predictor of human preference.
- Automated groundedness metrics show modest correlations with human judgments, with K-F1++ showing the strongest link to groundedness.
- There is a trade-off: responses that are highly grounded to textbook content may be less preferred if they overly restrict answer style or usefulness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.