SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · aaai_25135 · AAAI · 2023

One Is All: Bridging the Gap between Neural Radiance Fields Architectures with Progressive Volume Distillation

Yi Yang, Heng Wang, Shuchang Zhou, Yufeng Wang, Shuangkang Fang, Weixin Xu

Open in the Atlas

Code that ran

9 of 9 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; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 3 failures of our instrument; 0 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/aaai_25135.json · badge: /api/ran/aaai_25135.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
megvii-research/AAAI2023-PVD canonical (classifier label)
classifier basis: census
9 ran · 0 no recorded run
FunctionStatusWhere it lives
compute_ssim Ran
ran on a synthesized input
megvii-research/AAAI2023-PVD/just_train_tea/utils.py
code served (permissive licence) · get_code("13b4f80faf1f5fbe")
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 1, dtype family float, shape (2,) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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

torch.manual_seed(0)

# Create two small test images
# Shape: [batch, width, height, num_channels]
# Using distinct sizes: batch=2, width=4, height=3, channels=5
img0 = torch.randn(2, 4, 3, 5, dtype=torch.float32)
img1 = torch.randn(2, 4, 3, 5, dtype=torch.float32)

# max_val should be > 0, representing the maximum possible pixel value
max_val = 1.0

# Standard SSIM parameters
filter_size = 11
filter_sigma = 1.5
k1 = 0.01
k2 = 0.03

# Test both return_map=False and return_map=True
return_map = False

ARGS = {
    'img0': img0,
    'img1': img1,
    'max_val': max_val,
    'filter_size': filter_size,
    'filter_sigma': filter_sigma,
    'k1': k1,
    'k2': k2,
    'return_map': return_map,
}
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 1, dtype family float, shape (2,) — shape (2,) 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_kl Ran
ran on a synthesized input
megvii-research/AAAI2023-PVD/distill_mutual/utils.py
code served (permissive licence) · get_code("1d77614bf85e3676")
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 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 torch
import torch.nn as nn
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for inputs and targets
# Both should be 2D tensors (batch_size, num_classes)
# Using batch=2, num_classes=4
inputs = torch.randn(2, 4, dtype=torch.float32)
targets = torch.randn(2, 4, dtype=torch.float32)

ARGS = {
    'inputs': inputs,
    'targets': targets
}
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 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
get_softmax_map_mean Ran
ran on a synthesized input
megvii-research/AAAI2023-PVD/distill_mutual/utils.py
code served (permissive licence) · get_code("559700848878a333")
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 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 torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for a and b
# F.softmax expects a tensor and will compute softmax along a dimension
# The function calls F.softmax(a) and F.softmax(b), then computes element-wise absolute difference and mean
a = torch.randn(2, 4)
b = torch.randn(2, 4)

ARGS = {
    "a": a,
    "b": b,
}
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 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
linear_to_srgb Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
megvii-research/AAAI2023-PVD/just_train_tea/utils.py
code served (permissive licence) · get_code("df2164d2c1f74c1b")
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 2, 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 takes a single parameter 'x' which is a tensor
# It applies element-wise operations: comparison, multiplication, exponentiation
# So x should be a tensor with numeric values in a reasonable range for color space conversion

x = torch.tensor([
    [0.0, 0.001, 0.0031308, 0.5],
    [0.2, 0.8, 1.0, 0.1]
], dtype=torch.float32)

ARGS = {
    "x": x
}
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 2, dtype family float — no output shape is stated: observe_signature.py could not observe it (import:OSError)
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
nerf_matrix_to_ngp Ran
ran on a synthesized input
megvii-research/AAAI2023-PVD/distill_mutual/provider.py
code served (permissive licence) · get_code("ea0c1ea3b1314a9f")
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 2, dtype family float, shape (4, 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 numpy as np

# Create a valid 4x4 pose matrix (camera extrinsic matrix format)
pose = np.array([
    [1.0, 0.0, 0.0, 0.5],
    [0.0, 1.0, 0.0, 0.3],
    [0.0, 0.0, 1.0, 0.2],
    [0.0, 0.0, 0.0, 1.0]
], dtype=np.float32)

scale = 0.33

ARGS = {
    "pose": pose,
    "scale": scale
}
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 2, dtype family float, shape (4, 4) — shape (4, 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
rand_poses Ran
ran on a synthesized input
megvii-research/AAAI2023-PVD/distill_mutual/provider.py
code served (permissive licence) · get_code("321e855ade6f79f6")
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, 4, 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 numpy as np
import torch

torch.manual_seed(0)

# Define arguments for rand_poses function
ARGS = {
    "size": 2,
    "device": torch.device("cpu"),
    "radius": 1.0,
    "theta_range": [np.pi / 3, 2 * np.pi / 3],
    "phi_range": [0, 2 * np.pi],
}
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 Tensor, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 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
sample_pdf Ran
ran; our contract draft was wrong, not the code
megvii-research/AAAI2023-PVD/distill_mutual/renderer.py
code served (permissive licence) · get_code("8ed7b9fc7f33d1dd")
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 2, dtype family float, shape (2, 3) 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

torch.manual_seed(0)

# Construct arguments for sample_pdf
# The function expects:
# - bins: tensor of bin edges
# - weights: tensor of weights for each bin
# - n_samples: number of samples to draw
# - det: boolean for deterministic sampling

# Create small tensors with distinct dimensions
# bins: shape (batch=2, num_bins=5) - the bin edges
bins = torch.linspace(0, 1, steps=5).unsqueeze(0).expand(2, -1)

# weights: shape (batch=2, num_bins=4) - weights for each bin
# Note: num_bins for weights should be one less than bins since weights are for intervals
weights = torch.rand(2, 4)

# n_samples: number of samples to draw
n_samples = 3

# det: deterministic flag
det = False

ARGS = {
    "bins": bins,
    "weights": weights,
    "n_samples": n_samples,
    "det": det,
}
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 2, dtype family float, shape (2, 3) — shape (2, 3) 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
srgb_to_linear Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
megvii-research/AAAI2023-PVD/just_train_tea/utils.py
code served (permissive licence) · get_code("78534c794e6d4ae8")
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 2, 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 takes a tensor x with sRGB values and converts to linear
# It uses torch.where to conditionally apply two formulas based on threshold
# No other parameters or attributes are accessed

x = torch.rand(2, 4)  # Small tensor with values in [0, 1]

ARGS = {
    "x": x
}
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 2, dtype family float — no output shape is stated: observe_signature.py could not observe it (import:OSError)
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
update_loss_rate Ran
ran on a synthesized input
megvii-research/AAAI2023-PVD/distill_mutual/utils.py
code served (permissive licence) · get_code("1755935484f364c5")
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 float, 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 torch
import numpy as np

torch.manual_seed(0)

ARGS = {
    "cur_lrate": 0.001,
    "scale": 0.99
}
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 float, 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

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 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
sample_pdf 10 other papers
6 dated earlier, 4 same year, order not determinable · 1 only as an assembly brick
2110.00168 (2021-10)
Vision-Only Robot Navigation in a Neural Radiance World
2112.01455 (2021-12)
Zero-Shot Text-Guided Object Generation with Dream Fields
2203.09517 (2022-03)
TensoRF: Tensorial Radiance Fields
and 7 more not named here
linear_to_srgb 4 other papers
2 dated earlier, 2 same year, order not determinable
2110.00168 (2021-10)
Vision-Only Robot Navigation in a Neural Radiance World
2211.12368 (2022-11)
Real-time Neural Radiance Talking Portrait Synthesis via Audio-spatial Decomposition
2304.10406 (2023-04)
LiDAR-NeRF: Novel LiDAR View Synthesis via Neural Radiance Fields
and 1 more not named here
srgb_to_linear 4 other papers
2 dated earlier, 2 same year, order not determinable
2110.00168 (2021-10)
Vision-Only Robot Navigation in a Neural Radiance World
2211.12368 (2022-11)
Real-time Neural Radiance Talking Portrait Synthesis via Audio-spatial Decomposition
2304.10406 (2023-04)
LiDAR-NeRF: Novel LiDAR View Synthesis via Neural Radiance Fields
and 1 more not named here
nerf_matrix_to_ngp 1 other paper
1 dated earlier
2112.01455 (2021-12)
Zero-Shot Text-Guided Object Generation with Dream Fields

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

Neural Radiance Fields (NeRF) methods have proved effective as compact, high-quality and versatile representations for 3D scenes, and enable downstream tasks such as editing, retrieval, navigation, etc. Various neural architectures are vying for the core structure of NeRF, including the plain Multi-Layer Perceptron (MLP), sparse tensors, low-rank tensors, hashtables and their compositions. Each of these representations has its particular set of trade-offs. For example, the hashtable-based representations admit faster training and rendering but their lack of clear geometric meaning hampers downstream tasks like spatial-relation-aware editing. In this paper, we propose Progressive Volume Distillation (PVD), a systematic distillation method that allows anyto-any conversions between different architectures, including MLP, sparse or low-rank tensors, hashtables and their compositions. PVD consequently empowers downstream applications to optimally adapt the neural representations for the task at hand in a post hoc fashion. The conversions are fast, as distillation is progressively performed on different levels of volume representations, from shallower to deeper. We also employ special treatment of density to deal with its specific numerical instability problem. Empirical evidence is presented to validate our method on the NeRF-Synthetic, LLFF and TanksAndTemples datasets. For example, with PVD, an MLP-based NeRF model can be distilled from a hashtablebased Instant-NGP model at a 10×∼20× faster speed than being trained the original NeRF from scratch, while achieving a superior level of synthesis quality. Code is available at https://github.com/megvii-research/AAAI2023-PVD.

For agents

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

get_harvested_code_for_paper("aaai_25135")
get_code_for_paper("aaai_25135")
have("aaai_25135")

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

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

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

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

Connect an agent — have() is free.