ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Major

Safety-Polarized and Prioritized Reinforcement Learning

Ke Fan, Jinpeng Zhang, Xuefeng Zhang, Yunze Wu, Jingyu Cao, Yuan Zhou, Jianzhu Ma

ELVIA analysis

Independent review pending

Theorem 4.4’s stated conditions do not ensure its advertised optimal convergence. A finite MDP with a fixed stationary behavior policy satisfies every printed condition, yet the learned greedy policy remains suboptimal forever. This is a Major finding. The exact reachability iteration remains supportable. Additional local issues concern released importance-weight broadcasting, numerical interpretations, the Circle safety specification, and a reproduction command. Historical experiment effects and full repairs are distinguished from the demonstrated results. Scientific adjudication remains pending.

Problem 1. Global step-size assumptions do not imply sampled optimal convergence

Major
Evidence and reasoning

Problem statement

Inspection subject recorded in the report

Global step sum diverges, square sum=1/768+π2/6−1\mathrm{sum} =1/768+\pi^{2}/6-1 is finite and beta tends to zero. Total step weight at xx is only1/16. All safety values remain0; masks are full and κ\kappa-gap condition is vacuous. QQ in[0,0,22] invariant; QQ(x,x,gg)<=1/81/8 while QQ(x,x,bb)>=15/3215/32 on every sample path. True QQ values are4/3,1/31/3 at xx and2/3 at y.

Finite states xx,y with two actions g,g,b,b, deterministic alternation under both; γ=1/2,ρ\gamma =1/2, \rho concentrated at x;x; unsafe set empty (allowed). Reward r(x,x,gg)=1,1, all others zero. Fixed stationary uniform independent behavior; all four pairs have limiting frequency 1/41/4 almost surely. ψ0=0;\psi_0=0; Q0Q_0(x,x,bb)=1/21/2 and others zero; no zero-QQ initialization requirement. β2n=2−(n+5),\beta_{2n}=2^{-(n+5)}, beta_(2n2n+1+1)=1/(n+22).

Proof

Theorem 4.4, pp. 4–5, asserts convergence of the sampled reachability and QQ updates, and of the learned policy to a MaxSafe optimum. It assumes infinite visitation of every state-action pair, global conditions 0<βt≤1,∑tβt=∞,∑tβt2<∞,0<\beta_t\leq1,\qquad \sum_t\beta_t=\infty,\qquad \sum_t\beta_t^{2}<\infty, and a positive mask tolerance κ\kappa smaller than half the gap to unsafe actions. These conditions do not ensure sufficient cumulative learning at each updated coordinate.

Parameters and verification of every condition. Take two states x,yx,y and two actions g,bg,b at each. Both actions alternate the states deterministically: P(y∣x,a)=P(x∣y,a)=1.P(y\mid x,a)=P(x\mid y,a)=1. Set Su=∅,ρ(x)=1,γ=1/2,r(x,g)=1,S_u=\varnothing,\quad \rho(x)=1,\quad \gamma=1/2,\quad r(x,g)=1, and set all other rewards and all costs to zero. Use the fixed stationary behavior policy πb(g∣s)=πb(b∣s)=1/2,\pi_b(g\mid s)=\pi_b(b\mid s)=1/2, with independent draws. Each of the four state-action pairs is visited infinitely often almost surely, in fact with limiting frequency 1/4.1/4.

For n≥0,n\geq0, set the deterministic global step sizes β2n=2−(n+5),β2n+1=1n+2.\beta_{2n}=2^{-(n+5)},\qquad \beta_{2n+1}=\frac1{n+2}. They lie in (0,1],(0,1], tend to zero, and satisfy both printed sum conditions: the odd subsequence has divergent harmonic sum, while the sum of squares is 1/768+π2/6−1<∞.1/768+\pi^{2}/6-1<\infty. But all visits to xx occur at even times, and ∑n≥0β2n=116.\sum_{n\geq0}\beta_{2n}=\frac1{16}. Initialize ψ0≡0,\psi_0\equiv0, Q0(x,b)=1/2,Q_0(x,b)=1/2, and every other QQ-value at zero. The theorem specifies zero initialization for ψ,\psi, not for Q.Q.

