Abstract: The benchmark’s combinatorial state counts and approximately 22-step optimal-distance reference are independently confirmed. Its central efficiency tables, however, report incompatible values for the same configurations. Static inspection of the pinned public releases additionally establishes false success flags after reset and a Dreamer success statistic normalized by the wrong denominator. These affect the benchmark’s core outcome semantics; their exact influence on historical published scores remains unverified. Several broader numerical and generalization claims require additional provenance. The overall assessment is Major; scientific adjudication remains pending.

Author: AI-assisted technical review

Title: Technical Verification of Sliding Puzzles Gym

# Identity, sources, and scope

This report reviews B. L. M. de Oliveira, L. G. B. Martins, B. Brandao, M. L. da Luz, T. W. de L. Soares, and L. C. Melo, Sliding Puzzles Gym: A Scalable Benchmark for State Representation in Visual Reinforcement Learning, ICML 2025, PMLR 267 [paper]. Assigned identifiers are 0284/I25-43653. The original proceedings PDF has 29 pages. Locations below are one-based PDF pages, matching printed numbers; code locations use one-based file lines.

The complete paper text, decisive original table images, benchmark environment, and selected experiment/evaluation sources were inspected. All 194 staged manifest entries passed hash checks. The environment release is pinned to

e27a2344f5de8a705e51fbdb44933f160b1e1e1e;

the experiment release is pinned to

ce0be1b3c6bf849219be629b9c9cb4fc25d1b116.

Both are current public commits recorded by source preparation, not certified conference-time versions. Source control flow was independently checked and the calculations below were performed. No author code or training was executed.

# Definitions and positive checks

The principal experiments fix a \(3\times3\) puzzle, four directional actions, and a pool of images used to render tile identities. Increasing the image pool leaves the underlying numbered-tile transition and distance-reward rules unchanged. The separate grid-size experiment explicitly changes the state space and search difficulty.

The printed counts, p. 4, are correct: \[|S_{3\times3}|=\frac{9!}{2}=181440,\qquad
 |S_{4\times4}|=\frac{16!}{2}=10461394944000.\] A reviewer-written breadth-first search over all legal blank-neighbor swaps independently found 181440 reachable states, maximum distance 31, and uniform mean shortest-path distance \[\frac{249167}{11340}=21.972398589065257.\] This supports the approximately 22-step reference on p. 9. The current fast initializer moves an accidentally sampled goal to a random one-step neighbor, changing that mean by only \(1/181440\), to \(21.9724041005291\). The nominal exact uniform distribution and this release detail should be distinguished, but the 22-step approximation is unaffected.

The paper’s primary outcome is environment steps to 80% success. It also uses success flags for early stopping and final evaluation. The integrity of those flags and their aggregation is therefore central to its comparative claims.

# Substantive findings

Problem 1 (Central sample-efficiency results are reported incompatibly).  Main Table 1, p. 6, and Appendix Tables 10 and 12, pp. 24 and 27, give different values for the same method, pool size, and stated outcome: million environment steps to 80% success.

Method | Pool | Main Table 1 | Tables 10/12

SAC | 10 | \(2.03\pm0.38\) | \(1.65\pm0.31\)

SAC + DBC | 1 | \(0.99\pm0.25\) | \(0.44\pm0.04\)

SAC + DBC | 5 | \(1.12\pm0.22\) | \(0.99\pm0.25\)

SAC + DBC | 10 | \(2.13\pm0.41\) | \(10.00\pm0.00\)

SAC + AE | 1 | \(1.04\pm0.24\) | \(0.42\pm0.09\)

SAC + AE | 5 | \(1.02\pm0.19\) | \(1.04\pm0.24\)

SAC + AE | 10 | \(2.01\pm0.38\) | \(2.03\pm0.38\)

The independent check verified the original images and row alignment. These are not extraction errors. The DBC pool-10 conflict is particularly consequential: Table 1 suggests threshold attainment near 2.13M steps, while Table 12 records the 10M cap and only \(2\pm1\)% final ID success. The displayed uncertainty intervals cannot reconcile these values as two renderings of the same summary. Table 10 repeats the appendix efficiency values.

#### Impact and counterevidence.

This is Major because the inconsistency affects the core comparison of representation-learning methods and whether a configuration successfully learned. It does not identify which table is authoritative. A different historical run, configuration or statistic might explain the discrepancy, but no such distinction is stated at the compared entries. The staged sources do not supply the SPGym numerical run traces or table-generation inputs needed to resolve it. A corrected table must be bound to exact runs and a defined censoring rule; merely choosing the preferred value is not a verified repair.

The same results discussion, p. 6 and Appendix C.2.1, p. 25, overstates DreamerV3’s sample-efficiency dominance. RAD’s reported means are 0.24, 0.42 and 0.82M at pools 1, 5 and 10, versus DreamerV3’s 0.42, 1.23 and 1.44M. Lower is better, so RAD is faster at every shared pool. Standard SAC is also faster at pools 1 and 5. This does not contradict the separate observation that standard Dreamer handles larger pools more successfully, or eventually finds shorter solutions. Those outcomes should not be substituted for universal sample-efficiency superiority.

Problem 2 (The released environment can terminate an unsolved reset state as a success).  The environment retains a prior episode’s terminal flag through reset and reuses it on an invalid action. This violates the benchmark’s basic success semantics.

#### Exact control flow.

The file `r01/sliding_puzzles/env.py` initializes the cached flag only in its constructor (lines 158–164), setting `last_terminated` to `False`. Valid actions recompute reward and termination, but lines 229–234 reuse `self.last_terminated` on invalid actions. Lines 236–242 store the result and set `info["is_success"]=terminated`. The reset method, lines 249–278, resets the step counter and puzzle state without resetting that cached terminal flag.

#### A legal, complete trace.

Use the default blank value \(-1\) and the states \[A=\begin{bmatrix}1&2&3\\4&5&6\\7&-1&8\end{bmatrix},
 \quad
 G=\begin{bmatrix}1&2&3\\4&5&6\\7&8&-1\end{bmatrix},
 \quad
 B=\begin{bmatrix}1&2&3\\4&5&6\\-1&7&8\end{bmatrix}.\] Starting at \(A\), action 2 moves the blank right and produces \(G\). The goal test sets `last_terminated=True`. Reset to \(B\). This state passes the release’s explicit-state validation, is solvable, and has positive probability under its ordinary fast shuffle. It is two valid moves from \(G\), as the independent graph calculation confirms.

Now take action 0, whose blank displacement is downward. Since the blank is already in the bottom row, this action is invalid. The code leaves the state equal to \(B\) and returns \[\text{reward}=-1,\qquad
 \text{terminated}=\texttt{True},\qquad
 \text{is\_success}=\texttt{True}.\] No puzzle was solved in the new episode. The negative reward does not correct the false success flag.

#### Core dependency and limits.

The PPO/SAC utility `r02/ppo_sac/src/utils.py`, lines 323–343 and 379–398, consumes terminal success flags for rolling statistics, early stopping and evaluation. Dreamer’s adapter, `r02/dreamerv3/embodied/envs/spgym.py`, lines 63–105, passes them into terminal observations and `log_success`. Thus this is a demonstrated defect in the released benchmark’s core outcome, assessed Major.

A valid first action after reset recalculates termination and clears the stale flag when the new puzzle remains unsolved. The finding therefore does not imply every episode is affected. A shuffle that happens to generate the solved state also executes a valid move, which can clear the cache; the explicit non-goal \(B\) avoids that branch. No empirical frequency or historical score inflation is inferred.

Resetting episode-specific cached fields and making invalid-action termination depend on the current state would repair this trace. The source was not modified and a patched environment was not executed. The saved check validates the independent state transitions and statically confirms that reset does not assign `last_terminated`; it does not import or run the author environment.

Problem 3 (The released Dreamer success statistic has the wrong denominator).  The supplied Dreamer training path counts successes in a 100-episode rolling window but divides by the number of parallel environments, 64.

#### Configuration and implementation.

In `r02/dreamerv3/embodied/run/train.py`, lines 33–34 construct deques with `maxlen=args.rolling_window`. Lines 65–70 append each completed episode’s success and compute \[\texttt{success\_rate}
 =\frac{\texttt{sum(success\_deque)}}{\texttt{args.num\_envs}}.\] The supplied `dreamerv3/configs.yaml`, relative to the experiment’s Dreamer directory, sets `rolling_window:100` in its defaults and `num_envs:64` in the SPGym preset. The image preset inherits SPGym; the experiment launcher selects that preset. Episode `log_success` is aggregated by maximum, making each correctly classified episode’s contribution zero or one.

At a full window, let \(k\) be the number of successful episodes. The true success rate is \(k/100\), but the release logs \(k/64\):

Successes in 100 episodes | True rate | Released logged rate

51 | 51% | 79.6875%

52 | 52% | 81.25%

64 | 64% | 100%

100 | 100% | 156.25%

An 80% threshold on this logged quantity can therefore be crossed at only 52% true success. This calculation assumes genuine episode labels and is independent of Problem 2.

#### Early stopping and comparison.

Lines 75–78 increment the early-stop counter when the logged value equals one; lines 154–157 stop after sufficient increments. A periodic sequence containing 64 successes and 36 failures per 100 episodes has exactly 64 successes in every full 100-episode window. It can satisfy the code’s 100% test continuously despite persistent failures. A truly perfect full window instead gives 1.5625 and resets that counter.

PPO/SAC’s utility divides its success count by the deque length correctly; Dreamer’s return average also uses the deque length. The denominator error is therefore specific and makes the released success statistics incomparable. This is Major for the core released metric and dependent stopping behavior.

#### Historical attribution and repair.

The paper’s Table 7, p. 16, lists 16 Dreamer environments, whereas the current SPGym preset uses 64. This is additional evidence that the current release must not be silently identified with the historical run configuration. No staged raw SPGym logs or aggregation code establish whether the published tables used this erroneous field unchanged. A particular published numerical correction is therefore not asserted.

