Robotics · 2026-11-25

Sounding the Black Box: Online Training of Embedded Neural Networks in Forward-Only Physical Simulators

Ruiqi Shu, Tianrun Gao, Haomin Wen, Xiaomeng Huang

arXiv:2611.31964PDF

AI-assisted summary based on the paper. Consult the linked source for methods and limitations. Benchmark numbers appear after editor verification.

TL;DR

FORGE (Forward-Only Response and Gauss-Newton Estimation) is a two-stage online training framework for embedded neural network closures inside forward-only PDE simulators. It trains from forward runs alone by warming up rollouts via a low-dimensional Gauss–Newton step in an output-orthonormal weight subspace (Stage I) and then fitting a causal output-response operator with rollout perturbations and backprop updates (Stage II).

Why it matters

Many operational PDE simulators (e.g., Fortran/C/C++) provide only non-differentiable forward interfaces, preventing Solver BPTT. The authors’ forward-only method aims to recover much of BPTT’s closed-loop gains by using structured probing (Gauss–Newton warm-up and causal response identification) plus standard network backpropagation, without requiring solver derivatives.

Method

  • Stage I warms up current closure parameters using forward-mode network derivatives to select low-dimensional output-orthonormal weight directions and performs a damped Gauss–Newton step with readout drift compensation via a final-layer correction.
  • Stage II perturbs closure outputs (spatial output fields) around the warmed-up rollout to fit a causal block lower-triangular linear response operator across rollout steps, solves for regularized target outputs, and updates all network weights via network backpropagation.
  • The training targets closed-loop trajectory MSE using repeated forward-only simulator runs; solver derivatives are not required.

Limitation

The authors do not state an explicit limitation in the provided text.

Abstract (from arXiv)

Hybrid physics-neural simulators embed neural networks in partial differential equation (PDE) solvers to model unresolved subgrid dynamics while preserving resolved physics and conservation laws. Because closure outputs feed back across time steps, single-step offline regression does not directly minimize multi-step rollout error, motivating online trajectory optimization. Solver backpropagation through time (BPTT) is the standard online solution when solver derivatives are available, yet many operational Fortran and C/C++ simulators expose only non-differentiable, forward-only interfaces. We introduce FORGE (Forward-Only Response and Gauss-Newton Estimation), an online framework that trains embedded networks from forward runs alone by decoupling exact network derivatives from black-box simulator dynamics. Stage I warms up the rollout via a low-dimensional Gauss-Newton step along output-orthonormal weight directions, canceling multi-layer feature drift via a final-layer correction. Stage II perturbs spatial output fields to fit a gain-bounded causal linear response operator across rollout steps, solves for regularized target outputs, and updates all weights via network backpropagation. Across five 2D and 3D benchmarks spanning phase separation, reaction-diffusion, fluid and MHD turbulence, and ocean circulation, FORGE outperforms gradient-free, reinforcement-learning, and emulator-based baselines, cutting coarse-solver test mean squared error (MSE) by 50%-96% in 2D and 70% in 3D, outperforming the strongest forward-only baseline by 16%-69%, and recovering 88%-98% of Solver BPTT's gains. Code is available at https://github.com/ChiyodaMomo01/FORGE.

Related papers

Publication record

Bibliographic evidence describes where and when a record appeared. It does not validate scientific claims.

First public release: 2026-11-24 · Indexed by Pub-AI: 2026-11-25 UTC

preprint

Sounding the Black Box: Online Training of Embedded Neural Networks in Forward-Only Physical Simulators

Ruiqi Shu, Tianrun Gao, Haomin Wen, Xiaomeng Huang

Preprint posted: 2026-11-24 · Original record ↗

arxiv
2611.31964
Explicit source versions (1)
  • v1 · 2026-11-24
  1. Preprint available

    Source date: 2026-11-24 · First detected: 2026-11-25 UTC · Historical baseline

    Source evidence (2)
Abstract · arxiv

Hybrid physics-neural simulators embed neural networks in partial differential equation (PDE) solvers to model unresolved subgrid dynamics while preserving resolved physics and conservation laws. Because closure outputs feed back across time steps, single-step offline regression does not directly minimize multi-step rollout error, motivating online trajectory optimization. Solver backpropagation through time (BPTT) is the standard online solution when solver derivatives are available, yet many operational Fortran and C/C++ simulators expose only non-differentiable, forward-only interfaces. We introduce FORGE (Forward-Only Response and Gauss-Newton Estimation), an online framework that trains embedded networks from forward runs alone by decoupling exact network derivatives from black-box simulator dynamics. Stage I warms up the rollout via a low-dimensional Gauss-Newton step along output-orthonormal weight directions, canceling multi-layer feature drift via a final-layer correction. Stage II perturbs spatial output fields to fit a gain-bounded causal linear response operator across rollout steps, solves for regularized target outputs, and updates all weights via network backpropagation. Across five 2D and 3D benchmarks spanning phase separation, reaction-diffusion, fluid and MHD turbulence, and ocean circulation, FORGE outperforms gradient-free, reinforcement-learning, and emulator-based baselines, cutting coarse-solver test mean squared error (MSE) by 50%-96% in 2D and 70% in 3D, outperforming the strongest forward-only baseline by 16%-69%, and recovering 88%-98% of Solver BPTT's gains. Code is available at https://github.com/ChiyodaMomo01/FORGE.