SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.17924 · NeurIPS · 2024

Attention Interpolation for Text-to-Image Diffusion

Ziwei Liu, Angela Yao, Qiyuan He, Jinghao Wang

arXiv · PDF · Open in the Atlas

Code that ran

9 of 10 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, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 1 no recorded run), measured 2026-11-23; 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/2403.17924.json · badge: /api/ran/2403.17924.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
qy-h00/attention-interpolation-diffusion canonical (classifier label)
classifier basis: census
9 ran · 1 no recorded run
FunctionStatusWhere it lives
generate_beta_tensor Ran
ran, honoured the contract we drafted
qy-h00/attention-interpolation-diffusion/gradio_src/prior.py
pointer only (licence: NONE) · get_code("0f016a091159da2e")
How it ran

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

image_grids Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
qy-h00/attention-interpolation-diffusion/gradio_src/utils.py
pointer only (licence: NONE) · get_code("ffec71b9cfa36019")
How it ran

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

linear_interpolation Ran
ran; our contract draft was wrong, not the code
qy-h00/attention-interpolation-diffusion/gradio_src/interpolation.py
pointer only (licence: NONE) · get_code("1af833d08bf5550a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, qy-h00/attention-interpolation-diffusion 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_and_process_images Ran
ran, honoured the contract we drafted
qy-h00/attention-interpolation-diffusion/gradio_src/utils.py
pointer only (licence: NONE) · get_code("345554a5211e53cc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, qy-h00/attention-interpolation-diffusion 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
qy-h00/attention-interpolation-diffusion/gradio_src/pipeline_interpolated_sd.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, qy-h00/attention-interpolation-diffusion 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
qy-h00/attention-interpolation-diffusion/gradio_src/pipeline_interpolated_sd.py
pointer only (licence: NONE) · get_code("3338a5b299ea25ec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, qy-h00/attention-interpolation-diffusion 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
qy-h00/attention-interpolation-diffusion/gradio_src/pipeline_interpolated_sdxl.py
pointer only (licence: NONE); the stored copy get_code serves, from I2-Multimedia-Lab/Magnet, is pointer only (licence: NONE) · get_code("35717b791550ecb2")
How it ran

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

slerp Ran
ran; our contract draft was wrong, not the code
qy-h00/attention-interpolation-diffusion/gradio_src/interpolation.py
pointer only (licence: NONE) · get_code("179863142b812e70")
How it ran

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

spherical_interpolation Ran
ran; our contract draft was wrong, not the code
qy-h00/attention-interpolation-diffusion/gradio_src/interpolation.py
pointer only (licence: NONE) · get_code("417e401f1e61df9d")
How it ran

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

compute_lpips Not yet run
unverified (harvested, no recorded run)
qy-h00/attention-interpolation-diffusion/gradio_src/utils.py
pointer only (licence: NONE) · get_code("cb055919e98c5efa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, qy-h00/attention-interpolation-diffusion 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 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 2 the same month, 2 later) and 7 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
17 dated earlier, 5 the same month, 39 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 21 other papers
2 dated earlier, 1 the same month, 18 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

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

Conditional diffusion models can create unseen images in various settings, aiding image interpolation. Interpolation in latent spaces is well-studied, but interpolation with specific conditions like text is less understood. Common approaches interpolate linearly in the conditioning space but tend to result in inconsistent images with poor fidelity. This work introduces a novel training-free technique named Attention Interpolation via Diffusion (AID). AID has two key contributions: 1) a fused inner/outer interpolated attention layer to boost image consistency and fidelity; and 2) selection of interpolation coefficients via a beta distribution to increase smoothness. Additionally, we present an AID variant called Prompt-guided Attention Interpolation via Diffusion (PAID), which 3) treats interpolation as a condition-dependent generative process. Experiments demonstrate that our method achieves greater consistency, smoothness, and efficiency in condition-based interpolation, aligning closely with human preferences. Furthermore, PAID can significantly benefit compositional generation and image editing control, all while remaining training-free.

For agents

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

get_harvested_code_for_paper("2403.17924")
get_code_for_paper("2403.17924")
have("2403.17924")

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

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

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

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

Connect an agent — have() is free.