Abstract
Bayesian Generalized Nonlinear Models (BGNLM) offer a flexible nonlinear alternative to GLM while still providing better interpretability than machine learning techniques such as neural networks. In BGNLM, the methods of Bayesian Variable Selection and Model Averaging are applied in an extended GLM setting. Models are fitted to data using MCMC within a genetic framework by an algorithm called GMJMCMC. In this paper, we combine GMJMCMC with a novel algorithm called S-IRLS-SGD for estimating the marginal likelihoods in BGLM/BGNLM by subsampling from the data. This allows to apply GMJMCMC to tall data.
1. Introduction
In the field of predictive modeling, researchers often face a trade-off between the interpretability of Generalized Linear Models (GLMs) and the flexibility of complex "black-box" models like Neural Networks. Bayesian Generalized Nonlinear Models (BGNLMs) offer a compelling middle ground, utilizing Bayesian methods to search for optimal nonlinear transformations while maintaining a structure that remains human-interpretable.
However, BGNLMs face significant computational hurdles when applied to "tall data"—datasets with a very large number of observations. The standard Genetically Modified Mode Jumping MCMC (GMJMCMC) algorithm must explore an astronomical number of potential model structures, and calculating the marginal likelihood for each becomes prohibitively slow at scale. This paper addresses this bottleneck by introducing a subsampling-based approach to likelihood estimation.
2. Methodology
The proposed framework integrates two sophisticated algorithmic components to enable efficient exploration of the nonlinear model space:
- GMJMCMC (The Explorer): This genetic algorithm "evolves" features by applying transformations (e.g., sine, square root, or interactions) to base variables. It uses MCMC to navigate between model populations, filtering for features with high marginal inclusion probabilities.
- S-IRLS-SGD (The Accelerator): This novel algorithm estimates marginal likelihoods using data subsampling. It first employs a subsampled version of Iterated Reweighted Least Squares (IRLS) to quickly reach the vicinity of local optima, then refines the estimate using Stochastic Gradient Descent (SGD).
By integrating S-IRLS-SGD into the GMJMCMC framework, the authors create a Time Inhomogeneous MCMC (TIMCMC) that converges to the correct posterior distribution while only processing a small fraction (e.g., 0.75% to 10%) of the data at each iteration.
3. Experimental Evaluation
The methodology was validated across three distinct scenarios designed to test different aspects of the algorithm:
- Open Exoplanet Catalogue: A real-world dataset used to evaluate the algorithm's ability to rediscover physical laws, specifically Kepler’s Third Law.
- Simulated Tall Data: A synthetic dataset with $n = 100,000$ observations and 50 binary covariates, designed to test feature discovery in large-scale data.
- Abalone Dataset: A standard machine learning benchmark used to compare the predictive performance of subsampled BGNLM against full-sample versions.
4. Results and Discussion
4.1 Scaling and Feature Discovery
The experiments demonstrate that the "Power" of the algorithm—its ability to identify true underlying features—scales significantly with computational effort. As shown in Figure 1, increasing the number of CPU threads dramatically improves discovery rates. In the Kepler's Law experiment, the algorithm achieved a 95% recovery rate of the true physical law when using 64 threads. Similarly, for the simulated tall data, increasing threads from 1 to 128 led to a substantial increase in Power and a corresponding decrease in the False Discovery Rate (FDR).
4.2 Predictive Accuracy and Efficiency
Results from the Abalone dataset (Figure 2) confirm that the speedup provided by subsampling does not come at the cost of accuracy. The subsampled version, BGNLM_SUB, achieved a Root Mean Square Error (RMSE) of 1.9506, which was statistically comparable to (and numerically slightly better than) the full-sample BGNLM's RMSE of 1.9573.
5. Conclusion
This research demonstrates that "Big Data" analysis does not require a sacrifice in model interpretability. By combining evolutionary feature engineering with efficient subsampling-based likelihood estimation, BGNLMs can be scaled to handle tall datasets while providing the rigor of Bayesian model averaging. Future work will explore further optimization of tuning parameters to enhance performance across diverse data types.
Summary updated