betaFeedback

WorksMathematics

SCAN: Neural Additive Networks for Scalable High-Order Component Selection and Estimation

Abstract

Functional ANOVA models express a prediction as a sum of main effects and interactions, but existing neural functional ANOVA models require the interactions to be specified in advance, which forces a trade-off between missing higher-order structure and the cost of enumerating many interactions. We propose SCAN (Scalable Component Additive Networks), which learns which features each basis function combines, so that components of different orders are selected and estimated jointly without enumerating candidates. The learned component index sets form a small candidate collection on which post-hoc identification is carried out efficiently. A global component-selection parameter shares information across basis functions, and truncating negligible component-selection weights gives a sparse model that is identified after training. We establish universal approximation, a minimax optimal rate up to a logarithmic factor, and component selection consistency, which together imply that the discovered components contain all identified true components with probability tending to one. In synthetic experiments, SCAN learns components whose maximum order is close to the true one, and recovers higher-order components more accurately than the baseline models, with post-hoc identification taking a few seconds for 100 inputs. SCAN also outperforms most neural functional ANOVA models in prediction on the benchmark datasets and trains at a much lower cost than exhaustive second-order models. We also apply SCAN to predict treatment response in breast cancer from 12,502 gene-expression variables.

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

S. Park and Y. Kim are with the Department of Statistics, Seoul National University, Seoul 08826, Republic of Korea.

K. Kim is with KAIST AI, Seoul 06764, Republic of Korea.

Introduction

Understanding a prediction model often requires more than identifying important input features. In particular, when there are interactions between input features, the relation between features and output cannot be understood from the importance of each input feature. Functional ANOVA model [1, 2] decomposes a high-dimensional function as a sum of functions called components, each depending on a subset of the inputs, and so important interactions and their relations to the output can be identified.

Neural functional ANOVA models, including Neural Additive Models (NAM, [3]), Neural Basis Models (NBM, [4]), and ANOVA-TPNN ([5]), use neural networks to estimate the component functions. Their computational cost, however, becomes large rapidly as the number of input features increases. For example, a prediction model with a 700-dimensional input

ModelMax. orderNo enum.Mini-batchSelectionTheory
NAM ([3])Predefined×\times✓\checkmark×\times×\times
NBM ([4])Predefined×\times✓\checkmark×\times×\times
ANOVA-TPNN ([5])Predefined×\times✓\checkmark×\times×\times
EBM ([8])Predefined×\times×\times✓\checkmark×\times
NODE-GAM ([6])Predefined✓\checkmark✓\checkmark✓\checkmark×\times
SCAN (Ours)Data-adaptive✓\checkmark✓\checkmark✓\checkmark✓\checkmark

Table 1. Comparison of functional ANOVA models. Theory: convergence rate and component selection consistency.

feature has roughly 245,000 possible second-order interactions, and exponentially many more components are added for higher-order interactions. Thus, the existing neural functional ANOVA models focus only on lower-order interactions such as the main effects and the second order interactions.

Component selection offers a way to avoid considering exponentially many components. NODE-GAM ([6]) can select features in each component, but the maximum number of features in each component (i.e. the maximum order of interactions) is fixed at 1 or 2 because it uses tensor-product basis functions which become computationally unstable easily for high-order interactions. Recently, [7] develops a Bayesian neural functional ANOVA model to explore higher-order interactions. The MCMC algorithm, however, is not easily scaled up since storing MCMC samples is expensive and mini-batch learning is not available.

The aim of this paper is to propose a novel neural functional ANOVA model, called SCAN (Scalable Component Additive Networks), which can be trained by a standard mini-batch gradient descent algorithm and can identify higher-order interactions with manageable computational and memory costs. For this purpose, we develop a special basis function that depends on a linear combination of univariate transformations of the input features, where the weights in the linear combination are learnable and sparse. Thus, each basis function uses only a small number of input features, which provides data-adaptive interaction selection as a by-product. Table I compares SCAN with existing functional ANOVA models in terms of whether the maximum order of components must be predefined, whether all candidate components are enumerated, whether mini-batch training is possible, whether components are selected data-adaptively, and whether theoretical guarantees are available. Existing models require the maximum order of components to be predefined, typically at one or two, and either enumerate all candidate

