ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Major

Position: Scaling LLM Agents Requires Asymptotic Analysis with LLM Primitives

Elliot Meyerson, Xin Qiu

ELVIA analysis

Independent review pending

The first reported finding concerns “Total debugging speedup does not follow from the debugger-only speedup”. The total-cost speedup requires an explicit joint-growth or debugger-dominance regime. The broad benefit of decomposition and the component cost estimates survive.

Problem 1. Total debugging speedup does not follow from the debugger-only speedup

Major
Evidence and reasoning

Problem statement

The total debugging speedup has order Θ(bk2)\Theta(bk^{2}) under the stated regime.

Grant independent functions, n=kℓ,n=k\ell, at most one bug per function, b≥1,b\ge1, perfect specifications, reliable QA/debugging roles and retained naive conversation history. Keep both model sizes mq,mdm_q,m_d in total costs.

Proof

Claim and dependency. Table 1 (p. 4) summarizes a total improvement of Theta(b k2k^{2}); Section 3.2.3 and Eq. (11) (p. 6) use the same order to motivate scaling to large codebases. This is one of the paper’s three concrete demonstrations of its central analytical approach.

Grant the paper’s assumptions: k independent functions, l tokens per function, n=k l, b bugs with at most one per function, perfect specifications, reliable QA and debugging agents, retained conversation history in the naive system, and model sizes mqm_q and md.m_d. Let b≥1.b\geq1. Equations (7) and (10) imply:

Cnaive=Θ(mqb2kl+mdb2k2l2),Cfocused=Θ(mqkl+mdbl2),Rtotal=Θ ⁣(b2k(mq+mdkl)mqk+mdbl).\begin{aligned} C_{\mathrm{naive}}&=\Theta(m_q b^2kl+m_d b^2k^2l^{2}),\\ C_{\mathrm{focused}}&=\Theta(m_qkl+m_dbl^{2}),\\ R_{\mathrm{total}}&=\Theta\!\left(\frac{b^2k(m_q+m_dkl)}{m_qk+m_dbl}\right). \end{aligned} The component ratios are correctly Theta(b2b^{2}) for QA and Theta(b k2k^{2}) for the debugger. A component’s ratio does not automatically equal the ratio of the sums. In particular, the focused algorithm still scans every function.

Decisive admissible family. Fix b=l=mq=mdm_q=m_d=11 (normalized constant model sizes) and let k grow. Then n=k>=b and the debugging model is no smaller than QA. The naive cost is Theta(k2k^{2}); the focused QA scan costs Theta(k), while its single repair costs Theta(11). Thus the total improvement is Theta(k), not the Theta(k2k^{2}) instance of the displayed claim. This is an asymptotic factor-k discrepancy, not a hidden-constant difference. With l=log_2 k and the other quantities fixed, the discrepancy persists: the total improvement is Theta(k log k)=o(k2k^{2}).

Counterevidence and limits. The prose says debugger dominance is likely, and the per-debugger improvement is valid. Both are retained. However, n>=b and the intuitive difficulty of debugging do not entail debugger dominance in the focused system. No observed industrial-code experiment is refuted; this is an internal cost-aggregation failure in the motivating example.

Evidence: independent_formal_checks.py and independent_formal_results.json give representative exact operation counts and the sparse-bug families; primitive_framework_memo.json records an independent assumption challenge. These are reviewer-created mathematical checks, not author code or measured LLM runtimes.

□\square

Possible revision

State the general ratio, or impose mdbℓ=Ω(mqk).m_db\ell=\Omega(m_qk). Together with b≤k,b\le k, ℓ≥1,\ell\ge1, this sufficient condition recovers Θ(bk2).\Theta(bk^{2}). The corrected symbolic regime is checked; it is not measured runtime or deployment validation.

Problem 2. Printed local-mutation loop can remain in a closed nonterminal state

Major
Evidence and reasoning

Problem statement

The printed local mutation loop has finite expected cost Θ(mukℓ2)\Theta(m_uk\ell^{2}) for arbitrary initialization and gives the advertised exponential separation.

Correct tokens are A,B,A,B, incorrect tokens a,b.a,b. A mutation selects equiprobably from A↦{B,a},A\mapsto\{B,a\}, B↦{A,b},B\mapsto\{A,b\}, a↦{A,b},a\mapsto\{A,b\}, b↦{B,a}.b\mapsto\{B,a\}. Every selected token changes, each output is correct with probability 1/2,1/2, and blocks/calls are independent. Grant reliable mutation, free decomposition/evaluation and the stated primitive cost.

