SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.15864 · NeurIPS · 2024

InterControl: Zero-shot Human Interaction Generation by Controlling Every Joint

Bo Dai, Yixuan Li, Dahua Lin, Jingbo Wang, Zhenzhi Wang

arXiv · PDF · Open in the Atlas

Code that ran

13 of 14 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, 0 violated it and 0 have no contract verdict; 10 failures of our instrument; 1 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/2311.15864.json · badge: /api/ran/2311.15864.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
zhenzhiwang/intercontrol canonical (classifier label)
classifier basis: census
13 ran · 1 no recorded run
FunctionStatusWhere it lives
approx_standard_normal_cdf Ran
ran; our contract draft was wrong, not the code
zhenzhiwang/intercontrol/diffusion/losses.py
pointer only (licence: MIT); the stored copy get_code serves, from quandao10/slct, is pointer only (licence: NONE) · get_code("cfd76fd0d89574a4")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from quandao10/slct, 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.

collate Ran
ran; our contract draft was wrong, not the code
zhenzhiwang/intercontrol/data_loaders/tensors.py
code served (permissive licence) · get_code("d325ed8de87c03ce")
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

torch.manual_seed(0)

# Build a minimal batch for the collate function
# The function expects a list of dicts with 'inp' and optional fields

batch = [
    {
        'inp': torch.randn(2, 4, 8),  # (features, joints, time_steps)
        'lengths': torch.tensor(8),
        'is_transition': torch.tensor(0),
        'length_transition': 2,
        'text': "sample text",
        'other_motion': torch.randn(2, 4, 8),
        'person_id': "person_1",
        'tokens': [1, 2, 3],
        'action': torch.tensor(5),
        'action_text': "walk",
        'action_cat': torch.tensor([1, 0, 1]),
        'action_cat_mask': torch.tensor([1, 1, 1]),
        'act_cat_list': ["cat1", "cat2"],
    },
    {
        'inp': torch.randn(2, 4, 6),  # Different length
        'lengths': torch.tensor(6),
        'is_transition': torch.tensor(1),
        'length_transition': 1,
        'text': "another text",
        'other_motion': torch.randn(2, 4, 6),
        'person_id': "person_2",
        'tokens': [4, 5, 6],
        'action': torch.tensor(3),
        'action_text': "run",
        'action_cat': torch.tensor([0, 1, 0]),
        'action_cat_mask': torch.tensor([1, 1, 1]),
        'act_cat_list': ["cat1", "cat2"],
    },
]

ARGS = {
    'batch': batch
}
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 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
collate_tensors Ran
ran, honoured the contract we drafted
zhenzhiwang/intercontrol/data_loaders/tensors.py
pointer only (licence: MIT); the stored copy get_code serves, from jingyugong/SSOMotion, is pointer only (licence: NONE) · get_code("0b9f005ecb737755")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from jingyugong/SSOMotion, 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.

discretized_gaussian_log_likelihood Ran
ran; our contract draft was wrong, not the code
zhenzhiwang/intercontrol/diffusion/losses.py
pointer only (licence: MIT); the stored copy get_code serves, from quandao10/slct, is pointer only (licence: NONE) · get_code("cd33283d615fb3d7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from quandao10/slct, 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.

get_control_mask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhenzhiwang/intercontrol/data_loaders/humanml_utils.py
code served (permissive licence) · get_code("aa453766c0aaa730")
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 4, dtype family float, shape (2, 22, 3, 8) 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

# Set seed for reproducibility
np.random.seed(0)

# Define ARGS dict with all parameters for get_control_mask
ARGS = {
    'mask_name': 'global_joint',
    'shape': (2, 22, 3, 8),  # (batch_size=2, num_joint=22, joint_dim=3, seq_len=8)
    'joint': 'pelvis',
    'ratio': 0.75,
    'dataset': 'humanml'
}
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 4, dtype family float, shape (2, 22, 3, 8) — shape (2, 22, 3, 8) 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_global_joint_mask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhenzhiwang/intercontrol/data_loaders/humanml_utils.py
code served (permissive licence) · get_code("da6f76778a57fb5e")
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 4, dtype family float, shape (2, 22, 3, 8) 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

# Set seed for reproducibility
np.random.seed(0)

# Define ARGS dictionary with valid arguments for get_global_joint_mask
ARGS = {
    'shape': (2, 22, 3, 8),  # (batch_size=2, num_joint=22, joint_dim=3, seq_len=8)
    'joint': 'pelvis',  # One of the valid joint names
    'ratio': 0.75,  # Ratio of sequence to select (between 0 and 1)
    'dataset': 'humanml'  # Dataset type
}
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 4, dtype family float, shape (2, 22, 3, 8) — shape (2, 22, 3, 8) 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_param_groups_and_shapes Ran
ran; our contract draft was wrong, not the code
zhenzhiwang/intercontrol/diffusion/fp16_util.py
pointer only (licence: MIT); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e41367ad14ff58fd")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ZhendongWang6/DIRE, 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.

lengths_to_mask Ran
ran; our contract draft was wrong, not the code
zhenzhiwang/intercontrol/data_loaders/tensors.py
pointer only (licence: MIT); the stored copy get_code serves, from jingyugong/SSOMotion, is pointer only (licence: NONE) · get_code("80c46a6e9bfa68f7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from jingyugong/SSOMotion, 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.

make_master_params Ran
ran; our contract draft was wrong, not the code
zhenzhiwang/intercontrol/diffusion/fp16_util.py
pointer only (licence: MIT); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e20dd5102da3b050")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ZhendongWang6/DIRE, 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.

normal_kl Ran
ran, honoured the contract we drafted
zhenzhiwang/intercontrol/diffusion/losses.py
pointer only (licence: MIT); the stored copy get_code serves, from facebookresearch/agrol, is pointer only (licence: NOASSERTION) · get_code("cf2798b666b231ca")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from facebookresearch/agrol, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

select_random_indices Ran
ran, honoured the contract we drafted
zhenzhiwang/intercontrol/data_loaders/humanml_utils.py
code served (permissive licence) · get_code("90ac6fb185f58aba")
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 int, 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 numpy as np

# Set random seed for reproducibility
np.random.seed(0)

# Define arguments for select_random_indices
# bs: batch size (number of sequences)
# seq_len: length of sequence to sample from
# num_selected: number of indices to select from each sequence

ARGS = {
    "bs": 2,           # batch size: 2 sequences
    "seq_len": 10,     # sequence length: sample from indices 0-9
    "num_selected": 3  # select 3 random indices from each sequence
}
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 int, 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
unflatten_master_params Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhenzhiwang/intercontrol/diffusion/fp16_util.py
pointer only (licence: MIT); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("64fff1e30802b815")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ZhendongWang6/DIRE, 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.

wrap_model Ran
ran; our contract draft was wrong, not the code
zhenzhiwang/intercontrol/model/cfg_sampler.py
code served (permissive licence) · get_code("a278ca5381032e45")
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 ClassifierFreeSampleModel. 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
from copy import deepcopy

torch.manual_seed(0)

# Create a minimal mock model that satisfies the usage in wrap_model
class MockDiffusionModel(nn.Module):
    def __init__(self, cond_mask_prob=0.1):
        super().__init__()
        self.cond_mask_prob = cond_mask_prob
        self.linear = nn.Linear(4, 4)
    
    def forward(self, x, timesteps, y=None):
        # Just return a simple output tensor
        return self.linear(x)

# Create the base model with cond_mask_prob > 0
base_model = MockDiffusionModel(cond_mask_prob=0.1)

# Create a simple args object
class Args:
    def __init__(self, guidance_param):
        self.guidance_param = guidance_param

# Test with different guidance_param values
args_classifier_free = Args(guidance_param=0.5)

ARGS = {
    "model": base_model,
    "args": args_classifier_free
}
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 ClassifierFreeSampleModel — a ClassifierFreeSampleModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ClassifierFreeSampleModel 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
get_dataset_class Not yet run
unverified (harvested, no recorded run)
zhenzhiwang/intercontrol/data_loaders/get_data.py
code served (permissive licence) · get_code("8f06f646695f36e4")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 8 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 6 the same month, 8 later) and 6 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
normal_kl 160 other papers
64 dated earlier, 5 the same month, 89 later, 2 same year, order not determinable · 19 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 157 more not named here
approx_standard_normal_cdf 154 other papers
62 dated earlier, 5 the same month, 85 later, 2 same year, order not determinable · 17 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 151 more not named here
discretized_gaussian_log_likelihood 128 other papers
62 dated earlier, 5 the same month, 59 later, 2 same year, order not determinable · 16 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 125 more not named here
unflatten_master_params 72 other papers
29 dated earlier, 2 the same month, 40 later, 1 same year, order not determinable
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 69 more not named here
make_master_params 70 other papers
28 dated earlier, 2 the same month, 39 later, 1 same year, order not determinable
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 67 more not named here
get_param_groups_and_shapes 68 other papers
26 dated earlier, 2 the same month, 39 later, 1 same year, order not determinable
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 65 more not named here
collate_tensors 4 other papers
1 dated earlier, 3 later
2310.12978 (2023-10)
HumanTOMATO: Text-aligned Whole-body Motion Generation
2401.01885 (2024-01)
From Audio to Photoreal Embodiment: Synthesizing Humans in Conversations
2403.11882 (2024-03)
ReGenNet: Towards Human Action-Reaction Synthesis
and 1 more not named here
lengths_to_mask 4 other papers
4 later
2312.00063 (2023-12)
MoMask: Generative Masked Modeling of 3D Human Motions
2401.01885 (2024-01)
From Audio to Photoreal Embodiment: Synthesizing Humans in Conversations
2403.11882 (2024-03)
ReGenNet: Towards Human Action-Reaction Synthesis
and 1 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

Text-conditioned motion synthesis has made remarkable progress with the emergence of diffusion models. However, the majority of these motion diffusion models are primarily designed for a single character and overlook multi-human interactions. In our approach, we strive to explore this problem by synthesizing human motion with interactions for a group of characters of any size in a zero-shot manner. The key aspect of our approach is the adaptation of human-wise interactions as pairs of human joints that can be either in contact or separated by a desired distance. In contrast to existing methods that necessitate training motion generation models on multi-human motion datasets with a fixed number of characters, our approach inherently possesses the flexibility to model human interactions involving an arbitrary number of individuals, thereby transcending the limitations imposed by the training data. We introduce a novel controllable motion generation method, InterControl, to encourage the synthesized motions maintaining the desired distance between joint pairs. It consists of a motion controller and an inverse kinematics guidance module that realistically and accurately aligns the joints of synthesized characters to the desired location. Furthermore, we demonstrate that the distance between joint pairs for human-wise interactions can be generated using an off-the-shelf Large Language Model (LLM). Experimental results highlight the capability of our framework to generate interactions with multiple human characters and its potential to work with off-the-shelf physics-based character simulators. Code is available at https://github.com/zhenzhiwang/intercontrol.

For agents

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

get_harvested_code_for_paper("2311.15864")
get_code_for_paper("2311.15864")
have("2311.15864")

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

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

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

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

Connect an agent — have() is free.