Tutorials › High-Dimensional Genomic Data Analysis › Interpreting Shrunk Coefficients in Genomic Prediction Models

Penalized Regression for p Much Larger Than n · Tutorial 550 of 795

Interpreting Shrunk Coefficients in Genomic Prediction Models

You will learn to interpret the size and sign of penalized genomic-model coefficients without treating them as unpenalized biological effects.

Advanced 12 min read

What You'll Learn

  • Read elastic-net coefficients in a model with standardized genomic predictors.
  • Derive how the penalty acts on coefficients when predictors are orthogonal.
  • Identify why correlated predictors can have changing coefficient magnitudes or signs.
  • Convert standardized coefficients back to the measurement units of predictors and outcomes.
  • Distinguish predictive coefficients from unpenalized effect estimates and causal effects.
  • Diagnose coefficient interpretations that depend on scaling, coding, or the selected penalty.

What a Shrunk Coefficient Does—and Does Not—Say

A genomic prediction model may assign a nonzero coefficient to a gene-expression feature or variant, but the coefficient is not automatically an estimate of that feature’s independent biological effect. In a penalized model, coefficient values are deliberately modified to improve prediction, particularly when the number of features is large relative to the number of individuals. The size and even the sign of a coefficient can depend on the penalty, feature scaling, and which other correlated features are included.

The earlier material on elastic-net prediction introduces the model-fitting goal. Here the focus is how to read its fitted coefficients. The central distinction is between a coefficient that helps form predictions under a specified penalized model and an unpenalized effect estimate with an inferential interpretation. In a high-dimensional setting, the latter may not even be uniquely estimable without additional assumptions.

Definition: In a penalized prediction model, a shrunk coefficient is a fitted coefficient obtained by minimizing a prediction loss plus a penalty on coefficient size. It describes the contribution assigned to a feature within that fitted model and under its particular scaling, penalty strength, and feature set. It is not, by that fact alone, an unbiased estimate of a biological effect or evidence of causation.

The Elastic-Net Coefficient Scale

Consider \(n\) individuals and \(p\) genomic predictors. Suppose the response and predictor columns have been centered, each predictor has been scaled to have sample standard deviation one, and the intercept is left unpenalized. For clarity, take the centered response so the intercept is zero. A common elastic-net estimate minimizes

$$ \frac{1}{2n}\|y-X\beta\|_2^2+ \lambda\left\{\alpha\|\beta\|_1+ \frac{1-\alpha}{2}\|\beta\|_2^2\right\}, \qquad \lambda\geq 0,\quad 0\leq\alpha\leq 1. $$

Here \(y\) is the response vector, \(X\) is the predictor matrix, and \(\beta\) is the vector of coefficients. The parameter \(\lambda\) controls the overall penalty strength; \(\alpha=1\) gives the lasso and \(\alpha=0\) gives ridge regression. The \(L_1\) part can set coefficients exactly to zero, while the \(L_2\) part continuously penalizes large values. This objective specifies the optimization procedure; it does not require normally distributed errors. Interpreting the model as a conditional mean, however, assumes that the mean response is adequately represented by the chosen linear predictor.

Standardization matters because the penalty acts on coefficient values. Without scaling, a predictor measured in large numerical units can have a small coefficient for purely unit-related reasons, while another predictor measured on a smaller scale can have a large coefficient. Standardization gives coefficients a common predictor scale, but it does not make them comparable as biological effects when correlations, coding, or outcome units differ.

Why Orthogonal Predictors Give a Clean Shrinkage Rule

A useful special case makes the mechanics explicit. Suppose the centered, standardized predictor columns are orthogonal, so \(X^\mathsf{T}X/n=I\). For feature \(j\), define \(z_j=x_j^\mathsf{T}y/n\), the unpenalized least-squares coefficient in this orthogonal setting. The objective separates into one term per coefficient:

$$ \frac{1}{2}\left(\beta_j^2-2z_j\beta_j\right) +\lambda\alpha|\beta_j| +\frac{\lambda(1-\alpha)}{2}\beta_j^2. $$

For a nonzero coefficient, the derivative of the smooth parts is \((1+\lambda(1-\alpha))\beta_j-z_j\). The \(L_1\) term has derivative \(\lambda\alpha\) when \(\beta_j>0\) and \(-\lambda\alpha\) when \(\beta_j<0\). At zero, its subgradient ranges from \(-\lambda\alpha\) to \(\lambda\alpha\). Thus zero minimizes the term whenever \(|z_j|\leq\lambda\alpha\); otherwise solving the derivative equation gives the signed, thresholded value:

$$ \hat{\beta}_j= \frac{\operatorname{sign}(z_j)(|z_j|-\lambda\alpha)_+} {1+\lambda(1-\alpha)}, \qquad (u)_+=\max(u,0). $$

In this special case, the lasso component first thresholds small values to zero, and the ridge component further divides surviving values by a factor greater than or equal to one. The sign of every nonzero coefficient agrees with \(z_j\). With correlated genomic predictors, the objective no longer separates by feature, so this simple rule does not apply coordinate by coordinate.

Worked Example: Thresholding With Orthogonal Features

Suppose three standardized, orthogonal genomic predictors have \(z\)-values \(0.90\), \(-0.60\), and \(0.15\). Fit an elastic net with \(\lambda=0.40\) and \(\alpha=0.50\). The threshold is \(\lambda\alpha=0.40(0.50)=0.20\), and the denominator for a nonzero coefficient is \(1+\lambda(1-\alpha)=1+0.40(0.50)=1.20\).

For the first predictor, \(\hat{\beta}_1=(0.90-0.20)/1.20=0.70/1.20=0.5833\). For the second, its sign is negative and its excess magnitude above the threshold is \(0.60-0.20=0.40\), so \(\hat{\beta}_2=-0.40/1.20=-0.3333\). For the third, \(|0.15|\leq0.20\), so \(\hat{\beta}_3=0\).

The unpenalized orthogonal coefficients would be \(0.90\), \(-0.60\), and \(0.15\). The fitted elastic net retains the first two directions but reduces their magnitudes and sets the third coefficient to zero. These are coefficients on the standardized scale, not changes in the response’s original measurement units.

Correlation Can Change Magnitudes and Signs

Genomic features are often correlated. When two features carry overlapping information, the model’s coefficients describe their contributions conditional on each other. A coefficient can therefore be small even when its feature is strongly associated with the response on its own. Conversely, an estimated coefficient can become larger in absolute value as the penalty changes, or can cross zero. “Shrinkage” refers to the penalty’s effect on the fitted vector as a whole; it does not guarantee that every individual coordinate moves monotonically toward zero.

This point can be seen directly for ridge regression, the \(\alpha=0\) elastic-net case. With standardized predictors, let \(G=X^\mathsf{T}X/n\) and \(c=X^\mathsf{T}y/n\). The ridge estimate satisfies \((G+\lambda I)\hat{\beta}=c\). If \(G\) is diagonal, each coordinate is simply reduced by a factor. When \(G\) has off-diagonal entries, each coefficient depends on the other features’ information as well.

Worked Example: A Coefficient Changes Sign Under Ridge Shrinkage

Consider two standardized predictors with correlation \(0.80\), so \(G=\begin{pmatrix}1&0.80\\0.80&1\end{pmatrix}\). Suppose \(c=(0.50,1.00)^\mathsf{T}\). At \(\lambda=0\), the unpenalized solution is \(G^{-1}c\). Since the determinant of \(G\) is \(1-0.80^2=0.36\),

$$ \hat{\beta}_1=\frac{0.50-0.80(1.00)}{0.36} =\frac{-0.30}{0.36}=-0.8333, \qquad \hat{\beta}_2=\frac{1.00-0.80(0.50)}{0.36} =\frac{0.60}{0.36}=1.6667. $$

At \(\lambda=1\), the ridge system is \(\begin{pmatrix}2&0.80\\0.80&2\end{pmatrix}\hat{\beta}= (0.50,1.00)^\mathsf{T}\). Its determinant is \(2(2)-0.80^2=3.36\), giving

$$ \hat{\beta}_1=\frac{2(0.50)-0.80(1.00)}{3.36} =\frac{0.20}{3.36}=0.05952, \qquad \hat{\beta}_2=\frac{2(1.00)-0.80(0.50)}{3.36} =\frac{1.60}{3.36}=0.4762. $$

The first coefficient changes from negative to positive as the penalty increases. This does not mean that the underlying biology changed direction. It reflects the way a conditional allocation between correlated predictors changes under regularization. In a real high-dimensional fit, a coefficient’s sign should therefore be reported as a property of the fitted model, not as an invariant feature-level finding.

Interpreting Units and Prediction Contributions

If both the response and predictor are standardized, a coefficient of \(0.24\) means that, within the fitted linear predictor and holding the other included predictors fixed, a one-standard-deviation increase in that predictor corresponds to a \(0.24\)-standard-deviation increase in the model’s predicted response. It is a conditional predictive contribution in the selected model. Correlation among predictors can make that conditional comparison quite different from a one-feature-at-a-time association.

Suppose the predictor was standardized from original units with standard deviation \(s_x\), and the response from original units with standard deviation \(s_y\). A standardized coefficient \(\hat{\beta}_{\mathrm{std}}\) corresponds to the original-scale coefficient \(\hat{\beta}_{\mathrm{raw}}=\hat{\beta}_{\mathrm{std}}s_y/s_x\), provided the transformations were ordinary centering and scaling. This conversion changes units; it does not undo penalization or turn a predictive coefficient into an unbiased effect estimate.

Worked Example: Converting a Standardized Coefficient to Original Units

Suppose a fitted genomic prediction model has a standardized coefficient of \(0.24\) for an expression feature. In the training data, that feature has standard deviation \(2.0\) expression units, and the response has standard deviation \(5.0\) assay units. Then

$$ \hat{\beta}_{\mathrm{raw}} =0.24\frac{5.0\ \text{assay units}}{2.0\ \text{expression units}} =0.60\ \frac{\text{assay units}}{\text{expression unit}}. $$

Within this fitted model, a one-unit increase in the expression feature corresponds to a \(0.60\)-unit increase in predicted response, holding other predictors fixed. A one-standard-deviation increase corresponds to \(0.24(5.0)=1.20\) assay units in predicted response. Neither statement says that experimentally changing expression by one unit would cause that response change.

Predictive Coefficients Versus Effect Estimates

An unpenalized regression coefficient is defined by a different fitting criterion: minimizing residual sum of squares without a coefficient penalty. When \(p>n\), the ordinary least-squares coefficients are generally not unique, because many coefficient vectors can produce the same fitted values. A penalized solution selects a particular vector through the penalty, but its uniqueness does not establish that its coordinates are biological effects.

Even when an unpenalized model can be fit, a penalized coefficient is intentionally biased by the penalty. It may offer better prediction by trading some coefficient bias for reduced variability. The earlier material on post-lasso refitting discusses refitting without shrinkage after selection; that produces a different estimator and does not erase the fact that selection occurred. Neither a penalized coefficient nor a post-selection coefficient alone supplies valid uncertainty quantification or causal identification.

A predictive coefficient is conditional on the response definition, predictor coding, training data, model family, scaling, selected \(\lambda\), and \(\alpha\). If these change, coefficients can change even when predictions remain similar. For example, correlated genes can substitute for one another in forming predictions. The feature receiving more coefficient weight may be less important as an isolated biological target than the numerical coefficient suggests.

Diagnostics, Alternatives, and Limitations

Before interpreting coefficients, verify that preprocessing was learned from training data only and then applied unchanged to validation or test data. Check the scaling convention, allele or category coding where relevant, and whether the response itself was standardized. Examine correlations among features with large coefficients, and compare coefficient paths across plausible penalty values. Large changes in magnitude or sign are a warning that feature-level interpretation is unstable, even if prediction error changes little.

The main alternatives answer different questions. Ridge regression retains all predictors and distributes weight across correlated features; lasso can produce exact zeros but may select one of several correlated features somewhat arbitrarily; elastic net combines these behaviors. Unpenalized fitting targets residual fit rather than regularized prediction and may be undefined or highly variable when \(p\) is large relative to \(n\). None of these choices automatically makes coefficients causal or provides valid effect-size inference.

A common mistake is to say, “The gene has a positive biological effect because its fitted coefficient is positive.” The correction is: “In this specified penalized prediction model, the gene has a positive coefficient conditional on the other included predictors and the stated coding and scaling.” A stronger biological or causal claim requires a design and assumptions suited to that target, not simply reading the sign of a prediction coefficient.

Key takeaway: Interpret a shrunk coefficient as a model-dependent contribution to prediction. State its scale and conditioning set, recognize that correlated predictors can alter its magnitude and sign, and do not equate it with an unpenalized or causal effect.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions.

  1. In the orthogonal elastic-net example, what happens to a coefficient when \(|z_j|\leq\lambda\alpha\), and why?
  2. Why can a coefficient’s sign change as a ridge penalty changes when predictors are correlated?
  3. A standardized coefficient is \(0.30\), the predictor standard deviation is \(4\) units, and the response standard deviation is \(6\) units. What is the coefficient in original units?
  4. What is the appropriate interpretation of a positive coefficient for a standardized predictor in a penalized prediction model?

Solutions. (1) It is zero: at zero, the \(L_1\) penalty’s subgradient can balance the data-fit contribution whenever \(|z_j|\leq\lambda\alpha\). (2) Correlated predictors share information, so the penalized system couples their coefficients; changing the penalty changes how that information is allocated, and a coordinate can cross zero. (3) The original-scale coefficient is \(0.30(6/4)=0.45\) response units per predictor unit. (4) It is a positive conditional contribution to predictions in that model, with the stated scaling and feature set; it is not by itself a causal or unpenalized biological effect.

Clinical Biostats