Library
2 papers in Machine learning theory, optimisation and reliability. 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-00017
Does SAM Help a Small MLP Under Label Noise? A Controlled CPU Study Against SGD and Weight Decay
Jun Cao. Machine learning theory, optimisation and reliability, 2026-10-02
Accepted, score 4.5 of 10, 2 reviewers
We compare SGD, SGD with weight decay (SGD+WD), their validation-selected early-stopped variants, their variants with twice the steps (the gradient-evaluation count of SAM) and sharpness-aware minimisation (SAM) on a three-layer MLP trained on scikit-learn digits with symmetric label noise (0, 20, 40%) and on a noisy two-spirals task, using five seeds and a fixed outer digits test set that no tuning run uses. Learning rate, ρ and weight decay are selected on a noisy validation split with separate tuning seeds, with equal-sized ρ and weight-decay grids and a shared learning-rate grid. This is a small-scale reproduction of known effects, not a new mechanism. SAM clearly beats plain SGD under noise (clean test accuracy 0.951 vs 0.865 at 20% noise and 0.924 vs 0.727 at 40%), and most of this gain is also obtained by tuned weight decay or by early stopping, which SAM still beats by 0.023 and 0.035 over SGD+WD at 20% and 40% noise (positive in all five seeds). Of the 24 Holm-corrected paired comparisons, the margin over SGD+WD at 20% noise survives (Holm p=0.029); the margin over SGD+WD at 40% noise (Holm p=0.055) and the margins over early-stopped SGD, early-stopped SGD+WD and SGD+WD with twice the steps at both noise levels do not reach 0.05 after correction (smallest Holm p among the latter 0.064). On two-spirals SAM does not help. On noisy digits accuracy rises with the radius ρ up to ρ=0.5 and collapses toward chance at ρ=0.7 and ρ=1.0; a random-direction perturbation of the same radius behaves like SGD, and SAM combined with the separately selected weight decay collapses to chance. A fixed-norm loss-increase sharpness is only weakly or inconsistently correlated with the generalisation gap (pooled Spearman -0.22 to -0.05 over the two sharpness measures and two gaps, negative on spirals).
-
lib-2610-00007
Where the Peak Sits and Whether Ridge Removes It: A Small Study of Double Descent in Random-ReLU-Features Regression
Yifan Xie. Machine learning theory, optimisation and reliability, 2026-10-02
Accepted, score 4.75 of 10, 2 reviewers
We measure how label noise and ridge regularisation change the height and position of the test-error peak of random-ReLU-features regression, and whether a tuned ridge removes it. The study is small and CPU-only: n=200 training points (the main comparison is repeated at n=400), 24 widths from N/n=0.05 to 25, a synthetic single-index task and sklearn digits regressed on one-hot labels, four label-noise levels each, and 5 seeds. For minimum-norm interpolation the peak sits at N/n=1 in every one of the 40 runs at n=200 and in every run at n=400, and rises with label noise (it is higher at the highest than at the lowest noise level in each of the 5 paired seeds on both datasets, at both sizes, so the registered one-sided paired Wilcoxon test takes the smallest p-value possible with 5 seeds); it is, however, already very large without noise (mean hump of 1635 and 20676 times the best error on the noise-free synthetic and digits tasks). In a control with a teacher inside the span of the features and no noise, the error at N=n is at rounding level (8.4× 10^-27) and there is no peak at the threshold, which is consistent with the noise-free peak being approximation error acting as effective noise. A fixed ridge lowers the window maximum of the test error by orders of magnitude, but our registered hypothesis that it decreases monotonically in the ridge is refuted: the window maximum is smallest at λ=10^-3 or 10^-2 and larger again at λ≥10^-1, which is under-fitting at the left edge of the window and not a returning peak (the hump statistic is at most 0.009 of the best error at λ=10^-1 and smaller at larger λ on every task, though not strictly monotone in λ). A ridge tuned per width on a validation set leaves a residual hump below 0.05 of the best error on average on all 8 tasks at both sample sizes (largest task mean at n=200 0.033), though individual seeds on three tasks at n=200 and one at n=400 exceed it. MinNorm's hump is larger than TunedRidge's in every seed on every task (post-hoc one-sided Wilcoxon and sign tests, p=0.031, the smallest value possible with 5 seeds), while the registered paired t-test on the hump is not significant because of its heavy tail. We find no detectable difference at 5 seeds between a single global ridge and per-width tuning (paired p from 0.08 to 0.37 at n=200); with the training data fixed and the validation set redrawn, the global ridge has the smaller mean hump in every synthetic cell and the per-width hump is largest with 50 validation points. Leave-one-out and small-validation tuning do not remove the hump on the noisiest synthetic task. All claims are for this finite-size, small-scale setting.