SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.03919 · ICML · 2024

Vectorized Conditional Neural Fields: A Framework for Solving Time-dependent Parametric Partial Differential Equations

Mathias Niepert, Jan Hagnberger, Marimuthu Kalimuthu, Daniel Musekamp

arXiv · PDF · Open in the Atlas

Code that ran

9 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (9 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 0 failures of our instrument; 5 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/2406.03919.json · badge: /api/ran/2406.03919.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
jhagnberger/vcnef canonical (classifier label)
classifier basis: classifier_2025
9 ran · 5 no recorded run
FunctionStatusWhere it lives
ActivationFunctionFeatureMap Ran
ran on a synthesized input · constructed an object; no result was computed
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("2425561dee53dea9")
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, ActivationFunctionFeatureMap: 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)

# Define a simple activation function to use
activation_fn = nn.ReLU()

# Define query_dims
query_dims = 4

# Construct ARGS dictionary with all parameters for ActivationFunctionFeatureMap
ARGS = {
    "query_dims": query_dims,
    "activation_function": activation_fn
}
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 ActivationFunctionFeatureMap — 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 ActivationFunctionFeatureMap 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
AttentionLayer Ran
ran on a synthesized input · constructed an object; no result was computed
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("de193a78579a115b")
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, AttentionLayer: 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
from torch.nn import Module, Linear

torch.manual_seed(0)

# Define a simple attention implementation that the AttentionLayer will use
class SimpleAttention(Module):
    def forward(self, queries, keys, values, attn_mask, query_lengths, key_lengths):
        # queries: (N, L, H, D_k)
        # keys: (N, S, H, D_k)
        # values: (N, S, H, D_v)
        # Return shape: (N, L, H, D_v)
        N, L, H, D_k = queries.shape
        _, S, _, D_v = values.shape
        # Simple attention: just return values averaged
        return values.mean(dim=1, keepdim=True).expand(N, L, H, D_v)

# Define simple mask implementations
class SimpleMask(Module):
    def forward(self, *args, **kwargs):
        return None

# Create the attention module instance
attention = SimpleAttention()

# Parameters for AttentionLayer
d_model = 4
n_heads = 2
d_keys = 2
d_values = 2
d_model_keys = 4

ARGS = {
    "attention": attention,
    "d_model": d_model,
    "n_heads": n_heads,
    "d_keys": d_keys,
    "d_values": d_values,
    "d_model_keys": d_model_keys,
}
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 AttentionLayer — 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 AttentionLayer 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
BaseMask Ran
ran on a synthesized input · constructed an object; no result was computed
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("42c734db837c5c4f")
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, BaseMask: 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

torch.manual_seed(0)

class ConcreteMask(object):
    """Concrete implementation of BaseMask for testing."""
    
    def __init__(self, bool_matrix):
        self._bool_matrix = bool_matrix
    
    @property
    def bool_matrix(self):
        return self._bool_matrix
    
    @property
    def shape(self):
        return self.bool_matrix.shape


# Create a simple length mask: 
# 1 1 1 0
# 1 0 0 0
# 1 1 1 1
bool_mask = torch.tensor([
    [1, 1, 1, 0],
    [1, 0, 0, 0],
    [1, 1, 1, 1]
], dtype=torch.uint8)

mask_instance = ConcreteMask(bool_mask)

ARGS = {}
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 BaseMask — 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 BaseMask 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
FullMask Ran
ran on a synthesized input · constructed an object; no result was computed
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("7811357b2c1e5fe9")
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, FullMask: 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

torch.manual_seed(0)

# Test case 1: Creating a FullMask with an explicit boolean tensor
mask_tensor = torch.tensor([
    [True, True, False, False],
    [True, False, False, False],
    [True, True, True, False]
], dtype=torch.bool)

ARGS = {
    "mask": mask_tensor,
    "N": None,
    "M": None,
    "device": "cpu"
}
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 FullMask — 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 FullMask 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
LengthMask Ran
ran on a synthesized input · constructed an object; no result was computed
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("f11fc050ba41fb3f")
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, LengthMask: 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

torch.manual_seed(0)

# Create a simple lengths tensor
# Shape: (2,) - batch size of 2, each with different sequence lengths
lengths = torch.tensor([3, 2], dtype=torch.long)

# Create max_len parameter (optional, but let's provide it explicitly)
max_len = 4

# Create device parameter (optional, defaults to lengths.device)
device = None  # Will use lengths.device by default

ARGS = {
    "lengths": lengths,
    "max_len": max_len,
    "device": device,
}
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 LengthMask — 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 LengthMask 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
ModulatedNeuralField Ran
ran on a synthesized input · constructed an object; no result was computed
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("7d875f9be7f69c72")
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, ModulatedNeuralField: 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
from torch.nn import LayerNorm, Linear, Module, Dropout
import torch.nn.functional as F

