RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Horizon Generation

Zihao Wang,Anji Liu,Haowei Lin,Jiaqi Li,Xiaojian Ma,Yitao Liang
DOI: https://doi.org/10.48550/arxiv.2403.05313
2024-01-01
Abstract:We explore how iterative revising a chain of thoughts with the help ofinformation retrieval significantly improves large language models' reasoningand generation ability in long-horizon generation tasks, while hugelymitigating hallucination. In particular, the proposed method –*retrieval-augmented thoughts* (RAT) – revises each thought step one by onewith retrieved information relevant to the task query, the current and the pastthought steps, after the initial zero-shot CoT is generated. Applying RAT toGPT-3.5, GPT-4, and CodeLLaMA-7b substantially improves their performances onvarious long-horizon generation tasks; on average of relatively increasingrating scores by 13.6319.2can be found at https://craftjarvis.github.io/RAT
What problem does this paper attempt to address?