Make It Count: Text-to-Image Generation with an Accurate Number of Objects
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
Despite the unprecedented success of text-to-image diffusion models, controlling the number of depicted objects using text is surprisingly hard. This is important for various applications from technical documents, to children's books to illustrating cooking recipes. Generating object-correct counts is fundamentally challenging because the generative model needs to keep a sense of separate identity for every instance of the object, even if several objects look identical or overlap, and then carry out a global computation implicitly during generation. It is still unknown if such representations exist. To address count-correct generation, we first identify features within the diffusion model that can carry the object identity information. We then use them to separate and count instances of objects during the denoising process and detect over-generation and under-generation. We fix the latter by training a model that predicts both the shape and location of a missing object, based on the layout of existing ones, and show how it can be used to guide denoising with correct object count. Our approach, CountGen, does not depend on external source to determine object layout, but rather uses the prior from the diffusion model itself, creating prompt-dependent and seed-dependent layouts. Evaluated on two benchmark datasets, we find that CountGen strongly outperforms the count-accuracy of existing baselines.
Key facts. Cited by 47 papers in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 29 of its 42 references that are in the map. First posted on arXiv 14 Jun 2024.
Builds on
29 of 42 references.
Closest ancestors · 11
Same direction, newest first
- 2024Obtaining Favorable Layouts for Multiple Object Generation1 May
- 2024Be Yourself: Bounded Attention for Multi-Subject Text-to-Image Generation25 Mar
- 2024InstanceDiffusion: Instance-level Control for Image Generation5 Feb
- 2024Mastering Text-to-Image Diffusion: Recaptioning, Planning, and Generating with Multimodal LLMs22 Jan
- 2023Reason out Your Layout: Evoking the Layout Master from Large Language Models for Text-to-Image Synthesis28 Nov
- 2023LLM Blueprint: Enabling Text-to-Image Generation with Complex and Detailed Prompts16 Oct
- 2023Improving Compositional Text-to-image Generation with Large Vision-Language Models10 Oct
- 2023Counting Guidance for High Fidelity Text-to-Image Synthesis30 Jun
- 2023Linguistic Binding in Diffusion Models: Enhancing Attribute Correspondence through Attention Map Alignment15 Jun
- 2023Grounded Text-to-Image Synthesis with Attention Refocusing8 Jun
- 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models31 Jan
Other references · 18
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
- 2017Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentationscited by 614
- 2024YOLOv9: Learning What You Want to Learn Using Programmable Gradient Informationcited by 422
- 2023Aligning Text-to-Image Models using Human Feedbackcited by 418
- 2023LayoutGPT: Compositional Visual Planning and Generation with Large Language Modelscited by 337
- 2023Teaching CLIP to Count to Tencited by 194
- 2023Key-Locked Rank One Editing for Text-to-Image Personalizationcited by 194
6 more
- 2022ReCo: Region-Controlled Text-to-Image Generationcited by 177
- 2024Training-Free Consistent Text-to-Image Generationcited by 123
- 2019Association of genomic subtypes of lower-grade gliomas with shape features automatically extracted by a deep learning algorithmcited by 76
- 2023DreamSync: Aligning Text-to-Image Generation with Image Understanding Feedbackcited by 57
- 2022DALLE-2 is Seeing Double: Flaws in Word-to-Concept Mapping in Text2Image Modelscited by 50
- 2015DeepBox: Learning Objectness with Convolutional Networkscited by 14
Built on by
Citing papers per year: 2024: 4; 2025: 24; 2026: 19.
47 papers.
Sort:
By area:
- 2025IMAGHarmony: Controllable Image Editing with Consistent Object Quantity and Layoutcited by 28
- 2025FlowMo: Variance-Based Flow Guidance for Coherent Motion in Video Generationcited by 21
- 2025Your Vision-Language Model Can't Even Count to 20: Exposing the Failures of VLMs in Compositional Countingcited by 17
- 2025Psi-Sampler: Initial Particle Sampling for SMC-Based Inference-Time Reward Alignment in Score Modelscited by 15
- 2024Enhancing MMDiT-Based Text-to-Image Models for Similar Subject Generationcited by 11
- 2025YOLO-Count: Differentiable Object Counting for Text-to-Image Generationcited by 10
- 2025OverLayBench: A Benchmark for Layout-to-Image Generation with Dense Overlapscited by 9
- 2024Attention Overlap Is Responsible for The Entity Missing Problem in Text-to-image Diffusion Models!cited by 8
- 2025Towards Self-Improvement of Diffusion Models via Group Preference Optimizationcited by 7
- 2025Lay-Your-Scene: Natural Scene Layout Generation with Diffusion Transformerscited by 6
- 2024Detection-Driven Object Count Optimization for Text-to-Image Diffusion Modelscited by 4
- 2025Generating Pedagogically Meaningful Visuals for Math Word Problems: A New Benchmark and Analysis of Text-to-Image Modelscited by 4
35 more
- 2025Cost-Aware Routing for Efficient Text-To-Image Generationcited by 4
- 2025Too Easily Fooled? Prompt Injection Breaks LLMs on Frustratingly Simple Multiple-Choice Questionscited by 4
- 2025CountLoop: Training-Free High-Instance Image Generation via Iterative Agent Guidancecited by 4
- 2026TP-Blend: Textual-Prompt Attention Pairing for Precise Object-Style Blending in Diffusion Modelscited by 4
- 2026SpatialReward: Verifiable Spatial Reward Modeling for Fine-Grained Spatial Consistency in Text-to-Image Generationcited by 4
- 2024QUOTA: Quantifying Objects with Text-to-Image Models for Any Domaincited by 3
- 2025CountDiffusion: Text-to-Image Synthesis with Training-Free Counting-Guidance Diffusioncited by 3
- 2025Data-Driven Loss Functions for Inference-Time Optimization in Text-to-Imagecited by 3
- 2025Why Settle for Mid: A Probabilistic Viewpoint to Spatial Relationship Alignment in Text-to-image Modelscited by 2
- 2025CARINOX: Inference-time Scaling with Category-Aware Reward-based Initial Noise Optimization and Explorationcited by 2
- 2025Demystifying Numerosity in Diffusion Models -- Limitations and Remediescited by 2
- 2025DeLeaker: Dynamic Inference-Time Reweighting For Semantic Leakage Mitigation in Text-to-Image Modelscited by 2
- 2025JEDI: The Force of Jensen-Shannon Divergence in Disentangling Diffusion Modelscited by 1
- 2025OSPO: Object-Centric Self-Improving Preference Optimization for Text-to-Image Generationcited by 1
- 2025CountCluster: Training-Free Object Quantity Guidance with Cross-Attention Map Clustering for Text-to-Image Generationcited by 1
- 2025D2D: Detector-to-Differentiable Critic for Improved Numeracy in Text-to-Image Generationcited by 1
- 2026When Do Diffusion Models learn to Generate Multiple Objects?cited by 1
- 2026Transferability Between Understanding and Generation in Unified Multimodal Modelscited by 1
- 2025ISAC: Training-Free Instance-to-Semantic Attention Control for Multi-Instance Generationcited by 0
- 2025Prompt-Free Conditional Diffusion for Multi-object Image Augmentationcited by 0
- 2026MoGen: A Unified Collaborative Framework for Controllable Multi-Object Image Generationcited by 0
- 2026Rethinking Global Text Conditioning in Diffusion Transformerscited by 0
- 2026Exploring the AI Obedience: Why is Generating a Pure Color Image Harder than CyberPunk?cited by 0
- 2026Delta-K: Boosting Multi-Instance Generation via Cross-Attention Augmentationcited by 0
- 2026ATHENA: Adaptive Test-Time Steering for Improving Count Fidelity in Diffusion Modelscited by 0
- 2026When Numbers Speak: Aligning Textual Numerals and Visual Instances in Text-to-Video Diffusion Modelscited by 0
- 2026SynMulti: Synthetic-to-Real Learning for Multimodal Video Understandingcited by 0
- 2026Curriculum Group Policy Optimization: Adaptive Sampling for Unleashing the Potential of Text-to-Image Generationcited by 0
- 2026AI-T2I: Aggregating-and-Isolating Cross-Attention to Diffusion Models for Text-to-Image Synthesiscited by 0
- 2026ABACUS: Adapting Unified Foundation Model for Bridging Image Count Understanding and Generationcited by 0
- 2026Learning to Generate Multiple Objects from Dense and Occluded Layoutscited by 0
- 2026Blind-Spots-Bench: Evaluating Blind Spots in Multimodal Modelscited by 0
- 2026Attention from Above: A Multimodal Model for Drone-Based Object Localizationcited by 0
- 2026NumBench: Diagnosing Counting Failures in Text-to-Image Modelscited by 0
- 2026Evaluating the Evaluators: Diagnosing Large Multimodal Models for AI-Generated Image Assessmentcited by 0
- 2026Evaluating the Evaluators: Diagnosing Large Multimodal Models for AI-Generated Image Assessment29 Sep 2026
- 2026NumBench: Diagnosing Counting Failures in Text-to-Image Models28 Aug 2026
- 2026Attention from Above: A Multimodal Model for Drone-Based Object Localization20 Jul 2026
- 2026Blind-Spots-Bench: Evaluating Blind Spots in Multimodal Models9 Jul 2026
- 2026Transferability Between Understanding and Generation in Unified Multimodal Models5 Jul 2026
- 2026Learning to Generate Multiple Objects from Dense and Occluded Layouts3 Jul 2026
- 2026ABACUS: Adapting Unified Foundation Model for Bridging Image Count Understanding and Generation22 Jun 2026
- 2026AI-T2I: Aggregating-and-Isolating Cross-Attention to Diffusion Models for Text-to-Image Synthesis25 May 2026
- 2026Curriculum Group Policy Optimization: Adaptive Sampling for Unleashing the Potential of Text-to-Image Generation18 May 2026
- 2026When Do Diffusion Models learn to Generate Multiple Objects?30 Apr 2026
- 2026SynMulti: Synthetic-to-Real Learning for Multimodal Video Understanding14 Apr 2026
- 2026When Numbers Speak: Aligning Textual Numerals and Visual Instances in Text-to-Video Diffusion Models9 Apr 2026
35 more
- 2026SpatialReward: Verifiable Spatial Reward Modeling for Fine-Grained Spatial Consistency in Text-to-Image Generation23 Mar 2026
- 2026ATHENA: Adaptive Test-Time Steering for Improving Count Fidelity in Diffusion Models20 Mar 2026
- 2026Delta-K: Boosting Multi-Instance Generation via Cross-Attention Augmentation10 Mar 2026
- 2026Exploring the AI Obedience: Why is Generating a Pure Color Image Harder than CyberPunk?26 Feb 2026
- 2026Rethinking Global Text Conditioning in Diffusion Transformers9 Feb 2026
- 2026TP-Blend: Textual-Prompt Attention Pairing for Precise Object-Style Blending in Diffusion Models12 Jan 2026
- 2026MoGen: A Unified Collaborative Framework for Controllable Multi-Object Image Generation9 Jan 2026
- 2025D2D: Detector-to-Differentiable Critic for Improved Numeracy in Text-to-Image Generation22 Oct 2025
- 2025DeLeaker: Dynamic Inference-Time Reweighting For Semantic Leakage Mitigation in Text-to-Image Models16 Oct 2025
- 2025Demystifying Numerosity in Diffusion Models -- Limitations and Remedies13 Oct 2025
- 2025Your Vision-Language Model Can't Even Count to 20: Exposing the Failures of VLMs in Compositional Counting6 Oct 2025
- 2025OverLayBench: A Benchmark for Layout-to-Image Generation with Dense Overlaps23 Sep 2025
- 2025CARINOX: Inference-time Scaling with Category-Aware Reward-based Initial Noise Optimization and Exploration22 Sep 2025
- 2025Data-Driven Loss Functions for Inference-Time Optimization in Text-to-Image2 Sep 2025
- 2025CountLoop: Training-Free High-Instance Image Generation via Iterative Agent Guidance18 Aug 2025
- 2025Too Easily Fooled? Prompt Injection Breaks LLMs on Frustratingly Simple Multiple-Choice Questions16 Aug 2025
- 2025CountCluster: Training-Free Object Quantity Guidance with Cross-Attention Map Clustering for Text-to-Image Generation14 Aug 2025
- 2025YOLO-Count: Differentiable Object Counting for Text-to-Image Generation1 Aug 2025
- 2025Prompt-Free Conditional Diffusion for Multi-object Image Augmentation8 Jul 2025
- 2025Why Settle for Mid: A Probabilistic Viewpoint to Spatial Relationship Alignment in Text-to-image Models29 Jun 2025
- 2025Cost-Aware Routing for Efficient Text-To-Image Generation17 Jun 2025
- 2025Generating Pedagogically Meaningful Visuals for Math Word Problems: A New Benchmark and Analysis of Text-to-Image Models4 Jun 2025
- 2025IMAGHarmony: Controllable Image Editing with Consistent Object Quantity and Layout2 Jun 2025
- 2025Psi-Sampler: Initial Particle Sampling for SMC-Based Inference-Time Reward Alignment in Score Models2 Jun 2025
- 2025FlowMo: Variance-Based Flow Guidance for Coherent Motion in Video Generation1 Jun 2025
- 2025OSPO: Object-Centric Self-Improving Preference Optimization for Text-to-Image Generation28 May 2025
- 2025ISAC: Training-Free Instance-to-Semantic Attention Control for Multi-Instance Generation27 May 2025
- 2025JEDI: The Force of Jensen-Shannon Divergence in Disentangling Diffusion Models25 May 2025
- 2025Towards Self-Improvement of Diffusion Models via Group Preference Optimization16 May 2025
- 2025Lay-Your-Scene: Natural Scene Layout Generation with Diffusion Transformers7 May 2025
- 2025CountDiffusion: Text-to-Image Synthesis with Training-Free Counting-Guidance Diffusion7 May 2025
- 2024QUOTA: Quantifying Objects with Text-to-Image Models for Any Domain29 Nov 2024
- 2024Enhancing MMDiT-Based Text-to-Image Models for Similar Subject Generation27 Nov 2024
- 2024Attention Overlap Is Responsible for The Entity Missing Problem in Text-to-image Diffusion Models!28 Oct 2024
- 2024Detection-Driven Object Count Optimization for Text-to-Image Diffusion Models21 Aug 2024
- 2025IMAGHarmony: Controllable Image Editing with Consistent Object Quantity and Layoutcited by 28
- 2025FlowMo: Variance-Based Flow Guidance for Coherent Motion in Video Generationcited by 21
- 2025Psi-Sampler: Initial Particle Sampling for SMC-Based Inference-Time Reward Alignment in Score Modelscited by 15
- 2024Enhancing MMDiT-Based Text-to-Image Models for Similar Subject Generationcited by 11
- 2024Attention Overlap Is Responsible for The Entity Missing Problem in Text-to-image Diffusion Models!cited by 8
- 2025Towards Self-Improvement of Diffusion Models via Group Preference Optimizationcited by 7
- 2025Lay-Your-Scene: Natural Scene Layout Generation with Diffusion Transformerscited by 6
- 2024Detection-Driven Object Count Optimization for Text-to-Image Diffusion Modelscited by 4
- 2025Cost-Aware Routing for Efficient Text-To-Image Generationcited by 4
- 2025CountLoop: Training-Free High-Instance Image Generation via Iterative Agent Guidancecited by 4
- 2026TP-Blend: Textual-Prompt Attention Pairing for Precise Object-Style Blending in Diffusion Modelscited by 4
- 2025CountDiffusion: Text-to-Image Synthesis with Training-Free Counting-Guidance Diffusioncited by 3
12 most cited of 26 All 26 (JSON)
- 2026Learning to Generate Multiple Objects from Dense and Occluded Layouts3 Jul 2026
- 2026AI-T2I: Aggregating-and-Isolating Cross-Attention to Diffusion Models for Text-to-Image Synthesis25 May 2026
- 2026When Do Diffusion Models learn to Generate Multiple Objects?30 Apr 2026
- 2026When Numbers Speak: Aligning Textual Numerals and Visual Instances in Text-to-Video Diffusion Models9 Apr 2026
- 2026ATHENA: Adaptive Test-Time Steering for Improving Count Fidelity in Diffusion Models20 Mar 2026
- 2026Delta-K: Boosting Multi-Instance Generation via Cross-Attention Augmentation10 Mar 2026
- 2026Rethinking Global Text Conditioning in Diffusion Transformers9 Feb 2026
- 2026TP-Blend: Textual-Prompt Attention Pairing for Precise Object-Style Blending in Diffusion Models12 Jan 2026
- 2025D2D: Detector-to-Differentiable Critic for Improved Numeracy in Text-to-Image Generation22 Oct 2025
- 2025Demystifying Numerosity in Diffusion Models -- Limitations and Remedies13 Oct 2025
- 2025Data-Driven Loss Functions for Inference-Time Optimization in Text-to-Image2 Sep 2025
- 2025CountLoop: Training-Free High-Instance Image Generation via Iterative Agent Guidance18 Aug 2025
12 newest of 26 All 26 (JSON)
- 2025Your Vision-Language Model Can't Even Count to 20: Exposing the Failures of VLMs in Compositional Countingcited by 17
- 2025OSPO: Object-Centric Self-Improving Preference Optimization for Text-to-Image Generationcited by 1
- 2026SynMulti: Synthetic-to-Real Learning for Multimodal Video Understandingcited by 0
- 2026ABACUS: Adapting Unified Foundation Model for Bridging Image Count Understanding and Generationcited by 0
- 2026Evaluating the Evaluators: Diagnosing Large Multimodal Models for AI-Generated Image Assessmentcited by 0
- 2026Evaluating the Evaluators: Diagnosing Large Multimodal Models for AI-Generated Image Assessment29 Sep 2026
- 2026ABACUS: Adapting Unified Foundation Model for Bridging Image Count Understanding and Generation22 Jun 2026
- 2026SynMulti: Synthetic-to-Real Learning for Multimodal Video Understanding14 Apr 2026
- 2025Your Vision-Language Model Can't Even Count to 20: Exposing the Failures of VLMs in Compositional Counting6 Oct 2025
- 2025OSPO: Object-Centric Self-Improving Preference Optimization for Text-to-Image Generation28 May 2025
- 2025YOLO-Count: Differentiable Object Counting for Text-to-Image Generationcited by 10
- 2025OverLayBench: A Benchmark for Layout-to-Image Generation with Dense Overlapscited by 9
- 2025Generating Pedagogically Meaningful Visuals for Math Word Problems: A New Benchmark and Analysis of Text-to-Image Modelscited by 4
- 2024QUOTA: Quantifying Objects with Text-to-Image Models for Any Domaincited by 3
- 2025Why Settle for Mid: A Probabilistic Viewpoint to Spatial Relationship Alignment in Text-to-image Modelscited by 2
- 2025DeLeaker: Dynamic Inference-Time Reweighting For Semantic Leakage Mitigation in Text-to-Image Modelscited by 2
- 2026Transferability Between Understanding and Generation in Unified Multimodal Modelscited by 1
- 2026MoGen: A Unified Collaborative Framework for Controllable Multi-Object Image Generationcited by 0
- 2026Exploring the AI Obedience: Why is Generating a Pure Color Image Harder than CyberPunk?cited by 0
- 2026Curriculum Group Policy Optimization: Adaptive Sampling for Unleashing the Potential of Text-to-Image Generationcited by 0
- 2026Blind-Spots-Bench: Evaluating Blind Spots in Multimodal Modelscited by 0
- 2026Attention from Above: A Multimodal Model for Drone-Based Object Localizationcited by 0
12 most cited of 13 All 13 (JSON)
- 2026NumBench: Diagnosing Counting Failures in Text-to-Image Models28 Aug 2026
- 2026Attention from Above: A Multimodal Model for Drone-Based Object Localization20 Jul 2026
- 2026Blind-Spots-Bench: Evaluating Blind Spots in Multimodal Models9 Jul 2026
- 2026Transferability Between Understanding and Generation in Unified Multimodal Models5 Jul 2026
- 2026Curriculum Group Policy Optimization: Adaptive Sampling for Unleashing the Potential of Text-to-Image Generation18 May 2026
- 2026Exploring the AI Obedience: Why is Generating a Pure Color Image Harder than CyberPunk?26 Feb 2026
- 2026MoGen: A Unified Collaborative Framework for Controllable Multi-Object Image Generation9 Jan 2026
- 2025DeLeaker: Dynamic Inference-Time Reweighting For Semantic Leakage Mitigation in Text-to-Image Models16 Oct 2025
- 2025OverLayBench: A Benchmark for Layout-to-Image Generation with Dense Overlaps23 Sep 2025
- 2025YOLO-Count: Differentiable Object Counting for Text-to-Image Generation1 Aug 2025
- 2025Why Settle for Mid: A Probabilistic Viewpoint to Spatial Relationship Alignment in Text-to-image Models29 Jun 2025
- 2025Generating Pedagogically Meaningful Visuals for Math Word Problems: A New Benchmark and Analysis of Text-to-Image Models4 Jun 2025
12 newest of 13 All 13 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025CountSteer: Steering Attention for Object Counting in Diffusion Models
- 2025Text-to-Image Diffusion Models Cannot Count, and Prompt Refinement Cannot Help
- 2024Controllable Generation with Text-to-Image Diffusion Models: A Survey
- 2023Semantic Generative Augmentations for Few-Shot Counting
- 2023ObjectComposer: Consistent Generation of Multiple Objects Without Fine-tuning
- 2022eDiff-I: Text-to-Image Diffusion Models with an Ensemble of Expert Denoisers
- 2025Reusing Computation in Text-to-Image Diffusion for Efficient Generation of Image Sets
- 2024AFreeCA: Annotation-Free Counting for All