SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.08273 · NeurIPS · 2025

One Stone with Two Birds: A Null-Text-Null Frequency-Aware Diffusion Models for Text-Guided Image Inpainting

Yang Wang, Meng Wang, Haipeng Liu

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 (1 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 7 failures of our instrument; 1 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/2510.08273.json · badge: /api/ran/2510.08273.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
htyjers/NTN-Diff community
Papers with Code archive
9 ran · 1 no recorded run
FunctionStatusWhere it lives
DDIM_Sampler Ran
ran on a synthesized input · constructed an object; no result was computed
htyjers/NTN-Diff/ntn/ntn_sampler.py
pointer only (licence: NONE) · get_code("37da8e046bd33a07")
How it ran

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

dct Ran
ran; our contract draft was wrong, not the code
htyjers/NTN-Diff/ntn/ntn_sampler.py
pointer only (licence: NONE) · get_code("0830f5f189e4696e")
How it ran

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

dct_2d Ran
ran; our contract draft was wrong, not the code
htyjers/NTN-Diff/ntn/ntn_sampler.py
pointer only (licence: NONE) · get_code("0d530cb90f3a6799")
How it ran

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

high_pass Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
htyjers/NTN-Diff/ntn/ntn_sampler.py
pointer only (licence: NONE) · get_code("fee7878349a4bec2")
How it ran

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

idct Ran
ran; our contract draft was wrong, not the code
htyjers/NTN-Diff/ntn/ntn_sampler.py
pointer only (licence: NONE) · get_code("6b7692712fdf5c1e")
How it ran

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

idct_2d Ran
ran; our contract draft was wrong, not the code
htyjers/NTN-Diff/ntn/ntn_sampler.py
pointer only (licence: NONE) · get_code("593969f5d90bbf4b")
How it ran

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

low_pass Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
htyjers/NTN-Diff/ntn/ntn_sampler.py
pointer only (licence: NONE) · get_code("c92c49263d86bc1e")
How it ran

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

make_ddim_sampling_parameters Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
htyjers/NTN-Diff/ntn/ntn_sampler.py
pointer only (licence: NONE) · get_code("77e189f36b57fe9c")
How it ran

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

make_ddim_timesteps Ran
ran, honoured the contract we drafted
htyjers/NTN-Diff/ntn/ntn_sampler.py
pointer only (licence: NONE) · get_code("b06da81058d1f9d3")
How it ran

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

Ntn_Sampler Not yet run
unverified (harvested, no recorded run)
htyjers/NTN-Diff/ntn/ntn_sampler.py
pointer only (licence: NONE) · get_code("8038edcb1d4937cb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, htyjers/NTN-Diff 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 10 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 1 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
dct
brick of this paper's assembly: helper
7 other papers
6 dated earlier, 1 later
2206.13397 (2022-06)
Generative Modelling With Inverse Heat Dissipation
2209.11888 (2022-09)
JPEG Artifact Correction using Denoising Diffusion Restoration Models
2306.00288 (2023-06)
Training-free Neural Architecture Search for RNNs and Transformers
and 4 more not named here
dct_2d
brick of this paper's assembly: helper
4 other papers
4 dated earlier
2206.13397 (2022-06)
Generative Modelling With Inverse Heat Dissipation
2302.02693 (2023-02)
PatchDCT: Patch Refinement for High Quality Instance Segmentation
2306.00288 (2023-06)
Training-free Neural Architecture Search for RNNs and Transformers
and 1 more not named here
idct
brick of this paper's assembly: helper
2 other papers
2 dated earlier
2206.13397 (2022-06)
Generative Modelling With Inverse Heat Dissipation
2209.11888 (2022-09)
JPEG Artifact Correction using Denoising Diffusion Restoration Models
idct_2d
brick of this paper's assembly: helper
2 other papers
2 dated earlier
2302.02693 (2023-02)
PatchDCT: Patch Refinement for High Quality Instance Segmentation
2406.12814 (2024-06)
Dissecting Adversarial Robustness of Multimodal LM Agents

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

Text-guided image inpainting aims at reconstructing the masked regions as per text prompts, where the longstanding challenges lie in the preservation for unmasked regions, while achieving the semantics consistency between unmasked and inpainted masked regions. Previous arts failed to address both of them, always with either of them to be remedied. Such facts, as we observed, stem from the entanglement of the hybrid (e.g., mid-and-low) frequency bands that encode varied image properties, which exhibit different robustness to text prompts during the denoising process. In this paper, we propose a null-text-null frequency-aware diffusion models, dubbed NTN-Diff, for text-guided image inpainting, by decomposing the semantics consistency across masked and unmasked regions into the consistencies as per each frequency band, while preserving the unmasked regions, to circumvent two challenges in a row. Based on the diffusion process, we further divide the denoising process into early (high-level noise) and late (low-level noise) stages, where the mid-and-low frequency bands are disentangled during the denoising process. As observed, the stable mid-frequency band is progressively denoised to be semantically aligned during text-guided denoising process, which, meanwhile, serves as the guidance to the null-text denoising process to denoise low-frequency band for the masked regions, followed by a subsequent text-guided denoising process at late stage, to achieve the semantics consistency for mid-and-low frequency bands across masked and unmasked regions, while preserve the unmasked regions. Extensive experiments validate the superiority of NTN-Diff over the state-of-the-art diffusion models to text-guided diffusion models. Our code can be accessed from https://github.com/htyjers/NTN-Diff. † Equal contribution * Yang Wang is the corresponding author 39th Conference on Neural Information Processing Systems (NeurIPS 2025).

For agents

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

get_harvested_code_for_paper("2510.08273")
get_code_for_paper("2510.08273")
have("2510.08273")

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

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

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

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

Connect an agent — have() is free.