SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2207.13298 · ICLR · 2023

Is Attention All That NeRF Needs?

Tianlong Chen, Zhangyang Wang, Xuxi Chen, Subhashini Venugopalan, Peihao Wang, Mukund Varma

arXiv · PDF · Open in the Atlas

Code that ran

5 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (5 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 0 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2207.13298.json · badge: /api/ran/2207.13298.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
vita-group/gnt community
Papers with Code archive
5 ran · 2 no recorded run
FunctionStatusWhere it lives
Attention Ran
ran on a synthesized input · constructed an object; no result was computed
vita-group/gnt/gnt/transformer_network.py
code served (permissive licence) · get_code("0c8d8666ea836326")
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, Attention: 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
import numpy as np

torch.manual_seed(0)

# Determine test parameters
dim = 8
n_heads = 2
dp_rate = 0.1
pos_dim = 3
batch_size = 2
seq_len = 4

# Create test inputs
x = torch.randn(batch_size, seq_len, dim)
pos = torch.randn(batch_size, seq_len, pos_dim)

ARGS = {
    'dim': dim,
    'n_heads': n_heads,
    'dp_rate': dp_rate,
    'attn_mode': 'gate',
    'pos_dim': pos_dim,
}
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 Attention — 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 Attention 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
Embedder Ran
ran on a synthesized input · constructed an object; no result was computed
vita-group/gnt/gnt/transformer_network.py
code served (permissive licence) · get_code("274e943335de6884")
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, Embedder: 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)

ARGS = {
    'input_dims': 4,
    'include_input': True,
    'max_freq_log2': 3,
    'num_freqs': 2,
    'log_sampling': True,
    'periodic_fns': [torch.sin, torch.cos]
}
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 Embedder — 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 Embedder 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
FeedForward Ran
ran on a synthesized input · constructed an object; no result was computed
vita-group/gnt/gnt/transformer_network.py
code served (permissive licence) · get_code("0793903038531eaf")
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, FeedForward: 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)

# The FeedForward module takes dim, hid_dim, and dp_rate as constructor parameters
# - dim: input/output dimension
# - hid_dim: hidden dimension
# - dp_rate: dropout rate

ARGS = {
    "dim": 4,
    "hid_dim": 8,
    "dp_rate": 0.1
}
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 FeedForward — 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 FeedForward 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
Transformer Ran
ran on a synthesized input · constructed an object; no result was computed
vita-group/gnt/gnt/transformer_network.py
code served (permissive licence) · get_code("2efce5965df73946")
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, Transformer: 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)

ARGS = {
    'dim': 8,
    'ff_hid_dim': 16,
    'ff_dp_rate': 0.1,
    'n_heads': 2,
    'attn_dp_rate': 0.1,
    'attn_mode': 'qk',
    'pos_dim': None,
}
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 Transformer — 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 Transformer 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
Transformer2D Ran
ran on a synthesized input · constructed an object; no result was computed
vita-group/gnt/gnt/transformer_network.py
code served (permissive licence) · get_code("92fa9a2a2a001168")
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, Transformer2D: 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)

# Set up parameters for Transformer2D
dim = 8
ff_hid_dim = 16
ff_dp_rate = 0.1
attn_dp_rate = 0.1

ARGS = {
    'dim': dim,
    'ff_hid_dim': ff_hid_dim,
    'ff_dp_rate': ff_dp_rate,
    'attn_dp_rate': attn_dp_rate,
}
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 Transformer2D — 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 Transformer2D 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
Attention2D Not yet run
unverified (harvested, no recorded run)
vita-group/gnt/gnt/transformer_network.py
code served (permissive licence) · get_code("6d4a16676ba59f68")
How it ran

no invocation recorded.

GNT Not yet run
unverified (harvested, no recorded run)
vita-group/gnt/gnt/transformer_network.py
code served (permissive licence) · get_code("1ec0574f22121353")
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, 6 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 6 later) and 1 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
Embedder
brick of this paper's assembly: helper
2 other papers
2 later · 1 only as an assembly brick
2308.13897 (2023-08)
InsertNeRF: Instilling Generalizability into NeRF with HyperNet Modules
2505.19813 (2025-05)
GoLF-NRT: Integrating Global Context and Local Geometry for Few-Shot View Synthesis *
Attention
brick of this paper's assembly: model
1 other paper
1 later
2505.19813 (2025-05)
GoLF-NRT: Integrating Global Context and Local Geometry for Few-Shot View Synthesis *
Attention2D
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
2505.19813 (2025-05)
GoLF-NRT: Integrating Global Context and Local Geometry for Few-Shot View Synthesis *
FeedForward
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
2505.19813 (2025-05)
GoLF-NRT: Integrating Global Context and Local Geometry for Few-Shot View Synthesis *
Transformer
brick of this paper's assembly: model
1 other paper
1 later
2505.19813 (2025-05)
GoLF-NRT: Integrating Global Context and Local Geometry for Few-Shot View Synthesis *
Transformer2D
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
2505.19813 (2025-05)
GoLF-NRT: Integrating Global Context and Local Geometry for Few-Shot View Synthesis *

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

We present Generalizable NeRF Transformer (GNT), a transformer-based architecture that reconstructs Neural Radiance Fields (NeRFs) and learns to render novel views on the fly from source views. While prior works on NeRFs optimize a scene representation by inverting a handcrafted rendering equation, GNT achieves neural representation and rendering that generalizes across scenes using transformers at two stages. (1) The view transformer leverages multi-view geometry as an inductive bias for attention-based scene representation, and predicts coordinatealigned features by aggregating information from epipolar lines on the neighboring views. (2) The ray transformer renders novel views using attention to decode the features from the view transformer along the sampled points during ray marching. Our experiments demonstrate that when optimized on a single scene, GNT can successfully reconstruct NeRF without an explicit rendering formula due to the learned ray renderer. When trained on multiple scenes, GNT consistently achieves state-of-the-art performance when transferring to unseen scenes and outperform all other methods by ~10% on average. Our analysis of the learned attention maps to infer depth and occlusion indicate that attention enables learning a physicallygrounded rendering. Our results show the promise of transformers as a universal modeling tool for graphics. Please refer to our project page for video results: https://vita-group.github.io/GNT/ * Equal contribution.

For agents

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

get_harvested_code_for_paper("2207.13298")
get_code_for_paper("2207.13298")
have("2207.13298")

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

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

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

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

Connect an agent — have() is free.