Lune

NeurIPS2024Top-tier venue

Stochastic Taylor Derivative Estimator: Efficient amortization for arbitrary differential operators

Zekun Shi, Zheyuan Hu, Min Lin, Kenji Kawaguchi

Abstract

Optimizing neural networks with loss that contain high-dimensional and high-order differential operators is expensive to evaluate with back-propagation due to O(dk)\mathcal{O}(d^{k}) scaling of the derivative tensor size and the O(2k−1L)\mathcal{O}(2^{k-1}L) scaling in the computation graph, where dd is the dimension of the domain, LL is the number of ops in the forward computation graph, and kk is the derivative order. In previous works, the polynomial scaling in dd was addressed by amortizing the computation over the optimization process via randomization. Separately, the exponential scaling in kk for univariate functions (d=1d=1) was addressed with high-order auto-differentiation (AD). In this work, we show how to efficiently perform arbitrary contraction of the derivative tensor of arbitrary order for multivariate functions, by properly constructing the input tangents to univariate high-order AD, which can be used to efficiently randomize any differential operator. When applied to Physics-Informed Neural Networks (PINNs), our method provides>1000×\times speed-up and>30×\times memory reduction over randomization with first-order AD, and we can now solve 1-million-dimensional PDEs in 8 minutes on a single NVIDIA A100 GPU. This work opens the possibility of using high-order differential operators in large-scale problems.

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.

10 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

  • Unbiased and Second-Order-Free Training for High-Dimensional PDEs cites Randomized Automatic Differentiation
  • Fine-Tuning Language Models with Just Forward Passes cites Randomized Automatic Differentiation
  • CMT: Mid-Training for Efficient Learning of Consistency, Mean Flow, and Flow-Map Models cites Score-Based Generative Modeling through Stochastic Differential Equations
  • MeanFlow Transformers with Representation Autoencoders cites CMT: Mid-Training for Efficient Learning of Consistency, Mean Flow, and Flow-Map Models
  • MeanFlow Transformers with Representation Autoencoders cites Score-Based Generative Modeling through Stochastic Differential Equations
  • Score-Based Generative Modeling through Stochastic Differential Equations cites Efficient Learning of Generative Models via Finite-Difference Score Matching
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. CMT: Mid-Training for Efficient Learning of Consistency, Mean Flow, and Flow-Map ModelsZheyuan Hu, Chieh-Hsin Lai, Yuki Mitsufuji, Stefano ErmonICLR 2026 · 21 citations
  2. MeanFlow Transformers with Representation AutoencodersZheyuan Hu, Chieh-Hsin Lai, Ge Wu, Yuki Mitsufuji et al.CVPR 2026 · 6 citations
  3. Spectral-Informed Neural Networks Outperform Spectral methods in High-dimensional PDEsTianchi Yu, Ivan OseledetsICML 2026 · 2 citations
  4. Unbiased and Second-Order-Free Training for High-Dimensional PDEsJaemin Seo, Su Rin Lee, JaeYong LeeICML 2026 · 1 citation
  5. Physics-Informed Inference Time Scaling for Solving High-Dimensional Partial Differential EquationsZexi Fan, Yan Sun, Shihao Yang, Yiping LuICLR 2026 · 1 citation

Builds on5

  1. Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar et al.ICLR 2021 · 1,270 citations
  2. Fine-Tuning Language Models with Just Forward PassesSadhika Malladi, Tianyu Gao, Eshaan Nichani, Alex Damian et al.NeurIPS 2023 · 495 citations
  3. Efficient Learning of Generative Models via Finite-Difference Score MatchingTianyu Pang, Taufik Xu, Chongxuan Li, Yang Song et al.NeurIPS 2020 · 67 citations
  4. Randomized Automatic DifferentiationDeniz Oktay, Nick McGreivy, Joshua Aduol, Alex Beatson et al.ICLR 2021 · 31 citations
  5. A general construction for abstract interpretation of higher-order automatic differentiationJacob Laurel, Rem Yang, Shubham Ugare, Robert Nagel et al.OOPSLA 2022 · 9 citations

Related papers

  1. Kronecker-Factored Approximate Curvature for Physics-Informed Neural NetworksFelix Dangel, Johannes Müller, Marius ZeinhoferNeurIPS 2024 · 31 citations
  2. Accelerated Training of Physics-Informed Neural Networks (PINNs) using Meshless DiscretizationsRamansh Sharma, Varun ShankarNeurIPS 2022 · 81 citations
  3. How does PDE order affect the convergence of PINNs?Changhoon Song, Yesom Park, Myungjoo KangNeurIPS 2024 · 17 citations
  4. Separable Physics-Informed Neural NetworksJunwoo Cho, Seungtae Nam, Hyunmo Yang, Seok-Bae Yun et al.NeurIPS 2023 · 138 citations
  5. Improving Energy Natural Gradient Descent through Woodbury, Momentum, and RandomizationAndrés Guzmán-Cordero, Felix Dangel, Gil Goldshlager, Marius ZeinhoferNeurIPS 2025 · 17 citations
Dusk over the sea between two cliffs drawn in fine vertical lines