Closed-Form Ridge Regression
A linear solving method that does not rely on iterative optimization. It adds an L2 regularization term to the least-squares objective and obtains an analytical solution directly through matrix inversion, without gradient descent.
Timeline (last 90 days)
The study proposes a model-editing technique called "weight baking" that requires no gradient training throughout: an analyst model observes the latent-space geometric structure of the target model and proposes weight transformations, which are then written into the feedforward network weights via closed-form ridge regression.
RidgeFill's mapping is fitted in closed form from a single forward pass over a piece of calibration text; it is fitted only once, and the layers' original projections are left unchanged and not fine-tuned, so nothing is trained and no tokens are dropped.
The closed-form ridge regression solution is W = (XᵀX + λI)⁻¹XᵀY, requiring no iterative optimization, where λ controls regularization strength to stabilize the solution when samples are limited.
All Facts (3)
The study proposes a model-editing technique called "weight baking" that requires no gradient training throughout: an analyst model observes the latent-space geometric structure of the target model and proposes weight transformations, which are then written into the feedforward network weights via closed-form ridge regression.
50%UnverifiedRidgeFill's mapping is fitted in closed form from a single forward pass over a piece of calibration text; it is fitted only once, and the layers' original projections are left unchanged and not fine-tuned, so nothing is trained and no tokens are dropped.
50%UnverifiedThe closed-form ridge regression solution is W = (XᵀX + λI)⁻¹XᵀY, requiring no iterative optimization, where λ controls regularization strength to stabilize the solution when samples are limited.
50%