Projected Neural Additive Models as Universal Approximators

Nhon N. Phan, Qiang Du, John D. Clayton, WaiChing Sun

TL;DR

Deep learning usually forces a frustrating choice: use transparent models that are mathematically hamstrung, or black-box neural networks that can learn anything while telling you nothing. This paper proves that adding a single learnable linear layer before an interpretable Neural Additive Model—creating a Projected Neural Additive Model (PNAM)—unlocks universal approximation. By pairing this theoretical guarantee with clever sparsity regularizers and symbolic distillation, PNAMs match black-box accuracy while boiling tens of thousands of parameters down into compact analytical equations.

What Problem Does This Paper Address?

Standard Multi-Layer Perceptrons (MLPs) are universal approximators, meaning they can mimic almost any continuous function, though how they arrive at an answer is notoriously opaque. On the flip side, Neural Additive Models (NAMs) are wonderfully transparent: they give each input variable its own independent mini-network and simply add the outputs together.

Because the inputs never mingle inside a NAM, its cross-derivatives are identically zero. Consequently, a NAM cannot learn even the simplest interaction between variables, like $x_1 \cdot x_2$. Previous attempts to fix this added explicit pairwise interaction terms, which explode combinatorially as input dimensions grow and still fail on three-way couplings ($x_1 x_2 x_3$). Earlier empirical work suggested putting a linear projection matrix in front of a NAM—creating a PNAM—could capture cross-variable interactions, yet two big questions remained: Can PNAMs actually approximate any function, and how do we read the model once the raw inputs get scrambled together by that projection matrix?

Methods

In a PNAM, raw $N$-dimensional inputs $\boldsymbol{\chi}$ are first multiplied by a learnable matrix $\boldsymbol{T}$ to create $M$ projected variables ($\boldsymbol{z} = \boldsymbol{T}\boldsymbol{\chi}$). Each scalar $z_i$ is then fed into its own independent 1D MLP (optionally equipped with Fourier feature mappings for high-frequency signals), and the results are summed up.

Figure 1: Architecture of the PNAM. The output by is predicted via a linear combination of single-variable functions, parameterized by independent MLPs, which are evaluated on linear combina- tions of the inputs χ. The transformation T and weighting coefficients ζ (both denoted with dashed lines) can be op- timized to yield sparser (and more inter- pretable) solutions.

While the PNAM architecture builds on prior empirical work, the authors introduce three major innovations:

  1. Theoretical Foundations: They prove universal approximation and derive explicit approximation rates by connecting PNAMs to multivariable polynomial reproduction and ridge functions.
  2. Structured Sparsity Regularization: Mixing inputs via $\boldsymbol{T}$ ruins NAM's native interpretability. To fix this, the authors introduce custom regularizers—most notably an SVD-based penalty inspired by 3D rotation metrics that nudges $\boldsymbol{T}$ toward a diagonal matrix. This acts like an "Occam's razor" prior: cross-variable couplings are only introduced if they reduce prediction error enough to justify their penalty.
  3. Post-Hoc Pruning & Symbolic Regression: Because each internal MLP only takes a single variable $z_i$, the authors can run 1D symbolic regression (via PySR) on each branch independently, converting neural weights into clean mathematical formulas and pruning weak features using column-wise norms of $\boldsymbol{T}$.

Datasets

The authors evaluate PNAMs across three existing benchmarks (no new datasets are introduced):

  • Mathematical Knots: 243,746 knots from Google DeepMind, using 17 geometric invariants to predict knot signatures (tested as both 14-class classification and regression).
  • MNIST: High-dimensional image classification (detailed in the appendices) to test feature selection and dimensionality reduction.
  • Phase Field Fracture Mechanics: A simulation of crack propagation with limited training data (detailed in the appendices) to examine overfitting behavior.

Key Insights and Ideas

  • A little linear mixing goes a long way: You don't need two layers of nonlinearities—as used in Kolmogorov–Arnold Networks (KANs)—to get universal approximation out of 1D functions. A single linear projection layer lets 1D bases act as ridge functions, which can reconstruct arbitrary multivariable polynomials (for instance, $x_1 x_2 = \frac{1}{4}(x_1+x_2)^2 - \frac{1}{4}(x_1-x_2)^2$).
  • Optimal Approximation Rates: For functions with $s$ continuous derivatives, PNAMs achieve an approximation error rate of $\mathcal{O}(M^{-s/(N-1)})$, matching the theoretical optimum for ridge functions and equaling the parameter complexity of standard MLPs.
  • Sidestepping an NP-Hard Bottleneck: Multi-variable symbolic regression is famously NP-hard. Because PNAM isolates nonlinearities into 1D channels, distilling a complex multi-variable network simplifies into $M$ separate, fast 1D curve-fitting problems.

Key Results

On the knot theory classification benchmark, PNAMs scale cleanly with the number of projections $M$, bridging the gap between rigid NAMs and unconstrained MLPs:

Table 1: Performance comparison of different neural network architectures for the multi-class classification problem of predicting the signature of mathematical knots. The first two rows are reproduced from Table 3 of Liu et al. [14]; see [14] for definitions of G and k. For the remaining rows, the mean and standard deviation of the test accuracy are computed over 10 runs. The last row incorporates the Fourier feature mapping described in Eq. (4).
  • Matching Black-Box Accuracy: With $M=64$ projections, PNAM achieves 95.9% test accuracy, matching a tuned MLP (95.8%) and outperforming standard NAMs (92.4%) and previously reported KANs (81.6%).
  • Zero-Prior Feature Discovery: Simply inspecting the column magnitudes of $\boldsymbol{T}$ automatically ranks the real/imaginary meridional translations and longitudinal translation as the top three invariants—recovering the exact features human mathematicians and attribution tools found, plus flagging cusp volume as a helpful fourth invariant. Retaining just the top 3 features still yields 78.1% accuracy.
  • Massive Compression: Distilling the trained knot-regression PNAM via symbolic regression shrinks tens of thousands of network parameters down to compact closed-form expressions with just tens of parameters, matching KAN symbolic accuracy using fewer invariants.

Limitations and Future Work

  • Global, Not Local, Interpretability: Because the 1D networks act on mixed variables $z_i$ rather than raw inputs, you cannot read off a single raw feature's isolated shape function the way you can in a standard NAM. Furthermore, feature rankings rely on proper calibration of regularizers and reflect predictive correlation, not causality.
  • Computational Overhead & Algebraic Limits: Evaluating $M$ separate MLPs requires roughly $M$ times more parameters and training time than a comparable single MLP. Also, like most additive architectures, PNAMs struggle to compactly represent division.
  • Future Directions: The authors plan to parallelize the 1D basis evaluations to eliminate training slowdowns and explore plugging PNAMs into Graph Neural Networks and Transformers to enable structural pruning and faster inference.

Summary updated

BibTeX
@inproceedings{phan2026projected,
  author = {Nhon N. Phan and Qiang Du and John D. Clayton and WaiChing Sun},
  title = {{Projected Neural Additive Models as Universal Approximators}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=6AZvfOFUIP},
}
Figure