Papers › Spectral-Refiner: Accurate Fine-Tuning of Spatiotemporal Fourier Neural Operator for...

Spectral-Refiner: Accurate Fine-Tuning of Spatiotemporal Fourier Neural Operator for Turbulent Flows

27 May 2024arXiv:2405.17211archive 2025-07-28

Shuhao Cao, Francesco Brarda, Ruipeng Li, Yuanzhe Xi

Recent advancements in operator-type neural networks have shown promising results in approximating the solutions of spatiotemporal Partial Differential Equations (PDEs). However, these neural networks often entail considerable training expenses, and may not always achieve the desired accuracy required in many scientific and engineering disciplines. In this paper, we propose a new learning framework to address these issues. A new spatiotemporal adaptation is proposed to generalize any Fourier Neural Operator (FNO) variant to learn maps between Bochner spaces, which can perform an arbitrary-length temporal super-resolution for the first time. To better exploit this capacity, a new paradigm is proposed to refine the commonly adopted end-to-end neural operator training and evaluations with the help from the wisdom from traditional numerical PDE theory and techniques. Specifically, in the learning problems for the turbulent flow modeled by the Navier-Stokes Equations (NSE), the proposed paradigm trains an FNO only for a few epochs. Then, only the newly proposed spatiotemporal spectral convolution layer is fine-tuned without the frequency truncation. The spectral fine-tuning loss function uses a negative Sobolev norm for the first time in operator learning, defined through a reliable functional-type a posteriori error estimator whose evaluation is exact thanks to the Parseval identity. Moreover, unlike the difficult nonconvex optimization problems in the end-to-end training, this fine-tuning loss is convex. Numerical experiments on commonly used NSE benchmarks demonstrate significant improvements in both computational efficiency and accuracy, compared to end-to-end evaluation and traditional numerical PDE solvers under certain conditions. The source code is publicly available at https://github.com/scaomath/torch-cfd.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 15 code samples: 14 from 2 repositories linked to this paper, 1 identical to code harvested from another paper's repository. Across all 15: 14 ran (of which 0 constructed an object rather than computing a result; 9 with no instrument failure: 2 honoured, 0 violated, 7 with no contract checked; 5 where Syntology's instrument failed) · 1 unverified. Where Syntology's instrument failed: 3 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 13 samples from 1 repository, 12 ran (9 with no instrument failure; 3 where Syntology's instrument failed); community: 1 sample from 1 repository, 1 ran (0 with no instrument failure; 1 where Syntology's instrument failed); 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 2 of the 14 samples that ran have no recorded date.

scaomath/torch-cfd officialmentioned in papermentioned on GitHubpytorchApache-2.0Syntology: 13 samples, 12 ran (3 instrument-failed) · 1 unverified report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested: 14 ran (of which 0 constructed an object rather than computing a result; 9 with no instrument failure: 2 honoured, 0 violated, 7 with no contract checked; 5 where Syntology's instrument failed) · 1 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

2ran · honoured contract
3ran · our draft was wrong
2ran; the contract check could not run
7ran
1unverified

Licence: 1 of the 15 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. 1 sample is listed last, in a group without a repository. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

scaomath/torch-cfd official repository 13 samples, 12 ran (3 instrument-failed) · 1 unverified
central_diff fno/losses.py ran Apache-2.0 (permissive) · c17bf7dfdb45871b · report fixture: signature u:Tensor/4/float, h:NoneType/0/?, mode:str/0/str, padding:bool/0/bool, value:NoneType/0/?, channel_last:bool/0/bool · returned tuple · level recorded 2026-09-24
default in 430 papers torch_cfd/advection.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · 5a5ec93138deef29 · report fixture: signature value:int/0/int, d:int/0/int · returned int · level recorded 2026-09-24
fft_expand_dims torch_cfd/spectral.py ran; the contract check could not run (RAISES) Apache-2.0 (permissive) · f82b9bc3c0e5b177 · report fixture: signature fft_mesh:tuple/1/Tensor, batch_size:int/0/int · returned tuple · level recorded 2026-09-24
fft_mesh_2d torch_cfd/spectral.py ran Apache-2.0 (permissive) · 81d554543fe95eda · report fixture: signature n:int/0/int, diam:float/0/float, device:NoneType/0/? · returned tuple · level recorded 2026-09-24
log_normal_density torch_cfd/initial_conditions.py ran fingerprinted Apache-2.0 (permissive) · 30dc8b877f782e80 · report fixture: signature k:Tensor/1/float, mode:float/0/float, variance:float/0/float · returned Tensor · level recorded 2026-09-24
outer_sum torch_cfd/solvers.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · f744cc7a9cfb3405 · report fixture: signature x:list/1/Tensor · returned Tensor · level recorded 2026-09-24
safe_div in 29 papers torch_cfd/advection.py ran fingerprinted Apache-2.0 (permissive) · f23abec4f65ce479 · report fixture: signature x:Tensor/2/float, y:Tensor/2/float, default_numerator:int/0/int · returned Tensor · level recorded 2026-09-24
slice_along_axis torch_cfd/tensor_utils.py ran Apache-2.0 (permissive) · c0504fbcda5ca095 · report fixture: signature inputs:Tensor/3/float, axis:int/0/int, idx:int/0/int, expect_same_dims:bool/0/bool · returned Tensor · level recorded 2026-09-24
spectral_laplacian_2d torch_cfd/spectral.py ran; the contract check could not run (RAISES) Apache-2.0 (permissive) · 0fb57bced213c0a9 · report fixture: signature fft_mesh:tuple/1/Tensor, device:NoneType/0/? · returned Tensor · level recorded 2026-09-24
split_along_axis torch_cfd/tensor_utils.py ran Apache-2.0 (permissive) · cc8238497f7c4a27 · report fixture: signature inputs:Tensor/3/float, split_idx:int/0/int, axis:int/0/int, expect_same_dims:bool/0/bool · returned tuple · level recorded 2026-09-24
split_axis torch_cfd/tensor_utils.py ran Apache-2.0 (permissive) · 3976415f0a6bab34 · report fixture: signature inputs:Tensor/3/float, dim:int/0/int, keep_dims:bool/0/bool · returned tuple · level recorded 2026-09-24
van_leer_limiter torch_cfd/advection.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · f9dfe180c45e72ca · report fixture: signature r:Tensor/2/float · returned Tensor · level recorded 2026-09-24
scalar_potential torch_cfd/forcings.py unverified Apache-2.0 (permissive) · 57a6d2f9473ef5e3 · report
neuraloperator/neuraloperator community 1 sample, 1 ran (1 instrument-failed) · 0 unverified
partialclass in 13 papers neuralop/models/fno.py ran · our draft was wrong MIT (permissive) · 2041982f0cf2a6be · report fixture: signature new_name:str/0/str, cls:callable/0/?, args:tuple/1/empty, kwargs:dict/0/? · returned type · level recorded, date not recorded
Repository not located 1 sample, 1 ran (1 instrument-failed) · 0 unverified
1 sample is identical to code Syntology harvested from another paper's repository; this paper's own copy was not located, so no repository is named and no licence is recorded.
partialclass in 13 papers repository not located ran · our draft was wrong licence of this copy not recorded · fc02f5f0a7b4896e · report fixture: signature new_name:str/0/str, cls:callable/0/?, args:tuple/1/empty, kwargs:dict/0/? · returned type · level recorded, date not recorded

Tasks

Computational EfficiencyDe-aliasingOperator learningSuper-Resolution

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Convolution

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections