For the complete documentation index, see llms.txt. This page is also available as Markdown.

Online Learning

Some models cannot wait for a finished dataset: they must update as labeled examples arrive in a stream, including non-stationary settings. The page starts with classical online learning, its tutorials, theory, and tools, and then moves to online deep learning.

The same notes are in Active Learning Algorithms, Follow the regularized leader, Incremental Learning, and Training Strategies.

Online (Classical) Learning

Classical online learning updates the model as labeled examples arrive in a stream, instead of building one model on the whole dataset at once. If you want to start with OL, start here: "An Introduction To Online Machine Learning" begins from batch, or offline, learning, the standard approach you already know, and contrasts it with the online version. Analytics Vidhya's "Introduction to Online Machine Learning: Simplified" is the second introduction, here.

The theory is Shay Shalev's. A thesis about online learning is his thesis, opening with “How much better to get wisdom than gold, to choose understanding rather than silver”. Some answers about what is OL, are the Quora answers to "What is the best way to learn online machine learning?", which frame it as models that learn incrementally from data streams and point at production concerns such as latency, concept drift, and evaluation under streaming; the first one actually talks about S.Shalev’s other paper., his online learning survey. Online learning — Andrew Ng — coursera is the lecture version, kept at the end of the page.

From theory to production: Chip Huyen on online prediction & learning argues that machine learning is going real-time, with a 2022 follow-up on its challenges and solutions. For code, River is a Python library for online machine learning, and the figure below sketches the setting.

Online machine learning.

Online Deep Learning (ODL)

After the classical setting, online deep learning adapts neural models from streaming or non-stationary data. The notes here name Hedge back propagation (HDP), Autonomous DL, Qactor — online AL for noisy labeled stream data. The article that covered them is kept at the end of the page.

  • Hedge back propagation (HDP), Autonomous DL, Qactor. This address no longer opens: https://towardsdatascience.com/online-deep-learning-odl-and-hedge-back-propagation-277f338a14b2

  • coursera. This address no longer opens: https://www.coursera.org/learn/machine-learning/lecture/ABO2q/online-learning

Last updated

Was this helpful?