Lune

Abstract

In theory, the choice of ReLU (0) in [0, 1] for a neural network has a negligible influence both on backpropagation and training. Yet, in the real world, 32 bits default precision combined with the size of deep learning problems makes it a hyperparameter of training methods. We investigate the importance of the value of ReLU (0) for several precision levels (16, 32, 64 bits), on various networks (fully connected, VGG, ResNet) and datasets (MNIST, CIFAR10, SVHN, Ima-geNet). We observe considerable variations of backpropagation outputs which occur around half of the time in 32 bits precision. The effect disappears with double precision, while it is systematic at 16 bits. For vanilla SGD training, the choice ReLU (0) = 0 seems to be the most efficient. For our experiments on ImageNet the gain in test accuracy over ReLU (0) = 1 was more than 10 points (two runs). We also evidence that reconditioning approaches as batch-norm or ADAM tend to buffer the influence of ReLU (0)'s value. Overall, the message we convey is that algorithmic differentiation of nonsmooth problems potentially hides parameters that could be tuned advantageously. 1 Definition in Section 2. This can be coded explicitly or cheaply emulated by backprop 0 . Indeed, considering fs : x → ReLU(x) + s(ReLU(-x) -ReLU(x) + x) = ReLU(x), we have backprop 0 fs = s.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameters cites A mathematical model for automatic differentiation in machine learning
  • Hamiltonian Monte Carlo on ReLU Neural Networks is Inefficient cites A mathematical model for automatic differentiation in machine learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Learning single-index models with shallow neural networksAlberto Bietti, Joan Bruna, Clayton Sanford, Min Jae SongNeurIPS 2022 · 119 citations
  2. Gradient flow dynamics of shallow ReLU networks for square loss and orthogonal inputsEtienne Boursier, Loucas Pillaud-Vivien, Nicolas FlammarionNeurIPS 2022 · 92 citations
  3. On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable ParametersWonyeol Lee, Sejun Park, Alex AikenICML 2023 · 6 citations
  4. Hamiltonian Monte Carlo on ReLU Neural Networks is InefficientVu C. Dinh, Lam Si Tung Ho, Cuong V. NguyenNeurIPS 2024 · 3 citations
  5. Differentiable Decision Tree via "ReLU+Argmin" ReformulationQiangqiang Mao, Jiayang Ren, Yixiu Wang, Chenxuanyin Zou et al.NeurIPS 2025 · 2 citations

Builds on1

  1. A mathematical model for automatic differentiation in machine learningJérôme Bolte, Edouard PauwelsNeurIPS 2020 · 84 citations

Related papers

  1. Any-Precision Deep Neural NetworksHaichao Yu, Haoxiang Li, Humphrey Shi, Thomas S. Huang et al.AAAI 2021 · 79 citations
  2. S3^3: Sign-Sparse-Shift Reparametrization for Effective Training of Low-bit Shift NetworksXinlin Li, Bang Liu, Yaoliang Yu, Wulong Liu et al.NeurIPS 2021 · 12 citations
  3. The Effect of Weight Precision on the Neuron Count in Deep ReLU NetworksSonghua He, Periklis A. PapakonstantinouICML 2024
  4. The Rich and the Simple: On the Implicit Bias of Adam and SGDBhavya Vasudeva, Jung Hoon Lee, Vatsal Sharan, Mahdi SoltanolkotabiNeurIPS 2025 · 14 citations
  5. Extreme Memorization via Scale of InitializationHarsh Mehta, Ashok Cutkosky, Behnam NeyshaburICLR 2021 · 22 citations
Dusk over the sea between two cliffs drawn in fine vertical lines