ReAct: Synergizing Reasoning and Acting in Language Models
Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik, Narasimhan, Yuan Cao

TL;DR
ReAct introduces a framework that combines reasoning and acting in language models, enabling better decision making, interaction with external sources, and improved interpretability across various tasks.
Contribution
The paper presents ReAct, a novel approach that interleaves reasoning and acting in language models, enhancing performance and interpretability in decision-making tasks.
Findings
ReAct outperforms state-of-the-art baselines on question answering and fact verification.
ReAct effectively interacts with external knowledge bases to reduce hallucinations.
ReAct achieves higher success rates in interactive decision-making benchmarks.
Abstract
While large language models (LLMs) have demonstrated impressive capabilities across tasks in language understanding and interactive decision making, their abilities for reasoning (e.g. chain-of-thought prompting) and acting (e.g. action plan generation) have primarily been studied as separate topics. In this paper, we explore the use of LLMs to generate both reasoning traces and task-specific actions in an interleaved manner, allowing for greater synergy between the two: reasoning traces help the model induce, track, and update action plans as well as handle exceptions, while actions allow it to interface with external sources, such as knowledge bases or environments, to gather additional information. We apply our approach, named ReAct, to a diverse set of language and decision making tasks and demonstrate its effectiveness over state-of-the-art baselines, as well as improved human…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗Qwen/Qwen-7B-Chatmodel· 122k dl· ♡ 788122k dl♡ 788
- 🤗openerotica/Qwen-7B-Chat-GPTQmodel· 3 dl· ♡ 53 dl♡ 5
- 🤗Qwen/Qwen-7B-Chat-Int4model· 1.4k dl· ♡ 751.4k dl♡ 75
- 🤗tangger/Qwen-7B-Chatmodel· 10 dl· ♡ 2810 dl♡ 28
- 🤗bibimbap/Qwen-7B-Chatmodel· 3 dl· ♡ 93 dl♡ 9
- 🤗bibimbap/Qwen-7B-Chat-Int4model· 43 dl· ♡ 243 dl♡ 2
- 🤗Qwen/Qwen-14B-Chat-Int4model· 285 dl· ♡ 100285 dl♡ 100
- 🤗Qwen/Qwen-14B-Chatmodel· 10k dl· ♡ 37310k dl♡ 373
- 🤗4bit/Qwen-14B-Chat-Int4model· 9 dl· ♡ 29 dl♡ 2
- 🤗TheBloke/Qwen-14B-Chat-GPTQmodel· 77 dl· ♡ 3477 dl♡ 34
Videos
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Explainable Artificial Intelligence (XAI)
