Skip to content

TriageRAG: Sort Self-Made Questions by Failure Before Training on Them

THE ARGUMENT

Self-training for domain RAG should not treat every retained example alike: the signal a question needs depends on whether the student already knows it, whether the evidence arrived, and whether the reader or the retriever failed [1].

On this page

You work at a small company building clinical question answering. You hold a batch of medical papers and textbook passages with no answer labels, and this quarter you owe one deliverable: make a general QA system noticeably more accurate in this specialty. The team's current approach looks sound enough: have the system write its own questions from those passages, write its own answers, keep only the questions whose source passage can be found again, and train on those. The trouble is in that 'keep only' step, which treats everything alike. It never asks whether the system already knew the answer, never asks whether it can pick the answer out of the pages it was handed, and, worse, throws away every question whose pages do not contain the answer. The system that comes out of this has never met a case where the fetched pages are useless, so once it goes live and the lookup drifts off target, it will answer confidently from irrelevant material. Paper [1] triages each question first, then decides how to train on it.

The Default: Every Retained Question Gets the Same Treatment

Two terms need plain definitions first. Retrieval-augmented generation means fetching a few passages by the question and then letting the model answer from them, which adds long-tail knowledge without retraining and reduces hallucination; self-training means the model writes its own questions and answers and is then fine-tuned on those automatically made examples. SimRAG is a strong recent recipe of this kind: an instruction-tuned model that can both answer and ask is prompted to write short-span, multiple-choice and claim-verification questions from unlabeled domain passages, a round-trip consistency filter keeps only the pairs whose source passage is retrieved in the top k for the generated question, and the survivors are fine-tuned with the retrieved passages as context [1].

What paper [1] targets is precisely what that pipeline never looks at: every retained pseudo-labeled pair is treated identically. Nothing asks whether the student already knows the answer with no context, whether it already extracts it correctly from the retrieved passages, or, when it fails, whether the fault lies with the reader (the evidence is in the context but the answer is wrong) or with the retriever (the evidence never reached the context). Those two faults need different remedies: fine-tuning on contexts that contain the answer teaches a reader to use evidence that is present, but cannot help when the evidence is absent. Worse, the round-trip filter removes exactly the pairs whose evidence is absent, so in a domain where the retriever often misses, the fine-tuned reader learns to trust whatever it is handed, which is more dangerous than no retrieval at all.

TriageRAG changes only how those questions are used. After synthesis, the current student is probed on every question with and without retrieved context, the results are split into known, solved, context-failure and retrieval-failure, and each category is routed to the training signal that fits [1]. One of these, the parametric route, teaches the reader to produce the verified answer even when the retrieved context is unhelpful, which is exactly the situation it faces whenever retrieval misses. The whole method uses ordinary supervised fine-tuning, with no reward model, no judge and no labeled data. Probing costs a fraction of fine-tuning, so the diagnosis is repeated every round and the mixture follows the student, while the category histogram doubles as a label-free check of where the domain gap lies.

Four-Way Triage: Probe Twice, Then Route

The pipeline has two stages. Stage one is retrieval-oriented general fine-tuning: 16,000 examples sampled uniformly from a 20,930-example general blend, covering context-aware QA in short-span, yes/no and multiple-choice formats plus the two skills synthesis needs, namely proposing candidate answer spans from a passage and writing a question conditioned on an answer [1]. Stage two is failure-aware self-training, with four steps per round. Step one, synthesis: for a sampled passage the student proposes candidate answer spans, then writes an answer-conditioned question, in three formats, short-span questions, multiple-choice questions that reuse a span question and add three distractor spans from other passages, and claims supported or refuted by the passage. A tuple is kept only if the student recovers the answer when given the gold passage, a self-answerability filter applied identically to every compared method. Crucially there is no round-trip retrieval gate here; whether the source passage was retrieved is recorded as a signal for the triage instead. Synthesis runs once per domain and the pool is shared by all methods and rounds.

