Welcome to the Practical Online Continual Learning (OCL) tutorial at PAKDD 2025! This site provides all the resources necessary to follow along with or review the material presented during the tutorial. We do not expect you to code or run the notebooks in real time; instead, the aim is for you to be able to run and experiment with anything interesting.
Online Continual Learning (OCL) enables machine learning models to learn sequentially from non-stationary data while maintaining past knowledge. This tutorial presents a practical guide to OCL, covering key concepts, challenges such as catastrophic forgetting and stability-plasticity trade-offs, and recent advances including prototype-based methods and prompt-based approaches. The session includes hands-on demonstrations using CapyMOA, an open-source platform for online/stream/continual learning. By bridging research insights with practical implementation, this tutorial aims to equip attendees with the tools to develop robust OCL solutions.
It is recommended (but not necessary) for you install PyTorch with GPU support since we use neural networks in this tutorial.
git clone https://github.com/adaptive-machine-learning/PAKDD2025- Setup a Python environment (e.g., using
venvorconda):python -m venv .venv-ocl source .venv-ocl/bin/activate # On Windows use `ocl_env\Scripts\activate`
- Install CapyMOA.
- Install the tutorial requirements:
pip install -r notebooks/requirements.txt
- Open the Jupyter Notebook server:
jupyter notebook
Alternatively, you can get started using docker (only CPU is supported in docker at the moment):
docker run \
-p 8888:8888 \
-v ./notebooks:/home/jovyan/work \
-e CAPYMOA_DATASETS_DIR=/home/jovyan/work/data \
tachyonic/jupyter-capymoaOnce the container is running, you can access the Jupyter Notebook server at http://localhost:8888 in your web browser. Inside the notebook pip install the requirements:
pip install -r requirements.txtIn this tutorial, we aim to give an overview of Online Continual Learning (OCL). The tutorial is structured as follows:
-
Online Learning
-
Continual Learning
-
Online Continual Learning
-
OCL Evaluation:
notebooks/00_evaluation.ipynb -
OCL Strategies
- Replay:
notebooks/01_replay.ipynb - Regularisation:
notebooks/02_regularization.ipynb - Prototype-based Methods:
notebooks/03_prototype.ipynb - Other Methods
- Replay:
-
Conclusion
Slides can be found here: PAKDD25_Tutorial.pdf.
Anton Lee is a PhD student in AI and a research assistant at the University of Wellington, where they study continual learning. As a research assistant, they maintain the CapyMOA open-source data-stream learning project.
Heitor Murilo Gomes is currently a senior lecturer at Victoria University of Wellington (VuW) in New Zealand. Previously, he served as co-director of the AI Institute at the University of Waikato (UoW), where he supervised PhD students and research assistants. From 2020 to 2022, he taught the “Data Stream Mining” course at UoW. His primary research focuses on applying machine learning to data streams, encompassing tasks such as ensemble learning, semi-supervised learning, drift detection and recovery, and the intersection of online continual learning with data streams. Heitor has also made significant contributions to several open-source projects specializing in online and stream learning, notably MOA (Massive Online Analysis), for over a decade.
Nuwan Gunasekara research interests include stream learning, online continual learning, and online streaming continual learning.
