SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.04926 · 2024

BAGS: Blur Agnostic Gaussian Splatting through Multi-Scale Kernel Modeling

arXiv · PDF · Open in the Atlas

Code that ran

10 of 11 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; 3 honoured the contract we drafted, 3 violated it and 0 have no contract verdict; 4 failures of our instrument; 1 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/2403.04926.json · badge: /api/ran/2403.04926.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
snldmt/bags canonical (classifier label)
classifier basis: census
10 ran · 1 no recorded run
FunctionStatusWhere it lives
compute_img_metric Ran
ran; our contract draft was wrong, not the code
snldmt/bags/metrics.py
code served (permissive licence) · get_code("4e711f80efbedc1a")
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 float64, ndim 0, 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
import numpy as np
from torch import nn

torch.manual_seed(0)

# Create tiny test tensors: batch_size=2, height=4, width=3, channels=3
# Values in range (0, 1) as required by the function
im1t = torch.rand(2, 4, 3, 3) * 0.5 + 0.25
im2t = torch.rand(2, 4, 3, 3) * 0.5 + 0.25

# Create a mask tensor: batch_size=2, height=4, width=3
mask = torch.ones(2, 4, 3)

ARGS = {
    'im1t': im1t,
    'im2t': im2t,
    'metric': 'mse',
    'margin': 0,
    'mask': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
lpips, numpy, skimage, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
gaussian Ran
ran, honoured the contract we drafted
snldmt/bags/utils/loss_utils.py
code served (permissive licence) · get_code("c56b7ef16f309a45")
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) and returned Tensor, ndim 1, dtype family float, shape (5,) 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
from math import exp

torch.manual_seed(0)

ARGS = {
    "window_size": 5,
    "sigma": 1.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 (5,) — shape (5,) 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
l1_loss Ran
ran; our contract draft was wrong, not the code
snldmt/bags/utils/loss_utils.py
code served (permissive licence) · get_code("ac0e42d6fbcfbbe6")
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)

# Create small tensors for network output and ground truth
# Both should have the same shape for the subtraction and mean operations
network_output = torch.randn(2, 4)  # batch size 2, 4 dimensions
gt = torch.randn(2, 4)  # batch size 2, 4 dimensions

ARGS = {
    "network_output": network_output,
    "gt": gt,
}
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
l2 Ran
ran, violated the contract we drafted
snldmt/bags/lpips/lpips.py
code served (permissive licence) · get_code("cebd4a767f96722b")
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 float32, 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 numpy as np
import torch

# Set seed for reproducibility
torch.manual_seed(0)

# Create two small numpy arrays as inputs
# The function computes L2 distance between normalized versions of p0 and p1
p0 = np.random.rand(2, 4).astype(np.float32) * 255.0
p1 = np.random.rand(2, 4).astype(np.float32) * 255.0

# range parameter with default value
range_val = 255.0

# Construct the ARGS dict with all function parameters
ARGS = {
    "p0": p0,
    "p1": p1,
    "range": range_val
}
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 float32, 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
l2_loss Ran
ran, honoured the contract we drafted
snldmt/bags/utils/loss_utils.py
code served (permissive licence) · get_code("8c3b0f873ba11813")
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

torch.manual_seed(0)

# Create small tensors for network output and ground truth
# Both should have the same shape for the loss computation
# Using batch size 2, feature dimension 4
network_output = torch.randn(2, 4)
gt = torch.randn(2, 4)

ARGS = {
    "network_output": network_output,
    "gt": gt,
}
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
normalize_tensor Ran
ran; our contract draft was wrong, not the code
snldmt/bags/lpips/lpips.py
code served (permissive licence) · get_code("61221a9686133a8c")
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, 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
import torch.nn as nn

torch.manual_seed(0)

# The function normalize_tensor takes in_feat tensor and normalizes it
# It computes the L2 norm along dimension 1 and divides by it
# in_feat should be a 2D tensor (batch_size, feature_dim)

in_feat = torch.randn(2, 4)  # batch_size=2, feature_dim=4

ARGS = {
    "in_feat": in_feat,
    "eps": 1e-10
}
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, 4) — shape (2, 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
psnr Ran
ran, violated the contract we drafted
snldmt/bags/lpips/lpips.py
code served (permissive licence) · get_code("e844cf206c6621e3")
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 float32, 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 numpy as np

# Create two small image arrays with the same shape
# p0 and p1 should be numeric arrays (images or image-like data)
p0 = np.random.rand(2, 4).astype(np.float32) * 255.0
p1 = np.random.rand(2, 4).astype(np.float32) * 255.0

# peak is the maximum possible pixel value (typically 255 for 8-bit images)
peak = 255.0

ARGS = {
    "p0": p0,
    "p1": p1,
    "peak": peak
}
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 float32, 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
qvec2rotmat Ran
ran, violated the contract we drafted
snldmt/bags/scene/colmap_loader.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeoQLi/VA-GS, is pointer only (licence: NONE) · get_code("6ce64cf0fbcd6bb1")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeoQLi/VA-GS, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_next_bytes Ran
ran, honoured the contract we drafted
snldmt/bags/scene/colmap_loader.py
code served (permissive licence) · get_code("56858e04e6fdb2ff")
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) and returned tuple, 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 struct
import io

# Create a binary file-like object with test data
# We'll pack some values and then read them back
test_data = struct.pack('<hfi', 42, 3.14, 100)
fid = io.BytesIO(test_data)

