Retrieval-augmented reasoning with lean language models

Ryan Sze-Yin Chan, Federico Nanni, Tomas Lazauskas, Rosie Wood, Penelope Yong +4 more
8/15/2025
cs.CLcs.AIcs.CY

No official code found. Best implementation: oracle26ashish/Retrieval-Augmented-Reasoning (0 stars, MIT, last commit 2025-08-26).

Abstract

This technical report details a novel approach to combining reasoning and retrieval augmented generation (RAG) within a single, lean language model architecture. While existing RAG systems typically rely on large-scale models and external APIs, our work addresses the increasing demand for performant and privacy-preserving solutions deployable in resource-constrained or secure environments. Building on recent developments in test-time scaling and small-scale reasoning models, we develop a retrieval augmented conversational agent capable of interpreting complex, domain-specific queries using a lightweight backbone model. Our system integrates a dense retriever with fine-tuned Qwen2.5-Instruct models, using synthetic query generation and reasoning traces derived from frontier models (e.g., DeepSeek-R1) over a curated corpus, in this case, the NHS A-to-Z condition pages. We explore the impact of summarisation-based document compression, synthetic data design, and reasoning-aware fine-tuning on model performance. Evaluation against both non-reasoning and general-purpose lean models demonstrates that our domain-specific fine-tuning approach yields substantial gains in answer accuracy and consistency, approaching frontier-level performance while remaining feasible for local deployment. All implementation details and code are publicly released to support reproducibility and adaptation across domains.

View on arXivView PDF

Code Implementations(1)

MIT

https://arxiv.org/pdf/2508.11386

00Aug 26, 20251 years agoMIT

Similar Papers

Cite this paper

@article{chan2025retrievalaugmented,
  title  = {Retrieval-augmented reasoning with lean language models},
  author = {Ryan Sze-Yin Chan and Federico Nanni and Tomas Lazauskas and Rosie Wood and Penelope Yong and Lionel Tarassenko and Mark Girolami and James Geddes and Andrew Duncan},
  year   = {2025},
  eprint = {2508.11386},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.11386v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.11386.svg)](https://codeofpaper.com/paper/2508.11386)

Discussion