Threads
Shrinkage toward a common point
When many quantities are estimated at once, the raw estimates are too spread out, so pulling them all toward a common point by an amount learned from the data lowers the total error. Ridge, empirical Bayes, partial pooling, soft thresholding and a trained denoiser all do this, keeping the components that stand above the noise and shrinking the rest.
- Benign overfittingStein's paradox and the James-Stein estimatorBecause exceeds by about on average, the best factor is about , and the James-Stein version beats the raw observation at every once .Under a normal prior the same rule is the partial-pooling posterior mean with the prior's spread estimated from the data, and with orthonormal design ridge at penalty is the Bayes rule for prior variance , so James-Stein is ridge with tuned on the data.
- Benign overfittingBenign Overfitting in Linear RegressionIn the minimum-norm interpolant each weak tail direction is shrunk by the factor , as ridge would shrink it, while each strong head direction has the least-squares error of about .
- In-context learningTransformers Learn In-Context by Gradient DescentA trained linear-attention layer keeps the fraction of the signal in eigendirection , a ridge-like shrinkage fixed at training time, which is why its error keeps a term even on noiseless prompts.
- In-context learningIn-context learning as implicit Bayesian inferenceThe transformer's switch from the Bayes rule for the tasks it saw to ridge is the switch from using the empirical distribution of past tasks as a prior to using a smooth prior fitted to them, and data scale alone does not bring it about; task diversity has to grow too.
- In-context learningTransformers as StatisticiansA transformer can run the Lasso because soft thresholding, the shrinkage step of proximal gradient, is a difference of two ReLUs, which a token-wise MLP computes exactly.For prompts with mixed noise levels it fits ridge at several penalties and keeps the one that validates best, which is nearly Bayes-optimal at an extra cost of order .
- Diffusion modelsGeneralization in diffusion modelsA bias-free denoiser computes , shrinkage in a basis adapted to the noisy image that keeps the coefficients above the noise and suppresses the rest.
- Diffusion modelsStochastic localizationA diffusion sampler is an SDE whose drift is the posterior-mean denoiser , so sampling needs only a good shrinkage estimate at each noise level and does not need the full posterior.
Related threads
- The data spectrum sets an effective ridgeThe ridge that an interpolant applies implicitly is this shrinkage, with its amount set by the spectrum
- Exponential tiltingThe denoiser's posterior mean is the mean of an exponentially reweighted prior
Elsewhere on this site
- Partial Pooling for Estimating Interaction Effects in Factor ModelsThe partial-pooling post pools each school's estimate toward a shared mean with weights set by its noise and the spread between schools, then applies the same pooling to stock-characteristic interactions
- Decision MeshThe Decision Mesh shrinks each finer correction toward zero under a prior whose variance at each depth is estimated by EM, so fine detail needs more evidence than coarse
The data spectrum sets an effective ridge
In high-dimensional ridge or minimum-norm regression, the many weak directions of the covariance act together like an added ridge penalty. One fixed-point equation gives that penalty from the eigenvalues; directions with eigenvalues above it are learned, the rest are lost to bias, and the test error is read off that split. When a result depends on the dimension, check which effective rank it refers to.
- Benign overfittingSurprises in High-Dimensional Ridgeless Least Squares InterpolationAs , the minimum-norm interpolant behaves like ridge on the population covariance with a penalty fixed by , and directions with eigenvalue well above are learned.
- Benign overfittingBenign Overfitting in Linear RegressionThe tail's Gram matrix is close to a multiple of the identity once the effective rank exceeds a constant times , so the tail's total energy acts as a ridge on the top directions.
- Benign overfittingKernel interpolationIn high dimension a curved kernel's training matrix is a linear kernel plus , the gap between the kernel's value on the diagonal and its linearization, so kernel interpolation is in effect ridge regression with a linear kernel.
- Benign overfittingDimension free ridge regressionWith the deterministic equivalent, interpolation is benign exactly when few directions sit above the effective penalty and the signal lies in them; a pure power law has too thin a tail, so the variance never vanishes.
- Benign overfittingBenign, Tempered, or CatastrophicRead as a conservation law, the equation caps the summed learnabilities at , and interpolation is benign when that total is spread thinly over many modes and catastrophic when it concentrates on modes that each fit their own noise.
- Scaling lawsSpectrum-dependent learning curvesEach kernel eigenmode is fitted as ridge on its own eigenvalue with penalty , and on a power-law spectrum the learned cutoff moves in proportion to the sample size, which gives power-law learning curves.
- Scaling laws4+3 Phases of Compute-Optimal Neural Scaling LawsFor SGD on a power-law spectrum the cutoff moves with training: directions with eigenvalue above are learned, and each direction SGD has not reached keeps its full share of the loss.
- Generalization boundsSpectrally normalized margin boundsThe width correction in the spectrally normalized margin bound is at most , with the same stable rank that measures tail mass in the benign-overfitting papers.
- Benign overfittingUniform convergence of interpolatorsUniform convergence for interpolators uses the same head-tail split: the head costs a factor , and the complexity term is computed on the tail covariance only.
Related threads
- Noise absorbed by many weak directionsThe cutoff is what separates the strong directions that are learned from the weak ones that absorb noise
- Scale decides whether features moveKernel and random-features models are regression on fixed features, so the same equation gives their risk
Noise absorbed by many weak directions
Fitting noise exactly is harmless when the signal sits in a few strong directions and very many weak directions absorb the noise, each taking a small share that carries little weight under the test distribution. The same split decides whether adding features helps and which features a network keeps.
- Benign overfittingHarmless interpolation of noisy data in regressionAn interpolator must put the noise somewhere, the cheapest place is spread thinly over many weakly weighted directions at a cost of about , and that spreading also moves part of the signal onto aliases, features that agree with the true one on the training points, unless a few strong directions hold it.With spiked feature weights the noise term is about , so consistency needs the strong features to be few () and the weak ones to be many ().
- Benign overfittingBenign Overfitting in Linear RegressionBenign overfitting needs strong directions, a tail that is heavy and flat enough that the unimportant directions greatly outnumber , and signal that sits in the head.
- Benign overfittingSurprises in High-Dimensional Ridgeless Least Squares InterpolationWith isotropic features overparametrization never beats , but when the spectrum is spikes plus a bulk and the signal sits in the spikes, the weak directions add about , which acts as a ridge penalty, and the best explicit penalty tends to zero.
- Benign overfittingDouble descentWith random, individually weak features each one adds variance and removes little misspecification, while features chosen in order of strength put the optimum below and make interpolation useless.
- Generalization boundsLimits of uniform convergenceThe classifier is a simple part that carries the signal plus a memorizing part spread over nearly orthogonal noise directions, which fits every training label and changes predictions on new points very little.
- Scaling lawsSpectrum-dependent learning curvesNormalized mode errors are ordered opposite to the eigenvalues at every sample size, so a target whose power sits in the top modes is learned faster.
- SuperpositionToy Models of SuperpositionWith fewer dimensions than features, a model gives dimensions to its most important features and, as features get sparser, packs the less important ones into superposition, least important first.
Related threads
- The data spectrum sets an effective ridgeThe effective penalty separates the strong directions from the weak ones
- Implicit bias of the optimizerThe minimum-norm solution is what spreads the noise over the weak directions
Scale decides whether features move
A wide network whose weights barely move is a linear model on fixed random features, which makes it a kernel method, easy to analyze and limited in the same ways as kernel methods. Whether features move is set by scales such as the output multiplier, the initialization and the step size, and moving features are what beat kernels on targets that depend on a few hidden directions.
- Lazy training and feature learningThe neural tangent kernelAny model becomes lazy, its tangent kernel effectively frozen, when its output scale grows and its initial output is cancelled; for a width- network a output normalization is lazy in the limit and the mean-field is not.Linearized VGG-11 and ResNet-18 reach 61.7% and 56.7% on CIFAR-10 against about 90% trained normally, though the linearized models also fit their training sets poorly, so the gap mixes a weaker function class with harder optimization.
- Lazy training and feature learningMaximal update parametrizationUnder the standard parametrization a stable learning rate must shrink like , which freezes the hidden features; P (the maximal-update parametrization) rescales the output layer and the first-layer gradients so every layer's features move by order one.
- Benign overfittingSurprises in High-Dimensional Ridgeless Least Squares InterpolationRandom features with no linear part have a covariance within a polylog factor of the identity, so their limiting risk is that of an isotropic linear model.
- High-dimensional SGDFeature learning from one gradient stepOne first-layer gradient step of order one leaves the features equivalent to a linear model plus Gaussian noise, so the error cannot fall below the target's nonlinear part, while a step of order moves each neuron along the target and beats every kernel with samples.
- High-dimensional SGDThe merged-staircase propertyAny linear method's prediction lies in a fixed span of at most functions, so it needs samples on staircase targets (whose terms can be reached one new coordinate at a time) that SGD with moving features learns with .
- High-dimensional SGDLearning sparse parities with SGDThe tangent kernel of a width- network is too small an embedding to fit a -sparse parity, so the small networks that do learn parities must be moving their features.
- Lazy training and feature learningMean-field limits of two-layer networksWith normalization the features move, and SGD follows a PDE over the distribution of neurons whose risk landscape is convex and does not depend on the width.
Related threads
- Fixed scales for stable trainingP is the scaling that keeps features moving at every width
- The data spectrum sets an effective ridgeWhile features stay fixed, the spectrum equation gives the risk
- Abrupt transitions at a critical ratioMoving features away from a random initialization is the slow phase that ends in an abrupt drop in loss
Implicit bias of the optimizer
With more parameters than data, many solutions fit the training set, and the one you get is chosen by the optimizer, its starting point and when it stops. That choice acts as an implicit regularizer that appears nowhere in the objective, and it often decides generalization.
- Generalization boundsUnderstanding deep learning requires rethinking generalizationSGD started at zero stays in the row space of the data, so on a linear model it returns the minimum-norm interpolant, which reaches 1.2% test error on raw MNIST with no regularization.
- Benign overfittingDouble descentPast the interpolation threshold every model fits the data, so the test risk is set by which interpolant is chosen, and the minimum-norm one spreads the noise over more directions as features are added, which gives the second descent.
- Benign overfittingThe implicit bias of gradient descentGradient descent on logistic or exponential loss over separable data converges in direction to the max-margin SVM with no penalty, at rate , which is why training past zero error can keep improving the margin.
- Benign overfittingHarmless interpolation of noisy data in regressionRidge is itself a minimum-norm interpolant on a design with extra fake features, one per training point, which absorb noise and vanish at test time.
- Cost-sensitive classification and calibrationTemperature scaling and calibrationOnce nearly every training point is classified correctly, the loss keeps falling by scaling up the logits, the growing weight norm of Soudry et al., and that is how modern nets become overconfident.
- Cost-sensitive classification and calibrationLogit adjustmentWeight normalization for imbalanced classes works only because SGD with momentum happens to make classifier norms track the class priors, and it fails under Adam at comparable balanced error.
- NanoGPT speedrunConvergence theory for MuonAny bounded update with decoupled weight decay drives the weights into a ball of radius and keeps them there, so for Muon the weight decay setting is a hard spectral-norm constraint.
- Learning from human preferencesReward model overoptimizationAcross KL penalties from 0.01 to 0.5, gold score (from a larger reward model standing in for human judgment) traces one curve against KL, so the penalty's only effect on gold is where along that curve training stops.
Related threads
- Shrinkage toward a common pointJames-Stein is the cleanest proof that a bias toward a fixed point, tuned on the data, lowers total error
- Noise absorbed by many weak directionsThe minimum-norm choice is what puts the noise in the weak directions
- Fixed scales for stable trainingDecoupled weight decay acts as an implicit regularizer and also as a fixed bound on the size of the weights
Abrupt transitions at a critical ratio
Many abrupt changes in training, a loss that sits flat and then drops or a behavior that switches on, come from a slowly changing ratio crossing a critical value, often signal against noise. When a curve jumps, finding that ratio tells you what to change to move the jump.
- High-dimensional SGDThe information exponentOnline SGD's overlap with a hidden direction grows at the rate signal/noise, which is tiny near a random start, so escaping takes about samples for information exponent (the order of the first nonzero Hermite term) and almost all the samples are used up before the overlap grows.
- High-dimensional SGDLearning sparse parities with SGDOn sparse parities the relevant weights grow steadily from the start while the loss stays flat, and the loss drops abruptly once they dominate the irrelevant ones.
- High-dimensional SGDFeature learning from one gradient stepOne large first-layer step creates an outlier singular value aligned with the target only once the step's signal strength passes the edge of the random spectrum, an outlier separating from the bulk.
- NanoGPT speedrunLearning-rate schedules and batch sizeBelow the noise scale , the batch at which gradient noise equals signal, a bigger batch gives proportionally more progress per step; above it the gain saturates and linear learning-rate scaling breaks down.
- In-context learningIn-context learning as implicit Bayesian inferenceAt dimension 8, below about pretraining tasks more data per task pulls the transformer toward the Bayes rule for the tasks it saw, and above toward ridge, with the threshold growing roughly linearly in dimension.
- In-context learningInduction headsIn every model with more than one layer, most of the in-context learning score forms in one short window early in training, the same window in which induction heads form and the loss curve has its only non-convex stretch.
- SuperpositionToy Models of SuperpositionAn extra feature incurs interference only when it is active together with another, so superposition is better once features are sparse enough; for two features in one dimension the antipodal pair beats dropping the second exactly when its density is below .
- Benign overfittingDouble descentTest error peaks where the number of features equals the sample size, because the variance is an inverse-Wishart trace that is finite only from .
- Strategic and performative predictionPerformative predictionRepeated retraining converges when , sensitivity times smoothness over strong convexity, is below one, and the counterexamples show the threshold is sharp, since above it the stable point repels.
- Learning from human preferencesReward model overoptimizationBelow about 2,000 distinct comparisons a reward model stays near chance and gives no gold gain under optimization, whatever its size, and extra epochs on the same comparisons do not help.
Related threads
- Averaging out gradient noiseThe critical batch is the point where gradient noise equals signal
- Feedback between a model and its dataRetraining a model that moves its own data is stable only below a sensitivity threshold
- Scale decides whether features moveThe plateau before a jump is SGD slowly moving features away from a random initialization
Averaging out gradient noise
A stochastic gradient carries noise that does not vanish at the optimum, so at a fixed step the iterate keeps jittering by an amount proportional to the step. Bigger batches, momentum, step-size decay and smoothing each reduce that noise at a cost of their own, and knowing which limit is active tells you which of them to change.
- NanoGPT speedrunLearning-rate schedules and batch sizeAt a constant step the last iterate fluctuates around the optimum in proportion to the step, and decaying the step at the end makes it behave like an average, which produces the sharp loss drop of a warmup-stable-decay cooldown.Steps and examples trade on a hyperbola, training at the critical batch costs twice the minimum of each, and the critical batch grows during a run as the gradient shrinks.
- NanoGPT speedrunConvergence theory for MuonWithout momentum a fixed-radius step keeps a noise floor that only a larger batch lowers; momentum averages about gradients and cuts the floor by , at the cost of a staleness term .
- Scaling laws4+3 Phases of Compute-Optimal Neural Scaling LawsSGD's expected loss is the gradient-descent loss plus a term from noise injected while the loss is still of order one, so SGD noise matters only when the kernel decays more slowly than the gradient-descent loss.
- High-dimensional SGDThe information exponentSmoothing the loss over a cap of radius shrinks gradient noise faster than the squared signal up to , which lowers the sample cost from to the correlational-query lower bound .
- Lazy training and feature learningMean-field limits of two-layer networksAdded noise turns the mean-field objective into a strictly convex free energy with one fixed point to converge to, at a cost in risk that falls like as the temperature goes to zero.
- Conformal prediction and distribution shiftAdaptive conformal inferenceAdaptive conformal inference updates its coverage level like constant-step SGD tracking a moving optimum, and its step size trades lag against jitter in the same way.
Related threads
- Abrupt transitions at a critical ratioThe noise scale is a signal-to-noise ratio, and batches beyond it are wasted
- Fixed scales for stable trainingWith a fixed-radius step like Muon's, only momentum or a larger batch lowers the noise floor
Exponential tilting
The distribution that maximizes expected reward minus times its KL divergence to a base distribution is the base reweighted by , called its exponential tilt. The same identity defines the RLHF target, the Gibbs fixed point of noisy training and Bayesian posteriors, so in each case the practical question is how far the tilt moves you from the base and what keeps it finite.
- Learning from human preferencesDirect preference optimizationWithout the KL term the best policy puts all its mass on one sequence; with it the target is , which keeps mass exactly where the reference model puts it and moves toward the best sequences as falls.Taking logs of the tilt writes the reward as plus a normalizer that cancels when two responses are compared, which lets DPO fit preferences by supervised learning on a fixed dataset.IPO tilts by the win rate, which lies in , so log ratios to the reference span at most even when preferences are deterministic, whereas under DPO's logit link they grow without bound.
- Learning from human preferencesReward model overoptimizationBest-of- reweights each response by , at a KL of , and best-of-1000 reaches 94% of the gain that the exponential tilt, the best policy at that KL, would get on a Gaussian score.
- Learning from human preferencesInstructGPTInstructGPT's KL penalty is there to keep the policy where the reward model can be trusted, and in its sweep only between 0.01 and 0.02 did well.
- Generalization boundsNonvacuous PAC-Bayes boundsIn a PAC-Bayes bound the KL from posterior to prior is the complexity term, and a Gaussian prior centered at the initialization makes it grow with how precisely the weights are specified and how far they move in training.
- Lazy training and feature learningMean-field limits of two-layer networksNoisy training minimizes risk plus entropy, and the unique minimizer is the Gibbs measure, proportional to .
- In-context learningIn-context learning as implicit Bayesian inferenceIn-context prediction is a posterior average over latent concepts, each weighted by its prior times , the per-example log likelihood ratio to the true concept, so the prompt selects the concept once that ratio is negative for every other.
- Diffusion modelsStochastic localizationObserving turns the prior into the tilt , so a diffusion sampler runs through a sequence of ever sharper tilted posteriors.
Related threads
- Shrinkage toward a common pointThe mean of a tilted posterior is the denoiser a diffusion model learns
- Implicit bias of the optimizerThe KL penalty that bounds the tilt acts like an early-stopping rule
- Importance weighting for distribution shiftBoth turn one distribution into another by multiplying by a weight
Elsewhere on this site
- Risk Aversion, EntropicallyA risk-averse player in the risk-sensitive version of the games minimizes and judges deviations under its belief reweighted by , the same tilt applied to costs, while its beliefs stay those of a risk-neutral player
Importance weighting for distribution shift
When training data come from a different distribution than deployment, weight each example by the likelihood ratio between the two, then control the variance that large ratios bring. Shifted inputs, shifted base rates, partly labeled positives, logged decisions and subsampled negatives all take this form, and the same fixes for the variance recur in each case, namely clipping, control variates, variance penalties and keeping some exploration.
- Conformal prediction and distribution shiftConformal Prediction Under Covariate ShiftUnder covariate shift each calibration point is weighted by , and the test point's own weight sits on , so a test point far from the training data gets an infinite band, which correctly signals that the method cannot extrapolate to it.Reweighting reduces the effective sample size to , and in practice the ratio comes from the odds of a classifier trained to tell test points from training points.
- Conformal prediction and distribution shiftBlack-box shift estimationUnder label shift the class weights solve a linear system built from any fixed classifier's confusion matrix, which must be invertible and need not be accurate or calibrated.The correction is importance-weighted training with negative estimated weights clipped to zero, best applied only when a shift test rejects, since reweighting without a shift only adds variance.
- Cost-sensitive classification and calibrationThe Foundations of Cost-Sensitive LearningA change in base rates multiplies the old posterior by the prior ratio and renormalizes, which in logits adds and uses nothing about the learner.
- Cost-sensitive classification and calibrationLocal case-control samplingKeeping examples with a label-dependent probability shifts the log-odds by the log acceptance ratio, which an offset undoes exactly when the model is correct; local case-control keeps each point with probability equal to how surprising its label is under a pilot model.
- Missing and selective labelsLearning from positive and unlabeled dataWhen positives are labeled completely at random with probability , a labeled-versus-unlabeled classifier equals times the true posterior, so it already ranks correctly and dividing by calibrates it.
- Missing and selective labelsDoubly robust policy evaluationDoubly robust off-policy evaluation importance-weights only the reward model's residual, so its bias is the product of the reward-model and propensity errors and the variance from large inverse-propensity weights scales with the squared residual.Minimizing an importance-weighted loss over many policies picks ones that look good by luck, so the learner clips the weights and penalizes each policy by the spread of its own weighted losses, which keeps it on policies the logged data can evaluate.
- Missing and selective labelsThe selective labels problemWhere past decisions hide outcomes and unmeasured confounding rules out any ratio, contraction evaluates a model on the cases released by the most lenient decision-maker, which hold a label for every case a stricter policy would release.
Related threads
- Separating probability estimates from decision thresholdsA base-rate correction is a move of the decision threshold
- Feedback between a model and its dataLogged decisions and hidden outcomes come from a model already deployed
- Exponential tiltingBoth turn one distribution into another by multiplying by a weight
Separating probability estimates from decision thresholds
Train the model to output a calibrated probability, and set the decision threshold afterwards from costs and base rates. Rebalancing, logit adjustment and per-transaction thresholds all reduce to moving that threshold, and most errors in a scoring system come from mixing the two steps.
- Cost-sensitive classification and calibrationThe Foundations of Cost-Sensitive LearningPredict positive when , where depends only on the ratio of the two regrets, so the whole cost matrix reduces to one number.In Elkan's card example the threshold for refusing a transaction falls from 0.5 for a zero amount to about 3.8% at 1,000 dollars, a per-example threshold that no single rebalancing of the training set can produce.Thinning the negatives is a base-rate change, so its whole effect on a probability model is a shift of the threshold, and a model trained with negatives kept at rate recovers population probabilities when its odds are multiplied by .EM on a day's scores estimates a moved fraud rate long before chargebacks arrive, but at a prevalence of a fraction of a percent any calibration error on legitimate traffic corrupts the estimate, so calibration comes first.
- Cost-sensitive classification and calibrationLogit adjustmentThe balanced-error Bayes rule subtracts from each logit, which in the binary case is Elkan's threshold with a false negative costing times a false positive.A model trained with the logit-adjusted loss outputs balanced log-odds, so a downstream rule that reads its score as a probability must add back the logit of the prior it wants.
- Cost-sensitive classification and calibrationTemperature scaling and calibrationDividing the logits by one temperature fitted on held-out data restores calibration without changing a single prediction, and on vision benchmarks it mostly beats richer calibrators.A temperature cannot fix a base-rate error, which is an intercept on the logit, and for rare positives calibration has to be checked among the top scores around , where a model with doubled odds predicts 22% against an observed 12.7%.
- Conformal prediction and distribution shiftSplit conformal predictionConformal bands get validity from exchangeability alone and width from the model, so any score gets honest coverage and a better model gets a narrower band; the guarantee is marginal and can hide undercoverage of a small high-risk segment.
Related threads
- Importance weighting for distribution shiftBase-rate and sampling corrections are odds corrections applied before the threshold
- Implicit bias of the optimizerOverconfidence comes from the growing weight norm of training past zero error
Elsewhere on this site
- The Price of Changing Someone’s MindIn control the same split is the separation principle, estimate the state and act on the estimate, which this page shows failing once a second player reads your actions in what they observe
Feedback between a model and its data
A deployed model decides which outcomes get observed and provokes responses from the people it scores, so the next training set depends on the current model. Retraining then settles at a stable point that need not be the best model, and whoever adapts more slowly ends up leading. These papers do not cover agents who have private costs or who forecast what the learner will do next.
- Strategic and performative predictionPerformative predictionRetraining follows only the part of the gradient with the data held fixed, so when the model's effect on its own data outweighs the curvature, retraining can converge to the worst model.Retraining settles when strong convexity beats how far the data move times how strongly the gradient reacts, so regularization stabilizes the loop and a hard-margin or thresholded rule can cycle at any sensitivity.
- Strategic and performative predictionWho leads and who follows in strategic classification?The side that updates more slowly commits and so leads: a fraud team that retrains daily against fraud rings that change tactics weekly makes the rings the leaders, and label delay means a fast update reacts to outdated behavior.
- Strategic and performative predictionStrategic classificationUnder a separable gaming cost each feature's weight is its cost of manipulation whatever its predictive value, so a fraud model should lean on signals that are expensive to fake, with the data setting only the threshold.
- Missing and selective labelsThe selective labels problemBecause the judge's decision decides whose outcome is observed, evaluating on released cases alone or imputing the rest overstates the model's performance, and a model trained on them can learn that a screened-in group is safe.
- Missing and selective labelsDoubly robust policy evaluationOff-policy estimates divide by the logging policy's propensities, so those should be logged and some exploration kept, or the actions a new policy would take are never observed.
- Learning from human preferencesReward model overoptimizationOptimizing against a learned reward raises gold score up to a KL that small runs predict and then lowers it, so early stopping or a KL target has a real effect on the gold score.
- Conformal prediction and distribution shiftAdaptive conformal inferenceUnder drift, adaptive conformal inference raises the nominal coverage after each miss and lowers it after each hit, which drives the long-run miss rate to on any sequence; the paper leaves open the case of labels that arrive weeks late, as chargebacks do.
Related threads
- Abrupt transitions at a critical ratioRetraining converges only below a sensitivity threshold, and the threshold is sharp
- Importance weighting for distribution shiftHidden outcomes and logged decisions are corrected by reweighting when overlap allows
- Averaging out gradient noiseAdaptive recalibration is constant-step tracking of a moving target
Elsewhere on this site
- Noise-State Game ExplorerThe noisestate explorer's games keep the full loop that these papers leave out, in which actions change what others observe and believe and players forecast each other's forecasts
- The Price of Changing Someone’s MindThe information wedge page values an action by how it changes what the other side believes, which matters once agents forecast the learner
- The Noise-State, ExplainedExplains how the dissertation handles beliefs about beliefs, which agents who forecast the learner would bring in
Fixed scales for stable training
Most training-stability fixes hold the size of some quantity fixed, the update per layer, the attention logits or the output normalizer, so that one learning rate keeps working as width and run length change. When a run diverges or a tuned learning rate stops transferring, look for a quantity whose size drifts with scale.
- Lazy training and feature learningMaximal update parametrizationBecause P keeps every layer learning at the same rate as width grows, hyperparameters tuned on a 40M proxy beat the published 6.7B GPT-3 at 7% of its pretraining cost.
- NanoGPT speedrunMuonMeasuring a weight change by how far it moves a unit-RMS input gives the update , which moves every output by exactly whatever the width, which is the P property, here derived from a choice of norm.
- NanoGPT speedrunRefinements to MuonScaling each Muon update to RMS 0.2, the typical RMS of AdamW's update in practice, lets the learning rate and weight decay tuned for AdamW serve Muon unchanged.Muon's steps never shrink as gradients fade, so without weight decay the weight and layer-output RMS drift out of the range where bf16 is precise.Orthogonalized updates have flat singular values but uneven row norms, so NorMuon divides each neuron's row by its running RMS after Newton-Schulz and then restores AdamW's overall update size.
- NanoGPT speedrunConvergence theory for MuonWith decay coupled to the learning rate, weight decay sets the radius the weights end up in, and the learning rate sets only how fast they get there.
- NanoGPT speedrunSmall-scale proxies for large-scale Transformer training instabilitiesIn the authors' explanation, attention logits are the only quantity quadratic in the parameter scale, so they blow up first as weights grow; normalizing queries and keys per head removes the failure and lets a 1.2B model train at learning rate 0.3.Cross-entropy ignores a constant added to every output logit, so the mean logit drifts, and z-loss holds near zero.At 4.8B parameters the gradient RMS falls to AdamW's default , the update shrinks below its intended size, and lowering to improves the loss.
- NanoGPT speedrunLearning-rate schedules and batch sizeIn the convex bound the best learning rate is a problem constant times a function of the schedule's shape, so ratios transfer, and the bound reproduces the scaling and the factor of about 2 between cosine and warmup-stable-decay schedules found in LLM sweeps.
Related threads
- Scale decides whether features moveP is the scaling that keeps features moving at every width
- Implicit bias of the optimizerDecoupled weight decay fixes the size of the weights as a hard constraint