Gradient-Free Training of Quantized Neural Networks

Noa Cohen, Omkar Joglekar, Dotan Di Castro, Vladimir Tchuiev, Shir Kozlovsky +1 more
10/13/2024
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cohen2024gradientfree,
  title  = {Gradient-Free Training of Quantized Neural Networks},
  author = {Noa Cohen and Omkar Joglekar and Dotan Di Castro and Vladimir Tchuiev and Shir Kozlovsky and Michal Moshkovitz},
  year   = {2024},
  eprint = {2410.09734},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.09734v2}
}

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/2410.09734.svg)](https://codeofpaper.com/paper/2410.09734)

Discussion