SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.12231 · 2025

PUGS: Zero-shot Physical Understanding with Gaussian Splatting

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 0 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/2502.12231.json · badge: /api/ran/2502.12231.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
evernorif/pugs canonical (classifier label)
classifier basis: classifier_2025
5 ran · 0 no recorded run
FunctionStatusWhere it lives
get_agg_patch_features Ran
ran; our contract draft was wrong, not the code
evernorif/pugs/predict_property.py
code served (permissive licence) · get_code("d866a312e8453975")
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. 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)

# patch_features: shape (n_patches, n_views, feature_dim)
# is_visible: shape (n_patches, n_views)
# The function:
# - sums is_visible over dimension 0 to get n_visible with shape (n_views,)
# - multiplies patch_features by is_visible.unsqueeze(-1) to mask patches
# - sums over dimension 0 and divides by n_visible
# - normalizes by norm along dimension 1
# - indexes with is_valid which has shape (n_views,)

n_patches = 5
n_views = 3
feature_dim = 4

patch_features = torch.randn(n_patches, n_views, feature_dim)
is_visible = torch.randint(0, 2, (n_patches, n_views)).float()

ARGS = {
    "patch_features": patch_features,
    "is_visible": is_visible,
}
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 tuple — a tuple output has no array shape of its own; none is 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
get_interpolated_values Ran
ran; our contract draft was wrong, not the code
evernorif/pugs/predict_property.py
code served (permissive licence) · get_code("ade899ad23692b8f")
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 2, dtype family float, shape (3, 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 small tensors for testing
# source_pts: points in source space, shape (n_source, spatial_dim)
# source_vals: values at source points, shape (n_source, value_dim)
# inner_pts: points where we want to interpolate, shape (n_inner, spatial_dim)

n_source = 5
n_inner = 3
spatial_dim = 4
value_dim = 3

source_pts = torch.randn(n_source, spatial_dim)
source_vals = torch.randn(n_source, value_dim)
inner_pts = torch.randn(n_inner, spatial_dim)

ARGS = {
    "source_pts": source_pts,
    "source_vals": source_vals,
    "inner_pts": inner_pts,
    "batch_size": 2,
    "k": 2,
}
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 2, dtype family float, shape (3, 3) — shape (3, 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
get_text_features Ran
ran, honoured the contract we drafted
evernorif/pugs/predict_property.py
code served (permissive licence) · get_code("d5423305a9c9d54c")
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 2, dtype family float, shape (2, 4) 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
import torch.nn as nn

torch.manual_seed(0)

# Stand-in CLIP model that implements encode_text
class MockCLIPModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.text_projection = nn.Linear(8, 4)
    
    def encode_text(self, tokenized):
        # tokenized is expected to have shape (batch_size, seq_len)
        # Return text features of shape (batch_size, feature_dim)
        batch_size = tokenized.shape[0]
        # Create dummy features
        features = torch.randn(batch_size, 4)
        return features

# Stand-in tokenizer that returns a tensor-like object
class MockTokenizer:
    def __call__(self, texts):
        # Return a mock tokenized tensor of shape (batch_size, seq_len)
        batch_size = len(texts)
        seq_len = 8
        tokenized = torch.randint(0, 100, (batch_size, seq_len))
        # Add a .to() method to make it compatible with the function
        tokenized.to = lambda device: tokenized
        return tokenized

# Create instances
clip_model = MockCLIPModel()
clip_tokenizer = MockTokenizer()
texts = ["a dog", "a cat"]

ARGS = {
    'texts': texts,
    'clip_model': clip_model,
    'clip_tokenizer': clip_tokenizer,
    'prefix': 'A photo of ',
    'suffix': '.',
    'device': 'cpu'
}
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 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
gpt_wrapper Ran
ran; our contract draft was wrong, not the code
evernorif/pugs/material_proposal.py
code served (permissive licence) · get_code("8e5cb76000cb54a0")
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 str. 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 time

BASE_SEED = 100

def gpt_wrapper(gpt_fn, parse_fn, max_tries=10, sleep_time=3):
    """Wrap gpt_fn with error handling and retrying."""
    tries = 0
    time.sleep(sleep_time)
    try:
        gpt_response = gpt_fn(BASE_SEED + tries)
        result = parse_fn(gpt_response)
    except Exception as error:
        print('error:', error)
        result = None
    while result is None and tries < max_tries:
        tries += 1
        time.sleep(sleep_time)
        print('retrying...')
        try:
            gpt_response = gpt_fn(BASE_SEED + tries)
            result = parse_fn(gpt_response)
        except:
            result = None
    return gpt_response


def mock_gpt_fn(seed):
    """Mock GPT function that takes a seed and returns a response string."""
    return f"Mock response with seed {seed}"


def mock_parse_fn(response):
    """Mock parse function that parses the response."""
    if "Mock response" in response:
        return {"parsed": True, "content": response}
    return None


ARGS = {
    "gpt_fn": mock_gpt_fn,
    "parse_fn": mock_parse_fn,
    "max_tries": 10,
    "sleep_time": 0.001
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
run_python_script Ran
ran, honoured the contract we drafted
evernorif/pugs/gs_reconstruction.py
code served (permissive licence) · get_code("be2d95f194719d08")
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 int, ndim 0, dtype family int, 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 subprocess

def run_python_script(script_name, args=None, run_as_module=True):
    if args is None:
        args = []
    run_cmd = ['python', '-m'] if run_as_module else ['python']
    run_cmd.extend([script_name] + args)
    print(f"exec: {' '.join(run_cmd)}")
    try:
        result = subprocess.run(run_cmd)
        if result.stderr:
            print('stderr:', result.stderr.strip())
        return result.returncode
    except subprocess.CalledProcessError as e:
        print('Error occurred while running script:', script_name)
        print('stdout:', e.stdout)
        print('stderr:', e.stderr)
        print('returncode:', e.returncode)
        return e.returncode
    except FileNotFoundError as e:
        print('Error: script not found:', script_name)
        print(e)
        return -1
    except Exception as e:
        print('An unexpected error occurred')
        print(e)
        return -1


ARGS = {
    'script_name': 'my_script',
    'args': ['--verbose', '--output', 'results.txt'],
    'run_as_module': False
}
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 int, ndim 0, dtype family int, 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 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 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 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.

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

Current robotic systems can understand the categories and poses of objects well. But understanding physical properties like mass, friction, and hardness, in the wild, remains challenging. We propose a new method that reconstructs 3D objects using the Gaussian splatting representation and predicts various physical properties in a zero-shot manner. We propose two techniques during the reconstruction phase: a geometry-aware regularization loss function to improve the shape quality and a region-aware feature contrastive loss function to promote region affinity. Two other new techniques are designed during inference: a feature-based property propagation module and a volume integration module tailored for the Gaussian representation. Our framework is named as zero-shot physical understanding with Gaussian splatting, or PUGS. PUGS achieves new state-of-the-art results on the standard benchmark of ABO-500 mass prediction. We provide extensive quantitative ablations and qualitative visualization to demonstrate the mechanism of our designs. We show the proposed methodology can help address challenging real-world grasping tasks. Our codes, data, and models are available at https://github.com/EverNorif/PUGS

For agents

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

get_harvested_code_for_paper("2502.12231")
get_code_for_paper("2502.12231")
have("2502.12231")

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

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

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

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

Connect an agent — have() is free.