The local correction is division by the number of episodes actually represented, with a clearly defined full-window requirement and early stopping based on the corrected fraction. The independent arithmetic and periodic-window diagnostic verify the intended normalization; no patched Dreamer training was executed.

# Claims that still need evidence

#### Dreamer Hard-OOD coverage.

Section 5.3, p. 8, states that all five seeds of PPO, SAC and Dreamer were tested on Hard OOD. Appendix C.2, p. 23, says those OOD metrics were not computed for Dreamer because of codebase complexities, and Table 13 has no OOD columns. The observed manuscript conflict is definite; Dreamer’s actual OOD result is unknown. Extending the measured near-zero PPO/SAC result to Dreamer, including the 100-image training-pool regime, needs run-level evidence. No missing Dreamer score is invented.

#### Linear-probe correlation and analysis unit.

The independent check transcribed all 37 displayed mean pairs in Table 10 and independently recomputed Pearson correlation: \[r=-0.7729793020026258,\qquad
 p_{\mathrm{iid}}=2.0630148456076282\times10^{-8}.\] The paper reports \(r=-0.81\), \(p=1.1\times10^{-13}\). Replacing the seven disputed efficiency means by their Table 1 values gives \[r=-0.7279571991017988,\qquad
 p_{\mathrm{iid}}=3.294554605371535\times10^{-7}.\] The substantial negative association survives. These reference calculations do not prove the published statistic false: unrounded run-level inputs, a different subset or another analysis unit may have been used. The exact paired data, method/pool clustering and treatment of budget-censored observations are required to assess its inferential meaning. The reference \(p\)-values assume independent pairs; that assumption is not certified for this experiment.

#### Censoring, budgets, units, and interpretation.

Values of \(10.00\pm0.00\) alongside very low final success should not be treated as demonstrated threshold attainment at 10M steps; the censoring convention must be explicit. The 4-by-4 PPO result of \(24.46\pm7.58\)M, p. 9, needs the stated 10M budget’s extended-run exception documented. Easy-OOD values such as 0.49 are repeated under percentage headings in Tables 11–12, while the released evaluator emits a fraction; exact table aggregation is needed to resolve the display units.

The manuscript acknowledges, p. 23, that end-to-end representation and policy learning are not perfectly separable. Pool-size control is useful, but correlations and degradation curves do not uniquely identify memorization or architectural mismatch as their cause. These are interpretation boundaries, not proofs that the benchmark idea or every empirical trend is invalid.

# Conclusion

Item | Assessment | Established scope

Efficiency-table conflict | Major | Same stated metric has incompatible reported results

Reset success leakage | Major | Concrete false success in current release

Dreamer normalization | Major | Wrong success rate and stopping condition in current release

Historical numerical impact | Needs Evidence | Exact runs and metric inputs unavailable

State counts and optimal distance | No Issue Found | Independently checked finite puzzle graph

Adjudication / adoption | Pending / Unknown | Human reviews empty; no author contact

The core benchmark idea and the verified combinatorics remain useful. The source record demonstrates outcome-semantic defects and inconsistent reporting, but does not establish revised historical rankings or a whole-paper failure. Initial scientific review is complete within the stated scope; separate acceptance is outstanding.

9 B. L. M. de Oliveira et al. Sliding Puzzles Gym: A Scalable Benchmark for State Representation in Visual Reinforcement Learning. PMLR 267, ICML 2025. Reviewed proceedings PDF, 29 pages. https://proceedings.mlr.press/v267/de-oliveira25a.html. B. L. M. de Oliveira and collaborators. sliding-puzzles-gym, pinned public source release identified in Section 1. https://github.com/bryanoliveira/sliding-puzzles-gym. B. L. M. de Oliveira and collaborators. spgym-experiments, pinned public source release identified in Section 1. https://github.com/bryanoliveira/spgym-experiments.

# Evidence and actual checks

Original PDF SHA-256:

8f8daef0f2022b21859d8eed3184028e0ae07055c6e55f7f463b39f6c9cf6fbb.

Reviewer-written `check.py` performs the full 181440-state search, independent boundary/goal checks, a static reset-assignment inspection, rolling-rate arithmetic and correlation calculations. Existing `mpmath` evaluates the reference Pearson-test tail. Replay with `python -B -X utf8 check.py`; actual results and all transcribed pairs are saved in `check.json`. The source is read as text or syntax, never imported as executable author code. Exact cited file excerpts and hashes are saved in `e.txt` and the provenance records.

The independent check inspected original pages 6, 8, 23, 24 and 27. All three source archives retain their member mappings; compressed scores for other benchmarks do not supply the missing SPGym runs.

Historical runs, configurations, checkpoints, table inputs, later corrections and external proofs remain unverified. The embedded appendix was available; separate OpenReview discovery returned HTTP 403. No author code, downloads or installations were performed.
