← Back to Paper Radar

Second Thought: Reasoning in Parallel as LLM Agents Act and Observe

Zhensu Sun, Chengran Yang, Yunbo Lyu, Jieke Shi, David Lo
2026

Reading guide · Based on sections of the original paper

The authors propose Second Thought, a training-free method that fills each ReAct agent's action–observation wait with four parallel auxiliary reasoning branches. These branches produce interruption-safe 'atomic thoughts' that are appended to the next turn's context, adding reasoning without lengthening the main thread's sequential decoding.

Why read this

Practitioners building tool-using agents with slow tool calls may want this for a latency-aware way to add deliberation, provided they can tolerate higher API spend.

What the authors found

  • Across 9 model–benchmark pairs (SWE-Bench Pro 150-instance subset, Terminal-Bench 2.1, τ³-bench banking), the authors report fewer average turns than the unmodified agent in every pair. Main-thread decoding fell in six pairs, by up to 43% and about 20% on average among those six. The conclusion says these reductions were significant in only five pairs (turns) and four pairs (decoding). Pass@1 differed significantly in just two pairs, both on Terminal-Bench 2.1 (+12.4 and +10.2 points). Against a compute-matched budget-forcing control (s1), available in four settings, Second Thought had higher Pass@1 with less main-thread decoding. Main Results
  • The authors ran a paired wall-clock replay on 50 SWE-Bench Pro instances with DeepSeek-V4-Flash: back-to-back runs at concurrency 4, repeated 3 times. Median per-task time dropped from 256.9 s to 229.0 s (−10.9%) versus the base agent. Branch contention cost about 2.8 s per task. This is the only timing measurement reported. Measured Timing Analysis.
  • In controlled variants on SWE-Bench Pro with DeepSeek-V4-Flash, removing observation-triggered truncation reached 56.7% Pass@1, compared with 52.0% for the default. However, that variant raised main-thread tokens to as much as 48.4k. The authors conclude that window length is the dominant lever and that their default captures only part of the available gain. Disentangling Window Duration from Fork Conditioning.

Main limitation

Latency savings come at a monetary cost. On SWE-Bench Pro, four branches raised per-task API cost by 66.4% to 181.5% across the three models, driven mainly by cached-prefix input reads. Keeping only the Alternative branch cut the added cost to 16.3%–35.5%. Accuracy gains were also small on τ³-bench. Cost Analysis.

Where to start

Disentangling Window Duration from Fork Conditioning. · See how the authors separate fork timing, the plan context given to branches (R_t), and truncation. Note which trade-off the default operating point takes against the higher-accuracy but slower unbounded variant.

Abstract

LLM agents in the ReAct paradigm alternate between reasoning, acting, and observing, but deliberate reasoning is confined to the Thought phase: while the agent serializes an action and waits for the environment, its reasoning is frozen. We identify this recurring interval for Action and Observation as a reasoning idle window and ask whether it can host additional reasoning in parallel that serves future turns. Therefore, we propose Second Thought, a training-free inference framework that forks four auxiliary branches the instant each Thought phase concludes, decodes them concurrently with the main loop, and merges the generated thoughts back when the environment observation arrives. In this way, Second Thought relocates the added reasoning off the main thread's sequential decoding path. Across three agentic benchmarks and three reasoning LLMs, Second Thought lowers the average turn count in all nine (model,benchmark) pairs and reduces main thread decoding in six of them by up to 43% (roughly 20% on average among those settings), while leaving it essentially unchanged in a seventh; Pass@1 shows no significant change in seven of nine pairs and the two significant differences are +12.4 and +10.2 points. Against a compute-matched control that forces an equivalent budget onto the main thread's own reasoning, it attains strictly higher Pass@1 with 1.3 to 3.2 less sequential decoding in all four settings where the control applies.

Generated automatically from paper sections on 2026-11-28.