All policies are safest with unsafe probability zero, so the stated availability of many safest policies holds. The empty unsafe set is allowed by Su⊆S.S_u\subseteq S. Every ψt\psi_t remains zero and every learned mask is the entire action set. The gap condition (1515) is satisfied vacuously because there are no excluded actions, for any κ>0.\kappa>0. Thus the update reduces exactly to the printed QQ-learning update without a masking complication.

The interval [0,2][0,2] is invariant for every QQ-value, since rewards are in [0,1][0,1] and each target is at most 1+(1/2)2=2.1+(1/2)2=2. Therefore, on every sample path, Qt(x,g)≤2∑n≥0β2n=18.Q_t(x,g)\leq2\sum_{n\geq0}\beta_{2n}=\frac18. For b,b, all targets are nonnegative. The product over the times when bb is actually updated is no smaller than the product over all even times, so Qt(x,b)≥12∏n≥0(1−β2n)≥12(1−∑n≥0β2n)=1532.Q_t(x,b)\geq\frac12\prod_{n\geq0}(1-\beta_{2n}) \geq\frac12\left(1-\sum_{n\geq0}\beta_{2n}\right) =\frac{15}{32}. The last inequality follows first for finite products of numbers in [0,1][0,1] and then by a limit. Consequently the learned greedy policy strictly prefers bb forever.

That policy earns zero reward. A safest policy choosing gg at xx instead earns V∗(x)=1+γ2+γ4+⋯=43.V^*(x)=1+\gamma^{2}+\gamma^{4}+\cdots=\frac43. The true optimal action values are Q∗(x,g)=4/3,Q^*(x,g)=4/3, Q∗(x,b)=1/3,Q^*(x,b)=1/3, and Q∗(y,⋅)=2/3.Q^*(y,\cdot)=2/3. Hence both claimed value convergence and claimed policy optimality fail. ◻

This counterexample uses a stationary behavior policy, deterministic step sizes, bounded initialization, and the exact safety mask. It does not depend on nonstationary exploration, rare state visitation, approximation error, or terminal-state interpretation. The step sequence is not nonincreasing, but monotonicity is not a printed assumption; even the stated diminishing-to-zero property holds.

Appendix B.4, pp. 14–16, applies a synchronous vector stochastic-approximation lemma to a coordinate update, then invokes classical QQ-learning convergence. The missing local learning condition invalidates that inference. A necessary repair is, for each (s,a),(s,a), ∑t:(st,at)=(s,a)βt=∞,∑t:(st,at)=(s,a)βt2<∞.\sum_{t:(s_t,a_t)=(s,a)}\beta_t=\infty, \qquad \sum_{t:(s_t,a_t)=(s,a)}\beta_t^{2}<\infty. An appropriate per-visit schedule would exclude this counterexample. A full repair also requires a valid asynchronous argument identifying the reachability limit; that complete theorem is not certified here.

The independent check independently evaluated the bounds and ran a reviewer-owned 2000-step illustration with seed 230.230. It produced Q(x,g)=0.0561212Q(x,g)=0.0561212 and Q(x,b)=0.4971123,Q(x,b)=0.4971123, with all four coordinates visited 477477–523523 times. This finite computation illustrates the exact proof; it does not replace the infinite-time argument or reproduce author experiments. Evidence: `check.py`/`calc.json`, original pages 4–5/14–1616 and their selected renders. The invalid guarantee is a central advertised contribution, supporting Major regardless of the potential simplicity of a repair.

□\square

Possible revision

Require per-pair divergent cumulative step sizes and appropriate asynchronous convergence assumptions/proof. This necessary repair excludes the example; full general SA-REF repair is not verified.

Problem 2. Classic-control importance weighting broadcasts over the batch

Minor
Evidence and reasoning

Problem statement

Inspection subject recorded in the report

Broadcast multiplication yields(B,B), loss mean⁡(ei2)\operatorname{mean}(e_i^{2})*mean⁡(wj)\operatorname{mean}(w_j) rather than mean⁡(wi∗ei2).\operatorname{mean}(w_i*e_i^{2}). For e=(1/4,3/4),w=(1,1/2),e=(1/4,3/4),w=(1,1/2), actual loss15/64 versus11/64; gradients(3/16,3/16,9/169/16) versus(1/4,1/4,3/83/8). Static shapes and primary PyTorch documentation checked; scalar arithmetic independently executed.

