LassoNet: A Neural Network with Feature Sparsity

Ismael Lemhadri, Feng Ruan, Louis Abraham, Robert Tibshirani
7/29/2019
stat.MLcs.LG

Official code: lasso-net/lassonet (260 stars, MIT, last commit 2024-09-23).

Abstract

Much work has been done recently to make neural networks more interpretable, and one obvious approach is to arrange for the network to use only a subset of the available features. In linear models, Lasso (or $\ell_1$-regularized) regression assigns zero weights to the most irrelevant or redundant features, and is widely used in data science. However the Lasso only applies to linear models. Here we introduce LassoNet, a neural network framework with global feature selection. Our approach enforces a hierarchy: specifically a feature can participate in a hidden unit only if its linear representative is active. Unlike other approaches to feature selection for neural nets, our method uses a modified objective function with constraints, and so integrates feature selection with the parameter learning directly. As a result, it delivers an entire regularization path of solutions with a range of feature sparsity. On systematic experiments, LassoNet significantly outperforms state-of-the-art methods for feature selection and regression. The LassoNet method uses projected proximal gradient descent, and generalizes directly to deep networks. It can be implemented by adding just a few lines of code to a standard neural network.

View on arXivView PDF

Code Implementations(1)

lasso-net/lassonetOfficial100%
MIT

Feature selection in neural networks

26059TeX, PythonFeb 23, 20212 years agoMIT

Similar Papers

Cite this paper

@article{lemhadri2019lassonet,
  title  = {LassoNet: A Neural Network with Feature Sparsity},
  author = {Ismael Lemhadri and Feng Ruan and Louis Abraham and Robert Tibshirani},
  year   = {2019},
  eprint = {1907.12207},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.12207}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1907.12207.svg)](https://codeofpaper.com/paper/1907.12207)

Discussion