Step two is probing. For every retained tuple, four samples are drawn with no context and four with the top-5 passages fetched by the question alone, as at test time, all at temperature 0.7, giving a closed-book pass rate and an open-book pass rate; closed-book means no material is given, open-book means those five passages are given. An evidence-hit flag records whether the source passage or the answer string appears among the five. Step three is triage, with a threshold of 0.75 throughout, and the four tests applied in a fixed order so each tuple falls into exactly one category [1].

CategoryConditionWhat it meansHow it is used
knownClosed-book pass rate at least 0.75Already answerable with no context5% consolidation share
solvedClosed-book below 0.75, evidence in context, open-book at least 0.75Uses fetched evidence correctly15% consolidation share
context-failureClosed-book below 0.75, evidence in context, open-book below 0.75Answer is in the context but the reader fails or wobbles60% share, contextual fine-tuning
retrieval-failureClosed-book below 0.75, evidence not in contextEvidence was never retrieved20% share, parametric route

Step four is routing and training. Each round has a fixed budget B of stage-two examples, filled by per-category quotas of 60%, 20%, 15% and 5% for context-failure, retrieval-failure, solved and known; an unfilled quota is topped up from remaining context failures and then solved items, without duplicates. The authors note that context-failure is smaller than its quota in every domain, so all such items are used and the shortfall is filled with solved ones [1]. Three signals differ: contextual fine-tuning for context-failure, where the target is the answer given the question and retrieved passages, with items the student gets most wrong preferred when the category exceeds its quota; the parametric route for retrieval-failure, where the answer is verified against the source passage so the label is trustworthy, but the reader must produce it from parametric knowledge while learning that a fetched context can be unhelpful; and small consolidation shares for solved and known, plus a fixed replay of 2,000 general context-QA examples to preserve answer formats. The mixture gets one epoch of LoRA fine-tuning, the merged student re-probes the pool next round, and the retriever stays frozen in the main configuration.

  • Synthesis: short-span, three-distractor multiple-choice, and supported-or-refuted claims, keeping only self-answerable tuples, with no round-trip retrieval filter;
  • Probing: four samples each closed-book and open-book, recording pass rates and evidence hit, threshold 0.75;
  • Triage: known, solved, context-failure and retrieval-failure, applied in order so each tuple lands in exactly one class;
  • Routing: 60/20/15/5% quotas, a parametric route dedicated to retrieval failures, one LoRA epoch, then re-probe.

Data and Budget: 11 Datasets, Three Domains

Accuracy is the metric throughout, and every question is multiple-choice, yes/no, or yes/no/maybe [1]. All 11 datasets are named. Medicine uses the five MIRAGE sets, PubMedQA (500 questions), BioASQ (618), MedQA (1,273), MedMCQA (4,183) and the six biomedical MMLU subjects (1,089), plus the text-only subset of the expert-level MedXpertQA (2,450, up to ten options). Science uses ARC-Challenge (1,172), SciQ (1,000, kept as four-way multiple choice) and 14 scientific MMLU subjects (3,013). Computer science uses the English multiple-choice (1,336) and assertion (442) questions of CS-Bench. The unlabeled corpora also serve as the test-time index: 950,746 medical passages, 10,863 science passages and 6,237 computer-science passages. The table below puts scale, pool size and per-round budget together.

DomainDatasets (questions)Corpus passagesSynthesized poolPer-round budget B
MedicinePubMedQA 500, BioASQ 618, MedQA 1,273, MedMCQA 4,183, MMLU-Med 1,089, MedXpertQA 2,450950,74640,54012,000
ScienceARC-C 1,172, SciQ 1,000, MMLU-Sci 3,01310,86332,6866,000
Computer scienceCS-Bench MC 1,336, AS 4426,23720,6696,000

