L1 Versus L2 Regularization on Correlated Credit Features
Last updated: November 29, 2026
Quick Overview
A logistic regression default model uses many correlated bureau attributes, such as several overlapping utilization and inquiry counts. Explain how L1 and L2 regularization behave here and which you would choose.
Upstart
November 29, 20260
0
0 solved
A logistic regression default model uses many correlated bureau attributes, such as several overlapping utilization and inquiry counts. Explain how L1 and L2 regularization behave here and which you would choose.
Upstart's data science screens include fundamentals around regularization because credit data is full of near-duplicate attributes. The interviewer checks that you know the geometric intuition, how each penalty treats correlated groups, and how interpretability requirements in lending shape the choice.
What the Interviewer Expects
- State the L1 and L2 penalty terms
- Explain sparsity from L1 and shrinkage from L2
- Describe behavior on correlated features
- Mention elastic net as a middle ground
- Tie the choice to interpretability and stability
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
- How would you choose the regularization strength?
- Why must features be standardized before applying these penalties?
- How does regularization interact with adverse action reason codes?
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
Model: logistic regression minimizing log loss plus a penalty on weights . Many features are highly correlated. I care about out-of-sample accuracy and about stable, explainable coefficients, since...
Approach
L2 (ridge) adds ; L1 (lasso) adds . Geometrically, the L1 constraint region has corners on the axes, so the optimum often lands where some weights are exactly z...