본문으로 건너뛰기
Hub Nexus

아직 작성자가 없습니다맡기

버전 2업데이트됨 4분 분량

후원

Neural ordinary differential equations (NODEs) learn the equations behind a system from time-series data, but training them is slow and can get stuck in local optima. A paper on arXiv proposes a way around both: skip the simulation during training, and instead estimate the system’s rate of change straight from the measurements with Fourier analysis. The authors call it Fourier NODEs (FNODEs) and report that it cuts training time by more than tenfold against standard NODEs. This page is a summary in hubnx's own words.

The problem

Complex systems in the natural and social sciences are usually described by ordinary or partial differential equations, but their exact form is often unknown, and the data are noisy and limited by measurement errors, resource constraints and the cost of collecting them. NODEs are popular because they parameterize the rate of change directly. During training, though, they can develop drastic fluctuations or stiffness, which makes the numerical solving slow and backpropagation memory-hungry. The adjoint method used to compute gradients is also numerically sensitive.

The idea

  1. Estimate the gradients from data. A Fourier series of the observed signal gives its temporal derivative, and, for systems that vary in space, its spatial derivatives. The paper presents a theorem that, for a periodic, thrice differentiable function, the Fourier-based derivative converges uniformly to the true one.
  2. Match them. A neural network takes the system’s state, the control signal and the estimated spatial gradients as inputs, and is trained to output the estimated temporal gradient. Because the target is already known, no ODE solver is used in training.
  3. Feed back. The trained network is simulated to produce more data points, which raise the sampling frequency and so allow better Fourier estimates. The new points are fed back for more training. The simulation sits outside the computational graph, so the added cost is only a forward run.

The Nyquist sampling theorem sets the limit: with N sampling points, the highest recoverable frequency K is N/2. In one example with 500 points the maximum K was 250, and setting K to 512 did no better than 256.

Results for a two-dimensional parametric ODE: gradient estimates for different truncation frequencies, a test prediction, and training time against prediction error for each method

Figure 2 of the paper, as reproduced from arXiv (CC BY 4.0): results for the two-dimensional parametric ODE system, including a comparison of FNODEs and baseline methods in training time and prediction error.

What the experiments show

The authors tested on a parametric ODE, on the Korteweg-de Vries (KDV), diffusion-reaction (DR), Kuramoto-Sivashinsky (KS) and two-dimensional Navier-Stokes (NS) systems, and compared with NODEs, DeepONet, Fourier Neural Operator, PDE-Net, physics-informed neural networks (PINN), DeepAR and message-passing PDE solvers. Training time in seconds for the four PDE systems:

SystemNODEsDeepONetFNOPDE-NetPINNMP-PDEFNODEs
KDV39387512713981540560130
DR2910652262311153236765
KS5120641241492166058974
NS21747848454913232430734283

On the KDV system, training took 28 seconds for 2000 epochs and the average prediction error was 0.04. The Navier-Stokes run took 283 seconds for 5000 epochs, with an average error of 0.03. The experiments ran on a computer with 64GB of RAM and an NVIDIA Tesla V100 GPU with 16GB of memory.

The authors report lower prediction errors than the other data-driven baselines across training-set sizes and noise levels, and say the method is especially robust to noisy data. PINN performed similarly in these tests and was robust to training-set size and noise, but PINN needs the governing equations for training, so it does not apply to data-only modeling. The authors note that FNODEs may take longer to predict than neural operators such as DeepONet and FNO, though they generalize better, especially for Navier-Stokes systems with random initial values.

Sparse data and finer grids

Irregularly sampled series can be handled by swapping in a nonuniform discrete Fourier transform. When there are too few points for the Nyquist limit, the feedback loop helps: with 100 training series of only 200 sampling points each and K = 100, the model was used to predict 200 and then 400 more points, retraining with K = 200 and K = 400, and performance improved without any new measurements.

The model also handles different resolutions in space. Trained on diffusion-reaction data with 32, 64 and 128 spatial points, it predicted on a test set of 128 points, which the authors describe as zero-shot super-resolution.

Data augmentation and resolution-invariant results: prediction errors at different sampling rates, boxplots of testing errors with feedback data, and predictions at low and high spatial resolution

Figure 5 of the paper, as reproduced from arXiv (CC BY 4.0): experiments on data augmentation and resolution-invariant prediction.

A real-world test, and the limits

In a preliminary test on Earth’s polar motion, using data from the International Earth Rotation and Reference Systems Service and physical features such as length of day and atmospheric, hydrological, oceanic and sea-level angular momentum, the data were split 70 percent for training, 10 percent for validation and 20 percent for testing. FNODEs beat the standard NODE in prediction accuracy and cut training time by more than an order of magnitude. In predictions of the next 100 days from 50 random starting points, FNODEs did better in both short and long term, and the version with data augmentation beat the one without.

The authors name two limits. For more complex systems it is hard to estimate the gradient flow within an acceptable truncation frequency, and they suggest combining the method with Koopman theory and uncertainty quantification. And, like NODEs, the method is inefficient for high-dimensional systems, which they propose to address by bringing in ideas from neural operators.

Sources

  • “From Fourier to Neural ODEs: Flow Matching for Modeling Complex Systems,” arXiv:2405.11542 (https://arxiv.org/abs/2405.11542), licensed CC BY 4.0. Changed here: summarized and reworded, with tables and figures 2 and 5 reproduced from the paper; the authors are not named in the imported text; rewritten in hubnx's own words.

코멘트

Spinner Logo

교육 관련 글 더 보기

작성: Hub Nexus Nomad
The Success Podcast Myth & The Illusion of Control
작성: Abdul Ariwoola
Random article
작성: Hub Nexus editors조회: 282
A demo for the Hub Nexus content editor, showing what could be created, and at the same time teaching how to create them with each syntax. It follows general markdown syntax, gfm, and more advanced like various charts and graphs code syntax.
CC0 1.0 (퍼블릭 도메인)
AA: I'm Avi Arditti with Rosanne Skirble, and this week on Wordmaster: the new TOEFL.
 RS: TOEFL is the Test of English as a Foreign Language. It's required by many colleges and universities in the United States and elsewhere as a measure of a student's proficiency in English. There are...
CC0 1.0 (퍼블릭 도메인)
U.S. increases funding to help legal immigrants, but a bill to aid undocumented children is halted for now | EDUCATION REPORT