mlsanityData to 7 Oct 2026

Tiny models from tiny data: Textual and null-text inversion for few-shot distillation

arXiv 2406.03146 ↗First posted 5 Jun 2024cs.CV cs.LGcited by 1

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

Abstract (arXiv)

Few-shot learning deals with problems such as image classification using very few training examples. Recent vision foundation models show excellent few-shot transfer abilities, but are large and slow at inference. Using knowledge distillation, the capabilities of high-performing but slow models can be transferred to tiny, efficient models. However, common distillation methods require a large set of unlabeled data, which is not available in the few-shot setting. To overcome this lack of data, there has been a recent interest in using synthetic data. We expand on this line of research by presenting a novel diffusion model inversion technique (TINT) combining the diversity of textual inversion with the specificity of null-text inversion. Using this method in a few-shot distillation pipeline leads to state-of-the-art accuracy among small student models on popular benchmarks, while being significantly faster than prior work. Popular few-shot benchmarks involve evaluation over a large number of episodes, which is computationally cumbersome for methods involving synthetic data generation. We also present a theoretical analysis on how the accuracy estimator variance depends on the number of episodes and query examples, and use these results to lower the computational effort required for method evaluation. Finally, to further motivate the use of generative models in few-shot distillation, we demonstrate that our method outperforms training on real data mined from the dataset used in the original diffusion model training. Source code is available at https://github.com/pixwse/tiny2.

Key facts. Cited by 1 paper 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 78 of its 93 references that are in the map. First posted on arXiv 5 Jun 2024.

Builds on

78 of 93 references.

Closest ancestors · 13

Same direction, newest first

  1. 2023Norm-guided latent space exploration for text-to-image generation14 Jun
  2. 2023Generating images of rare concepts using pre-trained diffusion models27 Apr
  3. 2023Synthetic Data from Diffusion Models Improves ImageNet Classification17 Apr
  4. 2023Encoder-based Domain Tuning for Fast Personalization of Text-to-Image Models23 Feb
  5. 2023Effective Data Augmentation With Diffusion Models7 Feb
  6. 2022Fake it till you make it: Learning transferable representations from synthetic ImageNet clones16 Dec
  7. 2022Cap2Aug: Caption guided Image to Image data Augmentation11 Dec
  8. 2022Multi-Concept Customization of Text-to-Image Diffusion8 Dec
  9. 2022Null-text Inversion for Editing Real Images using Guided Diffusion Models17 Nov
  10. 2022eDiff-I: Text-to-Image Diffusion Models with an Ensemble of Expert Denoisers2 Nov
  11. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
  12. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
1 more
  1. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr

Other references · 65

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  6. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  7. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  8. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  9. 2020Denoising Diffusion Implicit Modelscited by 9,655
  10. 2023Segment Anythingcited by 8,158
  11. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  12. 2022Classifier-Free Diffusion Guidancecited by 5,717
38 more
  1. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  2. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  3. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  4. 2016Matching Networks for One Shot Learningcited by 2,246
  5. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  6. 2020Knowledge Distillation: A Surveycited by 1,578
  7. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
  8. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
  9. 2021Scaling Vision Transformerscited by 993
  10. 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 791
  11. 2019Contrastive Representation Distillationcited by 734
  12. 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 685
  13. 2019Meta-Learning with Differentiable Convex Optimizationcited by 461
  14. 2022Activating More Pixels in Image Super-Resolution Transformercited by 433
  15. 2018TADAM: Task dependent adaptive metric for improved few-shot learningcited by 408
  16. 2018Meta-learning with differentiable closed-form solverscited by 395
  17. 2021GAN Inversion: A Surveycited by 366
  18. 2022Tip-Adapter: Training-free Adaption of CLIP for Few-shot Classificationcited by 355
  19. 2019Variational Information Distillation for Knowledge Transfercited by 321
  20. 2018Few-Shot Learning via Embedding Adaptation with Set-to-Set Functionscited by 293
  21. 2021DatasetGAN: Efficient Labeled Data Factory with Minimal Human Effortcited by 264
  22. 2023Key-Locked Rank One Editing for Text-to-Image Personalizationcited by 194
  23. 2015Large-scale Classification of Fine-Art Paintings: Learning The Right Metric on The Right Featurecited by 181
  24. 2018Low-Shot Learning from Imaginary Datacited by 181
  25. 2022A Comprehensive Survey of Few-shot Learning: Evolution, Applications, Challenges, and Opportunitiescited by 162
  26. 2019Boosting Few-Shot Visual Learning with Self-Supervisioncited by 140
  27. 2022Knowledge Distillation with the Reused Teacher Classifiercited by 140
  28. 2019Charting the Right Manifold: Manifold Mixup for Few-shot Learningcited by 135
  29. 2023DiffusionSat: A Generative Foundation Model for Satellite Imagerycited by 130
  30. 2022Pushing the Limits of Simple Pipelines for Few-Shot Learning: External Data and Fine-Tuning Make a Differencecited by 123
  31. 2017Few-Shot Image Recognition by Predicting Parameters from Activationscited by 122
  32. 2023Foundational Models Defining a New Era in Vision: A Survey and Outlookcited by 109
  33. 2022"This is my unicorn, Fluffy": Personalizing frozen vision-language representationscited by 95
  34. 2021Repurposing GANs for One-shot Semantic Part Segmentationcited by 88
  35. 2021Relational Embedding for Few-Shot Classificationcited by 74
  36. 2019Associative Alignment for Few-shot Image Classificationcited by 58
  37. 2021Exploring Complementary Strengths of Invariant and Equivariant Representations for Few-Shot Learningcited by 56
  38. 2021Rectifying the Shortcut Learning of Background for Few-Shot Learningcited by 51

50 most cited of 65 All 65 (JSON)

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2023Text-to-Image Diffusion Models are Zero-Shot Classifiers
  2. 2022Few-Shot Diffusion Models
  3. 2024Zero-Shot Distillation for Image Encoders: How to Make Effective Use of Synthetic Data
  4. 2023Diversified in-domain synthesis with efficient fine-tuning for few-shot classification
  5. 2025Few-Step Diffusion via Score identity Distillation
  6. 2025Beyond Synthetic Replays: Turning Diffusion Features into Few-Shot Class-Incremental Learning Knowledge
  7. 2024Few-shot Learner Parameterization by Diffusion Time-steps
  8. 2024One Category One Prompt: Dataset Distillation using Diffusion Models