Proof

Claim and dependency. Section 3.3.1 (p. 6) permits an arbitrary initial solution. Section 3.3.2 gives expected local cost Theta(m_u k l2l^{2}), and Eq. (14) and Table 1 give improvement Theta(22^k k). The local pseudocode initializes i=0i=0 and increments i only after a strict fitness improvement. Direct visual inspection of p. 4 confirms that indentation.

The following exact counterexample grants independent blocks and calls, a reliable mutation role, free decomposition and evaluation, and the stated primitive cost. It even ensures that every selected block actually changes.

Let k=2k=2 and l=1.l=1. Tokens A and B are correct; a and b are incorrect. Fitness is the number of correct blocks. Mutate a token uniformly to one of the two outcomes below:

Input token | Outcome 11 (probability 1/21/2) | Outcome 22 (probability 1/21/2)

A | B | a

B | A | b

a | A | b

b | B | a

Every mutation alters the selected token, and each output is correct with probability exactly 1/2.1/2. Take the permitted nonoptimal initial state x=(A,a), with fitness 1<21<2 and index i=0.i=0.

Local proposal | Fitness | Printed-loop action

(B,a)(B,a) | 11 | Reject: no strict improvement; x and i unchanged.

(a,a)(a,a) | 00 | Reject: fitness decreases; x and i unchanged.

These are all possible local transitions. The state (x=(A,a),i=0i=0) is therefore closed and nonterminal. The algorithm never reaches the incorrect second block, terminates with probability zero, and has infinite expected local cost. This is an exhaustive state argument, not a simulation timeout.

This failure extends to every k>=2: initialize x=(A,a,...,a), so the first block is correct and at least one later block is incorrect. Every local proposal at index zero is neutral or worse, and the state remains fixed. Thus the counterexample is an asymptotic family, not a finite-size exception. Under the independent kernel, global success has conditional probability 22^(-k) at every attempt, giving expected 22^k calls from a nonoptimum.

Under the same kernel, global mutation produces the optimal pair (B,A) with probability 1/4.1/4. Every unsuccessful proposal has fitness at most 11 and is rejected, so each attempt restarts from the same state. Its expected hitting time is exactly four calls. The advertised local advantage therefore fails on an allowed instance.

Why Major. The finite-cost guarantee and dramatic separation are central analytical evidence for the paper’s position. The defect directly invalidates the printed algorithm’s guarantee under its declared initialization scope. Its small repair size does not make that dependency peripheral. The finding does not say local search or decomposition is generally ineffective.

The global 22^k calculation also presumes a nonoptimal initial solution and suitable independent fair correctness across blocks and attempts; marginal 1/21/2 probabilities alone are insufficient. The counterexample already grants the stronger intended independence. The phrase super-exponential on p. 7 should be changed: k 22^k is exponential times a polynomial in k. This terminology point is recorded with F2, not counted as a second finding.

Evidence: independent_source_p4.png, independent_formal_checks.py, independent_formal_results.json, independent_formal_memo.json, and primitive_repair_limits.json. The proof script enumerates the complete transition kernel and uses exact rational success probabilities.

□\square

Possible revision

Add and cost an available correctness test that skips correct blocks; the decomposition oracle alone does not provide it. For rr initially incorrect blocks, the repaired procedure takes 2r2r expected mutation calls and cost Θ(murℓ2),\Theta(m_ur\ell^{2}), with the advertised worst-case order when r=Θ(k).r=\Theta(k). Alternatively justify all-incorrect initialization and its construction cost. This is a conditional algorithmic repair; k2kk2^k is exponential times polynomial, not super-exponential.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

This is a huge speed-up, and highlights the power of breaking down solutions into the minimal possible bite-sized chunks that can be precisely specified for agents to operate on.

Controller-supplied PMLR 267 ICML2025 publisher PDF, 13 pages; PDF p. 6

Actual review scope

The recorded inspection concerns these source locations: Table 1 p. 4; Section 3.2.3 Eq. 11 p. 6; total costs Eqs. 7 and 10 p. 5; Table 1 p. 4; arbitrary initial solution in Section 3.3.1 p. 6; Eqs. 13-14 pp. 6-7.

Submit an author revisionContribute a review