mlsanityData to 7 Oct 2026

Floating-Point Networks with Automatic Differentiation Can Represent Almost All Floating-Point Functions and Their Gradients

arXiv 2605.01702 ↗First posted 3 May 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Theoretical studies show that for any differentiable function on a compact domain, there exists a neural network that approximates both the function values and gradients. However, such a result cannot be used in practice since it assumes real parameters and exact internal operations. In contrast, real implementations only use a finite subset of reals and machine operations with round-off errors. In this work, we investigate whether a similar result holds for neural networks under floating-point arithmetic, when the gradient with respect to the input is computed by the automatic differentiation algorithm D^mathttAD. We first show that given a floating-point function φ (e.g., a loss function), arbitrary function values and gradients can be represented by a floating-point network f and D^mathttAD(φcirc f), respectively. We further extend this result: given φ1,dots,φn, D^mathttAD(φicirc f) can simultaneously represent arbitrary gradients while f represents the target values, under mild conditions. Our results hold for practical activation functions, e.g., ReLU, ELU, GeLU, Swish, Sigmoid, and tanh.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 14 of its 27 references that are in the map. First posted on arXiv 3 May 2026.

Builds on

14 of 27 references.

References · 14

  1. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  2. 2015Continuous control with deep reinforcement learningcited by 3,279
  3. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
  4. 2017Improved Training of Wasserstein GANscited by 2,223
  5. 2016TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systemscited by 660
  6. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
  7. 2017Compressed Sensing using Generative Modelscited by 337
  8. 2022FP8 Formats for Deep Learningcited by 187
  9. 2018Universality of Deep Convolutional Neural Networkscited by 176
  10. 2017Sobolev Training for Neural Networkscited by 136
  11. 2018ResNet with one-neuron hidden layers is a Universal Approximatorcited by 78
  12. 2024Expressive Power of ReLU and Step Networks under Floating-Point Operationscited by 5
2 more
  1. 2025Floating-Point Neural Networks Are Provably Robust Universal Approximatorscited by 3
  2. 2026On the Expressive Power of Floating-Point Transformerscited by 2

Built on by

Not cited yet.