Skip to main content

Library for Continual Learning for Practitioners

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Renate-0.5.0.tar.gz (238.4 kB view details)

Uploaded Source

Built Distribution

Renate-0.5.0-py3-none-any.whl (169.9 kB view details)

Uploaded Python 3

File details

Details for the file Renate-0.5.0.tar.gz.

File metadata

  • Download URL: Renate-0.5.0.tar.gz
  • Upload date:
  • Size: 238.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for Renate-0.5.0.tar.gz
Algorithm Hash digest
SHA256 4e6de0b3bf4b4dfa59faebdee6de545fdd8b0c79935796366faf67f3b3bf9d27
MD5 a991b2746d6ba61cbc675da4ab048b30
BLAKE2b-256 b9d52bcc94e6e6f28c1725aac59a9f3b8ab71f88c7a5c4e495bb74336e930d64

See more details on using hashes here.

File details

Details for the file Renate-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: Renate-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 169.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for Renate-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4886132cc0a395e807b7a9e58c1a6ae6c02200feca23454de2dcd21592ca8da4
MD5 643da3dd93a5a26152e3acbb650bc848
BLAKE2b-256 32b9c47ffd40352d3fdf6b8fe1b49b6c998143c38642f09fe126a0eb5c34a4e8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page