ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: Position: Constants are Critical in Regret Bounds for Reinforcement Learning — Problem 3: Official released implementation computes the wrong probability-weighted variance and differs from the displayed algorithm

Original paper: Simone Drago; Marco Mussi; Alberto Maria Metelli. Position: Constants are Critical in Regret Bounds for Reinforcement Learning. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/drago25c.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: Pinned official repo agents.py:78-84,215-217 and related initialization/bonus lines

Question: What does the recorded analysis establish about “Official released implementation computes the wrong probability-weighted variance and differs from the displayed algorithm”?
Bounded finding:
The released variance statistic is mathematically different from the required probability-weighted variance, with the exact uniform-state witness above. Historical empirical impact remains unestablished.

Recorded check:
The official repository linked by the publisher is pinned to commit `3434b55b735d674d144eefce392b545425816ca1`. In agents.py, UCBVI.newEpisode (lines 79, 83) and MVP.newEpisode (line 216) compute population variance across the entries \(p_i\) \(V_i\). The formulas in the paper require the variance of V under probability weights p.
\[\mu=\sum_i p_iV_i,\qquad \operatorname{Var}_{p}(V)=\sum_i p_i(V_i-\mu)^2.\]
Code:
Released statistic: np.std(Phat[s,a,:] * Vstar[:,h+1])**2
Take p=(1/2,1/2), V=(1,0), admissible next-stage values with deterministic rewards and H>=2. The required variance is 1/4. The entrywise products are (1/2,0), whose population variance is 1/16. More generally, for uniform p over S states, the released statistic is the required variance divided by \(S^{2}\); the variance-dependent bonus component is therefore divided by S. This is a mathematical function mismatch, not a numerical tolerance issue.
Item | Inspected release | Paper specification
Terminal UCBVI bonus | Positive B/C still computed; terminal stage-count slot never updated | Footnote 5: zero bonus at stage H
UCBVI initialization/cap | H at all stages | Algorithm 1 starts at H-h+1
UCBVI log factor | log(5SAKH)=log(5SAT) | L=log(5HSAT/delta)
CH flag | improved=True gives 7; False gives 2 | The refined coefficient is 2
BF constant choices | 4, 7 and 84^2 versus 8, 14 and 100^2 | These coefficient choices agree
Minor is assigned to the confirmed released-code discrepancy; the paper-level numerical effect is a separate Needs Evidence item. The released computation is not a faithful evaluation of the displayed weighted-variance bonus, and its confidence setting differs. Because both BF variants share several differences, the effect on their empirical ranking or ratio cannot be inferred from the algebra.
The weighted-variance expression above is a precise local correction and was checked by independent rational arithmetic. It is not a validated repair of the entire implementation. No author file was edited or executed. Establishing the reported empirical effect requires the generating revision and raw results, followed by a corrected comparison if authorized.
The original implementation is preserved for static replay.

