Regularizing a Return Predictor With Thousands of Noisy Features
Last updated: November 29, 2026
Quick Overview
You have 5,000 candidate features and about 2,000 daily observations to predict next day returns for an asset. Ordinary least squares fits the training data well and fails out of sample. How do you fix it, and how do you choose between ridge, lasso, and other approaches?
DRW
November 29, 20260
0
0 solved
You have 5,000 candidate features and about 2,000 daily observations to predict next day returns for an asset. Ordinary least squares fits the training data well and fails out of sample. How do you fix it, and how do you choose between ridge, lasso, and other approaches?
Financial signals have very low signal to noise ratios, so DRW researchers care deeply about shrinkage and overfitting. The interviewer checks whether you understand why OLS fails when p exceeds n, the bias variance tradeoff, and the practical behavior of ridge versus lasso with correlated features.
What the Interviewer Expects
- Explains that OLS is not identifiable when p exceeds n and overfits noise
- Describes ridge as shrinking correlated features together
- Describes lasso as selecting sparse features and its instability with correlation
- Chooses penalty strength via time series aware validation
- Mentions dimensionality reduction and economic priors as alternatives
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- Why might ridge beat lasso even if the true model is sparse?
- How do you interpret coefficients after shrinkage?
- How would you combine this with ensembling or gradient boosting?
- What does the effective degrees of freedom of ridge tell you?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Returns are noisy (in sample of a real signal might be 0.5 percent). Features are correlated, many are variants of the same idea. We care about out of sample predictive correlation and stability...
Approach
With , is singular and OLS can fit noise exactly. Add a penalty that trades bias for variance....