Perspectives in Research and Society · Vol. 2 No. 9 (2026)
Published September 14, 2026
Dominic Johnston — Denmark; Daniel Nelson — Norway; Gavin Bell — Italy
PPO's outside-range flag ignores advantage sign, whereas its flat surrogate branch does not. We measured this distinction in 48 new CartPole simulations with 24 paired random streams and fixed clip widths 0.1 and 0.3. Across 6,291,456 reused sample-passes,2,476 flags lay outside the range;194 were not flat-branch observations. All occurred under the narrower width. Its diagnostic discrepancy exceeded the wider arm by 6.167 per 100,000 sample-passes. Final returns differed by 36.26, but the working 95% paired interval spanned−18.90 to 91.41 and nine pairs favored the wider arm. Independent gradient/GAE reconstruction and 960 policy-evaluation replays agreed. The experiment quantifies a known measurement distinction under rare clipping, without establishing a reliable return advantage.
A policy update can be described by its objective, its derivative, or a summary of how often a probability ratio crosses a threshold. These descriptions are related but not interchangeable. The original PPO clipped surrogate takes the smaller of an advantage-weighted probability ratio and its clipped counterpart; Figure 1 of that paper already makes the dependence on advantage sign explicit (Schulman et al., 2017). Thus the distinction studied here is known mathematics. The empirical question is how frequently the simpler diagnostic differs from the sign-aware branch during actual learning, and what a fixed clip-width intervention does to that discrepancy alongside terminal-policy performance.
Quadratic Exponential Decrease Roll-Back places the relationship between a surrogate maximum and a policy-gradient zero at the center of its proposed update mechanism (Zhao et al., 2023). That is a specific reason to distinguish an objective's region from its derivative. We do not implement its rollback function or evaluate its bounded-gradient claims. The accessible author abstract supports this motivation; font corruption in the uploaded conference text prevents a reliable formula/proof audit. Our gradient calculations instead concern the ordinary PPO clipped surrogate, defined explicitly and numerically checked here.
PPO-Exp supplies a complementary mechanism-level motivation: it changes the clipping constraint through an exploration-sensitive adjustment and then evaluates control outcomes separately (Xu et al., 2023). Our two arms use fixed widths, not that adaptive algorithm. They do not reproduce formation keeping, communication constraints, private trajectories, or flight results. Together, these sources motivate asking whether a clip-related summary measures the claimed update property and whether a change in that summary coincides with a clearly measured control outcome. Neither source supplies the new observations reported below.
Implementation details can substantially affect deep policy-gradient comparisons (Engstrom et al., 2020). Ilyas and colleagues also examine mismatches between motivating frameworks and empirical gradient/value behavior (Ilyas et al., 2020). Our scope is smaller: an exact derivative of the recorded empirical surrogate in a five-parameter actor. It is not an estimate of the true expected-return gradient. Williams's score-gradient framework provides the underlying stochastic-policy context (Williams, 1992), while episodic return remains a separate reinforcement-learning objective (Sutton and Barto, 2018). An inactive sample contribution need not make the sum of all actor contributions zero.
The study therefore asks: How does changing a fixed PPO clip width from 0.3 to 0.1 alter the discrepancy between ratio-outside flags and sign-aware flat clipping branches during learning, alongside final frozen-policy return? The design generates a complete, controlled simulator record. It does not choose settings from early learning curves, transport configurations between environments, forecast future return from archived telemetry, or infer episode counts from mean-and-deviation summaries. Precomputed resources such as HPO-RL-Bench enable other questions about configuration curves (Shala et al., 2024); here the necessary per-sample gradients and policy coefficients are recorded directly.
We executed 48 new controlled computer simulations, arranged as 24 stream pairs. These are not physical CartPole trials, human observations, or an additional public benchmark release. Gymnasium 1.2.0 provided the CartPole-v 1 environment. Its interface separates termination from truncation (Towers et al., 2025), and we inspected the actual pinned wheel rather than assuming that current documentation exactly described every version. The wheel's SHA256 matched official PyPI metadata; its included MIT license was retained. The learner is our own small NumPy implementation, not Stable-Baselines3 training. The latter's actual versioned source supplied the conventional outside-range diagnostic definition and implementation context (Raffin et al., 2021).
The environment gives reward 1 per executed step, including the terminating step. Cart position outside±2.4 or pole angle outside±12degrees terminates an episode; a 500-step wrapper limit truncates it. Reset states are uniform within−0.05..0.05 in each of four coordinates. We retained the default reward setting and used no rendering. The simulator state evolves in float 64, while observations returned to the policy are float 32 and explicitly converted to float 64 for features. The source integration step is 0.02 simulated seconds; our training budget counts new transitions, not this simulated-time coordinate or repeated optimizer passes.
Each pair has index i from 0 through 23. Training-environment seed is 886000+i and the separate action generator seed 886100+i. Both arms use these rules, but maintain their own instances. Every transition consumes one uniform action draw. When trajectories terminate at different times, the arms consume environment-reset states at different episode counts. They therefore share a random-stream construction, not identical on-policy trajectories or matched transition rows. Common random numbers can improve comparisons under suitable conditions, but the same seed is not a universal variance-reduction guarantee (Glasserman and Yao, 1992). Monte Carlo methodology separates the coupling from the responses being compared (Glasserman, 2003).
The sequence of integer seed indices was fixed before outcomes. It was not a random sample of all possible integer seeds. The intended stochastic experiment derives its variation from reset and action streams. Its working inference assumes approximate independence across pair streams, conditional on the specified implementation. Experimental design and analysis are part of the simulation model, rather than an automatic consequence of having many transitions (Kleijnen, 2015). No seed was replaced, expanded, or selected after observing performance.
The actor has five coefficients with features[1,x/2.4,xvelocity/3,angle/(12π/180),angularvelocity/3] and a Bernoulli logistic action probability. The value function is linear in the same features with disjoint coefficients. All coefficients start at zero. Each run collects 64 rollouts of 256 transitions, freezing its behavior policy within each rollout. It then performs eight full-batch optimizer passes over those same observations. Actor ascent uses step size 0.2 and value descent step size 0.05 on half mean squared error. There is no entropy bonus, adaptive clip, value clipping, gradient-norm clipping, Adam state, replay buffer, or outcome-dependent early stopping. This deliberately simplified PPO-Clip implementation does not establish how the same comparison behaves in a neural SB 3 agent.
Generalized advantage estimation uses gamma 0.99 and lambda 0.95, following the exponentially weighted advantage-estimation principle (Schulman et al., 2016). The temporal-difference residual bootstraps the pre-reset next-state value after a TimeLimit truncation, but not after true termination. The GAE continuation stops across either boundary and at the rollout end. Thus truncation permits a next-value bootstrap without joining two episodes. Raw advantages and value targets are frozen across all eight passes. Actor advantages are centered and scaled with within-rollout population SD plus 10^−8; an all-zero normalized advantage remains zero. No normalization is refitted on evaluation episodes.
Let r denote the current-to-behavior action-probability ratio and A the frozen normalized advantage. Define O as the indicator that abs(r−1)>epsilon. Define Z as the indicator of either A>0 with r>1+epsilon, or A<0 with r<1−epsilon. Z identifies the strictly flat clipping branch. Away from threshold kinks, this removes the sample's surrogate-gradient contribution. The empirical derivative otherwise multiplies A*r by the Bernoulli score and features. The actual aggregate actor gradient is the average of these contributions, so cancellations and coefficient magnitudes matter beyond branch counts.
For exact real arithmetic, Z implies O and the discrepancy D=mean(O−Z) is nonnegative by construction. We do not test that statement as a scientific discovery or call the conventional flag a software bug. O is a ratio-range summary, not a promised count of suppressed gradients. Observations with A=0, exact equality at 1±epsilon, zero score gradients, or a difference between absolute-distance and direct-threshold floating comparisons were logged separately. A Z=1/O=0 floating case would have failed the run with its raw negative discrepancy preserved; it would not have been clamped away. At an exact surrogate kink the executable convention chooses the active-side subgradient and records the tie.
Figure 1 specifies the measurement model. The clip-width intervention enters the learner, which produces two distinct outputs: update diagnostics and a final frozen policy for evaluation. There is no arrow interpreting the diagnostic as a causal mediator of performance. All quantities were defined and the learner, independent replayer, analysis code, source wheels, and expanded protocol hashed before the first learning rollout. The protocol did not add a more aggressive optimizer after observing that clipping was rare. Reporting the full settings and decision sequence is especially relevant when implementation choices can alter conclusions (Dodge et al., 2019; Pineau et al., 2021).
Figure 1. Fixed controlled-simulation design. The independent experimental units are 24 stream pairs; sample-passes and evaluation episodes are nested measurements.
Diagnostics were calculated before every applied optimizer pass, including the first pass where behavior and current policy initially coincide. A complete run supplies 131,072 sample-passes, but only 16,384 new transitions. For each run we averaged O−Z over all scheduled sample-passes. The primary contrast is the mean of the 24 narrow-minus-wide run differences. Raw objectives, policy/value parameters, unclipped and clipped aggregate gradients, conditional Bernoulli KL, approximate KL, and the wall-time sequence were also retained. No telemetry-to-future-return regression was fitted.
After the last update, each final policy was frozen and evaluated greedily on 20 separate reset seeds, with deterministic action 1 for an exact logit tie. Evaluation seed for pair i and repetition j was 8861000+100i+j, common to both arms. Each run's 20 returns were averaged first, producing one final-return difference per pair. The 960 evaluation episodes are not 960 independent treatment replications. Henderson and colleagues identify multiple sources of RL experimental variation (Henderson et al., 2018), and Islam and colleagues discuss reproducibility of benchmark comparisons (Islam et al., 2017). Those concerns support preserving the hierarchy rather than treating reused samples as additional independent runs.
For each outcome, intercept-only OLS on pair differences estimates its paired mean. We report marginal 95% working Student-t intervals with 23 residual degrees of freedom, the conventional mean-uncertainty setting associated with Student's distribution (Student, 1908). These intervals assume an approximately independent-stream, finite-variance working model; the small, discrete, predeclared seed ensemble does not yield an exact design-based confidence guarantee. The return interval is descriptive and is not a second confirmatory significance claim or simultaneous family coverage. We retain every signed pair outcome and all 24 delete-one-pair contrasts. Limited-run RL evaluation can remain uncertain even when its average looks favorable (Agarwal et al., 2021).
The main driver had a 900-second wall-time cap. Every intended arm would remain in the catalog after a numerical failure or interruption. Missing-run diagnostic values would receive[0,1] bounds and final returns[1,500], yielding full-catalog paired bounds instead of silent complete-case deletion. No failures occurred. Accordingly, the full-catalog failure bounds collapse to the observed pair-mean contrasts; they are different from the working t intervals. The experiment's successful completion does not remove uncertainty about a different stream ensemble, architecture, optimizer, or environment.
All 48 runs completed in 32.34seconds, within the fixed cap. They generated 786,432 training transitions,24,576 optimizer passes,6,291,456 reused sample-passes and 960 terminal evaluation episodes. No learning pilot, additional seed, selected checkpoint, or second training branch was added. NumPy supplied the array calculations (Harris et al., 2020); SciPy supplied the actual Student-t quantiles used in the working intervals (Virtanen et al., 2020). These software roles do not transform the numerical experiment into a replication of an external PPO implementation.
Table 1. Actual arm summaries. Each arm contains24 runs,393,216 new transitions,3,145,728 reused sample-passes and480 final evaluation episodes. Rates average equally over runs.
| Clip ε | Outside flags O, count (per100,000) | Flat flags Z, count (per100,000) | O−Z, count (per100,000) | Final mean return |
|---|---|---|---|---|
| 0.1 | 2,476 (78.7099) | 2,282 (72.5428) | 194 (6.1671) | 380.5125 |
| 0.3 | 0 (0.0000) | 0 (0.0000) | 0 (0.0000) | 344.2542 |
Table 2. Fixed paired contrasts, narrow minus wide. N=24 pairs; working t23 marginal intervals. The return interval is descriptive. Full-catalog failure bounds collapse to point contrasts because all runs completed.
| Outcome/unit | Paired mean | SE | 95% working interval | Positive / negative / zero pair differences |
|---|---|---|---|---|
| D, per100,000 sample-passes | 6.167094 | 1.185074 | [3.715582, 8.618606] | 21 / 0 / 3 |
| Mean final episode return | 36.258333 | 26.662454 | [-18.897155, 91.413822] | 15 / 9 / 0 |
Table 3. Complete sensitivity and numerical audit. These omission ranges are deterministic point-estimate checks, not confidence intervals.
| Check | Actual result |
|---|---|
| All24 leave-one-pair D contrasts, per100,000 | [5.473261, 6.435228] |
| All24 leave-one-pair return contrasts | [26.141304, 47.406522] |
| Zero-advantage sample-passes | 0 |
| Exact threshold ties | 0 |
| O_abs1 / O_threshold0 | 0 |
| O_threshold1 / O_abs0 | 0 |
| Z1 / O_abs0 failures | 0 |
| Unclassified outside-nonflat flags | 0 |
| Zero aggregate actor gradients (24,576 passes) | 0 |
The narrow arm produced 2,476 outside-range flags and 2,282 flat-branch observations. Their difference is 194 sample-passes, or 6.167094 per 100,000 narrow-arm sample-passes. All 194 differences were outside in the non-flat direction of the advantage sign. None involved a zero advantage, exact threshold tie, direct-threshold/absolute-distance discrepancy, zero score, or unexplained branch category. No aggregate actor gradient was zero across the 24,576 passes, despite the inactive individual terms. The wider arm produced no outside or flat flags. Its optional Z/O share is therefore undefined, not evidence of perfect diagnostic agreement on positive cases. Zero exposure to the flag is a substantive limitation of this fixed intervention, not a reason to increase the step size after outcomes.
Across the full two-arm dataset, only 0.03935% of sample-passes lay outside the range. Among the 2,476 flagged observations,7.8352% were not on the flat branch. These two denominators describe different magnitudes: the mismatch is a noticeable share of rare flags but a very small share of all update data. Its existence follows the known sign-dependent objective; its frequency is the empirical observation. We do not interpret 194 instances as 194 independent demonstrations of an algorithmic defect.
The primary narrow-minus-wide contrast is 0.00006167094, with working 95% interval[0.00003715582,0.00008618606]. On the more readable per 100,000 scale, that is 6.167094[3.715582,8.618606]. Twenty-one pair differences are positive and three are zero; none are negative. These are differences between two run-level diagnostic averages, not a hypothesis test of the definitional D≥0 property. The zero values and complete absence of wide-arm clipping remain part of the result.
Figure 2. Every paired outcome. Shading denotes the marginal working interval for the paired mean, not a range containing 95% of individual seeds. Negative return contrasts are retained.
Mean terminal returns were 380.5125 for epsilon 0.1 and 344.2542 for epsilon 0.3. The paired difference is 36.2583, SE 26.6625, with descriptive working 95% interval[−18.8972,91.4138]. Fifteen pairs favor the narrow arm and nine favor the wide arm. The interval includes zero and materially adverse as well as favorable values. It therefore does not establish a reliable return advantage for narrower clipping in this setup. Figure 2 makes the heterogeneity visible rather than replacing the individual responses with a single average, consistent with the value of graphical examination emphasized by Anscombe (Anscombe, 1973).
Figure 3. Actual pre-update diagnostics across all 64 rollouts and 24 runs per arm. Repeated passes reuse the same rollout data; these curves are not independent learning trials.
Figure 3 shows that observed narrow-arm clipping appears mainly on later reuse passes. The first pass has no flags, as expected from its starting ratio, and the wider-arm rates remain zero throughout. This timing is measured within an optimizer block, not a forecast from telemetry to later return. It does not identify which single flagged sample caused a later policy outcome. Both arms can subsequently generate different trajectories, and the comparison's intervention includes those downstream consequences.
All 24 delete-one-pair diagnostic means remain between 5.473261 and 6.435228 per 100,000. The corresponding return means range from 26.1413 to 47.4065. Positive leave-one-out point estimates do not contradict the wide full-sample return interval and do not justify calling the return effect robustly positive. These deletions describe sensitivity to individual pairs, not additional independent experiments or a replacement inference procedure. Every omission appears in the retained results, without selecting a favorable deletion.
The independent verifier reconstructed 786,432 state transitions through a separately expressed force-balance calculation; maximum state discrepancy was 4.44e−16. It rebuilt GAE with a forward segment-kernel calculation rather than the primary reverse recurrence, checked normalization/targets and actual SGD steps, and independently reconstructed every pre-update diagnostic and aggregate gradient. The maximum numerical discrepancy across 6,248,790 scalar comparisons was 3.20e−14, below the frozen tolerance. Exact categorical branch comparisons used recorded normalized advantages and old log probabilities after their independent value checks, preserving the executable floating-point inputs rather than changing a branch because of harmless alternative summation order.
All 960 final evaluation episodes were replayed from their actual reset seeds and final coefficients, with identical integer returns and end flags. Both paired OLS summaries and all 24 omission summaries were independently rebuilt,50 outcome cells in total, with zero disagreements. The 3,072 rollout blocks also passed timeline-order checks. These overlapping verification counts are not added to the experimental N. They establish consistency of the recorded calculation, not external validity of a particular reward distribution or physical controller.
The most defensible conclusion is narrow. Conventional ratio-outside flags and flat clipping branches differed on 194 recorded sample-passes under a fixed, rare-clipping regime. A narrower width increased this discrepancy, while the experiment did not resolve the sign of its average return effect under the working interval. This is useful information about measurement and sensitivity, but it is not evidence that PPO's diagnostic is incorrectly implemented. The diagnostic's conventional definition and the derivative answer different questions by design.
Nor does agreement between independent implementations imply that every conceptual question about PPO has been settled. Bouthillier and colleagues distinguish reproducible methods from reproducible empirical findings (Bouthillier et al., 2019). Here exact replay cannot show that a neural policy, Adam optimizer, longer horizon, extra epochs, different advantage scaling, or another seed construction would reproduce the same rates. Our five-feature policy and fixed learning schedule intentionally constrain the study. Clipping exposure was low, and one arm had no positive flags, limiting conditional comparisons of flagged observations across widths.
QED's attention to derivative geometry remains relevant because an objective-region label cannot substitute for a gradient-zero statement. PPO-Exp's clip-control mechanism remains relevant because changing epsilon and demonstrating a control outcome are separate empirical steps. The present ordinary PPO experiment implements neither proposal. Its quantities cannot establish their theoretical bounds, performance rankings, flight reliability, or private experimental validity. We also do not estimate that diagnostic discrepancy mediates the return contrast; the two outcomes are reported side by side under the fixed intervention.
Every transition, optimizer coefficient vector, status record, timing coordinate and evaluation result is retained as local numeric evidence. Dataset documentation separates new simulator-generated rows from source software and derived summaries (Gebru et al., 2021), while version/hash/access records support reproducible stewardship (Wilkinson et al., 2016). Claims of computational reproducibility require connecting results to the actual code and inputs (Peng, 2011; Donoho, 2010). Matplotlib produced the native scientific figures (Hunter, 2007). Scientific Agent Skills informed procedural writing, statistical and figure checks (Kassis et al., 2026); these tools supply assistance, not authorship or human approval.
No paid service, GPU training, arbitrary downloaded author trainer, or remote model was used. The only executed external environment was the trusted pinned library; PPO and the independent reconstruction were locally implemented. The complete evidence record preserves negative pair outcomes, zero-exposure diagnostics, the non-sign-resolving return interval, and all planned omissions. Accountable human scientific/source/authorship review, funding and conflict declarations, final full-corpus originality review, and submission approval remain pending. No human author list or publication readiness has been invented.
Under the fixed CartPole simulation design, narrower clipping produced a small, measurable increase in ratio-flag versus flat-branch discrepancy, while terminal return remained uncertain across 24 paired streams. The measured discrepancy respects the known sign-aware PPO objective and does not constitute a new mathematical discovery or software-bug finding. Complete state, gradient, GAE and evaluation reconstruction makes the limited empirical claim inspectable without converting it into a general control-performance recommendation.