Author:
Helgøy Ingvild M.,Skaug Hans J.,Li Yushu
Abstract
AbstractSparse Bayesian Learning, and more specifically the Relevance Vector Machine (RVM), can be used in supervised learning for both classification and regression problems. Such methods are particularly useful when applied to big data in order to find a sparse (in weight space) representation of the model. This paper demonstrates that the Template Model Builder (TMB) is an accurate and flexible computational framework for implementation of sparse Bayesian learning methods.The user of TMB is only required to specify the joint likelihood of the weights and the data, while the Laplace approximation of the marginal likelihood is automatically evaluated to numerical precision. This approximation is in turn used to estimate hyperparameters by maximum marginal likelihood. In order to reduce the computational cost of the Laplace approximation we introduce the notion of an “active set” of weights, and we devise an algorithm for dynamically updating this set until convergence, similar to what is done in other RVM type methods. We implement two different methods using TMB; the RVM and the Probabilistic Feature Selection and Classification Vector Machine method, where the latter also performs feature selection. Experiments based on benchmark data show that our TMB implementation performs comparable to that of the original implementation, but at a lower implementation cost. TMB can also calculate model and prediction uncertainty, by including estimation uncertainty from both latent variables and the hyperparameters. In conclusion, we find that TMB is a flexible tool that facilitates implementation and prototyping of sparse Bayesian methods.
Publisher
Springer Science and Business Media LLC
Reference29 articles.
1. Ament, S.E., Gomes, C.P.: , Sparse Bayesian learning via stepwise regression. In: International Conference on Machine Learning, PMLR, pp. 264–274 (2021)
2. Berger, J.O.: Statistical Decision Theory and Bayesian Analysis. Springer, New York (2013)
3. Calvetti, D., Somersalo, E., Strang, A.: Hierachical Bayesian models and sparsity: l2-magic. Inverse Prob. 35(3), 035003 (2019)
4. Choi, J.W., Shim, B., Ding, Y., Rao, B., Kim, D.I.: Compressed sensing for wireless communications: useful tips and tricks. IEEE Commun. Surv. Tutor. 19(3), 1527–1550 (2017)
5. Djelouat, H., Leinonen, M., Juntti, M.: Spatial correlation aware compressed sensing for user activity detection and channel estimation in massive MTC. IEEE Trans. Wirel. Commun. 21(8), 6402–6416 (2022)