iRAT: Improved Retrieval-Augmented Thinking for Context-Aware Replanning-Based Reasoning
Zeeshan Ali, Praneeth Vadlapati
Why it has this license class
AChecked 2 Nov 2026. Open license (CC-BY, CC-BY-SA, CC0, public domain): full text indexed and used in synthesis.
| Source | License | Open-access status | Read as |
|---|---|---|---|
| openalex | cc-by | green | Green |
| crossref | http://creativecommons.org/licenses/by/4.0 | — | Green |
| unpaywall | cc-by | green | Green |
Abstract
BLarge Language Models (LLMs) have demonstrated significant capabilities in answering questions using techniques such as Chain of Thought (CoT) and Retrieval-Augmented Generation (RAG). CoT enables step-by-step reasoning to improve accuracy, while RAG supplements LLMs with relevant external information. Retrieval-Augmented Thoughts (RAT) combines CoT and RAG to provide a more robust factual foundation and coherence in reasoning chains. However, RAT is limited in its ability to handle uncertainty and lacks replanning, often resulting in unnecessary retrievals, inefficiencies, and globally inconsistent reasoning. To address these limitations, we introduce iRAT, a novel reasoning framework that enhances RAT through retrieval control and replanning. iRAT dynamically evaluates uncertainty in initial responses, employs controlled and filtered retrievals to obtain only the most relevant context, revises thoughts to align with new content, and uses replanning to correct previous thoughts. Evaluations demonstrated that iRAT outperforms RAT in HumanEval, MBPP, and GSM8K datasets, while reducing retrievals by a considerable amount. The source code is available at github.com/prane-eth/iRAT. The fine-tuned model used for replanning is available at huggingface.co/zeeshan5k/iRATReasoningChainEvaluatorv2.
Claims built on this paper
D- The bundle contains two records of the same iRAT framework under different titles and author lists—Ali et al. 2025 ("iRAT: Replanning and Controlled Retrieval for Robust LLM Reasoning") and Ali & Vadlapati 2025 ("iRAT: Improved Retrieval-Augmented Thinking for Context-Aware Replanning-Based Reasoning")—with near-identical abstracts, both reporting that iRAT outperforms RAT on HumanEval, MBPP, and GSM8K while reducing retrievals; citations should treat them as versions of one work. Trace →