Proofs

components or lack theoretical guarantees. In contrast, SCAN determines the orders of components data-adaptively by mini-batch training without enumerating candidates, and comes with theoretical guarantees for estimation and component selection.

SCAN assumes that the prediction model is a sum of these basis functions, trains the parameters in the prediction model by a mini-batch gradient descent algorithm and reorganizes the trained basis function into the functional ANOVA model. Note that SCAN can identify important components data-adaptively because the basis functions do so. Theoretically, we prove statistical optimality as well as theoretical guarantees for component selection. The main contributions are as follows.

  • We propose a neural functional ANOVA architecture that can be trained by a standard mini-batch gradient-based method but can jointly select and estimate components without enumerating a prespecified set of interactions.

  • We establish the universal approximation for Hölder continuous functions and a minimax optimal convergence rate up to a logarithmic factor for the least squares estimator. Under additional assumptions, we also show the component selection consistency.

  • We evaluate our method in view of prediction, component selection, computational cost, and interpretation on multiple benchmark datasets and a high-dimensional gene-expression application. The empirical results show improved performance of SCAN compared to the existing neural functional ANOVA models and illustrate how SCAN learns an interpretable representation from high-dimensional input features.

Background and Preliminaries

Notations

Throughout the paper, x=(x1,…,xp)⊤\mathbf{x}=(x_1,\ldots,x_p)^\top denotes an input feature vector taking values in X=X1×⋯×Xp⊆[−a,a]p\mathcal{X}=\mathcal{X}_1\times\cdots\times\mathcal{X}_p\subseteq[-a,a]^p for some constant a>0a>0. The index set of the input features is written as [p]={1,…,p}[p]=\{1,\ldots,p\}. Given a subset S⊆[p]S\subseteq[p], xS=(xj,j∈S)\mathbf{x}_S=(x_j,j\in S) denotes the subvector of x\mathbf{x} formed by the coordinates in SS, and fS(xS)f_S(\mathbf{x}_S) denotes a function whose value depends on x\mathbf{x} only through xS\mathbf{x}_S. Let xi=(xi,1,…,xi,p)⊤\mathbf{x}_i=(x_{i,1},\ldots,x_{i,p})^\top, i=1,…,ni=1,\ldots,n, be observed input feature vectors. For 1≤r<∞1\leq r<\infty, the empirical rr norm of a function ff is defined by ∥f∥r,n:=(n−1∑i=1n∣f(xi)∣r)1/r\|f\|_{r,n}:=\left(n^{-1}\sum_{i=1}^n|f(\mathbf{x}_i)|^r\right)^{1/r}, and its population counterpart with respect to a probability measure μ\mu on X\mathcal{X} is ∥f∥r,μ:=(∫X∣f(x)∣rμ(dx))1/r\|f\|_{r,\mu}:=\left(\int_{\mathcal{X}}|f(\mathbf{x})|^r\mu(d\mathbf{x})\right)^{1/r}. For a vector e=(e1,…,en)⊤\mathbf{e}=(e_1,\ldots,e_n)^\top, we write ∥e∥1:=∑i=1n∣ei∣\|\mathbf{e}\|_1:=\sum_{i=1}^n|e_i| for its ℓ1\ell_1 norm and ∥e∥2:=(∑i=1nei2)1/2\|\mathbf{e}\|_2:=\left(\sum_{i=1}^n e_i^2\right)^{1/2} for its ℓ2\ell_2 norm. For a set AA, let P(A)\mathcal{P}(A) denote the power set of AA, i.e., the collection of all subsets of AA. Let μj\mu_j denote the marginal distribution defined on Xj\mathcal{X}_j and let μˉ:=μ1⊗⋯⊗μp\bar{\mu}:=\mu_1\otimes\cdots\otimes\mu_p be the product of the marginals.

Functional ANOVA Model

The functional ANOVA model decomposes a high-dimensional function into a sum of low-dimensional functions (components):

