LiveTune: Dynamic Parameter Tuning for Feedback-Driven Optimization

Soheil Zibakhsh Shabgahi, Nojan Sheybani, Aiden Tabrizi, Farinaz Koushanfar
11/28/2023
cs.LGcs.PF

Official code: soheilzi/LiveTune (11 stars, last commit 2024-04-25).

Abstract

Feedback-driven optimization, such as traditional machine learning training, is a static process that lacks real-time adaptability of hyperparameters. Tuning solutions for optimization require trial and error paired with checkpointing and schedulers, in many cases feedback from the algorithm is overlooked. Adjusting hyperparameters during optimization usually requires the program to be restarted, wasting utilization and time, while placing unnecessary strain on memory and processors. We present LiveTune, a novel framework allowing real-time parameter adjustment of optimization loops through LiveVariables. Live Variables allow for continuous feedback-driven optimization by storing parameters on designated ports on the system, allowing them to be dynamically adjusted. Extensive evaluations of our framework on standard machine learning training pipelines show saving up to 60 seconds and 5.4 Kilojoules of energy per hyperparameter change. We also show the feasibility and value of LiveTune in a reinforcement learning application where the users change the dynamics of the reward structure while the agent is learning showing 5x improvement over the baseline. Finally, we outline a fully automated workflow to provide end-to-end, unsupervised feedback-driven optimization.

View on arXivView PDF

Code Implementations(1)

Python package for ML developers and researchers to change certain variables while their code is executing to make the task of training a ML project easier. This package will allow you to tune some parameters while your code is live from outside of the program

110Python, DockerfileJul 5, 20232 years agoNOASSERTION

Similar Papers

Cite this paper

@article{shabgahi2023livetune,
  title  = {LiveTune: Dynamic Parameter Tuning for Feedback-Driven Optimization},
  author = {Soheil Zibakhsh Shabgahi and Nojan Sheybani and Aiden Tabrizi and Farinaz Koushanfar},
  year   = {2023},
  eprint = {2311.17279},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.17279v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.17279.svg)](https://codeofpaper.com/paper/2311.17279)

Discussion