Abstract
Sparse linear regression is a fundamental tool in data analysis. However, traditional approaches often fall short when covariates exhibit structure or arise from heterogeneous sources. In biomedical applications, covariates may stem from distinct modalities or be structured according to an underlying graph. We introduce Neural Adaptive Shrinkage (Nash), a unified framework that integrates covariate-specific side information into sparse regression via neural networks. Nash adaptively modulates penalties on a per-covariate basis, learning to tailor regularization without cross-validation. We develop a variational inference algorithm for efficient training and establish connections to empirical Bayes regression. Experiments on real data demonstrate that Nash can improve accuracy and adaptability over existing methods.
Introduction
In modern high-dimensional data analysis, the number of predictors ($p$) frequently exceeds the number of observations ($n$). Standard regularization techniques like the Lasso or Elastic Net address this by applying a uniform penalty to regression coefficients to enforce sparsity. However, these methods typically ignore the inherent structure of predictors—such as gene pathways in biology or industry sectors in finance—treating all variables as exchangeable.
Existing structured approaches, such as the Group Lasso, are often specialized to specific types of metadata and rely on computationally intensive cross-validation to tune hyperparameters. There is a clear need for a unified, "assumption-lean" framework that can automatically adapt regularization based on available side information.
The Nash Framework
The core of our approach is Neural Adaptive Shrinkage (Nash), which frames regression through an Empirical Bayes lens. Instead of a fixed global penalty, Nash assumes each regression coefficient $\beta_j$ is drawn from a prior distribution $p(\beta_j | d_j)$ that is a function of covariate-specific side information $d_j$.
Neural Prior Learning
Nash employs a neural network to map side information (e.g., categorical metadata or graph structures) to the parameters of the prior distribution for each covariate. This allows the model to capture complex, non-linear relationships between metadata and variable importance. By selecting appropriate mixture components for the prior, Nash can emulate various classical penalties, such as $L_0$, $L_1$, or SCAD, while maintaining adaptivity.
Computational Efficiency via Split VEB
To maintain scalability, we utilize Split Variational Empirical Bayes (Split VEB). Standard variational inference often couples the learning of the prior and posterior, leading to slow convergence. The "split" approach decouples these steps by introducing a latent variable, allowing the neural network to be updated once per iteration rather than $p$ times. This reduces computational complexity to approximately $O(np)$, making it feasible for large-scale datasets.
Experimental Results
We evaluated Nash across several domains, including finance (SNP500), time-series (Airpassenger), and high-dimensional genomics (GSE40279 and TCGA).
Genomics and Scalability
In genomics tasks, Nash consistently outperformed traditional methods. On the TCGA dataset, Nash achieved a Root Mean Squared Error (RMSE) of 0.435, compared to 0.465 for the Lasso. Notably, the framework successfully handled the GSE40279 epigenetic dataset, which contains nearly 490,000 methylation probes, demonstrating its robustness in "big data" scenarios.
Image Denoising
We also applied Nash to image denoising using the MNIST dataset. By treating pixels as nodes in a 2D grid graph and using a Graph Neural Network (GNN) to learn spatial dependencies, the Nash-fused variant outperformed standard filters and was significantly faster than other self-supervised neural denoising methods like Noise2Self.
Discussion and Key Insights
Nash represents a paradigm shift from treating regularization as a scalar hyperparameter to treating it as a learned function of metadata. By bridging the gap between Empirical Bayes and penalized regression, Nash optimizes a lower bound of the evidence lower bound (ELBO), similar to state-of-the-art methods like mr.ash.
While Nash significantly reduces the need for cross-validation of penalty strengths, it introduces the requirement of selecting an appropriate neural network architecture for the side information. Furthermore, while the current implementation focuses on Gaussian linear models, extending the framework to Poisson or Logistic regression is a promising direction for future work. Ultimately, Nash provides a flexible and efficient way to leverage structural information in high-dimensional settings.
Summary updated