English

FastLSQ: Solving PDEs in One Shot via Fourier Features with Exact Analytical Derivatives

Numerical Analysis 2026-03-24 v4 Machine Learning Numerical Analysis

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 O(1)\mathcal{O}(1), 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 10710^{-7} in 0.07s (linear) and 10810^{-8}--10910^{-9} 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}.

Keywords

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