← All entries
Paper2024#951

Large Language Monkeys: Scaling Inference Compute with Repeated Sampling

Summary

Scaling the amount of compute used to train language models has dramatically improved their capabilities. However, when it comes to inference, we often limit models to making only one attempt at a problem. Here, we explore inference compute as another axis for scaling, using the simple technique of repeatedly sampling …

Venue
arXiv 2407.21787
Publisher
arXiv 2407.21787
Source
arxiv
Access
open arXiv PDF/abs
Purpose
Large Language Monkeys: Scaling Inference Compute with Repeated Sampling
Domain
reasoning / RL
Used for
LLM research reference
Time period
arXiv 2024/07/31; Discord LinkedIn mid harvested 2026-09-15
Author type
academic/industry (see abs)
Added
Sep 15, 2026
Verified
Sep 15, 2026
Research status
done
Found via
#random-papers

From the source

Published
Jul 31, 2024
Last revised
Dec 30, 2024
arXiv categories
cs.LG, cs.AI
Citations
1,029 (81 influential)
References
58

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

Scaling the amount of compute used to train language models has dramatically improved their capabilities. However, when it comes to inference, we often limit models to making only one attempt at a problem. Here, we explore inference compute as another axis for scaling, using the simple technique of repeatedly sampling candidate solutions from a model. Across multiple tasks and models, we observe that coverage -- the fraction of problems that are solved by any generated sample -- scales with the number of samples over four orders of magnitude. Interestingly, the relationship between coverage and the number of samples is often log-linear and can be modelled with an exponentiated power law, suggesting the existence of inference-time scaling laws. In domains like coding and formal proofs, where answers can be automatically verified, these increases in coverage directly translate into improved performance. When we apply repeated sampling to SWE-bench Lite, the fraction of issues solved with DeepSeek-Coder-V2-Instruct increases from 15.9% with one sample to 56% with 250 samples, outperforming the single-sample state-of-the-art of 43%. In domains without automatic verifiers, we find that common methods for picking from a sample collection (majority voting and reward models) plateau beyond several hundred samples and fail to fully scale with the sample budget.

Tags

arxiv2407-21787reasoning-rllinkedin-thread

Topics

reasoning / RL

Research notes

  • From LinkedIn thread (Discord mid 1321331200874254399). Primary: https://www.linkedin.com/posts/philipp-schmid-a6a2bb196_test-time-compute-scaling-but-in-simple-activity-7276162046050668544-bYxt?utm_source=share&utm_medium=member_desktop.

Cites, within this collection 1

Cited by, within this collection 15

Similar entries