mlsanityData to 14 Oct 2026

Semantic Generative Augmentations for Few-Shot Counting

arXiv 2311.16122 ↗First posted 26 Oct 2023cs.CV cs.AI cs.LGcited by 6

On the map: Diffusion models → Image generation, text-to-image and editing

Abstract (arXiv)

With the availability of powerful text-to-image diffusion models, recent works have explored the use of synthetic data to improve image classification performances. These works show that it can effectively augment or even replace real data. In this work, we investigate how synthetic data can benefit few-shot class-agnostic counting. This requires to generate images that correspond to a given input number of objects. However, text-to-image models struggle to grasp the notion of count. We propose to rely on a double conditioning of Stable Diffusion with both a prompt and a density map in order to augment a training dataset for few-shot counting. Due to the small dataset size, the fine-tuned model tends to generate images close to the training images. We propose to enhance the diversity of synthesized images by exchanging captions between images thus creating unseen configurations of object types and spatial layout. Our experiments show that our diversified generation strategy significantly improves the counting accuracy of two recent and performing few-shot counting models on FSC147 and CARPK.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 37 of its 45 references that are in the map. First posted on arXiv 26 Oct 2023.

Builds on

37 of 45 references.

Closest ancestors · 10

Same direction, newest first

  1. 2023Grounded Text-to-Image Synthesis with Attention Refocusing8 Jun
  2. 2023Synthetic Data from Diffusion Models Improves ImageNet Classification17 Apr
  3. 2023T2I-Adapter: Learning Adapters to Dig out More Controllable Ability for Text-to-Image Diffusion Models16 Feb
  4. 2023Adding Conditional Control to Text-to-Image Diffusion Models10 Feb
  5. 2023Effective Data Augmentation With Diffusion Models7 Feb
  6. 2023Diversity is Definitely Needed: Improving Model-Agnostic Zero-shot Classification via Stable Diffusion7 Feb
  7. 2022Fake it till you make it: Learning transferable representations from synthetic ImageNet clones16 Dec
  8. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
  9. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
  10. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec

Other references · 27

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  4. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  5. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
  6. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  7. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
  8. 2023Aligning Text-to-Image Models using Human Feedbackcited by 422
  9. 2022Is synthetic data from generative models ready for image recognition?cited by 320
  10. 2023Composer: Creative and Controllable Image Synthesis with Composable Conditionscited by 304
  11. 2017Data Augmentation Generative Adversarial Networkscited by 278
  12. 2021DatasetGAN: Efficient Labeled Data Factory with Minimal Human Effortcited by 264
15 more
  1. 2023Teaching CLIP to Count to Tencited by 198
  2. 2023StableRep: Synthetic Images from Text-to-Image Models Make Strong Visual Representation Learnerscited by 177
  3. 2017Drone-based Object Counting by Spatially Regularized Regional Proposal Networkcited by 156
  4. 2021Learning To Count Everythingcited by 150
  5. 2019Learning from Synthetic Data for Crowd Counting in the Wildcited by 148
  6. 2021Generative Models as a Data Source for Multiview Representation Learningcited by 104
  7. 2023Leaving Reality to Imagination: Robust Classification via Generated Datasetscited by 91
  8. 2018Class-Agnostic Countingcited by 85
  9. 2022Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic Countingcited by 80
  10. 2022CounTR: Transformer-based Generalised Visual Countingcited by 79
  11. 2019This dataset does not exist: training models from generated imagescited by 65
  12. 2022A Low-Shot Object Counting Network With Iterative Prototype Adaptationcited by 65
  13. 2022Few-shot Object Counting with Similarity-Aware Feature Enhancementcited by 62
  14. 2022Human Evaluation of Text-to-Image Models on a Multi-Task Benchmarkcited by 41
  15. 2022Crowd counting with crowd attention convolutional neural networkcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 1; 2026: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Text-to-Image Diffusion Models Cannot Count, and Prompt Refinement Cannot Help
  2. 2024Make It Count: Text-to-Image Generation with an Accurate Number of Objects
  3. 2025CountSteer: Steering Attention for Object Counting in Diffusion Models
  4. 2024AFreeCA: Annotation-Free Counting for All
  5. 2023Counting Guidance for High Fidelity Text-to-Image Synthesis
  6. 2025T2ICount: Enhancing Cross-modal Understanding for Zero-Shot Counting
  7. 2023Dataset Diffusion: Diffusion-based Synthetic Dataset Generation for Pixel-Level Semantic Segmentation
  8. 2025CountDiffusion: Text-to-Image Synthesis with Training-Free Counting-Guidance Diffusion