Retrieval-Augmented Reasoning with Lean Language Models
Free while signed in. Answers cite the passages they came from.

A domain-tuned pipeline that fuses RAG and reasoning into a single small-footprint model. The team distills reasoning traces from a frontier model into Qwen2.5 variants, uses summarization to keep context small, and shows that a 32B local model approaches frontier accuracy on an NHS AātoāZ clinical QA task.
Method in one picture. The system marries a dense retriever (SentenceāTransformers + Chroma/FAISS) with Qwen2.5āInstruct models; retrieval can be invoked as a tool inside a conversational agent.
Lean + private by design. Built to run in secure or airāgapped settings using open models; integrates reasoning with retrieval to reduce hallucinations while keeping data onāprem.
Data and compression. On ~1k NHS condition pages, the team generates synthetic queries, retrieves full documents, then summarizes them to shrink input by 85% (avg trace length from ~74,641 to ~7,544 tokens) before fineātuning.
Retriever wins, then reasoner adds. Summaries beat full pages for retrieval (p@5: 0.76 vs 0.68). With k=5 retrieved docs, condition accuracy caps at 0.76 upstream; within that cap, Qwen2.5ā32B jumps from 0.38 to 0.54 with RAG, and to 0.56 after reasoning distillation. Frontier baselines with RAG land around 0.56ā0.57.
Small models, big gains. Distilled āt0ā models from 1.5Bā32B retain strong condition accuracy with k=5 (e.g., 1.5B at 0.53; 32B at 0.56), narrowing the gap to frontier models while fitting in 3ā64 GB GPU memory. The study highlights that reasoning distillation especially lifts the smallest models.
Practicality. Training reused s1āstyle SFT with long context on accessible hardware (e.g., 16ĆA100 80 GB; ~80 GPUāhours for the 32B run), and ships a simple Svelte frontend with hidden āreasoning traceā toggles for auditability.
Get next weekās papers.
The same picks and the same summaries, in your inbox. Free, and 176 issues deep.
Subscribe on Substack