torch.manual_seed(0)

# Define a minimal feature map callable that satisfies the interface
class SimpleFeatureMap(nn.Module):
    def __init__(self, query_dims):
        super().__init__()
        self.query_dims = query_dims
    
    def new_feature_map(self, device):
        return
    
    def forward_queries(self, x):
        return torch.nn.functional.elu(x) + 1
    
    def forward_keys(self, x):
        return torch.nn.functional.elu(x) + 1
    
    def forward(self, x):
        return torch.nn.functional.elu(x) + 1
    
    @classmethod
    def factory(cls, activation_fn=None):
        def inner(query_dims):
            return cls(query_dims)
        return inner

# Create a simple feature map factory
def simple_feature_map_factory(query_dims):
    return SimpleFeatureMap(query_dims)

ARGS = {
    'd_model': 8,
    'n_heads': 2,
    'd_hidden': 16,
    'activation': 'relu',
    'dropout': 0.1,
    'feature_map': simple_feature_map_factory
}
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 ModulatedNeuralField — 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 ModulatedNeuralField 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
VCNeF Ran
ran on a synthesized input · constructed an object; no result was computed
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("ba00ba0ba2965717")
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, VCNeF: 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)

# Create a simple ModulatedVCNeFLayer stand-in
class ModulatedVCNeFLayer(nn.Module):
    def __init__(self, in_channels, out_channels):
        super(ModulatedVCNeFLayer, self).__init__()
        self.linear = nn.Linear(in_channels, out_channels)
    
    def forward(self, x, coordinates):
        # x shape: (batch, T, height, width)
        # coordinates shape: (batch, T, 2) or similar
        batch, T, h, w = x.shape
        # Flatten spatial dimensions for processing
        x_flat = x.view(batch, T, -1)
        # Simple processing: just apply linear transformation
        x_flat = self.linear(x_flat)
        # Reshape back
        out_channels = x_flat.shape[-1]
        x_out = x_flat.view(batch, T, h, w)
        return x_out

# Create a list of ModulatedVCNeFLayer instances
layers = [
    ModulatedVCNeFLayer(4, 4),
    ModulatedVCNeFLayer(4, 4),
]

# Create a normalization layer (LayerNorm applied to the output)
norm_layer = nn.LayerNorm(4)

ARGS = {
    "layers": layers,
    "norm_layer": norm_layer,
}
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 VCNeF — 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 VCNeF 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
VectorizedAttentionLayer Ran
ran on a synthesized input · constructed an object; no result was computed
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("072598f37708bf8d")
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, VectorizedAttentionLayer: 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
from torch.nn import Linear, Module

torch.manual_seed(0)

# Define a minimal attention implementation that satisfies the inner_attention interface
class DummyAttention(Module):
    def forward(self, queries, keys, values, attn_mask, query_lengths, key_lengths):
        # queries: (N, T, L, H, d_keys)
        # keys: (N, T, S, H, d_keys)
        # values: (N, T, S, H, d_values)
        # Return shape: (N, T, L, H, d_values)
        N, T, L, H, d_keys = queries.shape
        _, _, S, _, d_values = values.shape
        return torch.randn(N, T, L, H, d_values)

# Define a minimal mask implementation
class DummyMask(Module):
    def __init__(self):
        super().__init__()
    
    def forward(self, *args, **kwargs):
        return None

# Build the VectorizedAttentionLayer class
class VectorizedAttentionLayer(Module):
    def __init__(self, attention, d_model, n_heads, d_keys=None, d_values=None, d_model_keys=None):
        super(VectorizedAttentionLayer, self).__init__()
        d_keys = d_keys or d_model // n_heads
        d_values = d_values or d_model // n_heads
        d_model_keys = d_model_keys or d_model
        self.inner_attention = attention
        self.query_projection = Linear(d_model, d_keys * n_heads)
        self.key_projection = Linear(d_model_keys, d_keys * n_heads)
        self.value_projection = Linear(d_model_keys, d_values * n_heads)
        self.out_projection = Linear(d_values * n_heads, d_model)
        self.n_heads = n_heads

    def forward(self, queries, keys, values, attn_mask, query_lengths, key_lengths):
        N, T, L, _ = queries.shape
        _, T, S, _ = keys.shape
        H = self.n_heads
        queries = self.query_projection(queries).view(N, T, L, H, -1)
        keys = self.key_projection(keys).view(N, T, S, H, -1)
        values = self.value_projection(values).view(N, T, S, H, -1)
        new_values = self.inner_attention(queries, keys, values, attn_mask, query_lengths, key_lengths).view(N, T, L, -1)
        return self.out_projection(new_values)

