TD-Paint: Faster Diffusion Inpainting Through Time Aware Pixel Conditioning

Tsiry Mayet, Pourya Shamsolmoali, Simon Bernard, Eric Granger, Romain Hérault +1 more
10/11/2024
cs.CV

No official code found. Best implementation: MaugrimEP/td-paint (13 stars, last commit 2025-07-26).

Abstract

Diffusion models have emerged as highly effective techniques for inpainting, however, they remain constrained by slow sampling rates. While recent advances have enhanced generation quality, they have also increased sampling time, thereby limiting scalability in real-world applications. We investigate the generative sampling process of diffusion-based inpainting models and observe that these models make minimal use of the input condition during the initial sampling steps. As a result, the sampling trajectory deviates from the data manifold, requiring complex synchronization mechanisms to realign the generation process. To address this, we propose Time-aware Diffusion Paint (TD-Paint), a novel approach that adapts the diffusion process by modeling variable noise levels at the pixel level. This technique allows the model to efficiently use known pixel values from the start, guiding the generation process toward the target manifold. By embedding this information early in the diffusion process, TD-Paint significantly accelerates sampling without compromising image quality. Unlike conventional diffusion-based inpainting models, which require a dedicated architecture or an expensive generation loop, TD-Paint achieves faster sampling times without architectural modifications. Experimental results across three datasets show that TD-Paint outperforms state-of-the-art diffusion models while maintaining lower complexity.

View on arXivView PDF

Code Implementations(1)

MaugrimEP/td-paintCommunity62%

"TD-Paint: Faster Diffusion Inpainting Through Time-aware Pixel Conditioning" official implementation

136Shell, PythonFeb 14, 20251 years ago

Similar Papers

Cite this paper

@article{mayet2024tdpaint,
  title  = {TD-Paint: Faster Diffusion Inpainting Through Time Aware Pixel Conditioning},
  author = {Tsiry Mayet and Pourya Shamsolmoali and Simon Bernard and Eric Granger and Romain Hérault and Clement Chatelain},
  year   = {2024},
  eprint = {2410.09306},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.09306v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.09306.svg)](https://codeofpaper.com/paper/2410.09306)

Discussion