SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.05280 · NeurIPS · 2025

Unifying Appearance Codes and Bilateral Grids for Driving Scene Gaussian Splatting

Bohan Li, Hao Zhao, Sjtu, Lei Lei, Zhaoxi Chen, Tianfan Xue, Nan Wang, Yuantao Chen, Lixing Xiao, Weiqing Xiao, Chongjie Ye, Shaocong Xu, and 5 more

arXiv · PDF · Open in the Atlas

Code that ran

6 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 4 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/2506.05280.json · badge: /api/ran/2506.05280.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
bigcileng/bilateral-driving marked official in Papers with Code
Papers with Code archive
6 ran · 2 no recorded run
FunctionStatusWhere it lives
BilateralGrid Ran
ran on a synthesized input · constructed an object; no result was computed
bigcileng/bilateral-driving/project/models/modules.py
code served (permissive licence) · get_code("a4c9053b8a46f451")
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, BilateralGrid: 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 = {
    'num': 2,
    'grid_X': 16,
    'grid_Y': 16,
    'grid_W': 8,
    'mode': 'bilinear'
}
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 BilateralGrid — 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 BilateralGrid 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
_num_tensor_elems Ran
ran; our contract draft was wrong, not the code
bigcileng/bilateral-driving/project/models/modules.py
code served (permissive licence) · get_code("041f2e2efd46f8b0")
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

torch.manual_seed(0)

# The function takes a single parameter 't' which must be a tensor
# It calls t.size() to get dimensions, accesses [1:] to skip the first dimension,
# converts to tensor, computes product, and calls .item()
# So 't' needs to be a torch.Tensor with at least 2 dimensions

t = torch.randn(2, 4, 3)

ARGS = {
    "t": t
}
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 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
affine_to_homogeneous_batch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
bigcileng/bilateral-driving/project/models/modules.py
code served (permissive licence) · get_code("8a411e38373f8306")
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 5, dtype family float, shape (2, 3, 4, 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 torch

torch.manual_seed(0)

# Create a small batch of affine matrices
# Shape: (batch_size=2, h=3, w=4, 3, 4)
# These are 3x4 affine transformation matrices
batch_size = 2
h = 3
w = 4
affine_matrices = torch.randn(batch_size, h, w, 3, 4)

ARGS = {
    "affine_matrices": affine_matrices
}
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 5, dtype family float, shape (2, 3, 4, 4, 4) — shape (2, 3, 4, 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
color_affine_transform Ran
ran; our contract draft was wrong, not the code
bigcileng/bilateral-driving/project/models/modules.py
code served (permissive licence) · get_code("9342b494b957247c")
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, 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)

# Create affine transformation matrices with shape (..., 3, 4)
# Using batch shape (2, 4) to have distinct dimensions
affine_mats = torch.randn(2, 4, 3, 4)

# Create RGB values with shape (..., 3)
# Matching the batch shape (2, 4) for broadcasting
rgb = torch.randn(2, 4, 3)

ARGS = {
    "affine_mats": affine_mats,
    "rgb": rgb,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 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
slice Ran
ran; our contract draft was wrong, not the code
bigcileng/bilateral-driving/project/models/modules.py
code served (permissive licence) · get_code("8e047737936ef53a")
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 torch
import torch.nn as nn

torch.manual_seed(0)

class BilateralGridMock(nn.Module):
    """Mock BilateralGrid that returns affine transformation matrices."""
    
    def __init__(self, num_grids=2):
        super().__init__()
        self.num_grids = num_grids
    
    def forward(self, xy, rgb, grid_idx):
        """
        Args:
            xy: (..., 2) tensor
            rgb: (..., 3) tensor
            grid_idx: (...,) or scalar tensor with grid indices
        
        Returns:
            affine_mats: (..., 3, 4) tensor
        """
        # Determine output shape based on xy
        batch_shape = xy.shape[:-1]
        
        # Return dummy affine matrices of shape (..., 3, 4)
        # Each affine mat: 3x3 identity + 3x1 bias
        affine_mats = torch.zeros(*batch_shape, 3, 4)
        # Set 3x3 part to identity
        affine_mats[..., 0, 0] = 1.0
        affine_mats[..., 1, 1] = 1.0
        affine_mats[..., 2, 2] = 1.0
        # Set bias term to small values
        affine_mats[..., 3] = 0.1
        
        return affine_mats

# Create test data for 2D case
bil_grids = BilateralGridMock(num_grids=2)

# 2D case: (N, 2), (N, 3), (N, 1)
xy_2d = torch.rand(2, 2)
rgb_2d = torch.rand(2, 3)
grid_idx_2d = torch.tensor([[0], [1]], dtype=torch.long)

# 3D case: (B, H, 2), (B, H, 3), (B, H, 1)
xy_3d = torch.rand(2, 3, 2)
rgb_3d = torch.rand(2, 3, 3)
grid_idx_3d = torch.tensor([[0, 1, 0], [1, 0, 1]], dtype=torch.long).unsqueeze(-1)

# 4D case: (B, H, W, 2), (B, H, W, 3), (B, H, W, 1)
xy_4d = torch.rand(2, 3, 4, 2)
rgb_4d = torch.rand(2, 3, 4, 3)
grid_idx_4d = torch.tensor([[[[0], [1], [0], [1]], [[1], [0], [1], [0]], [[0], [1], [0], [1]]], 
                             [[[1], [0], [1], [0]], [[0], [1], [0], [1]], [[1], [0], [1], [0]]]], dtype=torch.long)

ARGS = {
    'bil_grids': bil_grids,
    'xy': xy_2d,
    'rgb': rgb_2d,
    'grid_idx': grid_idx_2d
}
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 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
total_variation_loss Ran
ran, honoured the contract we drafted
bigcileng/bilateral-driving/project/models/modules.py
code served (permissive licence) · get_code("033dcc84593cabda")
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

torch.manual_seed(0)

# The function takes a tensor x with shape (B, C, ...) where B is batch size
# and C is channel size. The function computes total variation loss by
# iterating over dimensions starting from index 2.
# We need a multi-dimensional tensor with at least 3 dimensions.

x = torch.randn(2, 3, 4, 5)  # (batch=2, channels=3, dim1=4, dim2=5)

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 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
MultiScaleBilateralAffineTransform Not yet run
unverified (harvested, no recorded run)
bigcileng/bilateral-driving/project/models/modules.py
code served (permissive licence) · get_code("49aba61b13da6bbd")
How it ran

no invocation recorded.

fill_matrix_res Not yet run
unverified (harvested, no recorded run)
bigcileng/bilateral-driving/project/models/modules.py
code served (permissive licence) · get_code("c716d5c906813d5b")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 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 8 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

Temporal View Variation Inter-Camera Variation (a) Appearance code (b) Bilateral Grid (c) Multi-Scale Bilateral Gird Global Affine Transformation Pixel-wise Transformation Patch-wise Transformation Guidance 𝑡𝑡 𝑚𝑚 𝑡𝑡 𝑛𝑛 Optimization-friendly Modeling capability Guidance (a) (b) (c) High Low CD 1.478 CD 2.136 CD 1.844 (a) (b) (c) Figure 1: Unifying appearance codes and bilateral grids. (a) Appearance codes rely on global affine transformations but have limited modeling capability. (b) Bilateral grids perform pixel-wise transformations, improving photometric consistency but are challenging to optimize. (c) The proposed multi-scale bilateral grid unifies both paradigms, enabling patch-wise transformations.

For agents

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

get_harvested_code_for_paper("2506.05280")
get_code_for_paper("2506.05280")
have("2506.05280")

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

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

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

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

Connect an agent — have() is free.