Introduction
Generalized Additive Models (GAMs) are a cornerstone of interpretable machine learning, allowing for the modeling of non-linear effects while maintaining mathematical transparency. However, GAMs face a significant bottleneck when modeling feature interactions. Capturing a $D$-way interaction typically requires Tensor Product Splines (TPS), whose complexity grows exponentially ($O(M^D)$) with the number of dimensions. This "curse of dimensionality" often forces practitioners to limit models to univariate or bivariate effects, potentially missing critical high-order patterns.
Methodology: The Factorization Trick
To overcome these limitations, the Additive Higher-Order Factorization Machine (AHOFM) framework integrates the scalability of Factorization Machines (FMs) with the flexibility of splines.
1. Factorized Spline Basis
In a standard FM, interactions are modeled via the dot product of latent vectors. AHOFMs apply this logic to spline basis functions. Instead of estimating a massive, dense tensor of coefficients for a $D$-way interaction, the model approximates these coefficients using lower-dimensional latent factors.
2. Efficient Recursive Representation
Drawing inspiration from Vieta’s formula and ANOVA kernels, the model utilizes a recursive formula to compute high-order terms. This innovation allows the computational cost to scale linearly ($O(p)$) with the number of features $p$, even when modeling complex interactions.
3. Scalable Smoothing and Optimization
To prevent overfitting, the author introduces a Homogeneous AHOFM Smoothing scheme. By mapping smoothing parameters to "degrees-of-freedom," the model automatically balances flexibility and smoothness across interaction terms without a combinatorial explosion of hyperparameters. Optimization is achieved via stochastic mini-batch gradient descent (using Adam) or Block-Coordinate Descent (BCD).
Scalability and Computational Efficiency
The primary advantage of AHOFMs is their efficiency in high-dimensional settings. In head-to-head tests against the state-of-the-art "Big Additive Model" (BAM) implementation, AHOFMs (labeled as AFM in benchmarks) demonstrated strictly linear growth in both memory consumption and processing time as the number of features increased. In contrast, BAM's resource requirements grew exponentially, making it untenable for large feature sets.
Performance on Real-World Benchmarks
The effectiveness of AHOFMs was evaluated using seven UCI benchmark datasets representing various regression tasks. The results indicate that AHOFMs, particularly those of degree $D=3$, frequently achieve the lowest Mean Squared Error (MSE) compared to standard GAMs, linear FMs, and boosted models.
On datasets such as Airfoil and Yacht, AHOFMs outperformed traditional GAMs and GLMBoost. Furthermore, simulation results confirm that as the number of latent factors ($F$) increases, the AHOFM approximation converges toward the exact GAM solution, providing a tunable trade-off between computational cost and approximation accuracy.
Conclusion and Future Directions
AHOFMs represent a significant advancement in making high-order non-linear modeling scalable. By combining the strengths of FMs and GAMs, they allow for the inclusion of complex interactions that were previously computationally prohibitive. Future work may focus on incorporating automatic feature selection to enhance interpretability and developing inhomogeneous smoothing techniques to allow for varying levels of flexibility across different feature combinations.
Summary updated