FastLSQ: Solving PDEs in One Shot via Fourier Features with Exact Analytical Derivatives
Abstract
We present FastLSQ, a framework for PDE solving and inverse problems built on trigonometric random Fourier features with exact analytical derivatives. Trigonometric features admit closed-form derivatives of any order in , enabling graph-free operator assembly without autodiff. Linear PDEs: one least-squares call; nonlinear: Newton--Raphson reusing analytical assembly. On 17 PDEs (1--6D), FastLSQ achieves in 0.07s (linear) and -- in 9s (nonlinear), orders of magnitude faster and more accurate than iterative PINNs. Analytical higher-order derivatives yield a differentiable digital twin; we demonstrate inverse problems (heat-source, coil recovery) and PDE discovery. Code: github.com/sulcantonin/FastLSQ and \texttt{pip install fastlsq}.
Cite
@article{arxiv.2602.10541,
title = {FastLSQ: Solving PDEs in One Shot via Fourier Features with Exact Analytical Derivatives},
author = {Antonin Sulc},
journal= {arXiv preprint arXiv:2602.10541},
year = {2026}
}
Comments
9 pages, 4 figure, Accepted at ICLR 2026 AI & PDE