Skip to main content
QUICK REVIEW

[Paper Review] Online Bayesian Passive-Aggressive Learning

Tianlin Shi, Jun Zhu|arXiv (Cornell University)|Dec 12, 2013
Machine Learning and AlgorithmsComputer Science85 references18 citations
TL;DR

This paper introduces Online Bayesian Passive-Aggressive (BayesPA) learning, a novel framework that extends online Passive-Aggressive learning to Bayesian inference by incorporating latent variables and nonparametric priors, enabling efficient, scalable online max-margin learning. The method achieves significant speedups over batch counterparts while maintaining competitive performance on topic modeling tasks with real datasets.

ABSTRACT

Online Passive-Aggressive (PA) learning is an effective framework for performing max-margin online learning. But the deterministic formulation and estimated single large-margin model could limit its capability in discovering descriptive structures underlying complex data. This pa- per presents online Bayesian Passive-Aggressive (BayesPA) learning, which subsumes the online PA and extends naturally to incorporate latent variables and perform nonparametric Bayesian inference, thus providing great flexibility for explorative analysis. We apply BayesPA to topic modeling and derive efficient online learning algorithms for max-margin topic models. We further develop nonparametric methods to resolve the number of topics. Experimental results on real datasets show that our approaches significantly improve time efficiency while maintaining comparable results with the batch counterparts.

Motivation & Objective

  • To address the limitations of deterministic online Passive-Aggressive learning in capturing complex data structures.
  • To integrate the discriminative power of max-margin learning with the structural flexibility of Bayesian inference.
  • To enable efficient online inference in Bayesian max-margin models with latent variables and unbounded complexity.
  • To develop scalable online algorithms for max-margin topic models, including nonparametric extensions.
  • To demonstrate significant improvements in training speed while preserving predictive accuracy compared to batch methods.

Proposed method

  • BayesPA generalizes online PA learning by formulating it as a Bayesian inference problem with variational posterior approximation.
  • It employs a variational Bayes update rule that minimizes a regularized objective combining predictive loss and KL divergence to the prior.
  • The framework naturally supports latent variables and nonparametric priors such as the Dirichlet process, enabling unbounded model complexity.
  • For topic modeling, BayesPA is applied to derive online algorithms for max-margin LDA (paMedLDA) and nonparametric HDP (paMedHDP).
  • The method uses mini-batch updates with stochastic approximation, where each update minimizes a surrogate loss function under a variational posterior.
  • Burn-in steps and sampling strategies are used to improve posterior approximation stability in online settings.

Experimental results

Research questions

  • RQ1Can online Passive-Aggressive learning be extended to a Bayesian framework that supports latent variables and nonparametric priors?
  • RQ2How can Bayesian max-margin models be efficiently updated in an online streaming setting?
  • RQ3What is the impact of batch size, number of samples, and burn-in steps on the performance of online BayesPA topic models?
  • RQ4Can online BayesPA achieve comparable predictive accuracy to batch methods while significantly reducing training time?
  • RQ5How does the framework scale to large-scale, multi-task classification and nonparametric topic modeling?

Key findings

  • The proposed online BayesPA framework achieves up to an order of magnitude faster training than batch methods on large-scale datasets like the 1.1M Wikipedia collection.
  • On the 20NG dataset, paMedLDA and paMedHDP maintained classification accuracy within 1% of their batch counterparts while reducing training time significantly.
  • The number of kept samples ($\mathcal{J}$) had a more significant impact on model performance than the burn-in steps ($\beta$), with $\mathcal{J}=9$ yielding stable results across settings.
  • For $\mathcal{J} \geq 3$, even a single iteration ($\mathcal{I}=1$) achieved competitive performance, indicating redundancy in mini-batches.
  • The multi-task extension (paMedLDA-mt and paMedHDP-mt) achieved comparable F1 scores to batch models but with substantially reduced training time on the Wikipedia dataset.
  • Empirical results confirm that BayesPA provides a scalable, efficient alternative to batch Bayesian max-margin models without sacrificing predictive accuracy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.