SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2408.16266 · 2024

Inversion Circle Interpolation: Diffusion-based Image Augmentation for Data-scarce Classification

arXiv · PDF · Open in the Atlas

Code that ran

9 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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 4 no recorded run), measured 2026-11-22; 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/2408.16266.json · badge: /api/ran/2408.16266.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
scuwyh2000/diff-ii canonical (classifier label)
classifier basis: census
9 ran · 4 no recorded run
FunctionStatusWhere it lives
accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
scuwyh2000/diff-ii/train_classifier.py
pointer only (licence: NONE) · get_code("983576fa67f4f01e")
How it ran

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

calculate_accuracy Ran
ran; our contract draft was wrong, not the code
scuwyh2000/diff-ii/utils.py
pointer only (licence: NONE) · get_code("e2b3a579a11aa8cc")
How it ran

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

calculate_confusion_matrix Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
scuwyh2000/diff-ii/utils.py
pointer only (licence: NONE) · get_code("334ec5d32fa6d718")
How it ran

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

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

is_vector_label Ran
ran, violated the contract we drafted
scuwyh2000/diff-ii/utils.py
pointer only (licence: NONE) · get_code("b2d0656169076b2c")
How it ran

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

load_image Ran
ran, honoured the contract we drafted
scuwyh2000/diff-ii/get_inversion.py
pointer only (licence: NONE) · get_code("e9fa9ecafcd8097f")
How it ran

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

rand_slerp Ran
ran; our contract draft was wrong, not the code
scuwyh2000/diff-ii/interpolation_le.py
pointer only (licence: NONE) · get_code("1f4e01bb776d28ae")
How it ran

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

reduce_mean Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
scuwyh2000/diff-ii/train_classifier.py
pointer only (licence: NONE); the stored copy get_code serves, from ixilai/awfusion, is pointer only (licence: NONE) · get_code("fe089b539afcc496")
How it ran

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

translate_x_rel Ran
ran; our contract draft was wrong, not the code
scuwyh2000/diff-ii/randaugment.py
pointer only (licence: NONE); the stored copy get_code serves, from tongzixin716716/Inverse-Loss-Reweighting, is pointer only (licence: NONE) · get_code("a4b471197204b414")
How it ran

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

load_diffmix_embeddings Not yet run
unverified (harvested, no recorded run)
scuwyh2000/diff-ii/get_inversion.py
pointer only (licence: NONE) · get_code("3b9bd21d698362f5")
How it ran

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

shear_x Not yet run
unverified (harvested, no recorded run)
scuwyh2000/diff-ii/randaugment.py
pointer only (licence: NONE); the stored copy get_code serves, from tongzixin716716/Inverse-Loss-Reweighting, is pointer only (licence: NONE) · get_code("7b4e3d0bd192b677")
How it ran

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

shear_y Not yet run
unverified (harvested, no recorded run)
scuwyh2000/diff-ii/randaugment.py
pointer only (licence: NONE); the stored copy get_code serves, from tongzixin716716/Inverse-Loss-Reweighting, is pointer only (licence: NONE) · get_code("e31c4b500a240e69")
How it ran

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

validate Not yet run
unverified (harvested, no recorded run)
scuwyh2000/diff-ii/train_classifier.py
pointer only (licence: NONE) · get_code("cdec92995eadc2eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, scuwyh2000/diff-ii 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, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 3 the same month, 4 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.

FunctionAlso present inEarliest-datedOthers named
shear_x 27 other papers
23 dated earlier, 1 the same month, 3 later
1811.12814 (2018-11)
Graph-Based Global Reasoning Networks
2109.03508 (2021-09)
RepNAS: Searching for Efficient Re-parameterizing Blocks
2109.06165 (2021-09)
CDTrans: Cross-domain Transformer for Unsupervised Domain Adaptation
and 24 more not named here
shear_y 27 other papers
23 dated earlier, 1 the same month, 3 later
1811.12814 (2018-11)
Graph-Based Global Reasoning Networks
2109.03508 (2021-09)
RepNAS: Searching for Efficient Re-parameterizing Blocks
2109.06165 (2021-09)
CDTrans: Cross-domain Transformer for Unsupervised Domain Adaptation
and 24 more not named here
translate_x_rel 26 other papers
22 dated earlier, 1 the same month, 3 later
1811.12814 (2018-11)
Graph-Based Global Reasoning Networks
2109.03508 (2021-09)
RepNAS: Searching for Efficient Re-parameterizing Blocks
2109.06165 (2021-09)
CDTrans: Cross-domain Transformer for Unsupervised Domain Adaptation
and 23 more not named here
accuracy 17 other papers
15 dated earlier, 2 later
1805.03438 (2018-05)
Robust Classification with Convolutional Prototype Learning
1905.11926 (2019-05)
Network Deconvolution
2003.04297 (2020-03)
Improved Baselines with Momentum Contrastive Learning
and 14 more not named here
reduce_mean 4 other papers
4 dated earlier
1805.03438 (2018-05)
Robust Classification with Convolutional Prototype Learning
2305.15597 (2023-05)
Text-Augmented Open Knowledge Graph Completion via Pre-Trained Language Models
2311.13355 (2023-11)
Unified Classification and Rejection: A One-versus-All Framework
and 1 more not named here
calculate_accuracy 1 other paper
1 dated earlier
2403.19600 (2024-03)
Enhance Image Classification via Inter-Class Image Mixup with Diffusion Model
calculate_confusion_matrix 1 other paper
1 dated earlier
2403.19600 (2024-03)
Enhance Image Classification via Inter-Class Image Mixup with Diffusion Model
is_vector_label 1 other paper
1 dated earlier
2403.19600 (2024-03)
Enhance Image Classification via Inter-Class Image Mixup with Diffusion Model

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

Repositories linked to this paper

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

Abstract

Data Augmentation (DA), i.e., synthesizing faithful and diverse samples to expand the original training set, is a prevalent and effective strategy to improve the performance of various data-scarce tasks. With the powerful image generation ability, diffusion-based DA has shown strong performance gains on different image classification benchmarks. In this paper, we analyze today's diffusion-based DA methods, and argue that they cannot take account of both faithfulness and diversity, which are two critical keys for generating high-quality samples and boosting classification performance. To this end, we propose a novel Diffusion-based DA method: Diff-II. Specifically, it consists of three steps: 1) Category concepts learning: Learning concept embeddings for each category. 2) Inversion interpolation: Calculating the inversion for each image, and conducting circle interpolation for two randomly sampled inversions from the same category. 3) Two-stage denoising: Using different prompts to generate synthesized images in a coarse-to-fine manner. Extensive experiments on various data-scarce image classification tasks (e.g., few-shot, long-tailed, and out-of-distribution classification) have demonstrated its effectiveness over state-of-the-art diffusion-based DA methods.

For agents

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

get_harvested_code_for_paper("2408.16266")
get_code_for_paper("2408.16266")
have("2408.16266")

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

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

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

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

Connect an agent — have() is free.