f(x)=β0+∑jfj(xj)+∑j<kfjk(xj,xk)+⋯ ,(1)f(\mathbf{x})=\beta_0+\sum_j f_j(x_j)+\sum_{j<k}f_{jk}(x_j,x_k)+\cdots, \tag*{(1)}

where fjf_j are the main effects, fjkf_{jk} are the second-order interactions and so on. A generalized additive model (GAM) [9] is the special case containing only the main effects.

Traditional approaches for learning functional ANOVA models include smoothing splines (SSANOVA, [2]), component-wise penalties ([10]), and basis expansion methods ([11]). These methods work well for data of moderate size but become computationally prohibitive for high-dimensional/large sized data.

To improve scalability, neural network-based functional ANOVA models have recently been actively studied, which model each component by a specially designed neural network and estimate all components functions simultaneously by a gradient-based optimization. Representative examples are NAM ([3]), NBM ([4]), and ANOVA-TPNN ([5]).

These examples ([3, 4, 5]), however, require the set of candidate components to be specified before training. When the dimension of input feature is large and/or the maximum order of interactions for candidate components is large, the number of candidate components to be estimated becomes prohibitively large. Thus, they fix the maximum order of components at 1 or 2, and thus are not able to identify important higher-order interactions.

To overcome this limitation, several models have been proposed that select and estimate signal components. NODE-GAM ([6]) builds on Neural Oblivious Decision Ensembles (NODE, [12]), an ensemble of neural oblivious decision trees (NODTs), where features used in each NODT of the ensemble are selected data-adaptively. NODE-GAM restricts each NODT to use at most two features because of computational issues. More recently, [13] introduces a similar feature-selection approach into NAM and NBM. However, both approaches still require the maximum order of the components to be fixed in advance at 1 or 2 because of a similar reason to NODE-GAM.

Bayesian-TPNN ([7]) treats the network architecture of each basis function as a learnable parameter and explores the relevant components via an MCMC algorithm, without enumerating all of the candidate components. However, this approach is not easily scalable. First, it is computationally demanding to make an MCMC algorithm to explore adequately the space of all candidate components that is exponentially growing with respect to the input feature dimension. Second, mini-batch computation is not available for the MCMC update, which limits the sample sizes that can be handled within a given computational budget.

SCAN: Scalable Component Additive Networks

Main Idea and Architecture

SCAN learns which features each basis function uses, and thereby is able to select signal components as a by-product. Hence, SCAN does not require a predefined set of candidate interactions (e.g. a maximum order of interactions). SCAN lets the prediction model have the following form:

Architecture of SCAN

Figure 1. Architecture of SCAN. Each basis function combines univariate unit functions through learnable component-selection weights. The selected component index sets determine the component structure, and a weighted sum of the basis functions gives the prediction.

fSCAN(x)=∑t=1TwtMt(x)(2)f_{\mathrm{SCAN}}(\mathbf{x}) = \sum_{t=1}^{T} w_t\mathcal{M}_t(\mathbf{x}) \tag*{(2)}

where each basis function Mt\mathcal{M}_t is further modeled as

Mt(x)=h(∑j=1pαj,tBj,t(xj)).(3)\mathcal{M}_t(\mathbf{x}) = h\left(\sum_{j=1}^{p}\alpha_{j,t}\mathcal{B}_{j,t}(x_j)\right). \tag*{(3)}

Here, Bj,t(⋅)\mathcal{B}_{j,t}(\cdot) is a univariate unit function and h(⋅)h(\cdot) is the sigmoid function. The component-selection weights αj,t\alpha_{j,t} determine the contribution of feature jj to Mt\mathcal{M}_t. If we make αj,t\alpha_{j,t} sparse, only a small portion of input features are involved in Mt\mathcal{M}_t and so the component selection is achieved.

Univariate Unit Functions

For Bj,t\mathcal{B}_{j,t}, we use a depth-1 smooth decision tree,

Bj,t(xj):=βj,t,1(1−σ(xj−bj,tγj,t))+βj,t,2σ(xj−bj,tγj,t)\mathcal{B}_{j,t}(x_j) := \beta_{j,t,1}\left(1-\sigma\left(\frac{x_j-b_{j,t}}{\gamma_{j,t}}\right)\right)+\beta_{j,t,2}\sigma\left(\frac{x_j-b_{j,t}}{\gamma_{j,t}}\right)

