Flexible, non-parametric modeling using regularized neural networks

Oskar Allerbo, Rebecka Jörnsten · DOI

Abstract

In modern data science, a persistent trade-off exists between the flexibility of "black box" neural networks and the interpretability of classical statistical models. This paper introduces PrAda-net (Proximal Adaptive Lasso-net), a framework that utilizes adaptive Lasso regularization and proximal gradient descent to automatically prune neural networks into sparse, additive structures. By transforming a standard one-hidden-layer network into a sum of simple, identifiable functions, PrAda-net reveals the specific contributions of individual variables and their interactions. Experimental results on synthetic and large-scale real-world datasets demonstrate that PrAda-net matches the performance of expert-curated models while automating the model selection process.

Introduction

Non-parametric additive models, such as those employing splines, are valued for their transparency, allowing researchers to visualize how specific variables influence an outcome. However, these models often require manual specification of variables, interaction terms, and functional forms. Conversely, neural networks (NNs) offer immense flexibility and can learn complex patterns without manual intervention, but their dense connectivity makes them notoriously difficult to interpret.

PrAda-net addresses this challenge by enabling the data to drive the model's structural design. By enforcing sparsity, the network is pruned into a form that resembles Projection Pursuit Regression, where hidden nodes represent either main effects or specific interactions.

Methodology: PrAda-net

The core of PrAda-net is a one-hidden-layer neural network trained with a specialized recipe designed to induce extreme sparsity. The approach integrates three key components:

  1. Adaptive Lasso: Unlike standard $l_1$ regularization, the Adaptive Lasso applies unique penalty weights to each connection. Weights initially identified as important are penalized less, while smaller, likely noisy weights are penalized more heavily.
  2. Proximal Gradient Descent: To ensure that unimportant weights are driven to exactly zero—rather than just small values—the authors employ proximal gradient descent. This technique performs "hard thresholding," effectively snipping redundant connections.
  3. Three-Stage Training Process:
    • Stage 1: Initial training to identify significant weights.
  4. Stage 2: Application of the Adaptive Lasso penalty to shrink unimportant weights.
  5. Stage 3: Use of proximal steps to finalize the sparse architecture.
Figure 1: Interpretable sparse neural network architecture where pruned links reveal variable contributions to functional components.

Experimental Evaluation

The effectiveness of PrAda-net was evaluated using two primary datasets:

  • Legendre Polynomials: A synthetic dataset designed to test variable selection. It contains five variables, only four of which contribute to the output through complex polynomial shapes.
  • U.K. Black Smoke Data: A real-world dataset comprising 10 million observations of air pollution. It involves complex spatial, temporal, and meteorological interactions.

Results

In the Legendre polynomial experiment, PrAda-net correctly identified the four relevant variables and ignored the noise variable in 100% of test runs, outperforming standard Lasso and other state-of-the-art regularization methods.

Figure 2: Legendre polynomial experiment results showing the pruned network and the reconstruction of complex polynomial shapes.

When applied to the U.K. Black Smoke data, PrAda-net automatically discovered a model structure that mirrored a manually curated, state-of-the-art statistical model. It achieved an $R^2$ of approximately 0.79, matching expert performance while providing interpretable spatial and temporal components without manual feature engineering.

Discussion and Conclusion

PrAda-net successfully automates the transition from a flexible black box to an interpretable statistical model. While the current implementation focuses on one-hidden-layer networks, it demonstrates that sparsity can be a powerful tool for model selection and complexity adaptation. Future work may explore extending these principles to deeper architectures and integrating automated distinctions between linear and non-linear relationships directly into the penalty function. Despite the computational intensity of the three-stage training and cross-validation, PrAda-net offers a robust path toward transparent machine learning.

Summary updated

BibTeX
@article{allerbo2022flexible,
  author = {Oskar Allerbo and Rebecka Jörnsten},
  title = {{Flexible, non-parametric modeling using regularized neural networks}},
  journal = {Comput. Stat.},
  year = {2022},
  doi = {10.1007/s00180-021-01190-4},
}
Figure