How does stability selection address the instability of lasso feature selection across resamples?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: hard
Interview Round: Other
How does stability selection address the instability of lasso feature selection across resamples?
```hint Change what you record
A single lasso fit gives you one set of features. Think about what you could measure for each feature if you refit on many perturbed versions of the data.
```
```hint What a threshold buys
Once you have a per-feature quantity, ask what a cutoff on it lets you bound about false selections, and which assumptions that bound needs.
```
### What a Strong Answer Covers
- Why the lasso's selected set is unstable, including the role of correlated features, $p \gg n$, and the choice of $\lambda$
- The procedure: how subsamples are drawn, how the $\lambda$ grid is used, how selection probability is defined, and how the threshold is applied
- Why aggregating over subsamples separates relevant features from noise and reduces dependence on one $\lambda$
- The bound on expected false selections, what its quantities mean, and the assumption behind it
- Limitations, including correlated groups, cost, and what the method does not provide
### Follow-up Questions
- With 1,000 features and a threshold of 0.9, how many variables per subsample can you allow if you want at most one expected false selection?
- A group of five near-duplicate features carries a real signal. What does stability selection report for them, and how would you fix that?
- How does stability selection differ from bootstrapping the lasso and keeping the intersection of the selected sets?
- Would you use the selection probabilities as evidence about coefficient sizes or significance? Why or why not?
Overview: Explain how stability selection makes lasso feature selection reliable when the selected set changes across resamples. Tests the subsampling procedure, selection probabilities and thresholds, the bound on expected false selections, and the method's limits with correlated features.