where σ(u):=1/(1+e−u)\sigma(u):=1/(1+e^{-u}) is the sigmoid function, and (βj,t,1,βj,t,2,bj,t,γj,t)(\beta_{j,t,1},\beta_{j,t,2},b_{j,t},\gamma_{j,t}) are learnable parameters. This form is compact, requiring only four parameters per unit, and its output is bounded between the two leaf values, which prevents unstable extrapolation. The comparison in Section S.C.4 shows that this choice performs favorably among the univariate unit functions evaluated.

Component-selection Weights

References

  1. [1]G. Hooker, “Generalized functional anova diagnostics for high-dimensional functions of dependent variables,” Journal of computational and graphical statistics, vol. 16, no. 3, pp. 709–732, 2007.DOI
  2. [2]G. Wahba, Y. Wang, C. Gu, R. Klein, and B. Klein, “Smoothing spline anova for exponential families, with application to the wisconsin epidemiological study of diabetic retinopathy: the 1994 neyman memorial lecture,” The Annals of Statistics, vol. 23, no. 6, pp. 1865–1895, 1995.DOI
  3. [3]R. Agarwal, L. Melnick, N. Frosst, X. Zhang, B. Lengerich, R. Caruana, and G. E. Hinton, “Neural additive models: Interpretable machine learning with neural nets,” Advances in neural information processing systems, vol. 34, pp. 4699–4711, 2021.arxiv.org/abs/2004.13912
  4. [4]F. Radenovic, A. Dubey, and D. Mahajan, “Neural basis models for interpretability,” Advances in Neural Information Processing Systems, vol. 35, pp. 8414–8426, 2022.arxiv.org/abs/2205.14120
  5. [5]S. Park, I. Kong, Y. Choi, C. Park, and Y. Kim, “Tensor product neural networks for functional anova model,” arXiv preprint arXiv:2502.15215, 2025.arxiv.org/abs/2502.15215
  6. [6]C.-H. Chang, R. Caruana, and A. Goldenberg, “Node-gam: Neural generalized additive model for interpretable deep learning,” arXiv preprint arXiv:2106.01613, 2021.arxiv.org/abs/2106.01613
  7. [7]S. Park, I. Kong, and Y. Kim, “Bayesian additive regression trees for functional anova model,” arXiv preprint arXiv:2509.03317, 2025.arxiv.org/abs/2509.03317
  8. [8]H. Nori, S. Jenkins, P. Koch, and R. Caruana, “Interpretml: A unified framework for machine learning interpretability,” arXiv preprint arXiv:1909.09223, 2019.arxiv.org/abs/1909.09223
  9. [9]T. J. Hastie, “Generalized additive models,” in Statistical models in S. Routledge, 2017, pp. 249–307.
  10. [10]Y. Lin and H. H. Zhang, “Component selection and smoothing in multivariate nonparametric regression,” The Annals of statistics, vol. 34(5), pp. 2272–2297, 2006.DOI
  11. [11]D. Rügamer, “Scalable higher-order tensor product spline models,” in International Conference on Artificial Intelligence and Statistics. PMLR, 2024, pp. 1–9.arxiv.org/abs/2402.01090
  12. [12]S. Popov, S. Morozov, and A. Babenko, “Neural oblivious decision ensembles for deep learning on tabular data,” arXiv preprint arXiv:1909.06312, 2019.arxiv.org/abs/1909.06312
  13. [13]Y. Kishimoto, K. Yamanishi, T. Matsuda, and S. Shirakawa, “Neural additive and basis models with feature selection and interactions,” in Pacific-Asia Conference on Knowledge Discovery and Data Mining. Springer, 2024, pp. 3–16.DOI
  14. [14]Z. Liu, Y. Wang, S. Vaidya, F. Ruehlеson, M. Soljačić, T. Y. Hou, and M. Tegmark, “Kan: Kolmogorov-arnold networks,” arXiv preprint arXiv:2404.19756, 2024.arxiv.org/abs/2404.19756
  15. [15]A. N. Kolmogorov, On the representation of continuous functions of several variables by superpositions of continuous functions of a smaller number of variables. American Mathematical Society, 1961.DOI
  16. [16]B. Lengerich, S. Tan, C.-H. Chang, G. Hooker, and R. Caruana, “Purifying interaction effects with the functional anova: An efficient algorithm for recovering identifiable additive models,” in International Conference on Artificial Intelligence and Statistics. PMLR, 2020, pp. 2402–2412.arxiv.org/abs/1911.04974
  17. [17]K. Hornik, M. Stinchcombe, and H. White, “Multilayer feedforward networks are universal approximators,” Neural networks, vol. 2, no. 5, pp. 359–366, 1989.DOI
  18. [18]T. Chen and C. Guestrin, “Xgboost: A scalable tree boosting system,” in Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining, 2016, pp. 785–794.DOI
  19. [19]F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay, “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011.arxiv.org/abs/1201.0490
  20. [20]P. Cortez, A. Cerdeira, F. Almeida, T. Matos, and J. Reis, “Wine Quality,” UCI Machine Learning Repository, 2009, DOI: https://doi.org/10.24432/C56S3T.
  21. [21]T. Qin and T. Liu, “Introducing LETOR 4.0 datasets,” CoRR, vol. abs/1306.2597, 2013. [Online]. Available: http://arxiv.org/abs/1306.2597
  22. [22]Yahoo, “Yahoo! learning to rank challenge,” https://webscope.sandbox.yahoo.com/catalog.php?datatype=c, 2010.
  23. [23]“Telco customer churn,” kaggle, 2017, https://www.kaggle.com/datasets/blastchar/telco-customer-churn/data.
  24. [24]D. Slate, “Letter Recognition,” UCI Machine Learning Repository, 1991, DOI: https://doi.org/10.24432/C5ZP40.
  25. [25]“Credit card fraud detection,” kaggle, 2015, https://www.kaggle.com/datasets/mlg-ulb/creditcardfraud.
  26. [26]“Dry bean,” UCI Machine Learning Repository, 2020, DOI: https://doi.org/10.24432/C50S4B.
  27. [27]I. Guyon, “Madelon,” UCI Machine Learning Repository, 2004, DOI: https://doi.org/10.24432/C5602H.
  28. [28]C. Hatzis, L. Pusztai, V. Valero, D. J. Booser, L. Esserman, A. Lluch, T. Vidaurre, F. Holmes, E. Souchon, H. Wang et al., “A genomic predictor of response and survival following taxane-anthracycline chemotherapy for invasive breast cancer,” JAMA, vol. 305, no. 18, pp. 1873–1881, 2011.DOI
  29. [29]M. Kohler and S. Langer, “On the rate of convergence of fully connected deep neural network regression estimates,” The Annals of Statistics, vol. 49, no. 4, pp. 2231–2249, 2021.
  30. [30]L. Györfi, M. Kohler, A. Krzyzak, and H. Walk, A distribution-free theory of nonparametric regression. Springer Science & Business Media, 2006.
  31. [31]F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay, “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011.arxiv.org/abs/1201.0490
  32. [32]A. Paszke, S. Gross, F. Massa, A. Lerer, J. Bradbury, G. Chanan, T. Killeen, Z. Lin, N. Gimelshein, L. Antiga, A. Desmaison, A. Kopp, E. Yang, Z. DeVito, M. Raison, A. Tejani, S. Chilamkurthy, B. Steiner, L. Fang, J. Bai, and S. Chintala, “Pytorch: An imperative style, high-performance deep learning library,” in Advances in Neural Information Processing Systems 32. Curran Associates, Inc., 2019, pp. 8024–8035. [Online]. Available: http://papers.neurips.cc/paper/9015-pytorch-an-imperative-style-high-performance-deep-learning-library.pdfarxiv.org/abs/1912.01703
  33. [33]M. Tsang, D. Cheng, and Y. Liu, “Detecting statistical interactions from neural network weights,” arXiv preprint arXiv:1705.04977, 2017.arxiv.org/abs/1705.04977

Paper details

vlnc:W_r8ny96fm
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents