Tiny models from tiny data: Textual and null-text inversion for few-shot distillation
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
- 2023Norm-guided latent space exploration for text-to-image generation14 Jun
- 2023Generating images of rare concepts using pre-trained diffusion models27 Apr
- 2023Synthetic Data from Diffusion Models Improves ImageNet Classification17 Apr
- 2023Encoder-based Domain Tuning for Fast Personalization of Text-to-Image Models23 Feb
- 2023Effective Data Augmentation With Diffusion Models7 Feb
- 2022Fake it till you make it: Learning transferable representations from synthetic ImageNet clones16 Dec
- 2022Cap2Aug: Caption guided Image to Image data Augmentation11 Dec
- 2022Multi-Concept Customization of Text-to-Image Diffusion8 Dec
- 2022Null-text Inversion for Editing Real Images using Guided Diffusion Models17 Nov
- 2022eDiff-I: Text-to-Image Diffusion Models with an Ensemble of Expert Denoisers2 Nov
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
1 more
Other references · 65
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2023Segment Anythingcited by 8,158
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2022Classifier-Free Diffusion Guidancecited by 5,717
38 more
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2016Matching Networks for One Shot Learningcited by 2,246
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
- 2020Knowledge Distillation: A Surveycited by 1,578
- 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
- 2021Scaling Vision Transformerscited by 993
- 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 791
- 2019Contrastive Representation Distillationcited by 734
- 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 685
- 2019Meta-Learning with Differentiable Convex Optimizationcited by 461
- 2022Activating More Pixels in Image Super-Resolution Transformercited by 433
- 2018TADAM: Task dependent adaptive metric for improved few-shot learningcited by 408
- 2018Meta-learning with differentiable closed-form solverscited by 395
- 2021GAN Inversion: A Surveycited by 366
- 2022Tip-Adapter: Training-free Adaption of CLIP for Few-shot Classificationcited by 355
- 2019Variational Information Distillation for Knowledge Transfercited by 321
- 2018Few-Shot Learning via Embedding Adaptation with Set-to-Set Functionscited by 293
- 2021DatasetGAN: Efficient Labeled Data Factory with Minimal Human Effortcited by 264
- 2023Key-Locked Rank One Editing for Text-to-Image Personalizationcited by 194
- 2015Large-scale Classification of Fine-Art Paintings: Learning The Right Metric on The Right Featurecited by 181
- 2018Low-Shot Learning from Imaginary Datacited by 181
- 2022A Comprehensive Survey of Few-shot Learning: Evolution, Applications, Challenges, and Opportunitiescited by 162
- 2019Boosting Few-Shot Visual Learning with Self-Supervisioncited by 140
- 2022Knowledge Distillation with the Reused Teacher Classifiercited by 140
- 2019Charting the Right Manifold: Manifold Mixup for Few-shot Learningcited by 135
- 2023DiffusionSat: A Generative Foundation Model for Satellite Imagerycited by 130
- 2022Pushing the Limits of Simple Pipelines for Few-Shot Learning: External Data and Fine-Tuning Make a Differencecited by 123
- 2017Few-Shot Image Recognition by Predicting Parameters from Activationscited by 122
- 2023Foundational Models Defining a New Era in Vision: A Survey and Outlookcited by 109
- 2022"This is my unicorn, Fluffy": Personalizing frozen vision-language representationscited by 95
- 2021Repurposing GANs for One-shot Semantic Part Segmentationcited by 88
- 2021Relational Embedding for Few-Shot Classificationcited by 74
- 2019Associative Alignment for Few-shot Image Classificationcited by 58
- 2021Exploring Complementary Strengths of Invariant and Equivariant Representations for Few-Shot Learningcited by 56
- 2021Rectifying the Shortcut Learning of Background for Few-Shot Learningcited by 51
50 most cited of 65 All 65 (JSON)
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2023Text-to-Image Diffusion Models are Zero-Shot Classifiers
- 2022Few-Shot Diffusion Models
- 2024Zero-Shot Distillation for Image Encoders: How to Make Effective Use of Synthetic Data
- 2023Diversified in-domain synthesis with efficient fine-tuning for few-shot classification
- 2025Few-Step Diffusion via Score identity Distillation
- 2025Beyond Synthetic Replays: Turning Diffusion Features into Few-Shot Class-Incremental Learning Knowledge
- 2024Few-shot Learner Parameterization by Diffusion Time-steps
- 2024One Category One Prompt: Dataset Distillation using Diffusion Models