Table of Contents
Fetching ...

Boolean Variation and Boolean Logic BackPropagation

Van Minh Nguyen

TL;DR

The paper addresses the substantial compute and memory demands of gradient-based deep learning by introducing Boolean variation and Boolean logic backpropagation to train models entirely within the Boolean domain. It formalizes a variation-based calculus over Boolean logic, defines per-weight optimization and backpropagation rules, and demonstrates a Boolean neuron with a Logic Threshold Gate that uses a pre-activation $s$ and threshold $\tau$ to emit $y = T$ if $s \geq \tau$, else $F$. The key contributions include a full theoretical framework for Boolean variation, a concrete backpropagation-like mechanism using Boolean signals, and an empirical CIFAR-10 evaluation showing competitive performance, especially with batch normalization. This work suggests a pathway toward energy- and memory-efficient deep learning by eliminating real-valued gradients and relying on logic-based updates.

Abstract

The notion of variation is introduced for the Boolean set and based on which Boolean logic backpropagation principle is developed. Using this concept, deep models can be built with weights and activations being Boolean numbers and operated with Boolean logic instead of real arithmetic. In particular, Boolean deep models can be trained directly in the Boolean domain without latent weights. No gradient but logic is synthesized and backpropagated through layers.

Boolean Variation and Boolean Logic BackPropagation

TL;DR

The paper addresses the substantial compute and memory demands of gradient-based deep learning by introducing Boolean variation and Boolean logic backpropagation to train models entirely within the Boolean domain. It formalizes a variation-based calculus over Boolean logic, defines per-weight optimization and backpropagation rules, and demonstrates a Boolean neuron with a Logic Threshold Gate that uses a pre-activation and threshold to emit if , else . The key contributions include a full theoretical framework for Boolean variation, a concrete backpropagation-like mechanism using Boolean signals, and an empirical CIFAR-10 evaluation showing competitive performance, especially with batch normalization. This work suggests a pathway toward energy- and memory-efficient deep learning by eliminating real-valued gradients and relying on logic-based updates.

Abstract

The notion of variation is introduced for the Boolean set and based on which Boolean logic backpropagation principle is developed. Using this concept, deep models can be built with weights and activations being Boolean numbers and operated with Boolean logic instead of real arithmetic. In particular, Boolean deep models can be trained directly in the Boolean domain without latent weights. No gradient but logic is synthesized and backpropagated through layers.
Paper Structure (11 sections, 5 theorems, 29 equations, 5 figures, 5 tables, 1 algorithm)

This paper contains 11 sections, 5 theorems, 29 equations, 5 figures, 5 tables, 1 algorithm.

Key Result

Proposition 4.7

The following properties hold:

Figures (5)

  • Figure 1: Overview of inference and training processes.
  • Figure 2: Memory consumption of VGG-small model in 32-bit floating point and batch size of 100 samples for CIFAR10 classification.
  • Figure 3: Data precision modalities during inference and training.
  • Figure 4: Overview of existing approaches and their benefits.
  • Figure 5: Illustration of signals with a Boolean linear layer. $L$ denotes the loss function.

Theorems & Definitions (22)

  • Definition 4.1
  • Definition 4.2
  • Definition 4.3: Three-valued logic
  • Definition 4.4
  • Definition 4.5: Type conversion
  • Definition 4.6: Mixed-type logic
  • Proposition 4.7
  • proof
  • Definition 4.8
  • Example 1
  • ...and 12 more