SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2409.10473 · ECCV · 2024

MacDiff: Unified Skeleton Modeling with Masked Conditional Diffusion

Jiaying Liu, Yiyang Ma, Jiahang Zhang, Lilang Lin, Lehong Wu

arXiv · PDF · Open in the Atlas

Code that ran

8 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (6 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 1 failure of our instrument; 4 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/2409.10473.json · badge: /api/ran/2409.10473.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
LehongWu/MacDiff community
Papers with Code archive
8 ran · 4 no recorded run
FunctionStatusWhere it lives
Attention Ran
ran on a synthesized input
LehongWu/MacDiff/model/transformer_macdiff.py
pointer only (licence: NONE) · get_code("c41cf977fcc5f5cb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LehongWu/MacDiff 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.

Block Ran
ran on a synthesized input · constructed an object; no result was computed
LehongWu/MacDiff/model/transformer_macdiff.py
pointer only (licence: NONE) · get_code("d87bd702280998e1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LehongWu/MacDiff 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.

DecoderBlock Ran
ran on a synthesized input · constructed an object; no result was computed
LehongWu/MacDiff/model/transformer_macdiff.py
pointer only (licence: NONE) · get_code("f035f943e5114e94")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LehongWu/MacDiff 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.

FeatureModulation Ran
ran on a synthesized input · constructed an object; no result was computed
LehongWu/MacDiff/model/transformer_macdiff.py
pointer only (licence: NONE) · get_code("0096ff0f534391b0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LehongWu/MacDiff 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.

GaussianDiffusion Ran
ran on a synthesized input · constructed an object; no result was computed
LehongWu/MacDiff/model/transformer_macdiff.py
pointer only (licence: NONE) · get_code("44ea42448b5bf98c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LehongWu/MacDiff 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.

SkeleEmbed Ran
ran on a synthesized input · constructed an object; no result was computed
LehongWu/MacDiff/model/transformer_macdiff.py
pointer only (licence: NONE) · get_code("71aeba8837a31bba")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LehongWu/MacDiff 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.

UniformSampler Ran
ran on a synthesized input · constructed an object; no result was computed
LehongWu/MacDiff/model/transformer_macdiff.py
pointer only (licence: NONE) · get_code("391ceeaed087e497")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LehongWu/MacDiff 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.

space_timesteps Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
LehongWu/MacDiff/model/transformer_macdiff.py
pointer only (licence: NONE) · get_code("9b6e4e070473e76f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LehongWu/MacDiff 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.

ScheduleSampler Not yet run
unverified (harvested, no recorded run)
LehongWu/MacDiff/model/transformer_macdiff.py
pointer only (licence: NONE) · get_code("9cc3dab0e22fbf67")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LehongWu/MacDiff 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. No invocation recorded.

SpacedDiffusion Not yet run
unverified (harvested, no recorded run)
LehongWu/MacDiff/model/transformer_macdiff.py
pointer only (licence: NONE) · get_code("9a13449b9c6b302b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LehongWu/MacDiff 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. No invocation recorded.

Transformer Not yet run
unverified (harvested, no recorded run)
LehongWu/MacDiff/model/transformer_macdiff.py
pointer only (licence: NONE) · get_code("2d91a1ea1d185ce8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LehongWu/MacDiff 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. No invocation recorded.

create_gaussian_diffusion Not yet run
unverified (harvested, no recorded run)
LehongWu/MacDiff/model/transformer_macdiff.py
pointer only (licence: NONE) · get_code("9bb0960c615d2f3e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LehongWu/MacDiff 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. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 1 the same month, 2 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
space_timesteps
brick of this paper's assembly: helper
57 other papers
39 dated earlier, 3 the same month, 15 later · 2 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
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
and 54 more not named here
SpacedDiffusion
brick of this paper's assembly: helper
7 other papers
5 dated earlier, 2 later
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2202.00512 (2022-02)
PROGRESSIVE DISTILLATION FOR FAST SAMPLING OF DIFFUSION MODELS
2203.08382 (2022-03)
Dual Diffusion Implicit Bridges for Image-to-Image Translation
and 4 more not named here
ScheduleSampler
brick of this paper's assembly: helper
2 other papers
2 dated earlier
2204.00227 (2022-04)
Perception Prioritized Training of Diffusion Models
2310.11320 (2023-10)
Towards Generic Semi-Supervised Framework for Volumetric Medical Image Segmentation
Attention
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2308.07092 (2023-08)
Masked Motion Predictors are Strong 3D Action Representation Learners
Block
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2308.07092 (2023-08)
Masked Motion Predictors are Strong 3D Action Representation Learners
SkeleEmbed
brick of this paper's assembly: data_transform
1 other paper
1 dated earlier · 1 only as an assembly brick
2308.07092 (2023-08)
Masked Motion Predictors are Strong 3D Action Representation Learners

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

Self-supervised learning has proved effective for skeletonbased human action understanding. However, previous works either rely on contrastive learning that suffers false negative problems or are based on reconstruction that learns too much unessential low-level clues, leading to limited representations for downstream tasks. Recently, great advances have been made in generative learning, which is naturally a challenging yet meaningful pretext task to model the general underlying data distributions. However, the representation learning capacity of generative models is under-explored, especially for the skeletons with spacial sparsity and temporal redundancy. To this end, we propose Masked Conditional Diffusion (MacDiff) as a unified framework for human skeleton modeling. For the first time, we leverage diffusion models as effective skeleton representation learners. Specifically, we train a diffusion decoder conditioned on the representations extracted by a semantic encoder. Random masking is applied to encoder inputs to introduce a information bottleneck and remove redundancy of skeletons. Furthermore, we theoretically demonstrate that our generative objective involves the contrastive learning objective which aligns the masked and noisy views. Meanwhile, it also enforces the representation to complement for the noisy view, leading to better generalization performance. MacDiff achieves state-ofthe-art performance on representation learning benchmarks while maintaining the competence for generative tasks. Moreover, we leverage the diffusion model for data augmentation, significantly enhancing the finetuning performance in scenarios with scarce labeled data. Our project is available at https://github.com/LehongWu/MacDiff.

For agents

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

get_harvested_code_for_paper("2409.10473")
get_code_for_paper("2409.10473")
have("2409.10473")

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

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

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

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

Connect an agent — have() is free.