Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Retrieval-of-Thought: Efficient Reasoning via Reusing Thoughts

About

Large reasoning models improve accuracy by producing long reasoning traces, but this inflates latency and cost, motivating inference-time efficiency. We propose Retrieval-of-Thought (RoT), which reuses prior reasoning as composable ``thought" steps to guide new problems. RoT organizes steps into a thought graph with sequential and semantic edges to enable fast retrieval and flexible recombination. At inference, RoT retrieves query-relevant nodes and applies reward-guided traversal to assemble a problem-specific template that guides generation. This dynamic template reuse reduces redundant exploration and, therefore, reduces output tokens while preserving accuracy. We evaluate RoT on reasoning benchmarks with multiple models, measuring accuracy, token usage, latency, and memory overhead. Findings show small prompt growth but substantial efficiency gains, with RoT reducing output tokens by up to 40%, inference latency by 82%, and cost by 59% while maintaining accuracy. RoT establishes a scalable paradigm for efficient LRM reasoning via dynamic template construction through retrieval.

Ammar Ahmed, Azal Ahmad Khan, Ayaan Ahmad, Sheng Di, Zirui Liu, Ali Anwar• 2025

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningAIME 2024
Accuracy66.67
394
Mathematical ReasoningAIME 2024 (test)
Accuracy51.85
294
Mathematical ReasoningAMC 2023
Accuracy92.5
104
Mathematical ReasoningAIME 2023
Accuracy (%)63.33
36
Mathematical ReasoningAIME 2023
Latency (s)32.93
29
Mathematical ReasoningAIME 2024
Latency (s)29.58
29
Mathematical ReasoningAIME 2025
Latency (s)17.07
29
Mathematical ReasoningAMC 2023
Latency (s)12.7
29
Scientific ReasoningGPQA
Accuracy61.19
29
Mathematical ReasoningAIME 2025
Accuracy80
29
Showing 10 of 15 rows

Other info

Follow for update