Case-wide limitations:
- 0070-F1 — The central optimism proof substitutes a strictly larger correction bonus — Alternatives and counterevidence: The main theorem, repeated lemma correction and released correction all omit the extra exterior L; L^2 within b' does not absorb it
- 0070-F1 — The central optimism proof substitutes a strictly larger correction bonus — Alternatives and counterevidence: The cap is active in a one-state MDP, so H^2/H^3 variants and minimum/expectation placement do not change the witness
- 0070-F1 — The central optimism proof substitutes a strictly larger correction bonus — Alternatives and counterevidence: The future gap is zero, so retaining that nonnegative term cannot rescue the inequality
- 0070-F1 — The central optimism proof substitutes a strictly larger correction bonus — Alternatives and counterevidence: Azar 2017 contains a related inherited missing-L variance-bound step; historical lineage is explicitly recorded
- 0070-F1 — The central optimism proof substitutes a strictly larger correction bonus — Not verified: No complete repaired algorithm or theorem
- 0070-F2 — Invalid reciprocal-root summation constants in the central regret derivations — Not verified: A complete repaired probabilistic proof or final theorem; stage-counter aggregation and differing H powers still require reconciliation.
- 0070-F2 — Invalid reciprocal-root summation constants in the central regret derivations — Alternatives and counterevidence: Existing downstream slack can absorb some corrected coefficients; no blanket claim that all final constants must increase
- 0070-F2 — Invalid reciprocal-root summation constants in the central regret derivations — Alternatives and counterevidence: D.9 stage-specific harmonic sums cannot simply be pooled without the stage index, but the final H^2 correction may absorb that factor
- 0070-F2 — Invalid reciprocal-root summation constants in the central regret derivations — Alternatives and counterevidence: F Eq.(70)-(71) has threshold-scale algebra concerns for which the cap offers a possible repair; not counted as a separate theorem failure
- 0070-F3 — Official released implementation computes the wrong probability-weighted variance and differs from the displayed algorithm — Alternatives and counterevidence: BF/BFI constants 8,14,100^2 versus 4,7,84^2 match the formulas
- 0070-F3 — Official released implementation computes the wrong probability-weighted variance and differs from the displayed algorithm — Alternatives and counterevidence: Old Azar algorithm explains the constant H cap but does not establish agreement with the displayed 2025 algorithm
- 0070-F3 — Official released implementation computes the wrong probability-weighted variance and differs from the displayed algorithm — Alternatives and counterevidence: Shared differences across BF variants prevent inferring their comparative performance effect
- 0070-F3 — Official released implementation computes the wrong probability-weighted variance and differs from the displayed algorithm — Not verified: No author code edited, executed or benchmarked; complete implementation repair and performance comparison not validated
- 0070-U1 — Counterevidence: Released differences do not prove which settings generated published experiments.
- 0070-U2 — Limit: Scalar diagnostic only. No admissible UCBVI trajectory with its actual bonus/count/event constraints was constructed to falsify the resulting lemma.
- 0070-U2 — Counterevidence: Additional algorithmic structure may matter; the same reduction appears in Azar 2017 supplement Lemma 3.
- Limits: No author code executed and no published curve or ratio independently reproduced
- Limits: Every cited bound and experiment was not independently rederived
- Limits: Global probability of every precisely printed event and all visit-count timing conventions not recertified
- Limits: No claim that D.7's probabilistic statement or final theorem has been disproved
- Limits: Full repaired counting argument not verified
- Limits: Conditional slack calculation is not theorem certification
- Limits: No independent review or refutation of the complete cited papers
- Missing materials: Authenticated generating revision and raw results for the published curves and 1.87 +/- 0.03 statistic
- Missing materials: OpenReview revisions and attachments behind verification challenge
- Missing materials: A complete corrected proof reconciling bonus, counters, signed weights and concentration allocation
- Not performed: Author-code execution or import
- Not performed: Empirical regret reruns or corrected algorithm benchmarking
- Not performed: Installation, paid API/model work or publication
- Not performed: Global recertification of every concentration event
- Not performed: Exhaustive bibliography verification
- Not performed: Human scientific acceptance
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p3
Source report index: 3

Original source excerpts (verbatim):
However, our analysis provides a smaller value for the constants. Moreover, observe how the minimum value of \(T\) for which the regret bound holds according to our analysis is \(H\) times higher than the one reported in the original theorem.
Source: Published ICML 2025 proceedings PDF (PMLR 267)
Locator: PDF p. 3
Source PDF SHA-256: 89c52167bb0bc6eb54e2c40dd407f6516ae53fcf9b39a89765f3779edecc1620

Review status: Independent review pending
Case: icml2025-0070-position-constants-are-critical-in-regret-bounds-for-reinforcement
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0070-position-constants-are-critical-in-regret-bounds-for-reinforcement.html#problem-3
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0070-position-constants-are-critical-in-regret-bounds-for-reinforcement/records/icml2025-0070-position-constants-are-critical-in-regret-bounds-for-reinforcement.r1.json
Canonical record SHA-256: 1a343a0bac51524fa0f389275847a5dfb6db042be2f447911b7a5305824233e5
The page follows the latest revision; the versioned record identifies this snapshot.