Lune

ICML2026Top-tier venue

Mitigating Noise-Induced Layout Priors for Object Counting in Diffusion Models

Xiaoling Gu, Xuelong Li, Shengqi Wu, Yongkang Wong, wu, Huan Li, Zhou Yu, Mohan Kankanhalli

2026Year

Abstract

Despite remarkable progress in text-to-image diffusion models, accurately generating the specified number of objects remains a persistent challenge. We identify the initial noise as a primary determinant of spatial layout formation, with early-stage cross-attention serving as the key mechanism that mediates the propagation of noise-induced structures throughout the denoising process. We characterize this phenomenon as Noise-Induced Layout Prior. Leveraging this insight, we propose a novel training-free framework for object counting in diffusion models. Our approach consists of two key components: (1) a Count-Aware Noise Adjustment Strategy, which explicitly manipulates the initial latent noise to align layout formation with the target object count, and (2) an Attention-Guided Layout Consistency Strategy, which performs test-time optimization on early-stage cross-attention to further stabilize layout formation during denoising. Extensive experiments on both single-category and multi-category benchmarks demonstrate that our method consistently outperforms strong diffusion baselines and state-of-the-art object count control methods in terms of counting accuracy and image quality. Code Release: [https://github.com/lxlong1201/Mitigate Noise Prior](https://github.com/lxlong1201/Mitigate Noise Prior).

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 45e62bf9-a047-40a5-9ba5-52588a3c7bb4

Builds on18

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines