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
Machine Learning
Quantitative Researcher
DRW
November 29, 2026
Quantitative Researcher
Onsite
Machine Learning
Medium

0

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
regularization
ridge and lasso
bias variance tradeoff
high dimensional regression
overfitting
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. 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 Prep
Sample Answer
Clarify

Returns are noisy (in sample R2R^2 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 p=5000>n=2000p = 5000 > n = 2000, X⊤XX^\top X is singular and OLS can fit noise exactly. Add a penalty that trades bias for variance....


Submit Your Answer
Markdown supported