Papers › LassoNet: A Neural Network with Feature Sparsity

LassoNet: A Neural Network with Feature Sparsity

29 Jul 2019arXiv:1907.12207archive 2025-07-28

Ismael Lemhadri, Feng Ruan, Louis Abraham, Robert Tibshirani

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 ℓ₁-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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1907.12207")

Code

Syntology Ran 2 of 13 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong.

By repository: official repository: 13 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ilemhadri/lassoNet officialmentioned in papermentioned on GitHubpytorchMIT report
lasso-net/lassonet mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 2 ran; 1 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
11unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ilemhadri/lassoNet. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

sign_binary ilemhadri/lassoNet/lassonet/prox.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 72eb093eb143edd8 · report
soft_threshold ilemhadri/lassoNet/lassonet/prox.py official repository ran · honoured contract fingerprinted MIT (permissive) · 3f9208771cec0b61 · report
abstractattr ilemhadri/lassoNet/lassonet/interfaces.py official repository unverified MIT (permissive) · 6d28f3f15d6b4442 · report
eval_on_path ilemhadri/lassoNet/lassonet/utils.py official repository unverified MIT (permissive) · c978e6818ea01805 · report
lassonet_eval ilemhadri/lassoNet/lassonet/r.py official repository unverified MIT (permissive) · 3e948e6f3b10a45a · report
lassonet_path ilemhadri/lassoNet/lassonet/r.py official repository unverified MIT (permissive) · 7868c5292dc4787e · report
load_data ilemhadri/lassoNet/experiments/data_utils.py official repository unverified MIT (permissive) · ebb17c927b326e18 · report
load_mice ilemhadri/lassoNet/experiments/data_utils.py official repository unverified MIT (permissive) · 92305d8388541e0e · report
load_mnist_two_digits ilemhadri/lassoNet/experiments/data_utils.py official repository unverified MIT (permissive) · 9301354d553d2c5c · report
log_substract ilemhadri/lassoNet/lassonet/utils.py official repository unverified MIT (permissive) · f8a4a258e2118d30 · report
make_writable ilemhadri/lassoNet/lassonet/r.py official repository unverified MIT (permissive) · 1a8970e7e4a34bcb · report
prox ilemhadri/lassoNet/lassonet/prox.py official repository unverified MIT (permissive) · feaf95baefd799b5 · report
scatter_logsumexp ilemhadri/lassoNet/lassonet/utils.py official repository unverified MIT (permissive) · 4ba51cbf2fe87c3f · report

Tasks

feature selectionregression

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Feature SelectionResidual Connection

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections