SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.18448 · 2023

HOLD: Category-agnostic 3D Reconstruction of Interacting Hands and Objects from Video

arXiv · PDF · Open in the Atlas

Code that ran

8 of 10 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 0 have no contract verdict; 8 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/2311.18448.json · badge: /api/ran/2311.18448.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
zc-alexfan/hold canonical (classifier label)
classifier basis: census
8 ran · 2 no recorded run
FunctionStatusWhere it lives
get_eikonal_loss Ran
ran; our contract draft was wrong, not the code
zc-alexfan/hold/code/src/hold/loss_terms.py
code served (permissive licence) · get_code("79ebb788144c5378")
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 expects grad_theta to be a tensor with a norm() method
# and support for dim parameter. It computes the norm along the last dimension,
# so we need a tensor with shape (batch_size, ..., feature_dim)
# Using shape (2, 4) - batch of 2, feature dimension of 4

grad_theta = torch.randn(2, 4, requires_grad=False)

ARGS = {
    "grad_theta": grad_theta,
}
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_rgb_loss Ran
ran; our contract draft was wrong, not the code
zc-alexfan/hold/code/src/hold/loss_terms.py
code served (permissive licence) · get_code("fb3b5855ba2c304d")
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)

# Analyze the function to determine shapes:
# - rgb_values and rgb_gt: used in l1_loss, so same shape
# - valid_pix: shape[0] matches rgb_loss.shape[0], which is rgb_values.shape[0]
# - scores: shape[0] is used to compute num_pix = rgb_loss.shape[0] // scores.shape[0]
#
# Let's say:
# - scores has shape (2,) - batch size 2
# - num_pix = 6, so rgb_loss.shape[0] = 2 * 6 = 12
# - rgb_values and rgb_gt have shape (12, 3) - 12 pixels, 3 channels
# - valid_pix has shape (12,) - one validity flag per pixel

batch_size = 2
num_pix = 6
total_pixels = batch_size * num_pix
num_channels = 3

rgb_values = torch.randn(total_pixels, num_channels)
rgb_gt = torch.randn(total_pixels, num_channels)
valid_pix = torch.ones(total_pixels)
scores = torch.randn(batch_size)

ARGS = {
    'rgb_values': rgb_values,
    'rgb_gt': rgb_gt,
    'valid_pix': valid_pix,
    'scores': scores
}
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
merge_batch Ran
ran; our contract draft was wrong, not the code
zc-alexfan/hold/code/visualize_ckpt.py
code served (permissive licence) · get_code("3c4a67bddfb11954")
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 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
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - merge_batch takes batch_list (a list)
# - Each batch is a tuple with 2 elements: batch[0] (a dict) and batch[1] (data)
# - batch[0] should be a dict (meshes) that can be updated
# - batch[1] is data_gt (ground truth data)
# - The function returns (meshes_dict, data_gt)

# Create sample batches
batch_1 = (
    {"mesh_1": torch.randn(2, 4)},  # dict of meshes
    torch.randn(2, 3)  # ground truth data
)

batch_2 = (
    {"mesh_2": torch.randn(2, 4)},  # another dict of meshes
    torch.randn(2, 3)  # another ground truth data
)

batch_3 = (
    {"mesh_3": torch.randn(2, 4)},  # third dict of meshes
    torch.randn(2, 3)  # third ground truth data
)

# Test case 1: single batch (len == 1)
batch_list_single = [batch_1]

# Test case 2: multiple batches
batch_list_multiple = [batch_1, batch_2, batch_3]

ARGS = {
    "batch_list": batch_list_multiple
}
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 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
prepare_batch Ran
ran; our contract draft was wrong, not the code
zc-alexfan/hold/code/src/hold/hold_utils.py
code served (permissive licence) · get_code("b81e9be8460937e1")
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 DictLike. 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 DictLike:
    def __init__(self, data=None):
        self.data = data if data is not None else {}
    
    def merge(self, other):
        if isinstance(other, dict):
            self.data.update(other)
        elif hasattr(other, 'data') and isinstance(other.data, dict):
            self.data.update(other.data)
    
    def __setitem__(self, key, value):
        self.data[key] = value
    
    def __getitem__(self, key):
        return self.data[key]

# Create instances
inputs = DictLike({'input_ids': torch.randn(2, 4), 'attention_mask': torch.ones(2, 4)})
params_h = {'hidden_dim': 64, 'num_layers': 2}
params_o = {'output_dim': 10, 'dropout': 0.1}
current_epoch = 5
global_step = 1000

ARGS = {
    'inputs': inputs,
    'params_h': params_h,
    'params_o': params_o,
    'current_epoch': current_epoch,
    'global_step': global_step
}
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 DictLike — a DictLike output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DictLike 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
query_oc Ran
ran; our contract draft was wrong, not the code
zc-alexfan/hold/code/src/hold/hold_utils.py
code served (permissive licence) · get_code("08b3ce7c502b084b")
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)

# Create a minimal implicit function that takes x and cond and outputs shape (batch, channels, 1)
class ImplicitFunction(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4 + 3, 8)  # x_dim=4, cond_dim=3
        self.output = nn.Linear(8, 1)
    
    def forward(self, x, cond):
        # x shape: (batch, 4)
        # cond shape: (batch, 3)
        combined = torch.cat([x, cond], dim=1)
        hidden = self.linear(combined)
        out = self.output(hidden)
        # Return shape (batch, 1, 1) to match what query_oc expects
        return out.unsqueeze(2)

implicit_fn = ImplicitFunction()
x = torch.randn(2, 4)  # batch=2, dim=4
cond = torch.randn(2, 3)  # batch=2, dim=3

ARGS = {
    'implicit_fn': implicit_fn,
    'x': x,
    'cond': cond
}
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
read_json_file Ran
ran; our contract draft was wrong, not the code
zc-alexfan/hold/code/summarize_metrics.py
code served (permissive licence) · get_code("9a08e7d923fb1f50")
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 json
import tempfile
import os

# Create a temporary JSON file with some test data
temp_dir = tempfile.mkdtemp()
json_file_path = os.path.join(temp_dir, "test_data.json")

# Write test data to the JSON file
test_data = {
    "count": 42,
    "value": 3.14,
    "name": "test",
    "ratio": 2.5,
    "flag": True
}

with open(json_file_path, 'w') as f:
    json.dump(test_data, f)

ARGS = {
    "file_path": json_file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 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
seal_mano_mesh_np Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zc-alexfan/hold/common/body_models.py
code served (permissive licence) · get_code("548c24904ea6a4d8")
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 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 numpy as np

# Create small test data
batch_size = 2
num_vertices = 779  # 778 regular vertices + 1 center vertex
vertex_dim = 3

# v3d: shape (batch_size, num_vertices, vertex_dim)
# The function uses v3d[:, CIRCLE_V_ID] which indexes into the vertex dimension
v3d = np.random.randn(batch_size, num_vertices, vertex_dim).astype(np.float32)

# faces: shape (num_faces, 3)
# Regular MANO hand mesh has around 1538 faces
num_faces = 100
faces = np.random.randint(0, num_vertices, size=(num_faces, 3)).astype(np.int64)

# is_rhand: boolean flag
is_rhand = True

ARGS = {
    "v3d": v3d,
    "faces": faces,
    "is_rhand": is_rhand
}
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 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
seal_mano_v Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zc-alexfan/hold/common/body_models.py
code served (permissive licence) · get_code("7bda5fb949cda1f5")
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, 281, 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
import numpy as np

torch.manual_seed(0)

# The function seal_mano_v takes v3d as input
# v3d is indexed with [:, CIRCLE_V_ID] which means:
#   - First dimension is batch
#   - Second dimension is vertices
# Then it uses .mean(dim=1) which averages over dimension 1
# Then it concatenates along dim=1
# So v3d should be shape (batch_size, num_vertices, 3) for 3D coordinates

# Create a small tensor: batch_size=2, num_vertices=280 (enough to cover CIRCLE_V_ID max index 279), coords=3
batch_size = 2
num_vertices = 280
coord_dim = 3

v3d = torch.randn(batch_size, num_vertices, coord_dim)

ARGS = {
    "v3d": v3d
}
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, 281, 3) — shape (2, 281, 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_bce_loss Not yet run
unverified (harvested, no recorded run)
zc-alexfan/hold/code/src/hold/loss_terms.py
code served (permissive licence) · get_code("7309fbc673054ccf")
How it ran

no invocation recorded.

seal_mano_mesh Not yet run
unverified (harvested, no recorded run)
zc-alexfan/hold/common/body_models.py
code served (permissive licence) · get_code("807a66a49a240f7d")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 9 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
seal_mano_mesh 1 other paper
1 later
2402.14810 (2024-02)
GeneOH Diffusion: Towards Generalizable Hand-Object Interaction Denoising via Denoising Diffusion

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

Since humans interact with diverse objects every day, the holistic 3D capture of these interactions is important to understand and model human behaviour. However, most existing methods for hand-object reconstruction from RGB either assume pre-scanned object templates or heavily rely on limited 3D hand-object data, restricting their ability to scale and generalize to more unconstrained interaction settings. To this end, we introduce HOLD -- the first category-agnostic method that reconstructs an articulated hand and object jointly from a monocular interaction video. We develop a compositional articulated implicit model that can reconstruct disentangled 3D hand and object from 2D images. We also further incorporate hand-object constraints to improve hand-object poses and consequently the reconstruction quality. Our method does not rely on 3D hand-object annotations while outperforming fully-supervised baselines in both in-the-lab and challenging in-the-wild settings. Moreover, we qualitatively show its robustness in reconstructing from in-the-wild videos. Code: https://github.com/zc-alexfan/hold

For agents

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

get_harvested_code_for_paper("2311.18448")
get_code_for_paper("2311.18448")
have("2311.18448")

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

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

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

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

Connect an agent — have() is free.