Injectivity of ReLU-layers: Perspectives from Frame Theory

Daniel Haider, Martin Ehler, Péter Balázs · DOI

Injectivity of ReLU-layers: Perspectives from Frame Theory

Introduction: The Information Loss Problem

The Rectified Linear Unit (ReLU) is a fundamental component of modern neural networks, defined as $\text{ReLU}(t) = \max(0, t)$. While effective, ReLU is inherently "lossy" because it maps all negative values to zero. In a neural network layer $y = \text{ReLU}(Wx + b)$, if the weight matrix $W$ and bias $b$ are not carefully chosen, multiple distinct inputs $x$ might map to the same output $y$. This loss of injectivity means the network is "crushing" information, which can be detrimental for tasks requiring reconstruction or precise feature mapping.

While previous theoretical work focused on injectivity over the entire space $\mathbb{R}^n$, practical data usually resides in bounded regions, such as the unit ball or specific manifolds. This paper shifts the focus to domain-specific injectivity: under what conditions is a ReLU layer injective on a bounded domain $K$, and how can we recover the original data?

Frame Theory and $\alpha$-rectifying Frames

To solve this, the authors turn to Frame Theory, which studies redundant sets of vectors that span a space. A weight matrix $W$ (whose rows are vectors $\phi_i$) is viewed as a "frame." For a given input $x$ and bias vector $\alpha$, the "active set" $I_x^\alpha$ consists of the indices of weights that are not zeroed out by the ReLU:

$$I_x^\alpha = \{ i : \langle \phi_i, x \rangle + \alpha_i > 0 \}$$

A frame is defined as "$\alpha$-rectifying" on a domain $K$ if, for every $x \in K$, the set of active vectors $\{\phi_i\}_{i \in I_x^\alpha}$ spans the entire input space. If this condition holds, the layer is injective on $K$.

Geometric interpretation of the active set $I_x^\alpha$. As the bias $\alpha$ varies, the shaded 'active regions' $\Omega_i^\alpha$ change. Injectivity is maintained as long as the active weights for any point $x$ form a complete basis.

The Role of Bias: The "Bias Knob"

One of the paper's key insights is that the bias vector $\alpha$ acts as a control knob for information flow. For any fixed weight matrix and domain, there exists a "maximal safe bias" $\alpha^\sharp_K$. If the bias is increased beyond this point, the active regions shrink until some points in the domain no longer have enough active weights to allow for reconstruction.

The authors propose two primary methods to estimate this maximal bias:

  1. Sampling-based (Monte Carlo): This iterative approach samples points from the domain and updates the bias estimate based on the "most correlated basis" found.
  2. Polytope-based: This geometric approach treats the weight vectors as vertices of a polytope. By analyzing the facets of this "inscribing polytope," one can determine the exact boundaries of the safe bias zones.

Reconstruction and Stability

If a layer is proved to be injective, how do we get the data back? The authors derive a "ReLU-synthesis operator," which acts as a locally linear inverse. They also introduce a "ReLU frame algorithm"—an iterative method that converges exponentially fast to the original input $x$ from the output $y$.

Crucially, the paper proves that injectivity implies Lipschitz stability. This means that small perturbations or noise in the ReLU output will not lead to disproportionately large errors in the reconstructed input, making these layers robust for practical signal processing applications.

Key Results and Future Directions

Numerical experiments validated several theoretical conjectures. Notably, for random Gaussian frames with zero bias, the transition from non-injective to injective behavior occurs at a redundancy ratio of approximately 6.7 (i.e., the output dimension must be about 6.7 times the input dimension).

While the Polytope-based approach is highly accurate for low dimensions, it suffers from the "curse of dimensionality." Future work aims to extend these single-layer results to deep architectures and to utilize data-driven domain models to find even tighter injectivity bounds for real-world datasets.

Conclusion

By framing ReLU layers through the lens of Frame Theory, this research provides a rigorous foundation for understanding information preservation in neural networks. The ability to calculate maximal safe biases and perform stable reconstructions opens new doors for designing more efficient and reliable deep learning architectures.

Summary updated

BibTeX
@inproceedings{haider2025injectivity,
  author = {Daniel Haider and Martin Ehler and Péter Balázs},
  title = {{Injectivity of ReLU-layers: Perspectives from Frame Theory}},
  booktitle = {Mathematical},
  year = {2025},
  doi = {10.1007/s44439-025-00003-6},
}
Figure