ReAct: Synergizing Reasoning and Acting in Language Models

frames

Language models are getting better at reasoning (e.g. chain-of-thought prompting) and acting (e.g. WebGPT, SayCan, ACT-1), but these two directions have remained separate.
ReAct asks, what if these two fundamental capabilities are combined?

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 interpretability and trustworthiness over methods without reasoning or acting components. Concretely, on question answering (HotpotQA) and fact verification (Fever), ReAct overcomes issues of hallucination and error propagation prevalent in chain-of-thought reasoning by interacting with a simple Wikipedia API, and generates human-like task-solving trajectories that are more interpretable than baselines without reasoning traces. On two interactive decision making benchmarks (ALFWorld and WebShop), ReAct outperforms imitation and reinforcement learning methods by an absolute success rate of 34% and 10% respectively, while being prompted with only one or two in-context examples.

ReAct Prompting

A ReAct prompt consists of few-shot task-solving trajectories, with human-written text reasoning traces and actions, as well as environment observations in response to actions (see examples in paper appendix!)
ReAct prompting is intuitive and flexible to design, and achieves state-of-the-art few-shot performances across a variety of tasks, from question answering to online shopping!

frames

HotpotQA Example

The reason-only baseline (i.e. chain-of-thought) suffers from misinformation (in red) as it is not grounded to external environments to obtain and update knowledge, and has to rely on limited internal knowledge.
The act-only baseline suffers from the lack of reasoning, unable to synthesize the final answer despite having the same actions and observation as ReAct in this case.
In contrast, ReAct solves the task with a interpretable and factual trajectory.

frames

ALFWorld Example

For decision making tasks, we design human trajectories with sparse reasoning traces, letting the LM decide when to think vs. act.
ReAct isn’t perfect — below is a failure example on ALFWorld. However, ReAct format allows easy human inspection and behavior correction by changing a couple of model thoughts, an exciting novel approach to human alignment!

frames

ReAct Finetuning: Initial Results

Prompting has limited context window and learning support.
Initial finetuning results on HotpotQA using ReAct prompting trajectories suggest:
(1) ReAct is the best fintuning format across model sizes;
(2) ReAct finetuned smaller models outperform prompted larger models!

frames

Read More
Larisa Michaud

Latest

Amtrak Set to Upgrade Key Philadelphia Power Converter Station

Photo courtesy STV  STV is developing preliminary design for one of the largest railway converter stations in the world, owned by Amtrak. Amtrak has selected STV to develop the preliminary design to replace the Richmond Static Frequency Converter (SFC) #4 in Philadelphia. The facility is Amtrak’s largest traction power converter station and one of the largest railway

How Will Bitcoin, Ethereum and XRP React if CLARITY Act Passes or Fails?

The CLARITY Act has become a major regulatory focus for the crypto industry. However, Alex Tapscott, CEO of CMCC Global Capital Markets, said prediction markets may be overstating its chances of passing. While markets currently assign the bill roughly 47% to 50% odds of becoming law, Tapscott said it may struggle to secure enough bipartisan

Bitcoin Price Today: Weak Spot Demand Keeps BTC Under Pressure

Bitcoin price today remains under pressure as spot demand continues to weaken despite periodic increases in futures trading activity. According to the analysis, combined spot and futures demand is estimated at -127,000 BTC, a level considered too weak to support a sustained uptrend. The report suggests the recent market stabilization is driven more by seller

AAVE Price Could Be One Breakout Away From a Massive Rally

AAVE price is approaching a pivotal technical milestone after climbing 8%, with derivatives markets signaling growing confidence among bullish traders. The latest rally has pushed the DeFi token within striking distance of a resistance zone that has defined its broader downtrend for months. A decisive breakout from here could reshape market sentiment and establish the

Newsletter

Don't miss

Amtrak Set to Upgrade Key Philadelphia Power Converter Station

Photo courtesy STV  STV is developing preliminary design for one of the largest railway converter stations in the world, owned by Amtrak. Amtrak has selected STV to develop the preliminary design to replace the Richmond Static Frequency Converter (SFC) #4 in Philadelphia. The facility is Amtrak’s largest traction power converter station and one of the largest railway

How Will Bitcoin, Ethereum and XRP React if CLARITY Act Passes or Fails?

The CLARITY Act has become a major regulatory focus for the crypto industry. However, Alex Tapscott, CEO of CMCC Global Capital Markets, said prediction markets may be overstating its chances of passing. While markets currently assign the bill roughly 47% to 50% odds of becoming law, Tapscott said it may struggle to secure enough bipartisan

Bitcoin Price Today: Weak Spot Demand Keeps BTC Under Pressure

Bitcoin price today remains under pressure as spot demand continues to weaken despite periodic increases in futures trading activity. According to the analysis, combined spot and futures demand is estimated at -127,000 BTC, a level considered too weak to support a sustained uptrend. The report suggests the recent market stabilization is driven more by seller

AAVE Price Could Be One Breakout Away From a Massive Rally

AAVE price is approaching a pivotal technical milestone after climbing 8%, with derivatives markets signaling growing confidence among bullish traders. The latest rally has pushed the DeFi token within striking distance of a resistance zone that has defined its broader downtrend for months. A decisive breakout from here could reshape market sentiment and establish the

Pump.fun (PUMP) Price Prediction 2026,2027-2030: Will PUMP Lead Solana’s DeFi Boom?

Story Highlights The Live Price Of Pump.fun is Loading live price Predictions suggest PUMP could reach $0.01 in Q1 2026. Long-term forecast sees PUMP reaching $0.22 by 2030 in a moderate scenario. PUMP.fun (PUMP), a utility coin launch platform for launching Solana-based memecoins with its viral “no-code” model that makes token creation easy for everyday

Want Your Business to Be Seen Everywhere? Meet Tonia Ryan, Creator of Fix Your Search

Some people are good at their jobs. Then there is Tonia Ryan, who has turned “getting found online” into something close to magic. She is the creator of Fix Your Search, and if you have ever wondered why some businesses pop up everywhere while others seem invisible...

Grey Business processes $61 million as stablecoins dominate payments

Grey Business enables startups and SMEs to open US Dollar (USD) corporate accounts, send and receive international payments, convert currencies, and transact using stablecoins such as USDC and USDT...

Utah Marketers to Host Free Business Networking Event in Layton on June 24

The custom web design company is hosting free monthly networking events for Northern Utah business leaders, with the next event scheduled for June 24 from 4 to 6 p.m. Utah Marketers is hosting a free local business networking event on June 24 from 4 to 6 p.m. at the company’s Layton office. The event is