SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.22637 · ICCV · 2025

CaO 2 : Rectifying Inconsistencies in Diffusion-Based Dataset Distillation

Yan Yan, Gaowen Liu, Yuzhang Shang, Junyi Wu, Haoxuan Wang, Zhenghao Zhao

arXiv · PDF · Open in the Atlas

Code that ran

8 of 13 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; 5 failures of our instrument; 5 no recorded run), measured 2026-11-24; 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/2506.22637.json · badge: /api/ran/2506.22637.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
hatchetproject/cao2 canonical (classifier label)
classifier basis: census
8 ran · 5 no recorded run
FunctionStatusWhere it lives
el2n_score Ran
ran; our contract draft was wrong, not the code
hatchetproject/cao2/mar_imagenet1k.py
pointer only (licence: NONE) · get_code("28b394db8876349c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hatchetproject/cao2 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_2d_sincos_pos_embed Ran
ran, honoured the contract we drafted
hatchetproject/cao2/models.py
pointer only (licence: NONE) · get_code("c92c27c924b517e8")
How it ran

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

ipc_epoch Ran
ran, honoured the contract we drafted
hatchetproject/cao2/argument.py
pointer only (licence: NONE); the stored copy get_code serves, from AyushRoy2001/ManifoldGD, is pointer only (licence: NONE) · get_code("d923e828eed4fb87")
How it ran

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

modulate Ran
ran; our contract draft was wrong, not the code
hatchetproject/cao2/models.py
pointer only (licence: NONE) · get_code("03310bba324ae4fb")
How it ran

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

str2bool Ran
ran; our contract draft was wrong, not the code
hatchetproject/cao2/argument.py
pointer only (licence: NONE); the stored copy get_code serves, from vimar-gu/dim, is pointer only (licence: NONE) · get_code("23bf22274cc64dc6")
How it ran

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

transform_cifar Ran
ran; our contract draft was wrong, not the code
hatchetproject/cao2/data.py
pointer only (licence: NONE); the stored copy get_code serves, from AyushRoy2001/ManifoldGD, is pointer only (licence: NONE) · get_code("52605edc9d326455")
How it ran

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

tune_lr_img Ran
ran, honoured the contract we drafted
hatchetproject/cao2/argument.py
pointer only (licence: NONE); the stored copy get_code serves, from AyushRoy2001/ManifoldGD, is pointer only (licence: NONE) · get_code("fb78e314a9cbf5ff")
How it ran

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

validate Ran
ran; our contract draft was wrong, not the code
hatchetproject/cao2/mar_imagenet1k.py
pointer only (licence: NONE) · get_code("5217e3d2c31fe4cb")
How it ran

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

download_model Not yet run
unverified (harvested, no recorded run)
hatchetproject/cao2/download.py
pointer only (licence: NONE); the stored copy get_code serves, from AyushRoy2001/ManifoldGD, is pointer only (licence: NONE) · get_code("6a0d5ecd441905cc")
How it ran

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

find_model Not yet run
unverified (harvested, no recorded run)
hatchetproject/cao2/download.py
pointer only (licence: NONE); the stored copy get_code serves, from AyushRoy2001/ManifoldGD, is pointer only (licence: NONE) · get_code("29947a0a94157558")
How it ran

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

get_2d_sincos_pos_embed_from_grid Not yet run
unverified (harvested, no recorded run)
hatchetproject/cao2/models.py
pointer only (licence: NONE) · get_code("665d8a4e8f673a4c")
How it ran

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

transform_mnist Not yet run
unverified (harvested, no recorded run)
hatchetproject/cao2/data.py
pointer only (licence: NONE); the stored copy get_code serves, from AyushRoy2001/ManifoldGD, is pointer only (licence: NONE) · get_code("5b2e2797a6da2cb5")
How it ran

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

transform_svhn Not yet run
unverified (harvested, no recorded run)
hatchetproject/cao2/data.py
pointer only (licence: NONE); the stored copy get_code serves, from AyushRoy2001/ManifoldGD, is pointer only (licence: NONE) · get_code("4a3eef12c129ad96")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hatchetproject/cao2 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 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 3 the same month, 11 later) and 2 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
get_2d_sincos_pos_embed_from_grid 190 other papers
161 dated earlier, 2 the same month, 24 later, 3 same year, order not determinable · 65 only as an assembly brick
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
and 187 more not named here
str2bool 175 other papers
158 dated earlier, 2 the same month, 13 later, 2 same year, order not determinable · 2 only as an assembly brick
1406.6247 (2014-06)
Recurrent Models of Visual Attention
1603.09382 (2016-03)
Deep Networks with Stochastic Depth
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
and 172 more not named here
modulate 101 other papers
76 dated earlier, 2 the same month, 21 later, 1 same year, order not determinable, 1 undated · 29 only as an assembly brick
2202.04200 (2022-02)
MaskGIT: Masked Generative Image Transformer
2203.10897 (2022-03)
Unified Multivariate Gaussian Mixture for Efficient Neural Image Compression
2212.09748 (2022-12)
Scalable Diffusion Models with Transformers
and 98 more not named here
get_2d_sincos_pos_embed 69 other papers
54 dated earlier, 15 later · 12 only as an assembly brick
2203.10897 (2022-03)
Unified Multivariate Gaussian Mixture for Efficient Neural Image Compression
2212.09748 (2022-12)
Scalable Diffusion Models with Transformers
2303.14389 (2023-03)
Masked Diffusion Transformer is a Strong Image Synthesizer
and 66 more not named here
download_model 14 other papers
12 dated earlier, 2 later
2403.09176 (2024-03)
Switch Diffusion Transformer: Synergizing Denoising Tasks with Sparse Mixture-of-Experts
2407.01425 (2024-07)
FORA: Fast-Forward Caching in Diffusion Transformer Acceleration
2407.11633 (2024-07)
Scaling Diffusion Transformers to 16 Billion Parameters
and 11 more not named here
find_model 10 other papers
9 dated earlier, 1 later
2403.09176 (2024-03)
Switch Diffusion Transformer: Synergizing Denoising Tasks with Sparse Mixture-of-Experts
2407.01425 (2024-07)
FORA: Fast-Forward Caching in Diffusion Transformer Acceleration
2408.02615 (2024-08)
LaMamba-Diff: Linear-Time High-Fidelity Diffusion Models Based on Local Attention and Mamba
and 7 more not named here
transform_cifar 6 other papers
5 dated earlier, 1 later
2310.14019 (2023-10)
You Only Condense Once: Two Rules for Pruning Condensed Datasets
aaai_28784 (2024 (year only))
M3D: Dataset Condensation by Minimizing Maximum Mean Discrepancy
2403.06075 (2024-03)
Multisize Dataset Condensation
and 3 more not named here
transform_mnist 6 other papers
5 dated earlier, 1 later
2310.14019 (2023-10)
You Only Condense Once: Two Rules for Pruning Condensed Datasets
aaai_28784 (2024 (year only))
M3D: Dataset Condensation by Minimizing Maximum Mean Discrepancy
2403.06075 (2024-03)
Multisize Dataset Condensation
and 3 more not named here
transform_svhn 6 other papers
5 dated earlier, 1 later
2310.14019 (2023-10)
You Only Condense Once: Two Rules for Pruning Condensed Datasets
aaai_28784 (2024 (year only))
M3D: Dataset Condensation by Minimizing Maximum Mean Discrepancy
2403.06075 (2024-03)
Multisize Dataset Condensation
and 3 more not named here
ipc_epoch 4 other papers
3 dated earlier, 1 later
2310.14019 (2023-10)
You Only Condense Once: Two Rules for Pruning Condensed Datasets
2403.06075 (2024-03)
Multisize Dataset Condensation
2406.01063 (2024-06)
DANCE: Dual-View Distribution Alignment for Dataset Condensation
and 1 more not named here
tune_lr_img 3 other papers
2 dated earlier, 1 later
2310.14019 (2023-10)
You Only Condense Once: Two Rules for Pruning Condensed Datasets
2403.06075 (2024-03)
Multisize Dataset Condensation
2606.18209 (2026-06)
Rethinking Dataset Distillation for Classification: Do Distilled Sets Outperform Coresets?

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-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The recent introduction of diffusion models in dataset distillation has shown promising potential in creating compact surrogate datasets for large, high-resolution target datasets, offering improved efficiency and performance over traditional bi-level/uni-level optimization methods. However, current diffusion-based dataset distillation approaches overlook the evaluation process and exhibit two critical inconsistencies in the distillation process: (1) Objective Inconsistency, where the distillation process diverges from the evaluation objective, and (2) Condition Inconsistency, leading to mismatches between generated images and their corresponding conditions. To resolve these issues, we introduce Condition-aware Optimization with Objective-guided Sampling (CaO 2 ), a two-stage diffusion-based framework that aligns the distillation process with the evaluation objective. The first stage employs a probability-informed sample selection pipeline, while the second stage refines the corresponding latent representations to improve conditional likelihood. CaO 2 achieves state-of-the-art performance on ImageNet and its subsets, surpassing the best-performing baselines by an average of 2.3% accuracy. Code is available at https://github.com/ hatchetProject/CaO2.

For agents

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

get_harvested_code_for_paper("2506.22637")
get_code_for_paper("2506.22637")
have("2506.22637")

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

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

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

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

Connect an agent — have() is free.