Kernel Logistic Regression Approximation of an Understandable ReLU Neural Network

Marie Guyomard, Susana Barbosa, Lionel FillatreICML 2023

Neural networks are the "black boxes" of the modern world—powerful, but notoriously difficult to peek inside. While researchers have developed interpretable alternatives like Generalized Additive Models (GAMs), these often rely on "greedy" algorithms that don't guarantee the best possible solution.

A recent paper presented at ICML 2023, "Kernel Logistic Regression Approximation of an Understandable ReLU Neural Network," introduces a clever bridge between the power of deep learning and the clarity of classical statistics.

TL;DR

The authors introduce SATURNN, a neural network architecture designed to be inherently interpretable by modeling data as a sum of simple, one-variable functions (splines). They prove that as these networks get wider, they become equivalent to a specific type of Kernel Logistic Regression, allowing for training that is globally optimal, unique, and orders of magnitude faster than standard backpropagation.

What Problem Does This Paper Address?

In high-stakes fields like medicine or finance, "because the AI said so" isn't a good enough answer. We need interpretability.

Existing solutions fall into two camps:

  1. Interpretable but limited: Models like MARS or GAMs are easy to understand because they treat each input variable separately. However, they are usually trained using "greedy" step-by-step methods that might miss the best overall solution.
  2. Powerful but opaque: Neural Additive Models (NAMs) use neural networks to mimic GAMs, but they are hard to train, sensitive to how they are initialized, and offer no guarantee that the training will converge to a unique, optimal solution.

The authors set out to create a model that has the interpretability of a GAM but the mathematical rigor and global optimization of a convex problem.

Methods

The authors propose SATURNN (Splines Approximation Through Understandable ReLU Neural Network). Here is the "secret sauce":

  • Architecture Constraint: Unlike a standard neural network where every neuron looks at every input, each hidden neuron in SATURNN is restricted to looking at exactly one input variable. This forces the network to learn a sum of univariate functions (splines).
  • Partial Linearization: The authors use Taylor expansion to show that as the number of neurons ($p$) increases, the network's "score function" becomes linear with respect to its parameters.
  • The Kernel Trick: They demonstrate that a wide SATURNN is equivalent to a Logistic Regression performed on non-linear features.
  • EKLR (Expected Kernel Logistic Regression): Since the initial features depend on random initialization, the authors derive a deterministic kernel that represents the average behavior of the network. This transforms the neural network training into a Kernel Logistic Regression (KLR) problem, which is "strongly convex"—meaning there is only one "best" solution, and we are guaranteed to find it.

Datasets

The researchers evaluated their approach on three distinct datasets:

  1. Gaussian Dataset (Simulated): A 2D dataset used to visualize how the model partitions the input space.
  2. Circle Dataset (Simulated): A non-linear "donut" shape used to test the model's ability to handle complex boundaries.
  3. Framingham Dataset (Real-world): A famous medical dataset used to predict cardiovascular events based on 15 descriptive variables (age, cholesterol, etc.).

Key Insights and Ideas

Comparison of decision boundaries between a standard ReLU NN and SATURNN.
  • Orthotopes over Oblique Regions: Standard ReLU networks divide the world with diagonal, overlapping lines that are a nightmare to interpret. SATURNN divides space into "orthotopes" (axis-aligned boxes), which directly tell you: "If Age > 50 and Cholesterol > 200, then Risk is High."
  • Convexity is King: By proving the equivalence to KLR, the authors move the problem from the messy world of Stochastic Gradient Descent (where you might get stuck in a local minimum) to the clean world of convex optimization (where the solution is unique).
  • Initialization Independence: By using the "Expected Kernel," the final model no longer depends on the "luck of the draw" of the random starting weights.

Key Results

Performance and computation time comparison across different methods.
  • Speed: On the Gaussian dataset, training the SATURNN neural network took 233 seconds. Training the KLR approximation (EKLR) took just 0.05 seconds. That’s a ~4,600x speedup.
  • Accuracy: SATURNN matched or outperformed standard NNs and NAMs. On the Circle dataset, it achieved 90% test accuracy, significantly higher than the 86% achieved by Neural Additive Models.
  • Consistency: On the Framingham medical data, SATURNN produced smoother, more physically plausible "spline curves" for variables like glucose levels compared to traditional GAMs, which often produced jagged, unreliable results.

Limitations and Future Work

While SATURNN is a major step forward for "Glass Box" AI, it has some trade-offs:

  • No Interactions: Because it is an additive model, it doesn't naturally capture interactions between variables (e.g., the combined effect of smoking and high blood pressure) unless those interactions are manually added as new features.
  • Scaling with Data: Kernel methods generally scale poorly with the number of samples ($N$). While the authors used a dataset of ~1,100 patients, applying this to millions of rows would require further "sparse kernel" approximations.
  • Future Directions: The authors suggest extending this framework to handle feature interactions while maintaining the same convergence guarantees.

Reference: Guyomard, M., Barbosa, S., & Fillatre, L. (2023). Kernel Logistic Regression Approximation of an Understandable ReLU Neural Network. Proceedings of the 40th International Conference on Machine Learning (ICML).

Summary updated

BibTeX
@inproceedings{guyomard2023kernel,
  author = {Marie Guyomard and Susana Barbosa and Lionel Fillatre},
  title = {{Kernel Logistic Regression Approximation of an Understandable ReLU Neural Network}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=XW4R4LVKhw},
}
Figure