Concept · 1 episode(s)

Ridge Regression

← all concepts

Definition

Ridge regression is linear regression with an L2 penalty on the coefficient vector, which shrinks the weights toward zero and gives a stable closed-form solution even when features are correlated or outnumber samples. In interpretability and model-comparison work it is a common way to learn a linear map between two representation spaces, such as carrying a refusal direction from one model’s activations into another’s. Because the fit is only constrained where the training data lies, the map is reliable only on inputs the fitting set covers; directions outside that span are poorly determined and tend to transfer badly.

Episodes covering this