Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Machine learning›Online Support Vector Machine
Machine learningMachine learning

Online Support Vector Machine

Online Support Vector Machine (Incremental SVM for Streaming Data) · Also known as: Online SVM, Incremental SVM, LASVM, Pegasos SVM

Online SVM adapts the classical support vector machine to streaming or sequentially arriving data by updating the decision boundary one example at a time rather than solving a global quadratic program. Algorithms such as Pegasos and LASVM make this tractable at large scale, preserving the margin-maximising spirit of SVMs with sub-linear time per update.

ScholarGate
  1. Machine learning
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Online Support Vector Machine
Online Gradient BoostingOnline LearningOnline Logistic Regressi…

When to use it

Choose Online SVM when data arrive in a stream or are too large to fit in memory at once, when the concept may drift slowly over time and the model should adapt without full retraining, or when strict latency requirements make batch SVM infeasible. It is well-suited to binary text classification, click-through prediction, and sensor-stream anomaly detection. Avoid it when the kernel must be exact and the support vector set grows unboundedly (use approximations or budget methods), when classes are severely imbalanced without reweighting, or when you need a well-calibrated probability estimate rather than a margin score — in those cases logistic regression or gradient-boosted trees are more convenient.

Strengths & limitations

Strengths
  • Processes one example per update in O(d) time for linear kernels, scaling to billions of examples.
  • Adapts naturally to concept drift by weighting recent observations more heavily through its learning rate schedule.
  • Inherits the strong theoretical generalization guarantees of the maximum-margin framework.
  • Memory footprint can be bounded by budget SVM techniques that cap the support vector set size.
  • Pegasos and similar solvers converge to within epsilon of the batch optimum in O(1/epsilon) iterations.
Limitations
  • Exact kernel SVMs require storing all support vectors, causing memory growth; budget approximations sacrifice some accuracy.
  • Hyperparameter tuning (lambda, kernel bandwidth) requires held-out validation and cannot be done by cross-validation on a stream without extra bookkeeping.
  • Does not naturally output calibrated probabilities; Platt scaling must be applied separately.
  • Multiclass extension requires one-vs-one or one-vs-rest decompositions, multiplying cost.

Frequently asked

Is Online SVM the same as stochastic gradient descent on hinge loss?

Functionally yes for the linear case: Pegasos is a stochastic sub-gradient method on the regularised hinge loss. The difference lies in the regularisation schedule and the convergence proof; the decision boundary is the same max-margin hyperplane the batch SVM finds.

How do I choose the regularisation parameter lambda?

Lambda is inversely related to the classical C parameter (lambda = 1/(n*C)). Use a held-out stream window or periodic validation batches to tune it. Libraries like scikit-learn's SGDClassifier expose this as 'alpha'.

Can Online SVM handle non-linear boundaries?

Yes, via kernel tricks (Gaussian, polynomial), but the support vector set may grow without bound. Budget SVM methods or the Nyström random feature approximation keep cost manageable at the price of approximate kernels.

How does Online SVM compare to online logistic regression?

Online SVM maximises a geometric margin and handles non-separable data through hinge loss, while online logistic regression maximises log-likelihood and directly outputs probabilities. For calibrated scores, prefer logistic; for pure classification accuracy on linearly separable problems, SVM often edges it out.

Does concept drift break the model?

Mild drift is absorbed naturally as the decaying learning rate gives recent examples proportionally more influence. For severe or abrupt drift, couple Online SVM with a change-detection trigger that resets the weight vector.

Sources

  1. Shalev-Shwartz, S., Singer, Y., Srebro, N., & Cotter, A. (2011). Pegasos: Primal estimated sub-gradient solver for SVM. Mathematical Programming, 127(1), 3–30. DOI: 10.1007/s10107-010-0420-4 ↗
  2. Bordes, A., Ertekin, S., Weston, J., & Bottou, L. (2005). Fast kernel classifiers with online and active learning. Journal of Machine Learning Research, 6, 1579–1619. link ↗

How to cite this page

ScholarGate. (2026, June 3). Online Support Vector Machine (Incremental SVM for Streaming Data). ScholarGate. https://scholargate.app/en/machine-learning/online-support-vector-machine

Related methods

Online Gradient BoostingOnline LearningOnline Logistic Regression

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Online Gradient BoostingMachine learning↔ compare
  • Online LearningMachine learning↔ compare
  • Online Logistic RegressionMachine learning↔ compare
Compare side by side →

Similar methods

Online Logistic RegressionOnline One-class SVMOnline LearningRegularized Online LearningRobust Online LearningOnline BoostingOnline Linear RegressionOnline K-nearest neighbors

Related reference concepts

Support Vector ClassificationSupport Vector Machines and Kernel MethodsClassification AlgorithmsVC Dimension and CapacityStochastic OptimizationQuadratic Discriminant Analysis

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Online Support Vector Machine (Online Support Vector Machine (Incremental SVM for Streaming Data)). Retrieved 2026-07-20 from https://scholargate.app/en/machine-learning/online-support-vector-machine · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Shalev-Shwartz, Singer, et al. (Pegasos); Bordes, Bottou et al. (LASVM)
Year
2005–2011
Type
Online kernel classifier
DataType
Continuous, binary, or encoded categorical features; binary or multiclass labels
Subfamily
Machine learning
Related methods
Online Gradient BoostingOnline LearningOnline Logistic Regression
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account