SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.22376 · ICLR · 2025

Rare-to-Frequent: Unlocking Compositional Generation Power of Diffusion Models on Rare Concepts with LLM Guidance

Kangwook Lee, Minkyu Kim, Dongmin Park, Krafton, Jaewoong Cho, Taehong Moon, Sebin Kim

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 3 failures of our instrument; 0 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/2410.22376.json · badge: /api/ran/2410.22376.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
krafton-ai/rare-to-frequent canonical (classifier label)
classifier basis: plan_row
3 ran · 0 no recorded run
krafton-ai/Rare-to-Frequent canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
calculate_shift Ran
ran, violated the contract we drafted
krafton-ai/rare-to-frequent/R2F_Diffusion_flux.py
pointer only (licence: NONE) · get_code("4e3ad3679e5c37b2")
How it ran

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

rescale_noise_cfg Ran
ran; our contract draft was wrong, not the code
krafton-ai/rare-to-frequent/R2F_Diffusion_xl.py
pointer only (licence: NONE) · get_code("bea2d776a332f2b0")
How it ran

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

retrieve_timesteps Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from susunghong/seg-sdxl
pointer only; the stored copy get_code serves, from susunghong/seg-sdxl, is pointer only (licence: NONE) · get_code("63e7d99da5ea137f")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

retrieve_timesteps Ran
ran; our contract draft was wrong, not the code
krafton-ai/Rare-to-Frequent/R2F_Diffusion_sd3.py
pointer only (licence: NONE) · get_code("0b56680ee1708fee")
How it ran

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

split_dims Ran
ran, honoured the contract we drafted
krafton-ai/rare-to-frequent/cross_attention.py
pointer only (licence: NONE) · get_code("56156523c6123e73")
How it ran

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

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 4 the same month, 4 later) and 0 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
rescale_noise_cfg 62 other papers
38 dated earlier, 7 the same month, 16 later, 1 same year, order not determinable
2206.02779 (2022-06)
Blended Latent Diffusion
2304.06720 (2023-04)
Expressive Text-to-Image Generation with Rich Text
2309.06380 (2023-09)
InstaFlow: One Step is Enough for High-Quality Diffusion-Based Text-to-Image Generation
and 59 more not named here
retrieve_timesteps 46 other papers
6 dated earlier, 1 the same month, 37 later, 2 undated
2312.04461 (2023-12)
PhotoMaker: Customizing Realistic Human Photos via Stacked ID Embedding
2402.10491 (2024-02)
Make a Cheap Scaling: A Self-Cascade Diffusion Model for Higher-Resolution Adaptation
2405.18991 (2024-05)
EasyAnimate: High-Performance Video Generation Framework with Hybrid Windows Attention and Reward Backpropagation
and 43 more not named here
retrieve_timesteps 21 other papers
14 dated earlier, 3 the same month, 4 later
2310.06313 (2023-10)
Advancing Pose-Guided Image Synthesis with Progressive Conditional Diffusion Models
2401.11708 (2024-01)
Mastering Text-to-Image Diffusion: Recaptioning, Planning, and Generating with Multimodal LLMs
2403.06976 (2024-03)
BrushNet: A Plug-and-Play Image Inpainting Model with Decomposed Dual-Branch Diffusion
and 18 more not named here
calculate_shift 15 other papers
1 dated earlier, 14 later
2406.04312 (2024-06)
ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise Optimization
2411.06558 (2024-11)
Region-Aware Text-to-Image Generation via Hard Binding and Soft Refinement
2411.16318 (2024-11)
One Diffusion to Generate Them All
and 12 more not named here
split_dims 2 other papers
1 dated earlier, 1 the same month
2401.11708 (2024-01)
Mastering Text-to-Image Diffusion: Recaptioning, Planning, and Generating with Multimodal LLMs
2410.07171 (2024-10)
IterComp: Iterative Composition-Aware Feedback Learning from Model Gallery for Text-to-Image Generation

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

Prompt: A mustachioed squirrel is holding an ax-shaped guitar on a stage Prompt: A beautiful wigged octopus is juggling three starshaped apples Prompt: A red dragon and a unicorn made of diamond rollerblading through a neon lit cityscape SD3.0 RPG sdxl Prompt: A furry frog warrior FLUX SD3.0 RPG sdxl FLUX SD3.0 RPG sdxl FLUX SD3.0 RPG sdxl FLUX Figure 1: Generated images from prompts with rare compositions of concepts (=attribute+object; highlighted in red). These objects possess attributes not typically associated with them, making such combinations difficult to observe. While state-of-the-art pre-trained and LLM-grounded text-to-image diffusion models, SD3.0 (Esser et al., 2024), FLUX (BlackForestLabs, 2024), and RPG (Yang et al., 2024), struggle to generate such concepts, our training-free approach, R2F, exhibits superior results.

For agents

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

get_harvested_code_for_paper("2410.22376")
get_code_for_paper("2410.22376")
have("2410.22376")

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

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

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

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

Connect an agent — have() is free.