Count Bonuses versus a Random-Network-Distillation Bonus in Sparse-Reward Gridworlds: A Small Reimplementation Study with a Noisy-TV Test Quartz-39Z Stemma seed corpus https://github.com/mihir-chauhan/research-harness-papers/tree/main/papers/count-bonus-vs-rnd-sparse-gridworld Abstract—We compare exploration schemes for tabular Q- rose with the number of tokens (0.01579 to 0.02942 for RND learning on chain and multi-room gridworlds with one sparse on room_4_tv). These are single-implementation, small-scale goal reward: ϵ-greedy, count-based bonuses (on arrival states results, not a verdict on RND at scale. and on state-action pairs) and an RND-style bonus (a small Index Terms—exploration, intrinsic motivation, count-based numpy predictor distilling a fixed random target), all reimple- bonus, random network distillation, noisy TV, sparse reward mented. The bonus systems carry a constant per-step penalty (an optimistic offset), so we add a penalty-only control, a count I. Introduction bonus without the penalty, a sweep of the bonus scale against Exploration in sparse-reward problems is a long- the penalty, the same tuning budget of four configurations for standing bottleneck: with a single reward at the end every system (including ϵ and the initial value Q0 of ϵ-greedy), a stochastic-transition variant (20% random actions) and a of a long corridor, dithering strategies such as ϵ-greedy noisy-TV cell that emits a random token, with independent need a number of steps that grows rapidly with the random streams for actions, dynamics, tokens and network distance to the goal [1]. Intrinsic bonuses address this initialisation. This is a small CPU study: five seeds per cell, so by rewarding novelty. Count-based bonuses reward rarely the tests (exact permutation log-rank tests on budget-censored visited states [2]–[5], while prediction-error bonuses such steps to first reward) cannot establish equivalence, and we report observed mean differences with bootstrap intervals. The as curiosity [6], [7] and random network distillation (RND) count bonus found the reward in every run on all eight tasks, [8] reward states a learned model cannot yet predict. while ϵ-greedy (ϵ = 0.1, Q0 = 0) found it in one of five seeds Forward-prediction bonuses are known to be attracted to on chain_20 and in none on chain_40, room_4 and room_6. inherently unpredictable observations, the “noisy TV” [7], This gap is not evidence for the count signal: ϵ-greedy with an [9]; RND was designed to avoid this, because its target is a optimistic Q0 = 1 and a penalty-only control with no bonus both find the reward in every seed, the count bonus without deterministic function of the observation [8], and an exact the penalty fails on the larger tasks, and the count bonus and count on the true state is immune by construction. the penalty-only control did not differ significantly on any The best-known comparisons of these bonuses are on noise-free task (log-rank p ≥ 0.1111); the intervals of their Atari. A reassessment in a common framework found that mean differences include zero but are wide. With 20% random bonus methods scored higher on Montezuma’s Revenge actions no bonus system was significantly faster than penalty only (log-rank p < 0.05), with default or best-of-four settings. but gave no meaningful gain over ϵ-greedy otherwise [10]. At the default bonus scale the RND-style bonus found the Here we ask a smaller question in a tabular setting where reward in 39 of 40 runs and was slower than the count bonus the learner is held fixed: how do ϵ-greedy, count bonuses on all eight tasks, and slower than the penalty-only control and an RND-style bonus compare in steps to first reward with p < 0.05 on six of eight (not on chain_10, p = 0.06349, and final return as chains and multi-room grids grow, and nor on room_4_tv, p = 0.5556); the slowdown depends on the bonus scale, and at twice the default scale RND found the does a noisy-TV cell distract them? reward in none of five seeds on the deterministic room_4 and Contributions: (i) a compact numpy testbed with reim- room_6. A noisy TV produced no significant delay for RND plementations of the schemes (including a state-action or the observation count (RND, TV minus twin: 275.6 steps on count bonus and an RND bonus with return normalisa- chain_20_tv, 95% interval [−160.4, 732.8], and −4285 steps on tion) and logged bonus diagnostics; (ii) a comparison on room_4_tv, [−7389, −1100]), so a delay of a few hundred steps on chain_20_tv is not excluded; the share of steps on the TV eight tasks with five seeds and two controls that separate the bonus from the optimistic offset it is combined Quartz-39Z is the codename of an autonomous study, not a person. with, a sweep of the bonus scale against that offset, a Produced by the Stemma autonomous AI research pipeline; the topic documented four-configuration tuning budget for every was chosen to cover the field. Every reported number comes from logged runs in the linked repository and every reference was checked system, and a stochastic-transition variant; (iii) a noisy- against arXiv, Crossref, DataCite or OpenAlex. TV test and a token-cardinality sweep with independent random streams, so that a TV task and its twin share their III. Method trajectories wherever the system cannot see the token; (iv) an ablation of the RND normaliser, which documents a All systems share one learner: tabular Q-learning with numerical pitfall of our first implementation (a division by learning rate α = 0.5, discount γ = 0.99, initial value a zero running standard deviation) and is not a finding Q0 = 0 and ϵ-greedy action selection (ϵ = 0.1; the greedy about RND. Four hypotheses are stated in Section IV. The action is drawn uniformly among the maximisers); Q0 and headline is negative for the bonuses: in these gridworlds ϵ are varied for two systems in Section V. After a transition a constant step penalty with zero-initialised Q-values (or (s, a, r, s′ ) with observation o′ the update is Q(s, a) ← an optimistic Q0 without any penalty) explains the gain Q(s, a) + α (y − Q(s, a)) with over ϵ-greedy, the count signal shows no significant gain over the penalty alone in the observed means (five seeds ( ) cannot rule out a moderate one), and the RND-style signal y = r+β κ b(o′ )−1 +γ max ′ Q(s′ , a′ ), β = 0.1, κ = 1, a makes exploration slower at the default bonus scale, by an (1) amount that depends on that scale. Section VII explains and y = r + β(κb(o′ ) − 1) at the goal; episodes cut by why this should not be generalised. the time limit bootstrap as usual. The bonus scale κ is 1 except where Section V varies it independently of the II. Related Work penalty β. The systems differ only in the bonus b: Count-based √ exploration. MBIE-EB adds a bonus pro- ϵ-greedy. No intrinsic term at all: y = r + portional to 1/ n(s, a) to the reward of a model-based γ maxa′ Q(s′ , a′ ). It does not receive the constant −β that learner [2]. Pseudo-counts from a density model extend the systems below receive. such bonuses beyond tabular settings [3], [5]; other work Penalty only (control). b ≡ 0 in (1): a constant reward counts hashed states [4] or counts in the feature space of −β per step. With Q0 = 0 every tried action becomes used for value √ approximation [11]. Our count bonus is the negative, so untried actions look best; this is optimistic tabular 1/ N case on arrival states. initialisation [12] written as a reward shift. Optimistic initialisation. Rashid et al. point out that √ provably efficient tabular model-free algorithms rely on Count bonus (state). b(o′ ) = 1/ N (s′ ), with N the optimistic initialisation, that deep Q-networks start pes- visit count of√ the arrival state including the current simistic, and propose count-based optimism added to the visit. The 1/ N form is that of MBIE-EB [2], which Q-values [12]. Our penalty-only control is the plain tabular uses state-action counts in a model-based learner, and of version of this idea: with Q0 = 0 and a negative step the pseudo-count √ bonus [3]. Count bonus (state-action). reward every untried action is optimistic. b = 1/ N (s, a) with N the count of the pair just taken, Prediction-error bonuses and the noisy TV. Pathak et including the current visit: the MBIE-EB form [2] used al. reward the error of a forward model in a learned feature as an exploration bonus√in a model-free learner. Count space [6]; Burda et al. study such curiosity at scale and bonus (obs). b(o′ ) = 1/ N (s′ , token), counting the full show that it is attracted to stochastic observations [7]. observation including√ the TV token. Count, no offset RND replaces the forward model by the distillation of a (control). y = r + β/ N (s′ ) + γ maxa′ Q(s′ , a′ ). fixed random network, whose target is deterministic, so The offset −1 centres the bonus: with Q0 = 0 and a that stochastic transitions are not a source of irreducible non-negative bonus, tried actions have positive value and error [8]. Later work makes forward-model curiosity itself untried ones zero, so greedy selection does not explore. In robust, by estimating aleatoric uncertainty [9] or by con- a pilot on seed 100 (outside the evaluation seeds, logged ditioning predictions on hindsight representations of the in the registry) neither count bonus nor the RND bonus noise [13]. We have no forward-model bonus, so our noisy- found the reward on chain_40 or room_6 without it. TV test asks whether the RND-style and observation- Before the first reward the Q-values are linear in β, so count bonuses stay robust, not whether curiosity fails. the time to first reward does not depend on β; it does Comparisons and deep exploration. Taïga et al. compare depend on the bonus scale κ relative to the unit penalty, bonus methods with one agent and one protocol on which Section V varies. Atari and find higher scores on Montezuma’s Revenge RND bonus [8]. The input x is the concatenation of a but no meaningful gain over ϵ-greedy otherwise [10]. one-hot state and a one-hot TV token. The target is a Bootstrapped DQN shows that ϵ-greedy dithering can fixed random network f (x) = W2 tanh(W1 x) (hidden 64, need exponentially more data than temporally extended output 16, Gaussian weights with variance 1/fan-in, W2 exploration on chain-like problems [1], which motivates scaled by 2, no biases). The predictor fˆθ has the same our chain tasks. layer sizes plus biases and takes one Adam step (learning Gap. We are not aware of a study that holds a tabular rate 3 × 10−3 ) every 8 transitions on the 8 most recent learner fixed and swaps only the bonus, with offset observations, minimising the mean squared error to f . controls, on growing chains and rooms with a parametrised With e = ∥fˆθ (x′ ) − f (x′ )∥2 /16 the n-th error and σe the noisy-TV cell; our search was not exhaustive. running standard deviation of all errors so far (including e), the bonus is reimplemented in numpy; the round-2 experiments add the { state-action count bonus and the return-normalised RND 1 n ≤ W, b(o′ ) = ( ) (2) bonus. In the main experiment every system uses the same min e/(σe + 10−8 ), c n > W, α, γ, ϵ, β, K, κ, Q0 and step budget, and nothing was with warm-up W = 64 and clip c = 5. During the warm- tuned per system or task: the offset was introduced after up b − 1 = 0, so there is no intrinsic signal while σe the seed-100 pilot, and the RND guard (W = 64, c = 5) is estimated. This is a simplified normaliser: the original was fixed a priori when an audit of the first version found RND divides the intrinsic reward by a running standard the division by a zero σe (Section VI); the clip sweep shows deviation of intrinsic returns [8] and, to our knowledge, how much that choice matters. Tuning budget (round 2). has no offset. RND bonus (return-normalised). The same On chain_20, chain_40, room_4 and room_6, determin- network and the same warm-up and clip, but the error istic and with slip, every system gets four configurations, is divided by the running standard deviation σR of its all reported, run on the evaluation seeds (so the best of discounted sum Rn = 0.99 Rn−1 + en (no reset at episode four is optimistic for every system alike). ϵ-greedy and ends), as in the original: b = min(e/(σR + 10−8 ), c) for penalty only: (ϵ, Q0 ) ∈ {0.01, 0.1} × {0, 1}. Count (state), n > W. count (state-action), RND and RND (return-normalised): Normaliser variants (ablation). Unguarded (v1): b = the bonus scale κ ∈ {0.25, 0.5, 1, 2} at ϵ = 0.1, Q0 = 0, e/(σe + 10−8 ) from the first step (W = 0, no clip; σe is with the step penalty fixed, so the bonus varies against set to 1 for the very first error), the normaliser of the first the penalty. The default configuration of each system is version of this study. Warm-up only: W = 64, no clip. ϵ = 0.1, Q0 = 0, κ = 1; its best configuration is the one Clip only: W = 0, c = 5. No normalisation: b = e. with the lowest mean steps to first reward over the five Noisy TV. In the _tv tasks one cell emits a uniformly seeds of the task (the first listed on ties). random token in {0, . . . , K − 1} on every visit (K = 16 Metrics. Steps to first reward (set to the budget if by default), carried only in the observation; the state id never found, hence censored; lower is better), reward- used by Q and by the state count is unaffected. Count found indicator, final return (mean return of the last 20% (obs) and RND see the token; Count (state) does not. of training episodes), greedy success (the greedy policy Random streams. In the round-2 runs (the tuning and slip reaches the goal; with slip, the share of 20 greedy rollouts tables, the TV comparison and the K sweep) the action that do), TV time fraction (share of steps spent on the choice, the environment dynamics, the TV tokens and the TV cell) and coverage. Every run also logs diagnostics of network initialisation each draw from their own stream, the raw bonus b (maximum, maximum over the first 100 spawned from the run seed, and the RND input always steps, median, share of steps with b > 1, share of clipped has 64 token slots whatever K is, so the architecture and steps) and the largest |Q| written. the initial weights do not depend on K or on the presence Protocol. Five seeds (0–4) per cell; tables show mean of a TV. A system that cannot see the token then follows ± sample standard deviation over seeds. There is no the same trajectory on a TV task and on its twin. The train/test split: all metrics are online training metrics plus runs of Table I, of the normaliser ablation and of the clip one greedy rollout. Steps to first reward is a censored and β sweeps use one stream for all four purposes, and time (the budget if the reward is never found), so systems their RND input has K token slots. are compared with censoring-aware and rank-based tests instead of t-tests: an exact permutation log-rank test (the IV. Experimental Setup event is finding the reward; runs that never find it are Tasks. chain_N (N ∈ {10, 20, 40}): states 0..N − 1, censored at the budget) and an exact permutation rank- actions left/right/stay, start at 0, reward 1 at N − 1 sum test, each over all assignments of the ten runs to (terminal), episode limit 2N . room_R (R ∈ {2, 4, 6}): R the two systems, plus the difference of the means with rooms of 5 × 5 cells in a row, one door in each dividing a 95% bootstrap interval (10000 resamples). Where two wall at varying heights, start top-left, goal bottom-right, cells share their random streams (a TV task against its five actions (four moves and stay), episode limit 12R + 16. twin, one K against another) the seeds are paired and chain_20_tv and room_4_tv add the noisy-TV cell (cell 1 we use the exact signed-rank test and a paired bootstrap of the chain; cell (2, 2) of the first room). The environments interval; with five pairs its smallest attainable two-sided p are deterministic apart from the TV token and from is 0.06250, reached when all five differences have one sign. the slip variant: with probability 0.2 the executed action The tests are uncorrected for multiple tasks. Five seeds is replaced by a uniformly random one (the Q-update give little power: a non-significant test and an interval uses the chosen action); it is run on chain_20, chain_40, that includes zero are not evidence of equivalence, and we room_4 and room_6. Budgets: 30k steps (chains), 100k do not claim equivalence anywhere. The runs of Table I, steps (rooms). the normaliser ablation and the clip and β sweeps come Systems. ϵ-greedy Q-learning, Count bonus (state), from the main protocol of the repository (one random Count bonus (obs) and the RND bonus, plus the two offset stream per run, commit recorded in each registry row); controls and the four normaliser variants of Section III, all all round-2 runs come from a later commit whose code eps-greedy count, no offset count (obs) H1 (both bonuses beat ϵ-greedy on the larger tasks): penalty only count (state) RND (guarded) supported in the means, but the controls show that neither bonus is the cause. The count bonus found the reward in 105 budget all five seeds on every task. ϵ-greedy found it in no seed steps to first reward budget on chain_40, room_4 and room_6 and in one of five 104 on chain_20: with all Q-values at zero it is a uniform random walk until the first reward (count (state) against 103 ϵ-greedy: log-rank p = 0.007937 on chain_40 and room_6, the smallest value five seeds per system can give). The 102 RND bonus found the reward in every seed except one on room_6; its mean is 5242 steps on chain_40 and 76276 chain chain chain chain room room room room on room_6, where ϵ-greedy sits at the budget (log-rank 10 20 40 20 2 4 6 4 TV TV p = 0.007937 and p = 0.04762, Table II); the room_6 value is marginal and rests on four of five seeds finding the reward. On chain_10 and room_2, where ϵ-greedy does Fig. 1. Steps to first reward by system and task, log scale (bars: mean over 5 seeds; dots: the individual seeds; dotted lines: step budget, at find the reward, RND against ϵ-greedy gives p = 0.7222 which the metric is censored). and p = 0.04762 (rank-sum 1 and 0.09524). The controls change the reading. “Penalty only” has the same constant per-step penalty as the bonus systems and no bonus: reproduces the earlier runs exactly when the new flags are it finds the reward in all seeds on every task, and its at their defaults (36 earlier commands, three per system, means are close to the count bonus on chain_40, room_4 were repeated and gave the same metrics). Sweep cells and room_6 (2638 against 2603, 11921 against 11476, at the default value reuse the main runs. Superseded 29105 against 28439). On the six noise-free tasks count rows of earlier commits stay in results/runs.jsonl (append- (state) against penalty only gives log-rank p from 0.1111 only); results/runs_live.jsonl lists the rows every table (chain_20) to 0.9841 (room_4), and the 95% interval of is built from and results/runs_superseded.jsonl the rest. the difference of means includes zero on every one; it is Hardware: one laptop CPU, numpy; the main-protocol wide (on room_6, count minus penalty only is −666.2 runs took under 9 s each (400 main, 30, 30 and 20 in steps, [−2973, 1465]). So there is no significant speed the β, K and clip sweeps, 12 pilot); round 2 adds 480 advantage of the count signal over the penalty in these deterministic and 480 slip tuning runs, 100 TV runs and runs, but five seeds cannot rule out a moderate one. The 30 K-sweep runs. count bonus without the offset finds the reward in no Hypotheses (registered before the main runs, with their seed on chain_40, room_4 and room_6. Hence the gain refutation criteria; where a criterion named a t-test, the over ϵ-greedy is explained by optimism, which the ϵ-greedy censoring-aware test above replaces it). H1: without noise baseline of the main table does not have; the tuning budget both bonuses reach the first reward faster than ϵ-greedy on below shows that ϵ-greedy with an optimistic Q0 and the larger tasks (chain_40, room_6); refuted if ϵ-greedy is no penalty finds the reward as well. On room_4_tv the not slower. H2: without noise exact counts are at least as main runs show count (state) faster than penalty only fast as RND (registered as a paired comparison); refuted if (11643 against 13231 steps, log-rank p = 0.007937), but RND is faster. H3: the TV raises the time RND spends on in those runs the penalty-only control, which cannot see it and delays its first reward relative to the noise-free twin, the token, also differs between room_4 and room_4_tv while the state count is unaffected; refuted if RND’s time (11921 ± 722.8 against 13231 ± 370.8), because the main to first reward on the TV tasks is not above the twin’s. runs draw actions and tokens from one random stream. H4: TV distraction depends on the token cardinality K ∈ With independent streams (Table V) the penalty-only {1, 4, 16, 64}; refuted if neither TV time nor time to first control follows the same trajectory on both tasks and reward varies with K. count (state) against penalty only on room_4_tv gives log-rank p = 0.4524 (difference −421.4 steps, [−2071, V. Results 1363]). We therefore do not read the main-run room_4_tv difference as an effect of the count signal. Table I gives the main comparison, Fig. 1 the steps H2 (counts at least as fast as RND, noise-free): sup- to first reward, and Table II the tests we refer to. Steps ported in the log-rank test, but it is not evidence for to first reward is censored at the budget (30k on chains, the count signal. The count bonus is faster than RND 100k on rooms), so a value equal to the budget means the on all six noise-free tasks, with log-rank p < 0.05 on reward was never found. All statements are for five seeds; each (Table II): the largest is 0.04762 on chain_10, the main comparison uses one hyperparameter setting, where the rank-sum test gives 0.09524, and the next and the tuning budget of round 2 is reported separately largest 0.01587 on room_4. On the two TV tasks it below. is also faster (log-rank p = 0.02381 on room_4_tv). TABLE I Main results (mean ± std over 5 seeds). Steps to first reward is censored at the step budget (30000 on chains, 100000 on rooms). Bold: lowest mean steps of the column among the six main systems, ties all bold. “penalty only” and “count, no offset” are the controls for the constant per-step penalty (offset). The two count variants are identical on noise-free tasks by construction. Bottom block: normaliser ablation of Section VI (standard deviations in results/tables/abl_norm_long.md). System chain_10 chain_20 chain_40 room_2 room_4 room_6 chain_20_tv room_4_tv Steps to first reward eps-greedy 816 ± 879 27752 ± 5027 30000 ± 0 35427 ± 34281 100000 ± 0 100000 ± 0 25007 ± 11164 100000 ± 0 penalty only 122 ± 42 618 ± 119 2638 ± 204 982 ± 449 11921 ± 723 29105 ± 1775 557 ± 123 13231 ± 371 count, no offset 5408 ± 998 14402 ± 1433 30000 ± 0 36025 ± 9848 100000 ± 0 100000 ± 0 16227 ± 3935 100000 ± 0 count (state) 88 ± 60 476 ± 245 2603 ± 316 1156 ± 236 11476 ± 2146 28439 ± 2256 500 ± 107 11643 ± 499 count (obs) 88 ± 60 476 ± 245 2603 ± 316 1156 ± 236 11476 ± 2146 28439 ± 2256 612 ± 142 11142 ± 2646 RND (guarded) 525 ± 351 2146 ± 448 5242 ± 771 3905 ± 576 18435 ± 4082 76276 ± 21269 2387 ± 227 15184 ± 3604 Seeds that found the reward (of 5) / final return eps-greedy 5 / 1.00 ± 0.00 1 / 0.00 ± 0.00 0 / 0.00 ± 0.00 5 / 0.80 ± 0.45 0 / 0.00 ± 0.00 0 / 0.00 ± 0.00 1 / 0.00 ± 0.00 0 / 0.00 ± 0.00 penalty only 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 count, no offset 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 0 / 0.00 ± 0.00 5 / 1.00 ± 0.00 0 / 0.00 ± 0.00 0 / 0.00 ± 0.00 5 / 1.00 ± 0.00 0 / 0.00 ± 0.00 count (state) 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 count (obs) 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 RND (guarded) 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 5 / 0.97 ± 0.04 5 / 1.00 ± 0.01 4 / 0.45 ± 0.40 5 / 1.00 ± 0.00 5 / 1.00 ± 0.00 RND normaliser variants: mean steps to first reward (seeds that found the reward, of 5) RND, clip only 915 (5) 2427 (5) 6493 (5) 3704 (5) 17811 (5) 77950 (4) 2359 (5) 19682 (5) RND, warm-up only 521 (5) 2051 (5) 5005 (5) 3744 (5) 19474 (5) 83830 (3) 2347 (5) 17106 (5) RND, unguarded (v1) 6696 (5) 24510 (1) 15979 (3) 42797 (3) 69777 (2) 94878 (2) 13231 (3) 67356 (2) RND, no normalisation 64 (5) 570 (5) 2620 (5) 1145 (5) 13206 (5) 29808 (5) 620 (5) 11439 (5) TABLE II Uncorrected exact permutation p-values on steps to first reward, log-rank / rank-sum, main runs, 5 seeds per system. cnt / RND: count (state) against RND (the comparison registered for H2). pen / RND, cnt / pen, RND / ϵ-gr, cnt / ϵ-gr: penalty only against RND, count (state) against penalty only, RND against ϵ-greedy, count (state) against ϵ-greedy. Differences of means with 95% intervals are in results/tables/tests.md. Task cnt / RND pen / RND cnt / pen RND / ϵ-gr cnt / ϵ-gr chain_10 0.048 / 0.095 0.063 / 0.151 0.460 / 0.325 0.722 / 1.000 0.056 / 0.135 chain_20 0.008 / 0.008 0.008 / 0.008 0.111 / 0.151 0.008 / 0.008 0.008 / 0.008 chain_40 0.008 / 0.008 0.008 / 0.008 0.881 / 1.000 0.008 / 0.008 0.008 / 0.008 room_2 0.008 / 0.008 0.008 / 0.008 0.921 / 0.841 0.048 / 0.095 0.008 / 0.008 room_4 0.016 / 0.016 0.008 / 0.008 0.984 / 0.690 0.008 / 0.008 0.008 / 0.008 room_6 0.008 / 0.008 0.008 / 0.008 0.730 / 0.841 0.048 / 0.048 0.008 / 0.008 chain_20_tv 0.008 / 0.008 0.008 / 0.008 0.532 / 0.587 0.008 / 0.008 0.008 / 0.008 room_4_tv 0.024 / 0.032 0.556 / 1.000 0.008 / 0.008 0.008 / 0.008 0.008 / 0.008 However, the penalty-only control is faster than RND by (differences of means and rank-sum values are in re- similar margins (2146 against 618.4 steps on chain_20, sults/tables/tune_tests.md) between the best-of-four and 18435 against 11921 on room_4, 76276 against 29105 between the default configurations of two systems. These on room_6): log-rank p < 0.05 on chain_20, chain_40, runs use independent random streams, so their numbers room_2, room_4, room_6 and chain_20_tv, but not on are not those of Table I. chain_10 (p = 0.06349) nor on room_4_tv (p = 0.5556). ϵ-greedy. With Q0 = 0 it finds the reward in no seed on So H2 holds because the RND-style signal costs time chain_40, room_4 and room_6 at either ϵ, with or with- relative to no bonus at this bonus scale, not because the out slip; with an optimistic Q0 = 1 and no step penalty count signal gains any; the slowdown is not established it finds it in every seed of every task. The best ϵ-greedy on every task, and the tuning budget below shows that it configuration and the best penalty-only configuration do depends on the scale. not differ significantly on any task, deterministic or slip Where RND fails. Room_6 is the worst case: one seed (smallest log-rank p = 0.2063 deterministic and 0.07937 never finds the reward, the spread is large (76276 ± 21269 slip, both on room_6). Under slip on room_6 the best steps), and because the reward is found late the final ϵ-greedy (35740 steps) is faster than the best penalty- return is only 0.4452 ± 0.4025. Along the chains the only configuration (45539); the interval of the difference absolute gap to the penalty-only control grows (524.8 excludes zero, [2238, 18921] steps, but the tests do not. against 122, 2146 against 618.4, 5242 against 2638) while The gain over ϵ-greedy is therefore a gain of optimism, the relative gap shrinks; the rooms show no monotone whether it comes from a negative step reward or from pattern. Q0 = 1. Tuning budget, bonus scale and stochastic transitions Count (state). Over κ ∈ {0.25, 0.5, 1, 2} its means move (round 2). Table III gives steps to first reward of all little (on room_6, deterministic, from 27483 at κ = 1 to 24 configurations on four tasks, deterministic and with 31076 at κ = 2), and the best count (state) configuration slip probability 0.2, and Table IV the log-rank p-values against the best penalty-only configuration gives log-rank p ≥ 0.3095 on all eight cells. At the default configurations steps to first reward / budget 1.0 on deterministic room_6, count (state) is faster than unguarded (v1), found penalty only by −4543 steps ([−7694, −1546], log-rank 0.8 unguarded (v1), not found p = 0.08730): the interval excludes zero although the test 0.6 guarded, found does not, and the main runs gave a smaller difference on guarded, not found 0.4 the same task (−666.2 steps); a count advantage of that size cannot be excluded. 0.2 Count (state-action). At κ = 1 it is slower than penalty 0.0 only on chain_40 and room_6 (log-rank p = 0.007937 100 101 102 103 104 105 106 107 and 0.04762 deterministic, 0.007937 on slip room_6) and largest bonus b in the first 100 steps slowest at κ = 2; at its best κ it does not differ significantly from the best penalty-only configuration on any task. RND. Its slowdown depends on the bonus scale. At Fig. 2. One point per run (8 tasks × 5 seeds): largest bonus in κ = 1 it is slower than penalty only on all four deter- the first 100 steps against steps to first reward as a fraction of the budget, for the unguarded and the guarded normaliser. Dotted line: ministic tasks (p = 0.007937 on each of them) and on spike threshold 104 . three of four slip tasks; at κ = 0.25 its means come close to penalty only; at κ = 2 it finds the reward in none of five seeds on deterministic room_4 and room_6 and on on either task, none observed on room_4_tv, and on slip room_6. Even at its best κ it remains slower than the chain_20_tv a delay of several hundred steps is within best penalty-only configuration on deterministic chain_40 the interval. For the observation count the differences are (p = 0.03175, difference 605.8 steps) and, marginally, on 10.20 steps ([−174.8, 187.4]) and −189.8 steps ([−1427, room_6 (p = 0.05556); on the other cells it does not differ 848.6]). These intervals show what five seeds can and significantly. cannot exclude; we do not claim equivalence. For RND no RND (return-normalised). With the original normalisa- delay is the expected outcome: its target is a deterministic tion by the standard deviation of the intrinsic return the function of the observation and our token set is finite, bonus is smaller, and at κ = 1 it is slower than penalty so both the RND error and the observation count on only on the two deterministic chains (differences 180.4 and the TV decay with visits [8]. The systems that see the 338.2 steps, p = 0.007937) but not on the rooms, where on token do spend more time on the TV than the state deterministic room_6 it is faster by −2446 steps ([−5083, count on room_4_tv (0.02449 ± 0.001591 for RND and −210.6], p = 0.07143). 0.02342 ± 0.0004569 for the observation count against Stochastic transitions. With 20% random actions, 0.01297 ± 0.0004592), and the K sweep in Section VI penalty only still finds the reward in every seed of every shows that this share depends on the token. The large TV task, and no bonus system is significantly faster than it, share of ϵ-greedy on chain_20_tv (0.2113) is unrelated to with default or best configurations (Table IV); the one novelty: the TV cell is next to the start, where a random interval that excludes zero on the bonus side is return- walk stays. normalised RND on slip chain_40 (−804.6 steps, [−1490, What the numbers do not show. They do not show that −165.6], p = 0.1190). This setting therefore did not count or RND bonuses are useless in general: the tasks are separate the count or novelty signal from optimism: we small and tabular, optimism alone explores systematically did not find a task in which optimism alone is insufficient. in the deterministic ones, and in the one stochastic variant The best of four configurations is chosen on the evaluation we ran (slip probability 0.2) it was still sufficient. Nor can seeds, which favours every tuned system alike, and four they show a noisy-TV failure: forward-model curiosity is configurations are a small budget. not among our systems. H3 (noisy TV delays RND, not the state count): not supported in the means. With independent random VI. Ablations and Analysis streams, the systems that cannot see the token (the ϵ- RND normaliser (all eight tasks). This subsection docu- greedy baseline, penalty only and count (state)) follow ments an implementation pitfall of our first version of the identical trajectories on every TV task and its twin (5 of bonus; it is not a finding about RND. The bottom block 5 seeds on each task for each system), and count (obs) of Table I compares the guarded normaliser of (2) with with K = 1 follows that of count (state) on room_4_tv its variants; Table VI gives bonus diagnostics over the 40 (5 of 5 seeds), so for the systems that see the token runs of each variant and Table VIII the final return and a TV-minus-twin difference comes from the token alone the greedy success of every variant, not only the time to (Table V). For RND the mean difference is 275.6 steps first reward. on chain_20_tv (95% interval [−160.4, 732.8], the TV Implementation pitfall: the unguarded normaliser. The run slower in 3 of 5 seeds, signed-rank p = 0.4375) and first version of this study used b = e/(σe + 10−8 ) from −4285 steps on room_4_tv ([−7389, −1100], the TV run the first step. When the first arrival observations coincide slower in 1 of 5 seeds, p = 0.1875): no significant delay (the agent stays on the start cell or bumps into a wall) the TABLE III Steps to first reward (mean over 5 seeds, seeds that found the reward of 5 in brackets) of every configuration of the tuning budget, deterministic (left) and with slip probability 0.2 (right). ϵ-greedy and penalty only: (ϵ, Q0 ); the other systems: bonus scale k = κ with the step penalty fixed. Bold: lowest mean of the four configurations of a system in the column. Configuration chain_20 chain_40 room_4 room_6 chain_20 chain_40 room_4 room_6 ϵ-greedy, ϵ = 0.01, Q0 = 0 29607 (1) 30000 (0) 100000 (0) 100000 (0) 29607 (1) 30000 (0) 100000 (0) 100000 (0) ϵ-greedy, ϵ = 0.01, Q0 = 1 578 (5) 2189 (5) 11912 (5) 29599 (5) 842 (5) 3771 (5) 15230 (5) 35740 (5) ϵ-greedy, ϵ = 0.1, Q0 = 0 29607 (1) 30000 (0) 100000 (0) 100000 (0) 29607 (1) 30000 (0) 100000 (0) 100000 (0) ϵ-greedy, ϵ = 0.1, Q0 = 1 533 (5) 2540 (5) 11915 (5) 27821 (5) 889 (5) 4890 (5) 18809 (5) 48882 (5) penalty only, ϵ = 0.01, Q0 = 0 578 (5) 2189 (5) 11759 (5) 29089 (5) 763 (5) 3580 (5) 17325 (5) 45967 (5) penalty only, ϵ = 0.01, Q0 = 1 578 (5) 2189 (5) 11913 (5) 26376 (5) 763 (5) 3373 (5) 16902 (5) 46550 (5) penalty only, ϵ = 0.1, Q0 = 0 533 (5) 2540 (5) 12346 (5) 32026 (5) 889 (5) 4682 (5) 18592 (5) 45539 (5) penalty only, ϵ = 0.1, Q0 = 1 501 (5) 2606 (5) 11825 (5) 29653 (5) 897 (5) 4876 (5) 15934 (5) 48039 (5) count (state), k = 0.25 628 (5) 2684 (5) 12628 (5) 29580 (5) 781 (5) 4169 (5) 16215 (5) 47689 (5) count (state), k = 0.5 574 (5) 2798 (5) 12695 (5) 28934 (5) 663 (5) 3902 (5) 16765 (5) 50926 (5) count (state), k = 1 532 (5) 2380 (5) 11924 (5) 27483 (5) 780 (5) 4523 (5) 16453 (5) 46915 (5) count (state), k = 2 725 (5) 2907 (5) 11376 (5) 31076 (5) 1025 (5) 4569 (5) 17212 (5) 49396 (5) count (s,a), k = 0.25 542 (5) 2858 (5) 11783 (5) 30038 (5) 961 (5) 4520 (5) 15345 (5) 50240 (5) count (s,a), k = 0.5 644 (5) 2750 (5) 12347 (5) 30956 (5) 916 (5) 4094 (5) 17594 (5) 53513 (5) count (s,a), k = 1 598 (5) 3290 (5) 13692 (5) 34755 (5) 960 (5) 4937 (5) 21322 (5) 59483 (5) count (s,a), k = 2 1339 (5) 5207 (5) 22356 (5) 46247 (5) 1793 (5) 7751 (5) 28064 (5) 66083 (5) RND, k = 0.25 541 (5) 2795 (5) 12022 (5) 29668 (5) 644 (5) 4122 (5) 17941 (5) 50171 (5) RND, k = 0.5 1012 (5) 3046 (5) 13950 (5) 33215 (5) 1214 (5) 4377 (5) 17000 (5) 53986 (5) RND, k = 1 1656 (5) 4679 (5) 21749 (5) 83282 (4) 1442 (5) 6119 (5) 20231 (5) 59287 (5) RND, k = 2 2878 (5) 12919 (5) 100000 (0) 100000 (0) 2315 (5) 10889 (5) 31352 (5) 100000 (0) RND (return-norm.), k = 0.25 532 (5) 2921 (5) 12039 (5) 29967 (5) 946 (5) 3643 (5) 19018 (5) 49489 (5) RND (return-norm.), k = 0.5 570 (5) 2807 (5) 11588 (5) 29929 (5) 741 (5) 4633 (5) 16824 (5) 46214 (5) RND (return-norm.), k = 1 714 (5) 2878 (5) 11989 (5) 29581 (5) 970 (5) 3877 (5) 17928 (5) 47408 (5) RND (return-norm.), k = 2 700 (5) 3052 (5) 11413 (5) 30846 (5) 1146 (5) 4460 (5) 17414 (5) 47022 (5) TABLE IV Exact permutation log-rank p on steps to first reward, 5 seeds per system, between the best configuration of each system (top block) and between the default configurations (bottom block), deterministic (left) and slip (right). a / b: system a against system b. Rank-sum p and the differences of means with intervals are in results/tables/tune_tests.md. a/b chain_20 chain_40 room_4 room_6 chain_20 chain_40 room_4 room_6 best configuration of each system penalty only / ϵ-greedy 1.000 1.000 0.373 0.206 0.841 0.421 0.794 0.079 count (state) / penalty only 0.754 0.889 0.952 0.635 0.603 0.310 0.310 0.683 count (s,a) / penalty only 0.825 0.095 0.944 0.167 0.714 0.135 0.817 0.079 RND / penalty only 0.968 0.032 0.865 0.056 0.468 0.103 0.405 0.135 RND (return-norm.) / penalty only 0.802 0.008 0.587 0.048 0.992 0.333 0.730 0.881 RND / count (state) 0.849 0.048 0.754 0.373 0.698 0.952 0.675 0.183 default configuration of each system penalty only / ϵ-greedy 0.008 0.008 0.008 0.008 0.008 0.008 0.008 0.008 count (state) / penalty only 0.714 0.619 0.452 0.087 0.206 0.683 0.206 0.683 count (s,a) / penalty only 0.270 0.008 0.508 0.048 0.937 0.635 0.357 0.008 RND / penalty only 0.008 0.008 0.008 0.008 0.040 0.016 0.389 0.032 RND (return-norm.) / penalty only 0.008 0.008 0.635 0.071 0.889 0.119 0.270 0.349 RND / count (state) 0.008 0.008 0.008 0.008 0.008 0.016 0.016 0.063 errors are identical, because the predictor is first updated numerical artefact of the normaliser and say nothing about after eight transitions, so σe = 0 and the bonus is e/10−8 . the novelty signal; its final returns and greedy successes Table VI shows the consequence: 20 of the 40 unguarded are correspondingly poor (Table VIII). runs have such a spike, with bonuses up to 14434239 and Q-values up to 3615017, and only 1 of these 20 finds the Guarded variants. Guarded, clip-only and warm-up-only reward (chain_10, after 28656 of 30000 steps), whereas RND behave alike in steps to first reward (Table I): all 20 runs without a spike find it. Fig. 2 shows the two each finds the reward in 38 or 39 of 40 runs, and groups, separated by four orders of magnitude in the early their means differ less from each other than from the bonus (the spike threshold of 104 was set after seeing this unguarded variant. Clip-only is the slowest of the three gap). The intervention confirms the cause: with only the on the noise-free chains and on room_4_tv (for example clip, or only the warm-up, no run has a spike and 39 915.4, 6493 and 19682 steps on chain_10, chain_40 and and 38 of 40 runs find the reward. The failures of the room_4_tv against 524.8, 5242 and 15184 for the guarded unguarded variant in Table I (for example only 2 of 5 method). They differ more in what follows the first reward seeds succeed on room_4 and on room_6) are therefore a (Table VIII): on room_4 the final return is 1.00 ± 0.01 for the guarded variant, 0.94 ± 0.12 for clip-only and TABLE V TV tasks with independent random streams (5 seeds): share of steps on the TV cell (mean ± std), mean steps to first reward on the noise-free twin (“twin”) and on the TV task (“TV”), the mean difference TV minus twin with a paired 95% bootstrap interval, and the exact signed-rank p (smallest attainable with five pairs: the value for all differences of one sign). Systems that cannot see the token follow identical trajectories on both tasks (difference zero). System TV share twin TV TV − twin [95% CI] p chain_20_tv against its twin chain_20 ϵ-greedy 0.211 ± 0.003 29607 29607 0 [0, 0] 1 penalty only 0.054 ± 0.001 533 533 0 [0, 0] 1 count (state) 0.054 ± 0.000 532 532 0 [0, 0] 1 count (obs) 0.055 ± 0.000 532 543 10.20 [−174.8, 187.4] 1 RND (guarded) 0.062 ± 0.003 1656 1932 275.6 [−160.4, 732.8] 0.4375 room_4_tv against its twin room_4 ϵ-greedy 0.034 ± 0.001 100000 100000 0 [0, 0] 1 penalty only 0.013 ± 0.011 12346 12346 0 [0, 0] 1 count (state) 0.013 ± 0.000 11924 11924 0 [0, 0] 1 count (obs) 0.023 ± 0.000 11924 11735 −189.8 [−1427, 848.6] 1 RND (guarded) 0.024 ± 0.002 21749 17464 −4285 [−7389, −1100] 0.1875 TABLE VI the task where each is largest). The bonus-scale sweep of Bonus diagnostics of the RND variants over 40 runs each (8 tasks Section V varies the bonus against the penalty: a smaller × 5 seeds). Spike: b > 104 within the first 100 steps. “found”: runs that found the reward. Max b and max |Q|: maximum over runs. scale brings RND close to penalty only and a larger one Median b (median over the five seeds of the per-run median) and makes it fail on the deterministic rooms, so the slowdown share of steps with b > 1 (positive shaped reward; mean over the depends on the scale we chose as much as on the signal, five seeds): the task with the largest value. and it is smaller with the original return normalisation, guarded clip only warm-up v1 no norm. whose bonus is smaller. That positive shaped rewards spike runs (of 40) 0 0 0 20 0 make recently novel cells attractive to revisit, which may found, spike runs – – – 1/20 – found, other runs 39/40 39/40 38/40 20/20 40/40 be what costs time, remains untested: we varied the bonus median b 0.04261 0.04966 0.03988 0.01432 3.948 × 10−5 scale and the normaliser, not the predictor learning rate max b 5 5 28.99 14434239 0.4405 share b > 1 0.05782 0.06463 0.06113 0.03735 0 or the update frequency. max |Q| 12.27 8.823 14.74 3615017 3.351 Clip c (chain_20, room_4). Table VII: a tighter clip (c = 2) gives lower means than c = 5 on both tasks (1730 against 2146 and 15396 against 18435 steps). On 0.82 ± 0.40 for warm-up-only, whose seed 2 ends with final chain_20, c = 20 is identical to no clip in every metric, return 0.104 and greedy success 0, against 1.00 for penalty because the bonus never reaches 20 there. On room_4 the only; on room_6 all three end with a lower final return steps to first reward of c = 20 and of no clip are identical than penalty only, where the reward is found late. The in all five seeds, which says that the two variants behaved warm-up alone lets the bonus reach 28.99 (room_4, seed alike up to the first reward and not that they behave alike 1) and 24.62 (seed 2); we did not establish whether these afterwards: the warm-up-only bonus reaches 28.99 in seed excursions caused the low final return of seed 2. All three 1 and 24.62 in seed 2, the c = 20 runs clip on 0.007% are slower than the penalty-only control in the mean on and 0.006% of their steps, and their final returns differ every task. (0.974 against 0.997 in seed 1, 0.003 against 0.104 in seed No normalisation. The raw error never exceeds 0.4405 2, clipped against not clipped; the greedy success of seed 2 and is never above the offset of 1 (the share of steps with is 0 in both). Table VII also gives final return and greedy b > 1 is zero in every run, Table VI), so this variant is success: they are close to 1 for c = 2 and c = 5 and lower, a step penalty of about β with a small perturbation. Its with one seed failing, for c = 20 and for no clip on room_4. means track the penalty-only control (for example 2620 All settings find the reward in every seed and all remain against 2638 on chain_40 and 29808 against 29105 on slower than the penalty-only control in mean steps (618.4 room_6), with deviations in both directions: faster on and 11921 steps). The differences between clip values in chain_10 (64 against 122) and room_4_tv (11439 against steps are of the order of one standard deviation and were 13231), slower on room_4 (13206 against 11921). It finds not tested. the reward in all 40 runs, but this shows that the raw Token cardinality K (H4, room_4_tv). Table IX, with error is too small to matter, not that the novelty signal independent random streams and an RND input of fixed works. size: the TV share rises with K for both systems that Why is normalised RND slower than no bonus? At the see the token, from 0.01579 to 0.02942 for RND and default scale the normalised bonus is close to zero most of from 0.01297 to 0.02707 for the observation count. It the time and exceeds the offset on a small share of the steps is higher at K = 64 than at K = 1 in all five seeds (rows “median b” and “share b > 1” of Table VI, which give (RND: difference 0.01363, 95% interval [0.01042, 0.01656]; TABLE VII Clip sweep for the RND bonus (warm-up 64): steps to first reward, share of clipped steps, final return (mean ± std over 5 seeds) and number of seeds whose greedy policy reaches the goal. Every setting finds the reward in all five seeds. c = 5 is the main setting; “none” is the warm-up-only variant. c chain_20 steps clipped return greedy room_4 steps clipped return greedy 2 1730 ± 124 0.0047 1.00 ± 0.00 5 15396 ± 2996 0.0054 1.00 ± 0.00 5 5 2146 ± 448 0.0003 1.00 ± 0.00 5 18435 ± 4082 0.0009 1.00 ± 0.01 5 20 2051 ± 447 0.0000 1.00 ± 0.00 5 19474 ± 2608 0.0000 0.79 ± 0.44 4 none 2051 ± 447 0.0000 1.00 ± 0.00 5 19474 ± 2608 0.0000 0.82 ± 0.40 4 TABLE VIII Final return (mean ± std over 5 seeds; mean return of the last 20% of training episodes) and, in brackets, the number of seeds whose greedy policy reaches the goal, for the RND normaliser variants and the penalty-only control (main runs). System chain_10 chain_20 chain_40 room_2 room_4 room_6 chain_20_tv room_4_tv guarded 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 0.97 ± 0.04 (3) 1.00 ± 0.01 (5) 0.45 ± 0.40 (1) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) clip only 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 0.98 ± 0.04 (5) 0.94 ± 0.12 (4) 0.32 ± 0.42 (1) 1.00 ± 0.00 (5) 1.00 ± 0.01 (4) warm-up only 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 0.82 ± 0.40 (4) 0.11 ± 0.23 (0) 1.00 ± 0.00 (5) 0.99 ± 0.02 (5) unguarded (v1) 0.80 ± 0.45 (4) 0.20 ± 0.45 (1) 0.60 ± 0.55 (3) 0.60 ± 0.55 (3) 0.40 ± 0.55 (2) 0.15 ± 0.34 (0) 0.60 ± 0.55 (3) 0.40 ± 0.55 (2) no normalisation 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) penalty only (control) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) 1.00 ± 0.00 (5) TABLE IX cannot be kept per state-action pair. We did not find a set- Sweep over the TV token cardinality K on room_4_tv with ting in which optimism alone is insufficient, and we cannot independent random streams (mean ± std over 5 seeds): steps to first reward and TV share for RND and the observation count say that none exists. The ϵ-greedy baseline of the main (Cnt). K = 16 is the main setting. table has no offset and Q0 = 0; in round 2 every system got a budget of four configurations (Section IV), chosen on K RND steps RND TV Cnt steps Cnt TV the evaluation seeds, which is small and optimistic for the 1 18822 ± 4516 0.016 ± 0.002 11924 ± 1144 0.013 ± 0.000 4 15625 ± 1909 0.020 ± 0.002 11619 ± 2230 0.018 ± 0.002 best-of-four; other learning rates and discounts were not 16 17464 ± 2875 0.024 ± 0.002 11735 ± 1034 0.023 ± 0.000 tuned. The offset was introduced after a one-seed pilot. 64 17671 ± 3513 0.029 ± 0.002 12002 ± 2481 0.027 ± 0.000 All systems are our own reimplementations. The RND- style bonus differs from the original in ways that matter here: the main normaliser uses the standard deviation of observation count: 0.01410, [0.01372, 0.01452]; signed-rank raw errors (the return-normalised variant uses that of the p = 0.06250 for both, the smallest value five pairs can intrinsic return but keeps the warm-up, the clip and the give). Steps to first reward shows no consistent change offset), there is no separate intrinsic value head, and the between K = 1 and K = 64: the mean difference is −1151 guard (W = 64, c = 5) was added after the first version steps for RND ([−4911, 3658], p = 0.6250) and 77.60 steps failed, although it was not tuned on results; predictor for the observation count ([−2125, 1959], p = 0.8125); the learning rate, update frequency and network size were not intervals are wide, and we do not claim that K costs explored, and the clip sweep suggests a smaller clip would nothing. At K = 1 the observation count follows the help a little. The tests are uncorrected exact permutation trajectory of the state count (Section V). H4 is supported tests on five runs per system, with budget-censored runs for the time spent on the TV and not shown for the time treated as censored; their smallest attainable p is the same to reward: more tokens roughly double the TV share, but for many cells (Table II), and a non-significant result it stays small (the largest mean share is 0.02942). and an interval that includes zero are not evidence of Bonus scale β (room_4). For β ∈ {0.03, 0.1, 0.3, 1} equivalence, which we did not test with an equivalence steps to first reward is identical for the RND and the margin. The bootstrap intervals on five seeds are rough. count bonus (results/tables/sweep_beta_perconfig.md in The runs of Table I use one random stream per run, so the repository), as the linearity argument of Section III their TV columns are not coupled to their twins; the TV predicts; the sweep says nothing more about β. and K comparisons use the independent-stream runs of round 2. The noisy-TV test has one TV placement off the VII. Limitations critical path, a finite uniform token set and no forward- This is a small CPU study: tabular states, at most model bonus, so it cannot reproduce the failure the noisy- 6 rooms (155 cells), five seeds per cell. The tasks are TV argument describes. A full study would add other deterministic apart from the TV token and one slip variant stochastic dynamics, a forward-model bonus, more seeds (probability 0.2); the conclusion that the bonuses add with an equivalence margin and larger mazes. nothing measurable may not carry over to other stochastic dynamics (other slip levels, sticky actions, distractor dead- ends), function approximation or pixels, where optimism VIII. Conclusion [8] Y. Burda, H. Edwards, A. Storkey, and O. Klimov, “Exploration by Random Network Distillation,” arXiv preprint In a controlled tabular testbed the count bonuses and arXiv:1810.12894, 2018. [Online]. Available: https://arxiv.org/ the penalty-only control found a sparse reward far faster abs/1810.12894 [9] A. N. Mavor-Parker, K. A. Young, C. Barry, and L. D. Griffin, than ϵ-greedy with Q0 = 0 as chains and room grids “How to Stay Curious while Avoiding Noisy TVs using Aleatoric grew. The controls show that the constant step penalty Uncertainty Estimation,” arXiv preprint arXiv:2102.04399, they share (optimistic initialisation), not the count signal, 2021. [Online]. Available: https://arxiv.org/abs/2102.04399 [10] A. A. Taïga, W. Fedus, M. C. Machado, A. Courville, and explains the gain: counts without the penalty fail on the M. G. Bellemare, “On Bonus-Based Exploration Methods larger tasks, ϵ-greedy with an optimistic Q0 and no penalty in the Arcade Learning Environment,” arXiv preprint finds the reward as well, and counts with the penalty were arXiv:2109.11052, 2021. [Online]. Available: https://arxiv.org/ abs/2109.11052 not significantly different from the penalty alone on the [11] J. Martin, S. N. Sasikumar, T. Everitt, and M. Hutter, noise-free tasks, also with the bonus scale chosen from four “Count-Based Exploration in Feature Space for Reinforcement values and with 20% random actions, where no bonus Learning,” arXiv preprint arXiv:1706.08090, 2017. [Online]. Available: https://arxiv.org/abs/1706.08090 system was significantly faster than penalty only. This [12] T. Rashid, B. Peng, W. Böhmer, and S. Whiteson, is a result for five seeds, whose intervals cannot exclude “Optimistic Exploration even with a Pessimistic Initialisation,” a moderate difference. Our RND-style bonus, once its arXiv preprint arXiv:2002.12174, 2020. [Online]. Available: https://arxiv.org/abs/2002.12174 normaliser was guarded, found the reward in 39 of 40 [13] D. Jarrett, C. Tallec, F. Altché, T. Mesnard, R. Munos, and runs but was slower than the count bonus on every task M. Valko, “Curiosity in Hindsight: Intrinsic Exploration in and slower than the penalty alone on six of eight; the Stochastic Environments,” arXiv preprint arXiv:2211.10515, 2022. [Online]. Available: https://arxiv.org/abs/2211.10515 slowdown depends on the bonus scale and is smaller with the original return normalisation. The noisy TV drew more visits as its token set grew, and no significant delay of RND or the observation count was observed, although the interval for RND on chain_20_tv does not exclude a delay of a few hundred steps. The division by a zero running standard deviation in our first normaliser is a pitfall for small reimplementations, not a result about RND. We read this as evidence about small gridworlds and one untuned RND-style implementation; the main follow-ups are dynamics in which optimism is insufficient, a forward-model bonus for the noisy-TV test, and more seeds with an equivalence margin. References [1] I. Osband, C. Blundell, A. Pritzel, and B. V. Roy, “Deep Exploration via Bootstrapped DQN,” arXiv preprint arXiv:1602.04621, 2016. [Online]. Available: https://arxiv.org/ abs/1602.04621 [2] A. L. Strehl and M. L. Littman, “An analysis of model-based Interval Estimation for Markov Decision Processes,” Journal of Computer and System Sciences, 2008. [Online]. Available: https://doi.org/10.1016/j.jcss.2007.08.009 [3] M. G. Bellemare, S. Srinivasan, G. Ostrovski, T. Schaul, D. Saxton, and R. Munos, “Unifying Count-Based Exploration and Intrinsic Motivation,” arXiv preprint arXiv:1606.01868, 2016. [Online]. Available: https://arxiv.org/abs/1606.01868 [4] H. Tang, R. Houthooft, D. Foote, A. Stooke, X. Chen, Y. Duan, J. Schulman, F. D. Turck, and P. Abbeel, “#Exploration: A Study of Count-Based Exploration for Deep Reinforcement Learning,” arXiv preprint arXiv:1611.04717, 2016. [Online]. Available: https://arxiv.org/abs/1611.04717 [5] G. Ostrovski, M. G. Bellemare, A. van den Oord, and R. Munos, “Count-Based Exploration with Neural Density Models,” arXiv preprint arXiv:1703.01310, 2017. [Online]. Available: https://arxiv.org/abs/1703.01310 [6] D. Pathak, P. Agrawal, A. A. Efros, and T. Darrell, “Curiosity-driven Exploration by Self-supervised Prediction,” arXiv preprint arXiv:1705.05363, 2017. [Online]. Available: https://arxiv.org/abs/1705.05363 [7] Y. Burda, H. Edwards, D. Pathak, A. Storkey, T. Darrell, and A. A. Efros, “Large-Scale Study of Curiosity-Driven Learning,” arXiv preprint arXiv:1808.04355, 2018. [Online]. Available: https://arxiv.org/abs/1808.04355