ReAct: Synergizing Reasoning and Acting in Language Models
Shunyu Yao, Jeffrey Zhao, Dian Yu, Yuan Cao
- Published
- Oct 6, 2022
- Source
- arXiv
- URL
- https://arxiv.org/abs/2210.03629
Interleaves reasoning traces with tool actions such as search, letting models plan, act and update based on observations. Improves question answering and interactive tasks.
ReAct prompts models to alternate between thought, action and observation steps. On HotpotQA and FEVER it reduces hallucination by grounding in retrieved facts; on ALFWorld and WebShop it beats imitation and RL baselines.
Related models: PaLM