Gradient-Free Training of Quantized Neural Networks

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Cohen, Noa, Joglekar, Omkar, Di Castro, Dotan, Tchuiev, Vladimir, Kozlovsky, Shir, Moshkovitz, Michal
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916975225077760
author Cohen, Noa
Joglekar, Omkar
Di Castro, Dotan
Tchuiev, Vladimir
Kozlovsky, Shir
Moshkovitz, Michal
author_facet Cohen, Noa
Joglekar, Omkar
Di Castro, Dotan
Tchuiev, Vladimir
Kozlovsky, Shir
Moshkovitz, Michal
contents Training neural networks requires significant computational resources and energy. Methods like mixed-precision and quantization-aware training reduce bit usage, yet they still depend heavily on computationally expensive gradient-based optimization. In this work, we propose a paradigm shift: eliminate gradients altogether. One might hope that, in a finite quantized space, finding optimal weights with out gradients would be easier but we theoretically prove that this problem is NP-hard even in simple settings where the continuous case is efficiently solvable. To address this, we introduce a novel heuristic optimization framework that avoids full weight updates and significantly improves efficiency. Empirically, our method achieves performance comparable to that of full-precision gradient-based training on standard datasets and architectures, while using up to 3x less energy and requiring up to 5x fewer parameter updates.
format Preprint
id arxiv_https___arxiv_org_abs_2410_09734
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Gradient-Free Training of Quantized Neural Networks
Cohen, Noa
Joglekar, Omkar
Di Castro, Dotan
Tchuiev, Vladimir
Kozlovsky, Shir
Moshkovitz, Michal
Machine Learning
Artificial Intelligence
Training neural networks requires significant computational resources and energy. Methods like mixed-precision and quantization-aware training reduce bit usage, yet they still depend heavily on computationally expensive gradient-based optimization. In this work, we propose a paradigm shift: eliminate gradients altogether. One might hope that, in a finite quantized space, finding optimal weights with out gradients would be easier but we theoretically prove that this problem is NP-hard even in simple settings where the continuous case is efficiently solvable. To address this, we introduce a novel heuristic optimization framework that avoids full weight updates and significantly improves efficiency. Empirically, our method achieves performance comparable to that of full-precision gradient-based training on standard datasets and architectures, while using up to 3x less energy and requiring up to 5x fewer parameter updates.
title Gradient-Free Training of Quantized Neural Networks
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2410.09734