In a paper recently published in Neural Computing and Applications, researchers introduced Evolutionary Variational Bayes (EVB), a scalable framework designed to fit Bayesian Generalized Nonlinear Models (BGNLMs). By integrating Variational Inference (VI) and Normalizing Flows into an evolutionary search algorithm, the authors address the long-standing computational bottleneck of symbolic-regression-style modeling, enabling it to scale to "tall" datasets with hundreds of thousands of observations.
The Interpretability-Scalability Trade-off
Modern data science often faces a choice between the high predictive accuracy of "black-box" models, such as deep neural networks, and the transparency of linear models. Bayesian Generalized Nonlinear Models (BGNLMs) offer a compelling middle ground. They utilize hierarchical "functional trees" to discover complex nonlinear relationships, resulting in models that are transparent by design.
Despite their interpretability, BGNLMs are notoriously difficult to fit. Searching the vast space of possible nonlinear feature combinations is an NP-hard problem. Previous state-of-the-art methods, like GMJMCMC, relied on Markov chain Monte Carlo (MCMC) to explore this space. While accurate, MCMC is computationally expensive, scales poorly to large datasets, and cannot easily leverage modern GPU hardware. EVB aims to break this scalability barrier.
Methodology: Evolutionary Variational Bayes (EVB)
The core innovation of EVB is the replacement of slow MCMC steps with fast Variational Inference within an evolutionary framework. In this setup, populations of features are proposed, evaluated, and "bred" based on their fitness.
Key Components of EVB:
- Variational Inference (VI): Instead of sampling the posterior distribution of model parameters, EVB uses VI to find a simpler approximating distribution. This transforms a sampling problem into an optimization problem, significantly reducing computation time.
- Mean-Field vs. Normalizing Flows: The authors evaluated two VI approaches. The Mean-Field approach is the fastest but assumes parameter independence. To capture complex dependencies, they employed Normalizing Flows (NF), which use invertible transformations to create highly flexible posterior approximations.
- Stochastic Optimization: By utilizing VI, the algorithm can leverage stochastic gradient descent (SGD). This allows for training on mini-batches of data and execution on GPUs, providing a massive advantage for large-scale "tall" data.
Experimental Evaluation
The authors tested EVB across synthetic benchmarks and real-world datasets, including the Abalone dataset (regression), Wisconsin Breast Cancer (classification), and a "tall" Heart Disease Health Indicators dataset containing over 250,000 observations.
Key Insights:
- Scalability: On the heart disease dataset, EVB proved significantly more feasible than traditional MCMC-based BGNLMs. The Mean-Field version offered the highest speed, while the NF version provided a robust balance of speed and accuracy.
- The Correlation Trap: A critical finding was that simple Mean-Field VI often fails when covariates are highly correlated. However, Normalizing Flows successfully resolved this, allowing the algorithm to correctly identify true nonlinear effects even in messy data.
- Predictive Performance: In tasks like the Abalone and Breast Cancer benchmarks, EVB-fitted models were top performers, often outperforming LASSO, Ridge regression, and standard Gradient Boosting (XGBoost) while maintaining full mathematical transparency.
Conclusion and Future Work
EVB represents a significant step toward making symbolic-style Bayesian regression compatible with the modern AI stack. While it provides a clear mathematical formula for decision-making without sacrificing predictive power, the authors note that VI remains an approximation. Future work will focus on extending the framework to handle unstructured data (images, text), supporting mixed-effects models for longitudinal data, and developing a production-ready Python library.
Summary updated