SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.08383 · AAAI · 2024

Uncertainty Quantification for Forward and Inverse Problems of PDEs via Latent Global Evolution

Tailin Wu, Stefano Ermon, Jure Leskovec, Willie Neiswanger, Hongtao Zheng

arXiv · PDF · Open in the Atlas

Code that ran

4 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2402.08383.json · badge: /api/ran/2402.08383.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
AI4Science-WestlakeU/le-pde-uq canonical (classifier label)
classifier basis: census
4 ran · 1 no recorded run
peiyannn/mm-pde community
Papers with Code archive
0 ran · 2 no recorded run
FunctionStatusWhere it lives
cheb_grid Ran
ran, honoured the contract we drafted
AI4Science-WestlakeU/le-pde-uq/MP_Neural_PDE_Solvers/generate/generate_data.py
code served (permissive licence) · get_code("bb7d0ae780033c78")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned ndarray, ndim 1, dtype family float, shape (5,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

ARGS = {
    "xmin": -1.0,
    "xmax": 1.0,
    "N": 5,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (5,) — shape (5,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
cheb_points Ran
ran, honoured the contract we drafted
AI4Science-WestlakeU/le-pde-uq/MP_Neural_PDE_Solvers/equations/PDEs.py
code served (permissive licence) · get_code("31d0e6e8a81f05c4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (5,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function cheb_points takes a single parameter N (int)
# and returns an np.array of Chebyshev extremal points
# It uses np.cos, np.arange, and np.pi

ARGS = {
    "N": 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (5,) — shape (5,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_time Ran
ran; our contract draft was wrong, not the code
AI4Science-WestlakeU/le-pde-uq/MP_Neural_PDE_Solvers/common/utils.py
code served (permissive licence) · get_code("0328298b19c25c7f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from datetime import datetime
from time import localtime, strftime, time

ARGS = {
    'is_bracket': True,
    'return_numerical_time': False,
    'precision': 'second'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
time_solver Ran
ran; our contract draft was wrong, not the code
AI4Science-WestlakeU/le-pde-uq/MP_Neural_PDE_Solvers/temporal/solvers.py
code served (permissive licence) · get_code("d2c7b08c83de7241")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (2, 3, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a minimal solver class that implements the interface used in time_solver
class MinimalSolver:
    def __init__(self):
        self.flushed = False
    
    def flush(self):
        """Called at the start of time_solver"""
        self.flushed = True
    
    def step(self, dt: torch.Tensor, t: torch.Tensor, u: torch.Tensor) -> torch.Tensor:
        """Take one step forward
        Args:
            dt: time step [batch]
            t: current time [batch]
            u: current state [batch, ...]
        Returns:
            next state [batch, ...]
        """
        # Simple forward Euler step: u_next = u + dt * f(u)
        # Just return u + small perturbation scaled by dt
        return u + dt.view(-1, 1) * 0.01

# Create initial conditions: [batch=2, state_dim=4]
u0 = torch.randn(2, 4)

# Create times: [batch=2, num_steps=3]
times = torch.tensor([
    [0.0, 0.1, 0.2],
    [0.0, 0.1, 0.2]
], dtype=torch.float32)

# Create solver instance
solver = MinimalSolver()

ARGS = {
    "solver": solver,
    "u0": u0,
    "times": times
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 3, 4) — shape (2, 3, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
GNN_Layer_FS_2D Not yet run
unverified (harvested, no recorded run)
peiyannn/mm-pde/gnn_2d.py
pointer only (licence: NONE) · get_code("2c46a7cd9ca643ca")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, peiyannn/mm-pde when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

MP_PDE_Solver_2D Not yet run
unverified (harvested, no recorded run)
peiyannn/mm-pde/gnn_2d.py
pointer only (licence: NONE) · get_code("e64f243c23f46ff5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, peiyannn/mm-pde when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_loss Not yet run
unverified (harvested, no recorded run)
AI4Science-WestlakeU/le-pde-uq/models.py
code served (permissive licence) · get_code("67b03a68ea84c4fe")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_loss 2 other papers
2 dated earlier
2206.07681 (2022-06)
Learning to Accelerate Partial Differential Equations via Latent Global Evolution
2401.13171 (2024-01)
Compositional Generative Inverse Design
cheb_grid 1 other paper
1 dated earlier
2202.03376 (2022-02)
Message Passing Neural PDE Solvers

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Deep learning-based surrogate models have demonstrated remarkable advantages over classical solvers in terms of speed, often achieving speedups of 10 to 1000 times over traditional partial differential equation (PDE) solvers. However, a significant challenge hindering their widespread adoption in both scientific and industrial domains is the lack of understanding about their prediction uncertainties, particularly in scenarios that involve critical decision making. To address this limitation, we propose a method that integrates efficient and precise uncertainty quantification into a deep learning-based surrogate model. Our method, termed Latent Evolution of PDEs with Uncertainty Quantification (LE-PDE-UQ), endows deep learning-based surrogate models with robust and efficient uncertainty quantification capabilities for both forward and inverse problems. LE-PDE-UQ leverages latent vectors within a latent space to evolve both the system's state and its corresponding uncertainty estimation. The latent vectors are decoded to provide predictions for the system's state as well as estimates of its uncertainty. In extensive experiments, we demonstrate the accurate uncertainty quantification performance of our approach, surpassing that of strong baselines including deep ensembles, Bayesian neural network layers, and dropout. Our method excels at propagating uncertainty over extended auto-regressive rollouts, making it suitable for scenarios involving long-term predictions. Our code is available at: https://github.com/AI4Science-WestlakeU/le-pde-uq.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.08383")
get_code_for_paper("2402.08383")
have("2402.08383")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.08383.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.08383.svg)](https://syntology.ai/paper/2402.08383)

Connect an agent — have() is free.