The Contextual Lasso: Sparse Linear Models via Deep Neural Networks
Not on the map. Why?
Abstract (arXiv)
Sparse linear models are one of several core tools for interpretable machine learning, a field of emerging importance as predictive models permeate decision-making in many domains. Unfortunately, sparse linear models are far less flexible as functions of their input features than black-box models like deep neural networks. With this capability gap in mind, we study a not-uncommon situation where the input features dichotomize into two groups: explanatory features, which are candidates for inclusion as variables in an interpretable model, and contextual features, which select from the candidate variables and determine their effects. This dichotomy leads us to the contextual lasso, a new statistical estimator that fits a sparse linear model to the explanatory features such that the sparsity pattern and coefficients vary as a function of the contextual features. The fitting process learns this function nonparametrically via a deep neural network. To attain sparse coefficients, we train the network with a novel lasso regularizer in the form of a projection layer that maps the network's output onto the space of ℓ1-constrained linear models. An extensive suite of experiments on real and synthetic data suggests that the learned models, which remain highly transparent, can be sparser than the regular lasso without sacrificing the predictive power of a standard deep neural network.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 24 of its 58 references that are in the map. First posted on arXiv 2 Feb 2023.
Builds on
24 of 58 references.
References · 24
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2021Convex optimizationcited by 2,479
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
- 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
- 2019Differentiable Convex Optimization Layerscited by 458
- 2017Nonparametric regression using deep neural networks with ReLU activation functioncited by 431
- 2021Interpretable Machine Learning: Fundamental Principles and 10 Grand Challengescited by 364
- 2019Interpretable machine learning: definitions, methods, and applicationscited by 303
- 2020Interpretable Machine Learning -- A Brief History, State-of-the-Art and Challengescited by 120
- 2019The Dangers of Post-hoc Interpretability: Unjustified Counterfactual Explanationscited by 97
12 more
- 2016Group Sparse Regularization for Deep Neural Networkscited by 89
- 2019LassoNet: A Neural Network with Feature Sparsitycited by 81
- 2020Interpretability and Explainability: A Machine Learning Zoo Mini-tourcited by 55
- 2018Fashionable Modelling with Fluxcited by 53
- 2015Network Lasso: Clustering and Optimization in Large Graphscited by 42
- 2017Sparse-Input Neural Networks for High-dimensional Nonparametric Regression and Classificationcited by 39
- 2021Locally Sparse Neural Networks for Tabular Biomedical Datacited by 34
- 2017Contextual Explanation Networkscited by 21
- 2021Structured Sparsity Inducing Adaptive Optimizers for Deep Learningcited by 17
- 2016Localized Lasso for High-Dimensional Regressioncited by 11
- 2020Neural Generators of Sparse Local Linear Models for Achieving both Accuracy and Interpretabilitycited by 3
- 2019Tree Boosted Varying Coefficient Modelscited by 1
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 3.
6 papers.
- 2023ProtoGate: Prototype-based Neural Networks with Global-to-local Feature Selection for Tabular Biomedical Datacited by 18
- 2025A Comprehensive Survey on Self-Interpretable Neural Networkscited by 18
- 2024A tree-based varying coefficient modelcited by 1
- 2024Dual Feature Reduction for the Sparse-group Lasso and its Adaptive Variantcited by 0
- 2025Automatic and Structure-Aware Sparsification of Hybrid Neural ODEscited by 0
- 2025NIMO: a Nonlinear Interpretable MOdelcited by 0
- 2025NIMO: a Nonlinear Interpretable MOdel5 Jun 2025
- 2025Automatic and Structure-Aware Sparsification of Hybrid Neural ODEs25 May 2025
- 2025A Comprehensive Survey on Self-Interpretable Neural Networks26 Jan 2025
- 2024Dual Feature Reduction for the Sparse-group Lasso and its Adaptive Variant27 May 2024
- 2024A tree-based varying coefficient model11 Jan 2024
- 2023ProtoGate: Prototype-based Neural Networks with Global-to-local Feature Selection for Tabular Biomedical Data21 Jun 2023