Lukas' Notes

Definition

Online Learning

Online learning is a learning protocol in which examples are processed one round at a time and each prediction is made before its corresponding feedback is revealed.

Given a loss function , at round a learner with state :

Thus may depend on feedback from rounds , but not on the unrevealed label .

Performance over a Sequence

The learner’s cumulative loss after rounds is

A common objective is low regret relative to the best fixed hypothesis in a comparison class :

If , the learner’s average loss approaches that of this comparator, even though the learner had to predict each before seeing it.

Adaptation and Storage

Online learning is useful when data arrive continuously or when storing and repeatedly retraining on the full dataset is impractical. An incremental algorithm may retain only its current state rather than all past examples, although replay-based methods can still store previous data.

Sequential updates also make adaptation to a changing data distribution possible. They do not guarantee adaptation by themselves: when concept drift occurs, the update rule must give sufficient influence to recent observations rather than preserving old evidence indefinitely.

Unlike batch learning, which optimises over a fixed dataset, online learning couples prediction and learning within the same sequence of rounds. This can make individual updates more sensitive to noisy feedback, so learning rates, regularisation, averaging, or mini-batches are often used to stabilise them.