ARGS = {
    'fid': fid,
    'num_bytes': 10,  # 2 bytes (h) + 4 bytes (f) + 4 bytes (i) = 10 bytes
    'format_char_sequence': 'hfi',
    'endian_character': '<'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 tuple, ndim 1, dtype family float — a tuple 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
rotmat2qvec Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
snldmt/bags/scene/colmap_loader.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeoQLi/VA-GS, is pointer only (licence: NONE) · get_code("659bc4e7e63ed8f9")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeoQLi/VA-GS, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

readImages Not yet run
unverified (harvested, no recorded run)
snldmt/bags/metrics.py
code served (permissive licence) · get_code("843a55c41301135a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 6 the same month, 10 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
gaussian 160 other papers
73 dated earlier, 13 the same month, 73 later, 1 same year, order not determinable · 7 only as an assembly brick
1812.11941 (2018-12)
High Quality Monocular Depth Estimation via Transfer Learning
1904.01538 (2019-04)
Spatial Attentive Single-Image Deraining with a High Quality Real Rain Dataset
1907.11628 (2019-07)
Unsupervised Learning for Optical Flow Estimation Using Pyramid Convolution LSTM
and 157 more not named here
l1_loss 93 other papers
24 dated earlier, 10 the same month, 59 later
2308.04079 (2023-08)
3D Gaussian Splatting for Real-Time Radiance Field Rendering
2309.13101 (2023-09)
Deformable 3D Gaussians for High-Fidelity Monocular Dynamic Scene Reconstruction
2310.08528 (2023-10)
4D Gaussian Splatting for Real-Time Dynamic Scene Rendering
and 90 more not named here
l2_loss 90 other papers
25 dated earlier, 9 the same month, 56 later
2308.04079 (2023-08)
3D Gaussian Splatting for Real-Time Radiance Field Rendering
2309.13101 (2023-09)
Deformable 3D Gaussians for High-Fidelity Monocular Dynamic Scene Reconstruction
2310.08528 (2023-10)
4D Gaussian Splatting for Real-Time Dynamic Scene Rendering
and 87 more not named here
read_next_bytes 70 other papers
33 dated earlier, 6 the same month, 31 later
1804.00650 (2018-04)
DeepMVS: Learning Multi-view Stereopsis
1902.10556 (2019-02)
Recurrent MVSNet for High-resolution Multi-view Stereo Depth Inference
1912.06378 (2019-12)
Cascade Cost Volume for High-Resolution Multi-View Stereo and Stereo Matching
and 67 more not named here
qvec2rotmat 39 other papers
15 dated earlier, 5 the same month, 19 later
2205.14870 (2022-05)
Compressible-composable NeRF via Rank-residual Decomposition
2207.10762 (2022-07)
MeshLoc: Mesh-Based Visual Localization
2303.03808 (2023-03)
Multiscale Tensor Decomposition and Rendering Equation Encoding for View Synthesis
and 36 more not named here
rotmat2qvec 34 other papers
9 dated earlier, 5 the same month, 20 later
2310.10642 (2023-10)
Real-time Photorealistic Dynamic Scene Representation and Rendering with 4D Gaussian Splatting
2311.13398 (2023-11)
Depth-Regularized Optimization for 3D Gaussian Splatting in Few-Shot Images
2311.17061 (2023-11)
HumanGaussian: Text-Driven 3D Human Generation with Gaussian Splatting
and 31 more not named here
normalize_tensor 11 other papers
7 dated earlier, 4 later
2002.09219 (2020-02)
Stochastic Latent Residual Video Prediction
2103.16194 (2021-03)
Differentiable Drawing and Sketching
2111.14292 (2021-11)
Deblur-NeRF: Neural Radiance Fields from Blurry Images
and 8 more not named here
compute_img_metric 6 other papers
4 dated earlier, 2 later
2111.14292 (2021-11)
Deblur-NeRF: Neural Radiance Fields from Blurry Images
2211.12046 (2022-11)
DP-NeRF: Deblurred Neural Radiance Field with Physical Scene Priors
2211.12853 (2022-11)
BAD-NeRF: Bundle Adjusted Deblur Neural Radiance Fields
and 3 more not named here
l2 6 other papers
4 dated earlier, 2 later
2002.09219 (2020-02)
Stochastic Latent Residual Video Prediction
2111.14292 (2021-11)
Deblur-NeRF: Neural Radiance Fields from Blurry Images
2211.12046 (2022-11)
DP-NeRF: Deblurred Neural Radiance Field with Physical Scene Priors
and 3 more not named here
psnr 6 other papers
4 dated earlier, 2 later
2002.09219 (2020-02)
Stochastic Latent Residual Video Prediction
2111.14292 (2021-11)
Deblur-NeRF: Neural Radiance Fields from Blurry Images
2211.12046 (2022-11)
DP-NeRF: Deblurred Neural Radiance Field with Physical Scene Priors
and 3 more not named here

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

Recent efforts in using 3D Gaussians for scene reconstruction and novel view synthesis can achieve impressive results on curated benchmarks; however, images captured in real life are often blurry. In this work, we analyze the robustness of Gaussian-Splatting-based methods against various image blur, such as motion blur, defocus blur, downscaling blur, \etc. Under these degradations, Gaussian-Splatting-based methods tend to overfit and produce worse results than Neural-Radiance-Field-based methods. To address this issue, we propose Blur Agnostic Gaussian Splatting (BAGS). BAGS introduces additional 2D modeling capacities such that a 3D-consistent and high quality scene can be reconstructed despite image-wise blur. Specifically, we model blur by estimating per-pixel convolution kernels from a Blur Proposal Network (BPN). BPN is designed to consider spatial, color, and depth variations of the scene to maximize modeling capacity. Additionally, BPN also proposes a quality-assessing mask, which indicates regions where blur occur. Finally, we introduce a coarse-to-fine kernel optimization scheme; this optimization scheme is fast and avoids sub-optimal solutions due to a sparse point cloud initialization, which often occurs when we apply Structure-from-Motion on blurry images. We demonstrate that BAGS achieves photorealistic renderings under various challenging blur conditions and imaging geometry, while significantly improving upon existing approaches.

For agents

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

get_harvested_code_for_paper("2403.04926")
get_code_for_paper("2403.04926")
have("2403.04926")

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

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

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

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

Connect an agent — have() is free.