Safety residuals have shape(B,11); sampled weights have shape(B), with B>1B>1 and nonconstant valid weights. Example current values(.30,.30,.80.80), targets(.05,.05,.05.05) yield residuals(.25,.25,.75.75) in admissible bounds.

Proof

Section 5.2, Eq. (20)–(21), and Algorithm 1 prescribe transition-specific importance weights. The preserved classic-control SP2/SP3 implementations broadcast those weights across the batch instead.

In `utils_classic_control.py`, lines 6161 and 7070–73,73, weights have shape (B).(B). In `replay_buffer.py`, lines 146146–150150 and 177177–187,187, actions/costs/terminal flags are columns of shape (B,1)(B,1) and weights retain shape (B).(B). Consequently gathered safety residuals have shape (B,1)(B,1) in `algos/sp2dqn.py`, lines 197197–216,216, and `algos/sp3dqn.py`, lines 199199–218.218. Their multiplication broadcasts to (B,B)(B,B) under the documented semantics [torch]: Lactual=1B2∑i,jei2wj=(1B∑iei2)(1B∑jwj),Lintended=1B∑iwiei2.L_{\rm actual}=\frac1{B^{2}}\sum_{i,j}e_i^2w_j =\left(\frac1B\sum_i e_i^{2}\right)\left(\frac1B\sum_jw_j\right), \qquad L_{\rm intended}=\frac1B\sum_iw_i e_i^2. For admissible safety residuals e=(1/4,3/4)e=(1/4,3/4) and weights w=(1,1/2),w=(1,1/2), these are respectively 15/6415/64 and 11/64.11/64. The residual gradients are (3/16,9/16)(3/16,9/16) instead of (1/4,3/8).(1/4,3/8). For example, current safety values (.30,.80)(.30,.80) and targets (.05,.05)(.05,.05) realize those residuals within [0,1].[0,1]. With exponent θ=.4,\theta=.4, sampling probabilities in ratio 22.52^{2.5} yield the stated normalized weight ratio; priorities need not equal the current residuals after network updates.

The error removes sample-specific correction while retaining prioritized sampling and a common batch multiplier. The optional SP3 weighted QQ loss has the same shape problem. Reshaping weights to (B,1),(B,1), or squeezing residuals to (B),(B), restores the intended local algebra.

Counterevidence limits the scope: `agents/sp_perdqn.py`, lines 184/189/191, squeezes highway residuals to (B)(B) and applies weights correctly. Published ACC/Circle runs are not bound to this exact code/configuration. No benchmark impact or historical repair is established. The calculation used reviewer-owned scalar arithmetic; PyTorch was absent in the checked execution runtimes, so no tensor-library execution is claimed. Evidence: hash-bound source excerpts in `code.json`, `calc.json`, and the primary broadcasting documentation.

□\square

Possible revision

Reshape weights to(B,11) or squeeze residuals to(B); local algebra verified, no full author training or empirical repair.

Problem 3. Numerical summaries and blanket dominance contradict the tables

Minor
Evidence and reasoning

Problem statement

Inspection subject recorded in the report

Table1 proposed row means .975,.975,.738333.738333 support .98,.98,.74,.74, not prose .90,.90,.79..79. Table4 has .95,.95,.73..73. TwoWay favors PER(.98>.88.98>.88), Merge favors SPOM(.95>.94.95>.94). TwoWay reward10.124/10.520 is below SafeQ10.636; SPOM Roundabout crash.167 exceeds SafeQ.090.

Compare printed conditions and means; no statistical-significance inference from small differences.

Proof

Section 6.2, p. 8, and Appendix C.3.1, p. 20, give overall SWU scores .90/.79.90/.79 for SPOM_PER/SPOM. Tables 1/4 instead give .98/.74.98/.74 and .95/.73..95/.73. The p. 8 prose also interchanges the TwoWay and Merge winners, and p. 20 claims both methods beat SafeQ in both reward and crash rate across all tasks.

Averaging the six displayed Table 1 cells gives .975.975 and .738333,.738333, consistent with its rounded overall scores. Table 1 favors SPOM_PER in TwoWay (.98.98 versus .88.88), but SPOM in Merge (.95.95 versus .94.94). Table 5 directly contradicts blanket metric-wise dominance: TwoWay rewards are 10.12410.124 and 10.52010.520 versus SafeQ’s 10.636,10.636, while Roundabout crash rate for SPOM is .167.167 versus SafeQ’s .090..090.

