Stability Paths and the Stable-Variable Set
Summary
For any selector , the selection probability is the probability, over random half-samples drawn without replacement (and any internal randomisation), that variable is selected. Plotting against gives the stability path. The stable set keeps every variable whose maximum selection probability over reaches . On riboflavin gene-expression data with 4082 permuted (null) genes, the stability path separates the 6 real genes far better than the Lasso path. Cross-validation, by contrast, admits 14 null genes.
Overview
Stability selection takes a generic tuning parameter (§2, p. 4). It can be the penalty in (2) or (4), the number of forward-selection or orthogonal-matching-pursuit steps, or the number of boosting iterations. For every there is a structure estimate . A large number of steps means less regularisation, the opposite of a large penalty, “but this does not cause conceptual problems.” The data are assumed i.i.d. throughout §2.
A regularisation path shows coefficients . A stability path shows instead the probability of each variable being selected under random resampling.
Main Content
Definition 1 - Selection probabilities (§2.1, eq. 5, p. 4)
Let be a random subsample of of size , drawn without replacement. Write for the selected set computed on . For every set ,
Remark 1: is with respect to the random subsampling and any other randomness in (e.g. the randomised Lasso of §3.1).
Why . Half-sampling “resembles most closely the bootstrap” (Freedman 1977; Bühlmann & Yu 2002) while being computationally efficient. Subsampling in a related context is also used by Valdar et al. (2009).
Stability path (§2.1, p. 5)
For each variable , the stability path is . It complements the coefficient path plot.
Sets of variables. Definition 1 covers sets , not just singletons. One could monitor a group of functionally related variables (e.g. all lags of one media channel) by how often at least one member is chosen, or how often all are chosen. The rest of the paper uses individual variables.
Definition 2 - Stable variables (§2.3, eq. 7, p. 6)
For a cutoff and a set of regularisation parameters , the set of stable variables is
Contrast with traditional selection (eq. 6). Ordinary selection picks one element of . This has two problems: the true may not be in that list, and even if it is, finding the right is hard in high dimensions. Stability selection instead perturbs the data many times and keeps everything that appears in a large fraction of the resulting sets. The result need not equal for any single .
Robustness to tuning. is a tuning parameter, but “the results vary surprisingly little for sensible choices in a range of the cutoff” (§2.3, p. 7). Results also depend little on or .
Bayesian parallel. Barbieri & Berger (2004) show predictive optimality of the median probability model: variables with posterior inclusion probability , as opposed to the single highest-posterior model. is the resampling analogue, with in place of . Lee et al. (2003) and Sha et al. (2004) are applied examples. See Spike-and-Slab Prior for Covariate Selection.
Stability selection (assembled from Defs 1-2, §2.6 and §2.4)
Input: data ; base selector ; grid ; threshold ; number of subsamples (paper: about 100).
- For : draw of size without replacement. If the selector is randomised (e.g. randomised Lasso), draw its random weights too.
- For each compute . For a path algorithm (LARS, coordinate descent), compute the whole path once.
- Estimate for all and .
- Return .
- (Error control) Choose so that the average number of variables selected anywhere on the path, , satisfies target . See Stability Selection PFER Bound (Theorem 1) and Its Proof.
Examples
Example I - Riboflavin gene expression, permutation experiment (§2.2, Fig. 1, pp. 5-6)
Data. DSM Nutritional Products data: samples, response = log riboflavin (vitamin B2) production rate of Bacillus subtilis, log gene-expression covariates covering essentially the whole genome. Linear model (1), target . Construction of known nulls. Randomly permute all but 6 of the 4088 genes across samples. The same permutation is applied to all permuted genes, which keeps their mutual dependence intact. The 6 unpermuted genes are drawn at random from the 200 genes with the highest marginal association with the response. The permuted genes are known noise. Fig. 1 left (Lasso path). is rescaled so that is the smallest value giving the null model and is Basis Pursuit. Three relevant genes stand out, but the other three are “hidden within the paths of noise (permuted) genes”. Selecting all 6 means admitting many noise variables. Fig. 1 middle (stability path, Lasso). At least four relevant genes separate clearly. The first 4 variables chosen by stability selection are all truly non-permuted. Fig. 1 right (stability path, randomised Lasso, weakness ). All 6 unpermuted genes rise above every permuted gene before any noise variable enters. Cross-validation. The CV-chosen Lasso model includes 14 permuted variables (p. 6). This matches earlier findings that prediction-optimal over-selects (Meinshausen & Bühlmann 2006; Leng et al. 2006). Interpretation. With the stability path, choosing is “much less critical” and relevant variables have a better chance of selection.
Fig. 1 - approximate plot readings (p. 5)
The paper gives no numbers for Fig. 1. The values below were read by eye from the rendered figure and are accurate to about ±0.02-0.05. The axis runs from 1.0 (null model) on the left to 0.0 (Basis Pursuit) on the right. Red solid = the 6 unpermuted genes; black dashed = the 4082 permuted genes.
| Panel | Red (relevant) genes | Black (permuted) genes | Separation |
|---|---|---|---|
| Left: Lasso coefficients | Three enter at once near : a peak of at falling to at ; one rising to near then falling back towards 0 at small ; one at drifting to . One negative path falls to by and ends near . Of the other two, one enters around and ends near ; the last stays near zero and ends around . | Coefficients fan out as falls, reaching about and at . Most lie within . | None. By mid-path, the red paths with smaller magnitudes sit inside the black cloud. These are the “hidden” genes in the text, but the figure does not identify which 3 the authors mean. |
| Middle: Lasso stability path | Top: jumps to by , plateaus at , ends . Next two peak at and near , then decline to and . Fourth: at , rising to . Fifth and sixth rise slowly to and at . | The bulk lies below . A few early entrants reach around , and the highest permuted path reaches about - near -0. | The top 4 red paths sit above every black path for most of the range. Below about 0.5, red genes 5-6 are mixed with the highest permuted genes. |
| Right: randomised Lasso, | Top: by , staying at -. Second: near , then falling to . Third: plateau at , ending . Fourth: rises from to . Fifth: rises to . Sixth: rises from () to at . | All selection probabilities are compressed, because random penalty weights lower every . The bulk lies below . The highest permuted path is about for most of the path and about at . | All 6 red paths end above the highest black path (sixth red vs top noise at ). Over the sixth red gene is still close to the top of the cloud. |
Take-aways from the readings.
- On the Lasso stability path, any threshold in roughly picks exactly the top 4 genes and no noise. No single threshold picks all 6.
- Under the absolute probabilities are lower, below . A fixed would select nothing on this panel. The ordering is what improves, and must be set together with via Theorem 1 (Stability Selection PFER Bound (Theorem 1) and Its Proof), not read off as a universal cut-off.
- The CV-chosen Lasso fit admits 14 permuted genes (text, p. 6). That is consistent with the left panel, where the red paths are hard to separate.
Related literature on unstable gene lists (§2.2). Selected gene sets are known to be unstable (Ein-Dor et al. 2005; Michiels et al. 2005). Davis et al. (2006) argue for “consensus” signatures. Zucknick et al. (2008) measure stability of molecular profiles with the Jaccard index.
The permutation-null trick in a marketing setting
Setup: A driver model of weekly sales on 40 candidate media and control series. Steps:
- Append 40 copies of the candidate drivers, all permuted in time by the same permutation, so that the decoys keep their mutual correlation.
- Run the selector on the augmented data.
- Read the stability paths: any decoy whose path rises to the height of real drivers shows how far real drivers’ selection frequencies can be trusted.
Caveat: Permuting time series destroys autocorrelation, so for serially dependent data a block permutation is the closer analogue. This adaptation is not from the paper.
Connections
- Selection probabilities are a resampling-based feature-importance stability measure. Compare the bias of single-fit importance scores in Strobl et al 2007 - Bias in RF Variable Importance - Overview and model-to-model variability in Fisher Rudin Dominici 2019 - Model Class Reliance - Overview.
- CV’s tendency to admit noise variables is a case of Model Selection and Overfitting. Evaluating many values and reporting the best is a forking path (Garden of Forking Paths).
- Group selection probabilities, such as “any lag of channel ”, fit naturally with adstock-lag feature sets in MMM (MMM Model Selection and Application).
See Also
- Meinshausen Buhlmann 2010 - Stability Selection - Overview
- Stability Selection PFER Bound (Theorem 1) and Its Proof
- Randomised Lasso and the Irrepresentable Condition - the randomised selector behind Fig. 1 right