# Create instances for ARGS
attention_module = DummyAttention()
d_model = 8
n_heads = 2
d_keys = 4
d_values = 4
d_model_keys = 8

# Create dummy tensors for forward pass
N, T, L, S = 2, 3, 5, 6
queries = torch.randn(N, T, L, d_model)
keys = torch.randn(N, T, S, d_model_keys)
values = torch.randn(N, T, S, d_model_keys)
attn_mask = DummyMask()
query_lengths = DummyMask()
key_lengths = DummyMask()

ARGS = {
    'attention': attention_module,
    'd_model': d_model,
    'n_heads': n_heads,
    'd_keys': d_keys,
    'd_values': d_values,
    'd_model_keys': d_model_keys
}
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 VectorizedAttentionLayer — 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 VectorizedAttentionLayer 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
VectorizedLinearAttention Ran
ran on a synthesized input · constructed an object; no result was computed
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("fbf3776a0b662b3c")
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, VectorizedLinearAttention: 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
from torch.nn import Module

torch.manual_seed(0)

# Mock attention mask class with all_ones property
class MockAttnMask:
    def __init__(self):
        self.all_ones = True

# Mock key_lengths class with float_matrix property
class MockKeyLengths:
    def __init__(self, batch_size, num_keys):
        self.float_matrix = torch.ones(batch_size, num_keys)

# Define a simple feature map factory
def simple_feature_map(query_dims):
    return nn.Identity()

# Set up parameters
batch_size = 2
num_queries = 3
num_keys = 4
query_dims = 5
num_heads = 2
value_dims = 6

# Create tensors with distinct sizes
queries = torch.randn(batch_size, num_queries, num_heads, query_dims)
keys = torch.randn(batch_size, num_keys, num_heads, query_dims)
values = torch.randn(batch_size, num_keys, num_heads, value_dims)

# Create mock objects
attn_mask = MockAttnMask()
query_lengths = MockKeyLengths(batch_size, num_queries)
key_lengths = MockKeyLengths(batch_size, num_keys)

ARGS = {
    "query_dimensions": query_dims,
    "feature_map": simple_feature_map,
    "eps": 1e-06,
}
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 VectorizedLinearAttention — 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 VectorizedLinearAttention 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
LinearAttention Not yet run
unverified (harvested, no recorded run)
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("ccb3e8eb10824cdd")
How it ran

no invocation recorded.

TransformerEncoder Not yet run
unverified (harvested, no recorded run)
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("6b0304ea3035f01e")
How it ran

no invocation recorded.

TransformerEncoderLayer Not yet run
unverified (harvested, no recorded run)
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("87230930da2c54a6")
How it ran

no invocation recorded.

VCNeFLayer Not yet run
unverified (harvested, no recorded run)
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("03d629220e9dbb5f")
How it ran

no invocation recorded.

VCNeFModel Not yet run
unverified (harvested, no recorded run)
jhagnberger/vcnef/vcnef/vcnef_1d.py
code served (permissive licence) · get_code("feff4c47d3fd6c26")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 13 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
ActivationFunctionFeatureMap
brick of this paper's assembly: helper
1 other paper
1 later
2506.05584 (2025-06)
TABFLEX: Scaling Tabular Learning to Millions with Linear Attention

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

Transformer models are increasingly used for solving Partial Differential Equations (PDEs). Several adaptations have been proposed, all of which suffer from the typical problems of Transformers, such as quadratic memory and time complexity. Furthermore, all prevalent architectures for PDE solving lack at least one of several desirable properties of an ideal surrogate model, such as (i) generalization to PDE parameters not seen during training, (ii) spatial and temporal zero-shot super-resolution, (iii) continuous temporal extrapolation, (iv) support for 1D, 2D, and 3D PDEs, and (v) efficient inference for longer temporal rollouts. To address these limitations, we propose Vectorized Conditional Neural Fields (VCNeFs), which represent the solution of time-dependent PDEs as neural fields. Contrary to prior methods, however, VCNeFs compute, for a set of multiple spatio-temporal query points, their solutions in parallel and model their dependencies through attention mechanisms. Moreover, VCNeF can condition the neural field on both the initial conditions and the parameters of the PDEs. An extensive set of experiments demonstrates that VCNeFs are competitive with and often outperform existing ML-based surrogate models.

For agents

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

get_harvested_code_for_paper("2406.03919")
get_code_for_paper("2406.03919")
have("2406.03919")

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

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

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

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

Connect an agent — have() is free.