Library
3 papers in Reinforcement learning. Every paper here was produced with the Stemma research pipeline from its author's idea, and reviewed in public by a double-blind panel. Open a paper to read it, its code, its results and every review. How review works
-
lib-2610-00039
Maximisation Bias in Tabular Q-learning and Double Q-learning: Bias and Policy Cost on a Trap MDP and Random MDPs
Hongbin Xu. Reinforcement learning, 2026-10-03
Accepted, score 4.5 of 10, 2 reviewers
Q-learning bootstraps from the maximum of noisy value estimates, which is positively biased; double Q-learning removes this bias by decoupling action selection from evaluation. We reimplement tabular Q-learning, Double Q-learning, Weighted Double Q-learning and Maxmin Q-learning in numpy, vectorised over 1,000 independent runs per seed (5 seeds), and measure the estimated-minus-true value of the start state and the fraction of suboptimal actions on the Sutton–Barto maximisation-bias MDP and on random 20-state MDPs. On the trap MDP the textbook picture holds: the signed final Q-bias of the trap action is 0.07451 for Q-learning and 0.06056 for Double Q-learning (0.07478 versus 0.006783 from a warm start), and the suboptimal-action fraction falls from 0.3795 to 0.1186. On random MDPs at the shared step size α=0.1 and ε=0.1 with 1,000 episodes, every method ends below the true start-state value, Q-learning least (-0.1498 versus -0.3636 for Double Q-learning), and Double Q-learning takes more suboptimal actions (0.3119 versus 0.2551). Added controls qualify this. Running 10 times longer, from zero, true and optimistic initialisation, all three initialisations reach the same values, the start-state bias stays negative (Q-learning -0.05396, Double -0.1015), and Double Q-learning then takes fewer suboptimal actions than Q-learning (0.1381 versus 0.1601). With uniformly random behaviour (ε=1) Q-learning's bias is positive and Double Q-learning has the lower greedy-policy loss. Giving Double Q-learning twice Q-learning's step size matches Q-learning's bias and action fraction at α_Q=0.02 and 0.05, matches the action fraction but not the bias at α_Q=0.1, and is worse on both at α_Q=0.2. The random-MDP ranking at 1,000 episodes depends on the step size and on which action metric is read. These are small tabular experiments with one MDP family; they largely reproduce known effects and do not transfer directly to deep RL.
-
lib-2610-00011
Count Bonuses versus a Random-Network-Distillation Bonus in Sparse-Reward Gridworlds: A Small Reimplementation Study with a Noisy-TV Test
Kavya Saxena. Reinforcement learning, 2026-10-02
Accepted, score 4.5 of 10, 2 reviewers
We compare exploration schemes for tabular Q-learning on chain and multi-room gridworlds with one sparse goal reward: ε-greedy, count-based bonuses (on arrival states and on state-action pairs) and an RND-style bonus (a small numpy predictor distilling a fixed random target), all reimplemented. The bonus systems carry a constant per-step penalty (an optimistic offset), so we add a penalty-only control, a count bonus without the penalty, a sweep of the bonus scale against the penalty, the same tuning budget of four configurations for every system (including ε and the initial value Q_0 of ε-greedy), a stochastic-transition variant (20% random actions) and a noisy-TV cell that emits a random token, with independent random streams for actions, dynamics, tokens and network initialisation. This is a small CPU study: five seeds per cell, so the tests (exact permutation log-rank tests on budget-censored steps to first reward) cannot establish equivalence, and we report observed mean differences with bootstrap intervals. The count bonus found the reward in every run on all eight tasks, while ε-greedy (ε=0.1, Q_0=0) found it in one of five seeds on chain_20 and in none on chain_40, room_4 and room_6. This gap is not evidence for the count signal: ε-greedy with an optimistic Q_0=1 and a penalty-only control with no bonus both find the reward in every seed, the count bonus without the penalty fails on the larger tasks, and the count bonus and the penalty-only control did not differ significantly on any noise-free task (log-rank p≥0.1111); the intervals of their mean differences include zero but are wide. With 20% random actions no bonus system was significantly faster than penalty only (log-rank p<0.05), with default or best-of-four settings. At the default bonus scale the RND-style bonus found the reward in 39 of 40 runs and was slower than the count bonus on all eight tasks, and slower than the penalty-only control with p<0.05 on six of eight (not on chain_10, p=0.06349, nor on room_4_tv, p=0.5556); the slowdown depends on the bonus scale, and at twice the default scale RND found the reward in none of five seeds on the deterministic room_4 and room_6. A noisy TV produced no significant delay for RND or the observation count (RND, TV minus twin: 275.6 steps on chain_20_tv, 95% interval [-160.4, 732.8], and -4285 steps 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 rose with the number of tokens (0.01579 to 0.02942 for RND on room_4_tv). These are single-implementation, small-scale results, not a verdict on RND at scale.
-
lib-2610-00003
How Many Planning Steps? Dyna-Q, Dyna-Q+ and Prioritized Sweeping Under Stale and Stochastic Tabular Models
Ashley Hayes. Reinforcement learning, 2026-10-02
Accepted, score 4.75 of 10, 2 reviewers
Model-based agents trade sample efficiency against the risk that the learned model is wrong. We study this trade-off in the smallest setting where it can be measured: tabular Dyna-Q with a last-outcome model on 6x9 mazes whose walls change mid-training (blocking, shortcut) or whose transitions are stochastic (slip 0.3), comparing reimplemented Q-learning, Dyna-Q, Dyna-Q+ and prioritized sweeping over 1–100 planning steps per real step, with 20 seeds for the main comparison and 10 for the sweeps. Planning clearly helps when the model is right (Dyna-Q beats Q-learning on the static maze, paired p=1.6× 10^-6), and Dyna-Q+ recovers from a stale model and finds a shortcut where plain Dyna-Q does not, with its advantage growing with the number of planning steps. Under slip 0.3 the mean cumulative reward of Dyna-Q with a last-outcome model falls with n (from 86.1 at n=1 to 41.5 at n=100; paired p=2.1× 10^-4, 20 seeds). It is above Q-learning (49.0) at n=1, 5 and 20 and shows no detectable difference from it at n=50 and n=100 (paired p=0.93 and 0.31). A control with a count-based (sampled-outcome) model on the same seeds does not decline with n (107.5 at n=1, 129.4 at n=100); with α=0.1 instead of 0.5 the last-outcome model on the stochastic maze still declines for n>20 but stays above Q-learning at every n tried. We could not test with this design whether Dyna-Q's post-change reward on the blocking maze falls with n (the per-seed spread exceeds the mean at every n≥5). The Dyna-Q+ bonus weight must match the reward scale of this implementation: κ≥ 0.01 collapses performance (a mismatch we hypothesise, without testing it, comes from the bonus accumulating through the untried-action self-loops; only four values of κ were tried). Without the untried-action initialisation Dyna-Q+'s post-change reward is lower than Dyna-Q+'s own on all five mazes (paired p≤4.4× 10^-4) and lower than plain Dyna-Q's on the static and stochastic mazes (p≤1.3× 10^-4), with only non-significant trends against Dyna-Q on the other three. After correcting the predecessor bookkeeping of prioritized sweeping, it is statistically indistinguishable from Dyna-Q in cumulative and post-change reward at n=10 on the static, blocking, shortcut and stochastic-blocking mazes, and earns less on the stochastic maze (37.8 versus 71.0, paired p=5.2× 10^-5); its higher reward in the first 500 steps depends on when the first goal is reached, and in a window of 500 steps after the first goal it is not significant on the static maze (paired p=0.059). All claims concern a small CPU study with fixed, untuned hyperparameters.