arrow
Return

RAG-Targeted SFT Improves RAG-Enhanced Math Reasoning

delete2026-01-01
delete0
PRE
AI
L
Lin, Haiye
R
Ruobing Xie
H
Hao Zhang
W
Wenjie Liang
金旭 (Jin Xu)
张鼎 cover
张鼎 (Ding Zhang)
J
Jiale Wang
H
Haitao Zheng *
C
Chen, Yanfeng
S
S. Yang
S
Sun, Xingwu
Z
Zhanhui Kang
DOI:10.1007/978-981-95-3346-6_24delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Mathematical reasoning is a crucial capability of large language models (LLMs). Retrieval-augmented generation (RAG) can assist LLMs in extracting contextual information to enhance their mathematical reasoning skills. However, employing RAG in mathematical tasks is non-trivial, since noisy context and misleading irrelevant examples brought by RAG may negatively impact math performance. In this work, we propose a RAG-targeted Supervised Fine-Tuning (SFT) method that enhances LLMs' ability to adapt to the RAG reasoning strategies, outperforming standard SFT in downstream mathematical reasoning tasks. Additionally, we observed that the math questions addressed by zero-shot and RAG reasoning strategies vary, prompting us to propose the RAG Inference Trigger that leverages reward models to combine both strengths and decrease inference cost. Experimental results demonstrate that our simple method achieves impressive improvement (10.6% on MATH adopted with LLaMA3.1-8B-Instruct), with reduced RAG-related inference cost.
Keywords:
Large Language Model
Retrieval-augmented Generation
Mathematical reasoning

Journal

N
NATURAL LANGUAGE PROCESSING AND CHINESE COMPUTING, NLPCC 2025, PT II
IF:
0
Papers:
29
Citations:
0

Organization

T
tsinghua shenzhen international graduate school
Scholars:
323
Papers: 133
Citations: 9
T
Tencent
Scholars:
1.1K
Papers: 897
Citations: 5