Divide-Then-Align: Honest Alignment based on the Knowledge Boundary of RAG
Xin Sun, Jianan Xie, Zhongqi Chen, Qiang Liu, Shu Wu, Yuehe Chen, Bowen Song, Weiqiang Wang, Zilei Wang, Liang Wang
TL;DR
This work tackles the problem that Retrieval-Augmented Generation (RAG) and RAFT models often provide answers even when neither the model’s parametric knowledge nor retrieved passages suffice. It introduces Divide-Then-Align (DTA), a post-training framework that partitions queries into four knowledge quadrants based on two boundaries: the parametric knowledge boundary $ m KB_{param}$ and the retrieval boundary $ m KB_r$. By constructing quadrant-specific preference data and training with Direct Preference Optimization (DPO) plus supervised fine-tuning and a quadrant-classification loss, DTA enables honest abstention with the response “I don’t know” when a query lies outside both boundaries, while preserving high answer quality for answerable cases. Experiments on Natural Questions, TriviaQA, and WebQuestions show that DTA outperforms RAFT-based baselines and calibrations across nine metrics, balancing accuracy with principled abstention, and demonstrating robustness across biomedical and counterfactual contexts. The approach advances trustworthy RAG systems by aligning behavior with explicit knowledge boundaries and provides a comprehensive evaluation framework for abstention capability in open-domain QA.
Abstract
Large language models (LLMs) augmented with retrieval systems have significantly advanced natural language processing tasks by integrating external knowledge sources, enabling more accurate and contextually rich responses. To improve the robustness of such systems against noisy retrievals, Retrieval-Augmented Fine-Tuning (RAFT) has emerged as a widely adopted method. However, RAFT conditions models to generate answers even in the absence of reliable knowledge. This behavior undermines their reliability in high-stakes domains, where acknowledging uncertainty is critical. To address this issue, we propose Divide-Then-Align (DTA), a post-training approach designed to endow RAG systems with the ability to respond with "I don't know" when the query is out of the knowledge boundary of both the retrieved passages and the model's internal knowledge. DTA divides data samples into four knowledge quadrants and constructs tailored preference data for each quadrant, resulting in a curated dataset for Direct Preference Optimization (DPO). Experimental results on three benchmark datasets demonstrate that DTA effectively balances accuracy with appropriate abstention, enhancing the reliability and trustworthiness of retrieval-augmented systems.
