BOLD: Boolean Logic Deep Learning

Van Minh Nguyen, Cristian Ocampo, Aymen Askri, Louis Leconte, Ba-Hien Tran
5/25/2024
stat.MLcs.LG

No confident code implementation found for this paper.

Abstract

Deep learning is computationally intensive, with significant efforts focused on reducing arithmetic complexity, particularly regarding energy consumption dominated by data movement. While existing literature emphasizes inference, training is considerably more resource-intensive. This paper proposes a novel mathematical principle by introducing the notion of Boolean variation such that neurons made of Boolean weights and inputs can be trained -- for the first time -- efficiently in Boolean domain using Boolean logic instead of gradient descent and real arithmetic. We explore its convergence, conduct extensively experimental benchmarking, and provide consistent complexity evaluation by considering chip architecture, memory hierarchy, dataflow, and arithmetic precision. Our approach achieves baseline full-precision accuracy in ImageNet classification and surpasses state-of-the-art results in semantic segmentation, with notable performance in image super-resolution, and natural language understanding with transformer-based models. Moreover, it significantly reduces energy consumption during both training and inference.

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!

Cite this paper

@article{nguyen2024bold,
  title  = {BOLD: Boolean Logic Deep Learning},
  author = {Van Minh Nguyen and Cristian Ocampo and Aymen Askri and Louis Leconte and Ba-Hien Tran},
  year   = {2024},
  eprint = {2405.16339},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.16339},
  url    = {http://arxiv.org/abs/2405.16339v2},
  journal = {NEURIPS 2024 2024}
}

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

Discussion