Skip to main content
QUICK REVIEW

[Paper Review] Neural Basis Models for Interpretability

Filip Radenović, Abhimanyu Dubey|arXiv (Cornell University)|May 27, 2022
Explainable Artificial Intelligence (XAI)Computer Science13 citations
TL;DR

This paper introduces the Neural Basis Model (NBM), a novel family of Generalized Additive Models (GAMs) that use shared, deep neural network–learned basis functions to represent feature shape functions. By decomposing each feature's contribution as a linear combination of a small set of shared bases, NBM achieves state-of-the-art accuracy, model efficiency, and throughput—reducing parameters by 5×–50× and improving throughput by 4×–7× over prior GAMs like NAMs, especially on high-dimensional and sparse datasets.

ABSTRACT

Due to the widespread use of complex machine learning models in real-world applications, it is becoming critical to explain model predictions. However, these models are typically black-box deep neural networks, explained post-hoc via methods with known faithfulness limitations. Generalized Additive Models (GAMs) are an inherently interpretable class of models that address this limitation by learning a non-linear shape function for each feature separately, followed by a linear model on top. However, these models are typically difficult to train, require numerous parameters, and are difficult to scale. We propose an entirely new subfamily of GAMs that utilizes basis decomposition of shape functions. A small number of basis functions are shared among all features, and are learned jointly for a given task, thus making our model scale much better to large-scale data with high-dimensional features, especially when features are sparse. We propose an architecture denoted as the Neural Basis Model (NBM) which uses a single neural network to learn these bases. On a variety of tabular and image datasets, we demonstrate that for interpretable machine learning, NBMs are the state-of-the-art in accuracy, model size, and, throughput and can easily model all higher-order feature interactions. Source code is available at https://github.com/facebookresearch/nbm-spam.

Motivation & Objective

  • To address the scalability and parameter efficiency limitations of existing inherently interpretable models like NAMs and EBMs, which require per-feature models with high parameter counts.
  • To enable faithful, interpretable modeling of complex, high-dimensional data—especially sparse features—by learning shared basis functions across features.
  • To maintain the interpretability of GAMs while significantly reducing model size and inference time through basis decomposition and deep learning.
  • To support higher-order feature interactions efficiently, avoiding the quadratic parameter growth seen in models like GA2Ms and NA2Ms.
  • To provide a scalable, differentiable, and GPU-friendly architecture that integrates seamlessly into deep learning pipelines.

Proposed method

  • Proposes a new subfamily of GAMs where each feature's shape function is represented as a linear combination of a small, shared set of basis functions learned jointly via a single deep neural network.
  • Uses a single neural network to learn the basis functions, enabling end-to-end training with mini-batch stochastic gradient descent on GPUs.
  • Employs basis decomposition inspired by signal processing (e.g., Fourier, Legendre), but learns the bases task-specifically rather than using fixed functions.
  • Extends the framework to model pairwise interactions via an additional set of shared basis functions, enabling higher-order interactions with linear parameter growth.
  • Applies a generalization bound using Rademacher complexity to show that the model generalizes well with a logarithmic number of bases relative to input dimension.
  • Uses a loss function combining empirical risk and regularization to ensure both fitting and generalization, with theoretical guarantees on approximation error.

Experimental results

Research questions

  • RQ1Can shared basis functions across features reduce the parameter count and improve scalability in interpretable models without sacrificing accuracy?
  • RQ2Can a single deep neural network effectively learn basis functions that generalize well across diverse features and tasks?
  • RQ3How does the NBM architecture compare in accuracy, model size, and throughput to state-of-the-art GAMs like NAMs and EBMs on high-dimensional and sparse datasets?
  • RQ4Can the model efficiently capture higher-order feature interactions without quadratic parameter growth, as seen in GA2Ms and NA2Ms?
  • RQ5Does the use of learned, task-specific bases lead to better generalization and faithfulness compared to fixed basis functions or independent per-feature models?

Key findings

  • On tabular and image datasets, NBM achieves state-of-the-art performance in accuracy, model size, and inference throughput, outperforming NAMs and EBMs.
  • For datasets with more than ten features, NBM reduces the number of parameters by 5× to 50× compared to NAMs, significantly improving scalability.
  • NBM improves throughput by 4× to 7× over NAMs, making it suitable for real-time and large-scale deployment.
  • The model effectively captures higher-order feature interactions through an extension to pairwise basis functions, with only linear parameter growth, unlike quadratic growth in GA2Ms and NA2Ms.
  • Theoretical analysis shows that the approximation error decays exponentially with the number of bases, suggesting that only logarithmic growth in basis count relative to input dimension is needed for good performance.
  • On sparse datasets with over 100,000 features, NBM scales effectively where other GAMs fail, demonstrating practical utility in industrial-scale applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.