Text-to-image (T2I) models often generate the wrong number of objects, yet existing benchmarks are too small or weakly controlled to explain why. We introduce NumBench, a benchmark of 640{,}000 prompts spanning 1{,}600 categories and counts from 1 to 100. Its factorial design varies object composition, spatial guidance, and appearance conditions while balancing counts and category exposure. We also develop a process model in which requested instances compete for a finite set of resolvable image regions. The model predicts a near-quadratic collision deficit at low occupancy and shows how coordinated placement reduces it. For scalable evaluation, we propose the Confidence-Weighted Numeric Precision Score (\cwnps), which aggregates three calibrated detectors and discounts uncertain proposals. Across five commercial systems, two open models, and two specialized counting methods, performance declines sharply with requested count; all evaluated methods are weak above 50 objects. Count range has the largest measured effect, followed by layout and composition. Grid guidance is strongest among guided layouts, consistent with the coordination prediction, although the analysis does not establish collision as the sole cause. A 14{,}400-image human study supports automated evaluation through count 50, while results on 243 natural-language prompts show transfer beyond NumBench templates.
Figures & tables
Figure 1: Counting failures across five commercial T2I systems. High-count prompts produce missing or merged objects, category confusion, and repeated default patterns. System labels identify the evaluated interfaces; exact collection dates are recorded in the release metadata.
Benchmark
Prompts
Max Count
Categories
Count
Layout
Appear.
Comp.
Joint
DrawBench † ( Saharia et al. 2022 )
∼ 200
∼ 10
<20
×
×
×
×
×
PaintSkills † ( Cho et al. 2023 )
7,330
∼ 5
∼ 80
×
×
×
×
×
GenEval † ( Ghosh et al. 2023 )
553
4
80
✓
×
×
×
×
T2I-CompBench † ( Huang et al. 2023 )
6,000
∼ 5
∼ 200
×
×
×
×
×
HRS-Bench † ( Bakr et al. 2023 )
45,000
∼ 10
700+
×
×
×
×
×
GeckoNum ( Kajić et al. 2024 )
1,386
∼ 10
∼ 30
✓
×
×
✓
×
Table 1: Comparison with counting benchmarks. † Counting is one component of a broader suite. Joint indicates that count, layout, appearance, and composition are controlled within one benchmark design.
Dimension
Levels
Allocation
Composition
2
80K single + 80K double
Count
100
Equal mass at each integer
Category
1,600
Marginally balanced assignment
Spatial layout
4
Free-form / grid / scene / random
Appearance
2
Clean + modified
Total
640,000 prompts
Table 2: NumBench construction. Every core prompt receives a free-form version, one guided counterpart, and clean and modified appearance forms.
Group
Descriptors
Interpretation
Visual quality
blurry, deformed, low quality, artifacts
Primarily changes fidelity and detector confidence.
Instance evidence
overlapping, merged, partial, cropped
Can make the requested cardinality visually ambiguous.
Table 3: The modified-appearance condition combines quality degradation with instance-separation difficulty; analyses keep these roles conceptually distinct.
Single Category
Double Category
1–25
26–50
51–75 ‡
76–100 ‡
1–25
26–50
51–75 ‡
76–100 ‡
Class
Method
b
cw
b
cw
b
cw
b
cw
b
cw
b
cw
b
cw
b
cw
Open
SDXL
.602
.553
.402
.360
.250
.222
.099
.076
.483
.445
.301
.271
.152
.125
.051
.038
Open
FLUX.2 [dev]
.608
.560
.409
.367
.259
.231
.105
.081
.489
.450
.309
.278
.157
.131
.056
.040
Specialized
CountGen
.722
.692
.520
.485
.345
.311
.160
.129
.642
.610
.443
.410
.255
.230
.111
.088
Specialized
Bounded Attention
.669
.623
.482
.442
.315
.284
.142
.110
.671
.641
.465
.435
.279
.251
.125
.100
Table 4: Basic (b) and confidence-weighted (cw) numeric precision on the full NumBench evaluation. Broad degradation and method ordering persist under both metrics. ‡ Values above count 50 are stress-test results because human agreement and detector–human correlation weaken in this range.
Figure 2: cw-NPS on the balanced 3,200-prompt subset for five commercial systems, with SDXL included as an open-model reference. S and M denote single-category and two-category prompts, respectively.
Figure 3: Factor analysis. Axis and legend labels use shorthand: “Prompt Noise” denotes the appearance condition, “Object Config.” denotes composition, and “Single/Double-Object” denotes single- and double-category prompts. (a) Count range has the largest effect (normalized values). (b) Specialized methods improve low-count performance but not the high-count regime. (c) Composition changes difficulty across count ranges.
Count range
Fleiss’ κ
Detector–human r
1–25
.82
>.80
26–50
.58
>.80
76–100 ‡
.33
≈.40
Overall
—
>.75
Table 5: Aggregate human validation for the reported strata. The source annotations do not provide separate κ or detector–human r estimates for 51–75. ‡ High-count stress test.
Figure 4: Human validation for “11 cats and 9 dogs.” Detector-based and human-count cw-NPS differ by at most .05 for each shown system. This example illustrates agreement in the validated count range; the aggregate correlation analysis, not a single image, is the main evidence.
Figure 5: Transfer to CoCoCount+. Left: generations for “3 ginger kittens and 2 grey kittens” expose exact-count, color-binding, missing-object, and overcount failures even in the low-count regime. Right: FID versus cw-NPS across the nine systems; perceptual quality does not predict numeric precision, and no evaluated system exceeds .67 cw-NPS on the 243 prompts.
Failure
Observable symptom
Most relevant axes
What NumBench measures
Recommended reporting
Cardinality
Too few or too many visible target instances
Count, layout
Category-wise absolute count error through b-NPS and cw-NPS
Scores by count range and composition
Binding
Correct total but wrong category or attribute allocation
Composition, category
Separate target counts for every requested category
Per-category counts on double-category prompts
Visibility
Merged, partial, cropped, or ambiguous instances
Appearance, layout
Detector confidence plus human ambiguity and agreement
Human validation and explicit stress-test labels
Table 6: NumBench separates three failure families that require different evidence and reporting. A single total-count score cannot distinguish them.
Text-to-image generation creates images from natural-language prompts using generative models, with research focused on fidelity, control, efficiency, and safety.