Skip to main content
PyPI - Status Latest Release PyPI - Downloads License Documentation Status Coverage Badge

Renate: Automatic Neural Networks Retraining and Continual Learning in Python

Renate is a Python package for automatic retraining of neural networks models. It uses advanced Continual Learning and Lifelong Learning algorithms to achieve this purpose. The implementation is based on PyTorch and Lightning for deep learning, and Syne Tune for hyperparameter optimization.

Who needs Renate?

In many applications data is made available over time and retraining from scratch for every new batch of data is prohibitively expensive. In these cases, we would like to use the new batch of data provided to update our previous model with limited costs. Unfortunately, since data in different chunks is not sampled according to the same distribution, just fine-tuning the old model creates problems like catastrophic forgetting. The algorithms in Renate help mitigating the negative impact of forgetting and increase the model performance overall.

Renate vs Model Fine-Tuning.

Renate’s update mechanisms improve over naive fine-tuning approaches. [1]

Renate also offers hyperparameter optimization (HPO), a functionality that can heavily impact the performance of the model when continuously updated. To do so, Renate employs Syne Tune under the hood, and can offer advanced HPO methods such multi-fidelity algorithms (ASHA) and transfer learning algorithms (useful for speeding up the retuning).

Impact of HPO on Renate's Updating Algorithms.

Renate will benefit from hyperparameter tuning compared to Renate with default settings. [2]

Key features

  • Easy to scale and run in the cloud

  • Designed for real-world retraining pipelines

  • Advanced HPO functionalities available out-of-the-box

  • Open for experimentation

Resources

Cite Renate

@misc{renate2023,
  title           = {Renate: A Library for Real-World Continual Learning},
  author          = {Martin Wistuba and
                     Martin Ferianc and
                     Lukas Balles and
                     Cedric Archambeau and
                     Giovanni Zappella},
  year            = {2023},
  eprint          = {2304.12067},
  archivePrefix   = {arXiv},
  primaryClass    = {cs.LG}
}

What are you looking for?

If you did not find what you were looking for, open an issue and we will do our best to improve the documentation.

Release files for Renate 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Renate 0.5.2
File Size Uploaded
renate-0.5.2.tar.gz 238.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Renate 0.5.2
File Interpreter ABI Platform
Renate-0.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 408.4 kB

Release files / renate-0.5.2.tar.gz

Download URL renate-0.5.2.tar.gz
Size 238.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f9eed388fa0fc8c41ac813de1dd4d1e40bb85f66b09d9bdb42117f781f5c82a0
BLAKE2b-256 checksum
How to use checksums
30f1efe6c8a5594f455b74833ea735d5daee2db72df2859c96ab232b56b93fae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Renate-0.5.2-py3-none-any.whl

Download URL Renate-0.5.2-py3-none-any.whl
Size 169.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f09f44b167f4c0109494008c47a60be5077f37b407639cbd5d1cb402db6d43f
BLAKE2b-256 checksum
How to use checksums
59029d8b000102d20f416125dfd6d8287fcb843764419c0640ca187b3faf1e70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page