NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adjustable Bounded Rectifiers: Towards Deep Binary Representations

Zhirong Wu, Dahua Lin, Xiaoou TangarXiv 2015

Introduction

Modern deep neural networks (DNNs) typically represent data using 32-bit single-precision floating-point numbers, demanding significant storage and computational power. This poses a major challenge for deploying state-of-the-art models on resource-constrained devices like mobile phones or embedded systems. Binarization—representing values with just 1 bit (0 or 1)—offers a potential 32x reduction in storage and replaces expensive multiplications with fast bitwise operations. However, training binary networks is difficult because standard backpropagation requires differentiable functions, whereas binary step functions have zero gradients almost everywhere.

Researchers from the Chinese University of Hong Kong have addressed this by introducing Adjustable Bounded Rectifiers (ABR) and a novel weight growth training strategy. Their approach allows for a "soft-to-hard" transition during training, enabling the network to learn continuous features before gradually hardening into a binary representation.

The Adjustable Bounded Rectifier (ABR)

The core of the proposed method is the ABR activation function. Unlike the standard Rectified Linear Unit (ReLU), which is unbounded for positive inputs, the ABR is bounded between 0 and 1.

Comparison of standard ReLU and the proposed Bounded Rectifier. Panel (c) illustrates how a ReLU-based network can be transformed into a bounded version.

The ABR is defined as: $$f(y_i) = \min(\max(k_i y_i + 0.5, 0), 1)$$ where $k_i$ is a learnable slope parameter. Initially, with a small $k_i$, the function provides a gentle, differentiable slope. As $k_i$ increases, the function sharpens, eventually approximating a hard step function suitable for binary inference.

Training Strategy: Weight Growth

To transition the network from continuous to binary representations, the authors employ a two-phase training strategy driven by a "weight growth" penalty. This penalty encourages the slope parameters $k_i$ to increase over time using a negative log loss ($-\log(|k_i|)$).

Training dynamics on MNIST and CIFAR10. The percentage of binary neurons increases significantly during the "big weight growth" phase following a learning rate decrease.
  1. Phase 1 (Small Weight Growth): The network is trained with a mild constraint on $k_i$. This allows the model to prioritize learning useful features while the activations remain mostly continuous and differentiable.
  2. Phase 2 (Big Weight Growth): The weight growth constraint is increased, aggressively pushing the activations toward 0 or 1. As shown in the training curves, the number of "binary" neurons (those very close to 0 or 1) spikes during this phase.

Experimental Results

The approach was evaluated on MNIST, CIFAR10, and ImageNet (ILSVRC2012).

  • MNIST: Binarizing the final feature layer resulted in zero loss in performance, maintaining a 99.22% accuracy.
  • CIFAR10: Full-network binarization led to a modest drop from 75.40% to 72.14%. However, by doubling the network width (increasing the number of channels), the binary model achieved 75.71%, outperforming the original floating-point baseline.
  • ImageNet: The authors successfully binarized middle layers of AlexNet. While a standard fully binarized AlexNet dropped to ~43% accuracy, a 2x wider version recovered to ~50%.

Insights and Future Work

A key finding is that binarization acts as a form of regularization. Binary representations are inherently robust to small parameter fluctuations, making models less prone to overfitting. Furthermore, binary neurons provide interpretable "firing" patterns; analysis showed that specific neurons naturally learn to act as detectors for semantic concepts (e.g., "dog faces").

While the final binary models are highly efficient for inference, the training process still requires floating-point operations and additional memory for slope parameters. Future research will focus on optimizing the training schedule and identifying "minimum binary architectures" that can match floating-point performance with even fewer resources.

Summary updated

BibTeX
@misc{wu2015adjustable,
  author = {Zhirong Wu and Dahua Lin and Xiaoou Tang},
  title = {{Adjustable Bounded Rectifiers: Towards Deep Binary Representations}},
  year = {2015},
  eprint = {1511.06201},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.06201},
}
Figure