On the expressivity of deep Heaviside networks

Insung Kong, Juntong Chen, Sophie Langer, Johannes Schmidt-HieberarXiv 2025 · DOI

Introduction

The Heaviside activation function—a discrete step function—is a foundational element of neural network history, from the early McCulloch-Pitts neurons to modern Hopfield networks. Today, it is increasingly relevant for "quantized" neural networks, which enable Large Language Models (LLMs) to run efficiently on low-power hardware by reducing weights and activations to 1-bit representations. However, standard deep Heaviside networks (DHNs) face a significant theoretical hurdle: the "1-bit bottleneck."

The 1-Bit Bottleneck

In a standard feed-forward DHN, each neuron transmits only a single bit to the subsequent layer. This paper proves that for these "plain" architectures, depth fails to improve approximation power. The complexity of the function is fundamentally limited by the width of the first hidden layer. Regardless of how many layers are added, a plain DHN cannot approximate smooth functions any better than a shallow one, effectively nullifying the advantages of deep learning.

Architectural Innovations: Breaking the Bottleneck

To restore the "power of depth" to Heaviside architectures, the authors analyze two primary modifications:

  1. Skip-DHNs: By adding skip connections that pass the raw input forward to every hidden layer, the network can "re-read" high-precision data at each stage. This allows the network to use bit-extraction techniques to construct increasingly complex functions as depth increases.
  2. Lin-DHNs: Augmenting each layer with a small number of linear (identity) neurons acts as a high-bandwidth data bus. These neurons pass continuous values through the network, allowing it to match the complexity and expressivity of standard ReLU networks.
Architectural modifications like skip connections (red arcs) and linear neurons (red circles) break the 1-bit bottleneck.

Theoretical Results

The authors utilize tools from statistical learning theory to derive bounds for the Vapnik-Chervonenkis (VC) dimension and approximation rates for $\beta$-Hölder smooth functions. Their findings demonstrate that while plain DHNs are limited by width, augmented DHNs achieve optimal convergence rates.

Comparison of VC dimension and approximation error across DHN architectures.

Specifically, for Skip-DHNs, the approximation error decreases exponentially with depth, a feat impossible for the plain version. Furthermore, Lin-DHNs can achieve the minimax optimal convergence rate ($n^{-2\beta/(2\beta+d)}$) in nonparametric regression, proving that a quantized 1-bit network can theoretically be as accurate as a full-precision ReLU network if the architecture is properly designed.

Practical Implications and Future Work

While these results provide a strong theoretical foundation for quantized networks, practical challenges remain. Because the Heaviside function's derivative is zero almost everywhere, standard backpropagation is ineffective. While the "Straight-Through Estimator" (STE) is a common heuristic, training these augmented structures efficiently is an ongoing area of research. Future work may explore the interplay between network topology and varying bit-widths (e.g., 2-bit or 4-bit quantization) to further bridge the gap between theory and hardware-efficient implementation.

Summary updated

BibTeX
@misc{kong2025expressivity,
  author = {Insung Kong and Juntong Chen and Sophie Langer and Johannes Schmidt-Hieber},
  title = {{On the expressivity of deep Heaviside networks}},
  year = {2025},
  eprint = {2505.00110},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.00110},
}
Figure