Thinking vs. Doing: Improving Agent Reasoning by Scaling Test-Time Interaction

Junhong Shen, Haoyu Bai, Lunjun Zhang, Yifei Zhou, Amrith Rajagopal Setlur +6 more
1/1/2025
rl

No confident code implementation found for this paper.

Abstract

The current paradigm of test-time scaling relies on generating long reasoning traces (“thinking” more) before producing a response. In agent problems that require interaction, this can be done by generating thinking traces before acting in the world.

Show full abstract

However, this process does not allow agents to acquire new information from the environment or adapt their behavior over time. In this work, we propose to scale test-time interaction , an untapped dimension of test-time scaling that increases the agent’s interaction horizon to enable running rich behaviors such as exploration, backtracking, and dynamic re-planning within a single rollout. To demonstrate the promise of this scaling dimension, we study the domain of web agents. We first show that even prompting-based interaction scaling without any training can improve task success on web benchmarks non-trivially. Building on this, we introduce TTI (Test-Time Interaction), a curriculum-based online reinforcement learning (RL) approach that trains agents by adaptively adjusting their rollout lengths. Using a Gemma 3 12B model, TTI produces state-of-the-art open-source, open-data web agents on WebVoyager and WebArena benchmarks. We further show that TTI enables agents to balance exploration and exploitation adaptively. Our results establish interaction scaling as a powerful, complementary axis to scaling per-step compute, offering new avenues for training adaptive agents.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shen2025thinking,
  title  = {Thinking vs. Doing: Improving Agent Reasoning by Scaling Test-Time Interaction},
  author = {Junhong Shen and Haoyu Bai and Lunjun Zhang and Yifei Zhou and Amrith Rajagopal Setlur and Peter Tong and Diego Caples and Nan Jiang and Tong Zhang and A. Talwalkar and Aviral Kumar},
  year   = {2025},
  doi    = {10.52202/085713-5647},
  url    = {https://doi.org/10.52202/085713-5647},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/5978603613af1b6eb43fe42e08393e3048344291.svg)](https://codeofpaper.com/paper/5978603613af1b6eb43fe42e08393e3048344291)

Discussion