Implementation is specified tightly too [1]. Backbones are Qwen3-4B-Instruct-2507 and Qwen3-8B in non-thinking mode. LoRA uses rank 64, scaling 128 and all linear layers, one epoch, learning rate 10 to the minus 4 with cosine decay, global batch 64 and maximum length 3,072. The retriever is bge-base-en-v1.5 with a flat FAISS index, top-5 for probing, training and evaluation. Synthesis uses 12,000 medical, 8,000 science and 5,089 computer-science passages of at least 40 words at temperature 0.7, yielding pools of 40,540, 32,686 and 20,669 self-answerable tuples. The budget B is 30%, 18% and 29% of the respective pools, chosen so that selection matters, plus 2,000 general replay examples per round. TriageRAG runs three rounds; SimRAG runs one as in the original paper, with a three-round control. One medical round at 4B takes about 15 minutes of probing with vLLM, 80 minutes of LoRA training on two A100s and 10 minutes of evaluation.

The comparison set is clean as well [1]. No-adaptation rows are the backbone closed-book, the backbone with retrieval, and the stage-one model with retrieval (equivalent to SimRAG without stage two). Equal-budget self-training rows are a SimRAG reimplementation (keeping only tuples whose source passage is in the top 5, which retains 48%, 78% and 87% of the medical, science and CS pools), random selection (B tuples sampled uniformly from the full pool, isolating selection from volume), and a RAFT-style mixture (gold passage placed among distractors for 80% of examples, distractors only for 20%). Every stage-two method shares the same stage-one model, synthesized pool, self-answerability filter, budget, general replay and training recipe, differing only in which examples are selected and how their contexts are built, which isolates exactly one variable: how self-generated data should be used.

Main Results: Recovering the Points That Retrieval Costs

The first and most counterintuitive finding is that retrieval is not uniformly helpful [1]. In medicine, five passages add 9.3 points to the backbone average, almost entirely on literature-grounded PubMedQA and BioASQ. In science and computer science the backbone instead loses 2.1 and 4.4 points when given five passages (87.4 down to 85.3, and 68.0 down to 63.6), and neither stage one nor SimRAG repairs the loss. TriageRAG is the only method that returns to or exceeds the closed-book level in a single round in all three cases: 87.6 versus 87.4 in science, 68.2 versus 68.0 on CS-Bench at 4B, and 70.1 versus 69.8 at 8B; random selection does so in science only (87.5). The table below places the main average rows side by side across the four evaluation panels.

MethodMedical AvgScience AvgCS-Bench 4B AvgCS-Bench 8B Avg
Backbone (closed-book)52.3387.3867.9969.75
Backbone + retrieval61.6585.3263.6067.37
Stage-I + retrieval63.9686.0261.9165.86
SimRAG‡63.6785.7461.8365.68
Random selection64.1587.5167.5867.77
RAFT-style‡64.10—67.28—
TriageRAG64.8487.6268.1970.06

Read the conclusions off the table. Against a budget-matched SimRAG, TriageRAG gains 1.2 points in medicine, 1.9 in science, 6.4 on CS-Bench at 4B and 4.4 at 8B; it is the best fine-tuned method on average in every domain and best or second best on 8 of the 11 datasets [1]. In medicine its 0.9-point gain over stage one is concentrated on exam-style sets: MedQA +2.0, MedMCQA +2.2 and MMLU-Med +3.3, while the literature yes/no sets, where retrieval already supplies the answer, move by at most 1.3 points. MedXpertQA sits near the ten-way chance level for every configuration and, the authors say, does not separate methods at this scale.

The random-selection control deserves a careful read: it differs from SimRAG only by dropping the round-trip filter, yet it is 5.7, 1.8 and 0.5 points above SimRAG on CS, science and medicine (paired bootstrap over questions: +5.7 with interval 3.4 to 8.1 on CS, +1.8 with 1.2 to 2.4 on science), and already close to TriageRAG at 4B [1]. Conversely the triage's own net contribution at 4B is small: +0.6 (interval minus 0.9 to 2.1) on CS, +0.1 (minus 0.4 to 0.6) in science, +0.7 (0.1 to 1.3) in medicine, and becomes clear only at 8B with +2.3 (0.2 to 4.4) on CS-Bench on every training seed. The paper's verdict follows: which questions are chosen matters less than what the selected contexts look like.

