On Turn-Level Best-of-N Sampling for Scaling LLM Agents
On the map: LLM reasoning → Test-time compute and efficient thinking also fits: Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
In this work, we evaluate a simple inference-time scaling approach based on textitturn-level best-of-N sampling (method) for large language model (LLM) agents on complex, long-horizon tasks. We instantiate this using a textitgenerator-selector framework with two LLMs; at each turn, a generator model generates N candidate actions and a selector model selects one of them, which is then executed in the environment. This paper is closely related to the work of citezainullina2025guided who used critic models for guided search at inference time. Different from their work, we evaluate if off-the-shelf, open-weight LLMs can be effective at comparing different candidate actions directly. Experiments on long-horizon terminal tasks show that method can lead to significant performance improvements, both in terms of accuracy (5--10%) and consistency across repeated attempts. Analysis of agent trajectories reveal a shift in agent behaviour towards desirable patterns such as reduction in number of attempts to solve the task, improved task instruction following, debugging and testing.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 36 of its 48 references that are in the map. Submitted 4 Nov 2026.
Builds on
36 of 48 references.
Closest ancestors · 7
Same direction, newest first
- 2026LLM-as-a-Verifier: A General-Purpose Verification Framework6 Jul
- 2026V1: Unifying Generation and Self-Verification for Parallel Reasoners4 Mar
- 2025Scaling Test-time Compute for LLM Agents15 Jun
- 2025Value-Guided Search for Efficient Chain-of-Thought Reasoning23 May
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters6 Aug
- 2024Theoretical guarantees on the best-of-n alignment policy3 Jan
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Models17 May
Other references · 29
- 2023Let's Verify Step by Stepcited by 4,259
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2018Off-Policy Deep Reinforcement Learning without Explorationcited by 1,282
- 2022Scaling Laws for Reward Model Overoptimizationcited by 1,188
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 1,124
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 742
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 414
- 2024Rewarding Progress: Scaling Automated Process Verifiers for LLM Reasoningcited by 316
- 2026DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compressioncited by 220
- 2025GTA1: GUI Test-time Scaling Agentcited by 120
- 2020EMaQ: Expected-Max Q-Learning Operator for Simple Yet Effective Offline and Online RLcited by 118
- 2025Is Best-of-N the Best of Them? Coverage, Scaling, and Optimality in Inference-Time Alignmentcited by 113
17 more
- 2025AgentPRM: Process Reward Models for LLM Agents via Step-Wise Promise and Progresscited by 90
- 2021Learning and Planning in Complex Action Spacescited by 81
- 2024The Limits of Inference Scaling Through Resamplingcited by 74
- 2025CodeMonkeys: Scaling Test-Time Compute for Software Engineeringcited by 60
- 2025Web-Shepherd: Advancing PRMs for Reinforcing Web Agentscited by 49
- 2025Advancing Mobile GUI Agents: A Verifier-Driven Approach to Practical Deploymentcited by 41
- 2026Scaling Test-Time Compute for Agentic Codingcited by 22
- 2026SWE-TRACE: Optimizing Long-Horizon SWE Agents Through Rubric Process Reward Models and Heuristic Test-Time Scalingcited by 18
- 2026SWE-Replay: Efficient Test-Time Scaling for Software Engineering Agentscited by 17
- 2025Guided Search Strategies in Non-Serializable Environments with Applications to Software Engineering Agentscited by 13
- 2026When LLM Judge Scores Look Good but Best-of-N Decisions Failcited by 12
- 2026WebArbiter: A Principle-Guided Reasoning Process Reward Model for Web Agentscited by 11
- 2025On-line Policy Improvement using Monte-Carlo Searchcited by 9
- 2025PRInTS: Reward Modeling for Long-Horizon Information Seekingcited by 8
- 2026A Rubric-Supervised Critic from Sparse Real-World Outcomescited by 6
- 2023Offline Reinforcement Learning for Mixture-of-Expert Dialogue Managementcited by 4
- 2026Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agentscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025AgentTTS: Large Language Model Agent for Test-time Compute-optimal Scaling Strategy in Complex Tasks
- 2024Inference-Aware Fine-Tuning for Best-of-N Sampling in Large Language Models
- 2025When Life Gives You Samples: The Benefits of Scaling up Inference Compute for Multilingual LLMs
- 2024Scaling LLM Inference with Optimized Sample Compute Allocation
- 2025Generalizing Test-time Compute-optimal Scaling as an Optimizable Graph
- 2024Inference Scaling Laws: An Empirical Analysis of Compute-Optimal Inference for Problem-Solving with Language Models
- 2025Optimal Stopping vs Best-of-N for Inference Time Optimization
- 2025On the Effect of Sampling Diversity in Scaling LLM Inference