SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.23528 · 2026

When PINNs Go Wrong: Pseudo-Time Stepping Against Spurious Solutions

Yiping Lu, Paris Perdikaris, Shawn Koohy, Sifan Wang

arXiv · PDF · Open in the Atlas

Code that ran

10 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 2 have no contract verdict; 6 failures of our instrument; 6 no recorded run), measured 2026-11-23; 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/2604.23528.json · badge: /api/ran/2604.23528.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
sifanexisted/jaxpi2 community
Papers with Code archive
10 ran · 6 no recorded run
FunctionStatusWhere it lives
BaseEvaluator Ran
ran on a synthesized input · constructed an object; no result was computed
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("14f01915ba3c0621")
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 an instance of its own class, BaseEvaluator: the run constructed the object and did not call it, so no result was computed. 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.

import torch
import torch.nn as nn

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def lr(self, step):
        return 0.001 * (0.99 ** step)
    
    def compute_raw_residual_losses(self, params, state, res_batch):
        return {
            'residual_1': 0.5,
            'residual_2': 0.3
        }
    
    def compute_grad_norms(self, state, batch):
        return {
            'layer1': 0.1,
            'layer2': 0.2
        }

class SimpleState:
    def __init__(self):
        self.step = 5
        self.params = {'weight': torch.randn(3, 4), 'bias': torch.randn(3)}
        self.loss_weights = {'weight_decay': 0.01, 'l2': 0.02}
        self.pts_weights = {'pts_1': 0.5, 'pts_2': 0.3}

class LoggingConfig:
    def __init__(self):
        self.log_lr = True
        self.log_losses = True
        self.log_raw_losses = True
        self.log_loss_weights = True
        self.log_pts_weights = True
        self.log_grads = True
    
    def get(self, key, default=False):
        return getattr(self, key, default)

class MainConfig:
    def __init__(self):
        self.logging = LoggingConfig()
        self.pseudo_time = type('obj', (object,), {'enabled': True})()

config = MainConfig()
model = SimpleModel()
state = SimpleState()
loss_dict = {
    'mse': 0.45,
    'mae': 0.15
}
batch = {
    'res': torch.randn(2, 4),
    'data': torch.randn(2, 3)
}

ARGS = {
    'config': config
}
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 BaseEvaluator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a BaseEvaluator 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
TrainState Ran
ran on a synthesized input · constructed an object; no result was computed
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("f1d6af4bda1df3f7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned TrainState: the class was constructed and called, and the call returned an instance of its own class. 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.

import jax
import jax.numpy as jnp
from jax import random
from flax import linen as nn
from flax.training import train_state
from optax import adam
from typing import Any, Dict

# Import the custom TrainState class
from flax.training import train_state as base_train_state
from jax import lax
from jax.tree_util import tree_map

class TrainState(base_train_state.TrainState):
    loss_weights: Dict
    pts_weights: Dict
    momentum: float
    pts_momentum: float
    prev_params: Any = None

    def apply_loss_weights(self, loss_weights, **kwargs):
        running_average = lambda old_w, new_w: old_w * self.momentum + (1 - self.momentum) * new_w
        loss_weights = tree_map(running_average, self.loss_weights, loss_weights)
        loss_weights = lax.stop_gradient(loss_weights)
        return self.replace(loss_weights=loss_weights, **kwargs)

    def apply_pts_weights(self, pts_weights, **kwargs):
        running_average = lambda old_w, new_w: old_w * self.pts_momentum + (1 - self.pts_momentum) * new_w
        pts_weights = tree_map(running_average, self.pts_weights, pts_weights)
        pts_weights = lax.stop_gradient(pts_weights)
        return self.replace(pts_weights=pts_weights, **kwargs)


# Create a simple model for testing
class SimpleModel(nn.Module):
    @nn.compact
    def __call__(self, x):
        x = nn.Dense(8)(x)
        x = nn.relu(x)
        x = nn.Dense(4)(x)
        return x


# Initialize model and get params
key = random.PRNGKey(0)
model = SimpleModel()
dummy_input = jnp.ones((2, 4))
params = model.init(key, dummy_input)

# Create optimizer
tx = adam(learning_rate=1e-3)
opt_state = tx.init(params)

# Initial loss and pts weights
initial_loss_weights = {"layer1": jnp.array(0.5), "layer2": jnp.array(0.5)}
initial_pts_weights = {"pts1": jnp.array(0.3), "pts2": jnp.array(0.7)}

INIT_ARGS = {
    "step": 0,
    "apply_fn": model.apply,
    "params": params,
    "tx": tx,
    "opt_state": opt_state,
    "loss_weights": initial_loss_weights,
    "pts_weights": initial_pts_weights,
    "momentum": 0.9,
    "pts_momentum": 0.95,
    "prev_params": None,
}

# Arguments for apply_loss_weights method
new_loss_weights = {"layer1": jnp.array(0.6), "layer2": jnp.array(0.4)}
ARGS = {
    "loss_weights": new_loss_weights,
}

METHOD = "apply_loss_weights"

# Construct and call
train_state_obj = TrainState(**INIT_ARGS)
result = getattr(train_state_obj, METHOD)(**ARGS)

print("TrainState created successfully")
print(f"Loss weights after apply: {result.loss_weights}")
print(f"Momentum: {result.momentum}")

# Test apply_pts_weights as well
new_pts_weights = {"pts1": jnp.array(0.4), "pts2": jnp.array(0.6)}
result2 = train_state_obj.apply_pts_weights(new_pts_weights)
print(f"Pts weights after apply: {result2.pts_weights}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
flax, jax, optax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TrainState — the call returned an instance of its own class, which has no array shape; none is stated — the instrument coerces any output to an array; for a TrainState 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
create_checkpoint_manager Ran
ran; our contract draft was wrong, not the code
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("00023de4a55b69b7")
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 CheckpointManager. 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.

import os
import tempfile
import torch
import torch.nn as nn

torch.manual_seed(0)

class Config:
    def __init__(self):
        self.num_keep_ckpts = 3

config = Config()

with tempfile.TemporaryDirectory() as tmpdir:
    ckpt_path = tmpdir
    suffix = "checkpoint_v1"
    
    ARGS = {
        "config": config,
        "ckpt_path": ckpt_path,
        "suffix": suffix,
    }
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
orbax, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type CheckpointManager — a CheckpointManager output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a CheckpointManager 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
create_update_scheduler Ran
ran; our contract draft was wrong, not the code
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("22a2d0bbeb74e22e")
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 function. 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.

import torch
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - every: int, default=100 - controls the update frequency
# - start: int, default=0 - controls the starting point
# The function returns a callable that checks if (step - start) >= 0 and (step - start) % every == 0

ARGS = {
    "every": 100,
    "start": 0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
get_ckpt_path Ran
ran; our contract draft was wrong, not the code
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("073e3f43d5de988a")
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.

import os
from types import SimpleNamespace

# Create a minimal config object that has the required structure
config = SimpleNamespace(
    saving={'ckpt_path': '/tmp/test_checkpoint'},
    wandb=SimpleNamespace(name='test_run')
)

ARGS = {
    'config': config
}
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
get_log_keys Ran
ran; our contract draft was wrong, not the code
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("c1aab4bce1f4d5a6")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

torch.manual_seed(0)

# The function get_log_keys takes a log_dict and returns keys that start with 'loss/' or 'error/'
# We need to construct a valid log_dict with various keys

log_dict = {
    'loss/train': 0.5,
    'loss/val': 0.3,
    'error/train': 0.1,
    'error/val': 0.05,
    'accuracy/train': 0.95,
    'lr': 0.001,
    'epoch': 1,
}

ARGS = {
    'log_dict': log_dict,
}
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 list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
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
has_checkpoint_steps Ran
ran, violated the contract we drafted
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("006a4f6dda844d88")
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 bool, ndim 0, dtype family float, shape () 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 os
import tempfile
import shutil

# Create a temporary directory to act as a checkpoint directory
temp_dir = tempfile.mkdtemp()

# Create a subdirectory with numeric names to simulate saved steps
os.makedirs(os.path.join(temp_dir, "0"), exist_ok=True)
os.makedirs(os.path.join(temp_dir, "1000"), exist_ok=True)

ARGS = {
    "path": temp_dir
}
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 bool, ndim 0, dtype family float, shape () — shape () 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
latest_time_window Ran
ran, honoured the contract we drafted
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("c69d7776398b783d")
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 int, ndim 0, dtype family int, shape () 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 os
import tempfile
import shutil

# Create a temporary directory structure that mimics an Orbax checkpoint directory
temp_dir = tempfile.mkdtemp()

# Create subdirectories matching the pattern 'time_window_(\d+)'
time_window_0 = os.path.join(temp_dir, 'time_window_0')
time_window_1 = os.path.join(temp_dir, 'time_window_1')
time_window_2 = os.path.join(temp_dir, 'time_window_2')

os.makedirs(time_window_0, exist_ok=True)
os.makedirs(time_window_1, exist_ok=True)
os.makedirs(time_window_2, exist_ok=True)

# Add checkpoint steps (numeric directories) to each time window
# Only time_window_1 and time_window_2 have checkpoint steps
os.makedirs(os.path.join(time_window_1, '0'), exist_ok=True)
os.makedirs(os.path.join(time_window_1, '100'), exist_ok=True)
os.makedirs(os.path.join(time_window_2, '0'), exist_ok=True)
os.makedirs(os.path.join(time_window_2, '200'), exist_ok=True)

# time_window_0 has no checkpoint steps, so it won't be included in the result

ARGS = {
    'ckpt_path': temp_dir,
    'pattern': 'time_window_(\\d+)'
}
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 int, ndim 0, dtype family int, shape () — shape () 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
restore_checkpoint Ran
ran; our contract draft was wrong, not the code
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("e43a2c1479d4d91f")
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 dict. 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.

import jax
import jax.numpy as jnp
import orbax.checkpoint as ocp
import tempfile
import os

# Create a temporary directory for checkpoint storage
temp_dir = tempfile.mkdtemp()

# Create a minimal checkpoint manager
# We need to create an actual checkpoint first so that latest_step() returns something
class MinimalCheckpointManager:
    def __init__(self, directory):
        self.directory = directory
        self._step = 42
        # Create a dummy checkpoint
        os.makedirs(directory, exist_ok=True)
    
    def latest_step(self):
        return self._step
    
    def restore(self, step, args):
        # Return a simple state structure matching what was saved
        return {
            'params': {
                'layer1': jnp.array([1.0, 2.0, 3.0, 4.0]),
                'layer2': jnp.array([[1.0, 2.0], [3.0, 4.0]])
            },
            'step': jnp.array(step)
        }

# Create checkpoint manager instance
ckpt_mngr = MinimalCheckpointManager(temp_dir)

# Create a sample state to restore into
state = {
    'params': {
        'layer1': jnp.zeros(4),
        'layer2': jnp.zeros((2, 2))
    },
    'step': jnp.array(0)
}

ARGS = {
    'ckpt_mngr': ckpt_mngr,
    'state': state,
    'step': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, orbax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
sample_batches Ran
ran; our contract draft was wrong, not the code
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("be1dc9f7b78a41b1")
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 generator. 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.

import torch
import itertools

torch.manual_seed(0)

# Test case 1: dict of samplers
sampler_ics = [
    {"data": torch.randn(2, 4)},
    {"data": torch.randn(2, 4)},
]

sampler_res = [
    {"output": torch.randn(2, 3)},
    {"output": torch.randn(2, 3)},
]

dict_samplers = {
    "ics": sampler_ics,
    "res": sampler_res,
}

# Test case 2: single iterable sampler (using itertools.repeat for infinite iteration)
single_sampler = itertools.repeat({"batch": torch.randn(2, 5)})

# We'll use the dict case as the primary test
ARGS = {
    "samplers": dict_samplers
}
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 generator — a generator output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a generator 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
Logger Not yet run
unverified (harvested, no recorded run)
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("4c0c5f40e0b4b0c0")
How it ran

no invocation recorded.

_ensure_wandb Not yet run
unverified (harvested, no recorded run)
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("449355665289a39a")
How it ran

no invocation recorded.

create_train_state Not yet run
unverified (harvested, no recorded run)
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("3c09bc251881239f")
How it ran

no invocation recorded.

save_checkpoint Not yet run
unverified (harvested, no recorded run)
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("def1f0e6fabc5bbd")
How it ran

no invocation recorded.

train_loop Not yet run
unverified (harvested, no recorded run)
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("9ef8548ae633ca26")
How it ran

no invocation recorded.

train_time_windows Not yet run
unverified (harvested, no recorded run)
sifanexisted/jaxpi2/jaxpi/training.py
code served (permissive licence) · get_code("9ff3bfc3fca8a5f1")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 16 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.

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-23.

Repositories linked to this paper

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

Abstract

Physics-informed neural networks (PINNs) provide a promising machine learning framework for solving partial differential equations, but their training often breaks down on challenging problems, sometimes converging to physically incorrect solutions despite achieving small residual losses. This failure, we argue, is not merely an optimization difficulty. Rather, it reflects a fundamental weakness of the empirical PDE residual loss, which can admit trivial or spurious solutions during training. From this perspective, we revisit pseudo-time stepping, a technique that has recently shown strong empirical success in PINNs. We show that its main benefit is not simply to ease optimization; instead, when combined with collocation-point resampling, it helps reveal and avoid spurious solutions. At the same time, we find that the effectiveness of pseudo-time stepping depends critically on the choice of step size, which cannot be tuned reliably from the training loss alone. To overcome this limitation, we propose an adaptive pseudo-time stepping strategy that selects the step size from a finite-difference surrogate of the local residual Jacobian, yielding the largest step permitted by local stability without per-problem tuning. Across a diverse set of PDE benchmarks, the proposed method consistently improves both accuracy and robustness. Together, these findings provide a clearer understanding of why PINNs fail and suggest a practical pathway toward more reliable physics-informed learning. All code and data accompanying this manuscript are available at https://github.com/sifanexisted/jaxpi2.

For agents

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

get_harvested_code_for_paper("2604.23528")
get_code_for_paper("2604.23528")
have("2604.23528")

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

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

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

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

Connect an agent — have() is free.