Iteration separates them further [1]. TriageRAG improves in round two on science and CS (87.6 to 88.0, 68.2 to 68.8) and plateaus in medicine (64.8, 64.7, 64.5), whereas SimRAG, whose selection does not depend on the student, drifts down in medicine when iterated (63.7 to 63.0) and gains only 1.0 point on CS (61.8 to 62.8), staying 5.5 points behind. With the 8B backbone the second CS round regresses on the assertion subset.

The Mechanism: One Ablation Pins Down the Cause

What truly separates TriageRAG from SimRAG is the treatment of retrieval-failure examples [1]. The ablation keeps the triage, the budget and the frozen retriever, and only replaces the parametric route with the 'obvious' alternative of inserting the gold passage back into those examples' contexts, so the reader is again trained exclusively on contexts that contain the evidence. CS-Bench drops from 68.2 to 61.9, exactly the level of SimRAG (61.8) and the stage-one model (61.9); science drops from 87.6 to 84.3, below SimRAG (85.7); medicine drops from 64.8 to 63.7, again the SimRAG level. The full ablation panel is below.

Variant (4B, round 1)Medical AvgCS AvgScience Avg
TriageRAG64.8468.1987.62
Without parametric route63.7161.9184.30
Without triage (= random selection)64.1567.5887.51
Without triage, with round-trip filter (= SimRAG)63.6761.8385.74
With retriever tuning59.1465.8987.44
With retriever tuning, without parametric route56.8862.36—

The mechanism is plotted as the share of training examples whose context lacks the evidence [1]. SimRAG is 0 by construction and the no-parametric-route ablation at most 2%; random selection is 46.2% in medicine, 15.7% in science and 10.3% in CS; RAFT-style is 19.8% and 19.4% (medicine and CS); TriageRAG is 22.0%, 20.7% and 20.6%. In the two domains where naive retrieval hurts, this share splits the mixtures into two clean groups: at most 2% sits at the stage-one level, 10% or more reaches within a point of the closed-book level or above, and the ablation lands right back on the SimRAG point. The conclusion is blunt: a reader fine-tuned only on contexts that contain the answer learns to trust the context, and in a domain where the retriever often misses, that reader is worse than no retrieval at all. The round-trip filter, introduced in SimRAG to improve label quality, has the side effect of deleting precisely the examples that teach a reader when not to trust its context.

The triage histogram works as a diagnostic too [1]. About 41% of self-generated questions in medicine and CS, and 57% in science, are known: the stage-one student answers them closed-book at least three times out of four, so they carry little information, yet SimRAG spends a proportional part of its budget on them. In CS and science the retriever finds the evidence for 84 to 89% of questions, context-failures are 4 to 6% of the pool and retrieval-failures about 7%. In medicine the source passage is retrieved for only 48.1% and 29.2% of the pool are retrieval-failures, so a round-trip gate discards half the pool and, more importantly, every example whose context lacks the answer. Multiple-choice and claim items are overwhelmingly known, and 80 to 94% of failures come from short-span questions, so format diversity mostly supplies format practice rather than new knowledge. The table below reproduces the round-one triage shares.

Pool (size)knownsolvedcontext-failureretrieval-failureEvidence Hit@5
Medical 40,54040.924.25.729.253.4
Science 32,68656.630.36.07.084.2
CS 20,66941.247.24.47.188.6

One explicit negative result is worth recording: fixing the retriever with the failed pairs seems obvious and works worse [1]. Contrastively fine-tuning bge-base on those pairs and re-indexing each round cut medical-pool recall@5 from 0.48 to 0.34 and accuracy from 64.8 to 59.1; holding that run's round-one reader fixed and swapping in only the tuned index lowered PubMedQA, BioASQ and MedQA from 81.4, 90.9 and 62.1 to 61.8, 83.7 and 60.6; on CS the tuned retriever raised pool recall from 0.87 to 0.92 yet lowered CS-Bench accuracy from 68.2 to 65.9; in science it was neutral. The authors attribute this to a biased sample: many questions are legitimately not specific to their source passage, so the contrastive update teaches the encoder noise and moves it away from the benchmark queries. The main configuration therefore keeps the retriever frozen, and making retrieval failures useful to the retriever itself stays open.

Robustness is covered too [1]. Four headline cells were repeated with three training seeds, with paired bootstrap intervals over questions from 10,000 resamples. On every seed in every domain TriageRAG beats SimRAG and the no-parametric-route ablation; on three-seed means it leads SimRAG by 5.1 points on CS, 1.8 in medicine and 2.8 in science; bootstrap gives +6.4 (4.1 to 8.6) on CS, +1.2 (0.5 to 1.9) in medicine and +1.9 (1.2 to 2.5) in science, all with p-value below 0.001. TriageRAG versus random selection is significant at 4B only in medicine, and at 8B is +2.3 (0.2 to 4.4), with a three-seed gap of 2.0 points (69.9 plus or minus 0.4 versus 68.0 plus or minus 0.2).

Where This Stops Working

Both the main-text and appendix limitations are the authors' own, not additions of mine [1]. First, rounds re-probe a pool synthesized once, so informative examples are consumed early and accuracy plateaus: medicine runs 64.8, 64.7, 64.5 across three rounds, the known share rises from 40.9% to 44.2% and 45.2%, and retrieval-failures fall from 29.2% to 27.1% and 26.8%, meaning the student absorbed what it was trained on but has little new to learn; regenerating the pool between rounds is future work. Second, absolute numbers are not comparable: 4B and 8B backbones, a 16,000-example stage-one blend and a PubMed slice, versus SimRAG's original 8B and 27B models on full PubMed, textbooks and Wikipedia, so all comparisons here are internal and budget-matched. MedXpertQA sits at chance for every configuration and cannot separate methods at this scale.

Third, seeds and intervals cover only the headline cells [1]: four stage-two cells have three seeds and paired intervals, while the rest (rounds two and three, RAFT-style, the retriever-tuned variants) are single runs, and the authors say CS-Bench differences of one point or less between strong variants should be read as ties. Fourth, abstention and calibration are not done: the parametric route teaches the reader to produce a verified answer when the context is unhelpful, not to abstain, and calibration or behaviour on unanswerable questions was not measured. Fifth, the negative retriever result covers one recipe only, contrastive fine-tuning of bge-base on failed pairs with retrieved hard negatives, and the paper itself lists curated negatives, smaller learning rates or mixing with original training data as things that might reverse it.

One detail also matters when reading the tables [1]: the untuned backbone with retrieval produced 86 unparsable outputs on MedMCQA and 32 on CS-Bench multiple choice, because it sometimes answers with a sentence instead of a letter, and these count as wrong, slightly disadvantaging the plus-retrieval rows; fine-tuned models had at most 3 unparsable outputs per dataset. This does not shake the main conclusion, but it is a reminder that a small part of 'retrieval made it worse' is a formatting problem rather than a capability one.

  • The pool is synthesized once, informative examples run out after round one, accuracy saturates, and refreshing it between rounds is future work;
  • 4B/8B backbones, a 16k stage-one blend and a PubMed slice make absolute numbers incomparable with SimRAG's original large-model setup;
  • MedXpertQA is near chance for every configuration and cannot separate methods at this scale;
  • Only headline cells have three seeds and intervals; other cells are single runs, and CS-Bench gaps of one point or less should be ties;
  • The parametric route teaches answering, not abstention; calibration and unanswerable questions are unmeasured, and the negative retriever result covers one recipe.

In one line: this method fits when you have only unlabeled domain text and have noticed that retrieval often drifts off target in that domain. It offers a recipe that routes by failure type and a way to turn 'context lacks the evidence' back into useful training examples, not a promise that more rounds always help. If the question becomes whether to stay silent on unanswerable cases, what a larger backbone and full corpus would score, or how to make retrieval failures improve the retriever itself, the thing to add is abstention and calibration, a comparable configuration, and a different retriever route, not one more triage round [1].

References

  1. TriageRAG: Failure-Aware Self-Training for Adapting Retrieval-Augmented Language Models to Specialized Domains

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…