Papers › Inference Scaling fLaws: The Limits of LLM Resampling with Imperfect Verifiers

Inference Scaling fLaws: The Limits of LLM Resampling with Imperfect Verifiers

26 Nov 2024arXiv:2411.17501archive 2025-07-28

Benedikt Stroebl, Sayash Kapoor, Arvind Narayanan

Recent research has generated hope that inference scaling could allow weaker language models to match or exceed the accuracy of stronger models, such as by repeatedly sampling solutions to a coding problem until it passes unit tests. The central thesis of this paper is that there is no free lunch for inference scaling: indefinite accuracy improvement through resampling can only be realized if the "verifier" (in this case, a set of unit tests) is perfect. When the verifier is imperfect, as it almost always is in domains such as reasoning or coding (for example, unit tests have imperfect coverage), there is a nonzero probability of false positives: incorrect solutions that pass the verifier. Resampling cannot decrease this probability, so it imposes an upper bound to the accuracy of resampling-based inference scaling even with an infinite compute budget. We find that there is a very strong correlation between the model's single-sample accuracy (i.e. accuracy without unit tests) and its false positive rate on coding benchmarks HumanEval and MBPP, whose unit tests have limited coverage. Therefore, no amount of inference scaling of weaker models can enable them to match the single-sample accuracy of a sufficiently strong model (Fig. 1a). When we consider that false positives have a negative utility compared to abstaining from producing a solution, it bends the inference scaling curve further downward. Empirically, we find that the optimal number of samples can be less than 10 under realistic assumptions (Fig. 1b). Finally, we show that beyond accuracy, false positives may have other undesirable qualities, such as poor adherence to coding style conventions.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2411.17501")

Code

Syntology Ran 1 of 13 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

benediktstroebl/inference-scaling-limits officialmentioned on GitHubMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 1 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran
12unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from benediktstroebl/inference-scaling-limits. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

truncatefn benediktstroebl/inference-scaling-limits/race/codeeval/execution_utils.py official repository ran fingerprinted MIT (permissive) · 22849627aa42fa47 · report
capitalize_after_underscore benediktstroebl/inference-scaling-limits/race/codeeval/evaluate_pipeline_evalplus.py official repository unverified MIT (permissive) · 52e3021e90c7e1f4 · report
compatible_eval_result benediktstroebl/inference-scaling-limits/race/codeeval/evaluation_utils_evalplus.py official repository unverified MIT (permissive) · 0fe1c97ce512eef9 · report
construct_prompt_customized benediktstroebl/inference-scaling-limits/race/codegen/prompts.py official repository unverified MIT (permissive) · f77f0258d19b7231 · report
construct_prompt_evalplus benediktstroebl/inference-scaling-limits/race/codegen/prompts.py official repository unverified MIT (permissive) · 7d55790d6fc57e9d · report
construct_prompt_leetcode_efficiency benediktstroebl/inference-scaling-limits/race/codegen/prompts.py official repository unverified MIT (permissive) · 5b9243b85fe4c3ad · report
estimate_pass_at_k benediktstroebl/inference-scaling-limits/race/codeeval/evaluation_utils_evalplus.py official repository unverified MIT (permissive) · 5a283b50e4b14e37 · report
extra_eos_for_direct_completion benediktstroebl/inference-scaling-limits/race/codegen/model.py official repository unverified MIT (permissive) · cff3266598686087 · report
extract_class_names benediktstroebl/inference-scaling-limits/race/codeeval/metrics_utils.py official repository unverified MIT (permissive) · 9f63a082cf9ac9d7 · report
extract_function_names benediktstroebl/inference-scaling-limits/race/codeeval/metrics_utils.py official repository unverified MIT (permissive) · c496a7988b94902a · report
extract_variable_names benediktstroebl/inference-scaling-limits/race/codeeval/metrics_utils.py official repository unverified MIT (permissive) · 93545955a0c6e69e · report
is_floats benediktstroebl/inference-scaling-limits/race/codeeval/evaluation_utils_evalplus.py official repository unverified MIT (permissive) · 0b9209ad7ddba928 · report
trusted_exec benediktstroebl/inference-scaling-limits/race/codeeval/execution_utils_evalplus.py official repository unverified MIT (permissive) · 9e1a929f64001008 · report

Tasks

HumanEval

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections