The Contextual Lasso: Sparse Linear Models via Deep Neural Networks
Ryan Thompson, Amir Dezfouli, Robert Kohn
Abstract
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 -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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext c36f12b0-88aa-48b3-9982-c4963e65c1f6Cited by top-tier papers6
- ProtoGate: Prototype-based Neural Networks with Global-to-local Feature Selection for Tabular Biomedical DataXiangjian Jiang, Andrei Margeloiu, Nikola Simidjievski, Mateja JamnikICML 2024 · 23 citations
- Contextual Feature Selection with Conditional Stochastic GatesRam Dyuthi Sristi, Ofir Lindenbaum, Shira Lifshitz, Maria Lavzin et al.ICML 2024 · 6 citations
- NIMO: a Nonlinear Interpretable MOdelShijian Xu, Marcello Massimo Negri, Volker RothICLR 2026 · 1 citation
- Covariate-Guided Clusterwise Linear Regression for Generalization to Unseen DataDohyun Bu, Hyunho Kim, Jong-Seok LeeICLR 2026
- Dual Feature Reduction for the Sparse-group Lasso and its Adaptive VariantFabio Feser, Marina EvangelouICML 2025
Builds on2
Related papers
- Explainable Neural Networks with Guarantee: A Sparse Estimation ApproachAntoine Ledent, Peng LiuAAAI 2025 · 1 citation
- Leveraging Sparse Linear Layers for Debuggable Deep NetworksEric Wong, Shibani Santurkar, Aleksander MadryICML 2021 · 101 citations
- Consistent feature selection for analytic deep neural networksVu C. Dinh, Lam Si Tung HoNeurIPS 2020 · 66 citations
- Learning Global Transparent Models consistent with Local Contrastive ExplanationsTejaswini Pedapati, Avinash Balakrishnan, Karthikeyan Shanmugam, Amit DhurandharNeurIPS 2020 · 35 citations
- Learning Accurate and Interpretable Decision Rule Sets from Neural NetworksLitao Qiao, Weijia Wang, Bill LinAAAI 2021 · 53 citations
