arXiv Machine Learning

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

arXiv:2605. 01702v2 Announce Type: replace Abstract: 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.

arXiv Machine Learning
Jul 16

Automatic Differentiation from Scratch: How PyTorch Computes Gradients in Physics-Informed Neural Networks

arXiv:2607. 13042v1 Announce Type: new Abstract: This paper traces, with explicit numerical values, how PyTorch's automatic differentiation (AD) engine computes gradients for Physics-Informed Neural Network (PINN) training -- a setting that requires two levels of differentiation: computing the physics derivative $\hat{y}'(t)=d\hat{y}/dt$ through the network, and computing parameter gradients $\nabla_\theta L$ of a loss that itself depends on $\hat{y}'(t)$.

By Abdeladhim Tahimi
arXiv Machine Learning
Jun 16

Functional Gradient Descent with Adaptive Representations

arXiv:2606. 16926v1 Announce Type: cross Abstract: Functional optimization problems are typically solved by optimizing the parameters of a fixed representation, such as a neural network, resulting in highly nonconvex losses that complicate both training and theoretical analysis.

By Daniel Csillag, Rodrigo Schuller, Pedro Dall'Antonia, Leonidas Guibas, Luiz Velho, Tiago Novello
arXiv Machine Learning
4d ago

DL101 The Representation Capability of Neural Network Models

The article reviews universal approximation theorems that justify neural networks’ ability to model complex nonlinear functions, noting that shallow networks can approximate any continuous function on compact sets if non‑polynomial activations are used. It highlights that while these theorems guarantee expressiveness, they offer no insight into efficiency, training dynamics, or generalization. Recent work is cited showing that depth increases expressivity exponentially, making deep networks strictly more powerful than shallow ones with the same parameter count.

By Fernando Berzal
Hugging Face Trending Papers
Aug 11

Derivative Computation in PINNs: Automatic Differentiation, Finite Differences and Beyond

We systematically investigate finite-difference (FD) derivative computation in Physics-Informed Neural Networks (PINNs) as an alternative to automatic differentiation (AD). On three benchmark PDEs we show that, with a properly calibrated step size, FD matches AD in accuracy on every problem while running faster across the full tested batch-size range and using substantially less GPU memory, and that a stochastic variant we propose outperforms AD on a stationary problem.

arXiv Machine Learning
Oct 2

Same Loss, Different Gradients

The paper demonstrates that in differentiable learning, the scalar objective computed during the forward pass can differ from the gradient supplied in the backward pass when probabilistic objectives depend on finite special‑function recurrences, custom backward rules, and numerical clipping. This mismatch is shown in high‑dimensional von Mises‑Fisher learning, where identical forward scores can lead to different gradients and optimization paths. To address this, the authors introduce AR/FR, a fixed‑depth analytic method that jointly constructs a potential and its derivative, guaranteeing forward‑backward coherence and providing a uniform cubic‑order error bound relative to the exact Bessel ratio across all nonnegative concentration values.

By Ningkang Peng, Xiaoqian Peng, Yifan He, Anjie Hu, Chao Tan, Peirong Ma, Yanhui Gu
arXiv Machine Learning
Jul 14

Approximation of Analytic Functions by ReLU Neural Networks with Adjustable Depth and Width

arXiv:2607. 10589v1 Announce Type: cross Abstract: In contrast to most studies on neural network approximation theory that characterize results through a single parameter, such as the total number of network parameters, \cite{shen2020deep} pioneered the characterization of approximation rates as a joint function of the width parameter $N$ and the depth parameter $L$, thereby granting greater architectural flexibility.

By Yanming Lai, Defeng Sun, Yang Wang
arXiv Machine Learning
Nov 11

Derivative-Informed Training of Neural Operators On-the-Fly via Sketched Tangent Consistency

The paper introduces sketched tangent consistency loss (sTCL), an on‑the‑fly derivative‑informed training objective for neural operators that enforces sensitivity consistency directly from a PDE’s residual without offline tangent labels. sTCL employs random input perturbations and lightweight operator‑aware loss conditioning to handle stiff or ill‑conditioned tangent operators. Experiments on Helmholtz, nonlinear diffusion‑reaction, Burgers, Allen‑Cahn, and Navier‑Stokes demonstrate that sTCL achieves solution and Jacobian accuracy comparable to offline derivative‑informed training while eliminating the need for offline derivative data generation and storage.

By Xinhan Yang, Lu Lu, Shancong Mou