These are local interpretation/reporting errors, not evidence of fabrication or failure of the overall SWU ranking. The tables retain first and second overall places for the proposed methods. Importantly, the Table 1 versus Table 4 Roundabout change is not itself a contradiction: SWU uses the smallest crash rate among included comparators. Adding RESPO changes that reference from approximately .055.055 to .047,.047, rescaling the scores by about .855..855. Evidence: `calc.json`, original pages 7–8/20–2121 and their renders.

□\square

Possible revision

Use table-supported summaries and explicit reward/safety tradeoffs. No corrected raw aggregate or significance claim.

Problem 4. Circle unsafe-set inequality reverses the stated safety classification

Minor
Evidence and reasoning

Problem statement

Inspection subject recorded in the report

Printed Su=∣x∣≤2.5S_u={\left|x\right|\le 2.5} labels x=0x=0 unsafe and x=3x=3 safe; released cost/termination uses ∣x∣\left|x\right|>2.5.2.5.

xmax⁡=2.5;x_{\max}=2.5; intended constraint is to remain inside the two walls.

Proof

Appendix C.1, p. 18, says the robot must stay inside ∣x∣≤xmax⁡,|x|\leq x_{\max}, but defines Su={s:∣x∣≤xmax⁡}S_u=\{s:|x|\leq x_{\max}\} and gives the ordinary motion reward only outside Su.S_u.

At x=0,x=0, xmax⁡=2.5,x_{\max}=2.5, the printed formula labels an interior state unsafe; at x=3x=3 it labels an exterior state safe. This reverses the essential safety-cost classification and terminal/reward interpretation if the displayed MDP is implemented literally.

The released `envs/circle.py`, lines 6565–70,70, uses ∣x∣>xmax⁡|x|>x_{\max} for crash/cost, consistent with the prose. Thus the corrected set is Su={s:∣x∣>xmax⁡}S_u=\{s:|x|>x_{\max}\} for that environment, including the safe boundary. The source is counterevidence against an inversion in the actual experiments. The local specification is wrong; the historical experiments are not thereby invalidated. The current configuration’s crash reward is separately −10,-10, whereas the paper prints −1;-1; historical settings remain unresolved.

□\square

Possible revision

For the stated/source environment use SuS_u={∣x∣\left|x\right|>2.52.5}; boundary at equality is safe. This classification is verified; historical complete environment repair not claimed.

Problem 5. README Circle command selects a reward-shaping baseline

Minor
Evidence and reasoning

Problem statement

Inspection subject recorded in the report

Default algo is priorrewsdqn and the entrypoint dispatches to PriorRewsDQN. Its main block does not parse overrides. README claims the command is SPOM_PER.

Run the advertised bare entrypoint with preserved defaults, no unstated file changes.

Proof

The README says that bare `python main_classic_control.py` launches SPOM_PER on Circle. Its actual default selects `priorrewsdqn`.

The entrypoint reads `configs_classic_control/default.yaml`, whose line 66 sets that algorithm, and dispatches to `PriorRewsDQN` in lines 137137–138.138. The executed entrypoint has no command-line override parser. This is a distinct reward-shaping baseline, not the advertised SPOM_PER path. The separately documented Merge command explicitly chooses `sp_perdqn` and is consistent. Correct the classic-control instruction/configuration mapping and bind the intended settings; no author execution or complete launch repair was performed. Evidence: `code.json` and the preserved README/entrypoint/default configuration.

□\square

Possible revision

Provide correct explicit configuration/launch mapping; no full author-code launch performed or certified.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

Similarly, in Circle, SPOM PER and SPOM achieve significantly lower crash rates than Recovery while maintaining higher rewards.

Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 20

Actual review scope

The recorded inspection concerns these source locations: Theorem 4.4, PDF pages 4-5; Equations 11,13,14; Appendix B.4 pages 14-16; Paper Section 5.2 and Algorithm 1; utils_classic_control.py61,70-73; replay_buffer.py146-150,177-187; algos/sp2dqn.py197-216 and sp3dqn.py199-218; PDF p. 8 Section 6.2 and p. 20 AppendixC3.1; Tables1,4,5; PDF p. 18 AppendixC1; envs/circle.py65-70; README27-30; configs_classic_control/default.yaml6; main_classic_control.py137-138.

Submit an author revisionContribute a review