Tiny models from tiny data: Textual and null-text inversion for few-shot distillation
원문 초록
Few-shot image classification involves classifying images 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 work 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. This allows us to push even tiny models to high accuracy using only a tiny application-specific dataset, albeit relying on extra data for pre-training. Popular few-shot benchmarks involve evaluation over a large number of episodes, which is computationally cumbersome for methods involving synthetic data generation. Therefore, we also present a theoretical analysis on how the variance of the accuracy estimator depends on the number of episodes and query examples, and use these results to lower the computational effort required for method evaluation. In addition, to further motivate the use of generative models in few-shot distillation, we demonstrate that our method performs better compared to training on real data mined from the dataset used to train the diffusion model. Source code will be made available at https://github.com/pixwse/tiny2.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
ViT-ProtoNet for Few-Shot Image Classification: A Multi-Benchmark Evaluation
SeqPE: Transformer with Sequential Position Encoding
Interpretable Few-Shot Image Classification via Prototypical Concept-Guided Mixture of LoRA Experts
FewVS: A Vision-Semantics Integration Framework for Few-Shot Image Classification
Distilled Gradual Pruning with Pruned Fine-tuning
Multistage Relation Network With Dual-Metric for Few-Shot Hyperspectral Image Classification
토론
이 논문과 연결된 포럼 글이 아직 없습니다.