CVCLLGJul 15, 2024

No Train, all Gain: Self-Supervised Gradients Improve Deep Frozen Representations

arXiv:2407.10964v25 citationsh-index: 21
Originality Incremental advance
AI Analysis

This method addresses the need for better feature extraction in frozen models across vision, NLP, and audio domains, offering a simple, training-free improvement.

The paper tackles the problem of enhancing pretrained transformer features without training by introducing FUNGI, which uses self-supervised gradients to improve embeddings, achieving consistent gains across 18 datasets and a +17% improvement in semantic segmentation over DINO.

This paper introduces FUNGI, Features from UNsupervised GradIents, a method to enhance the features of transformer encoders by leveraging self-supervised gradients. Our method is simple: given any pretrained model, we first compute gradients from various self-supervised objectives for each input. These gradients are projected to a lower dimension and then concatenated with the model's output embedding. The resulting features are evaluated on k-nearest neighbor classification over 11 datasets from vision, 5 from natural language processing, and 2 from audio. Across backbones spanning various sizes and pretraining strategies, FUNGI features provide consistent performance improvements over the embeddings. We also show that using FUNGI features can benefit linear classification, clustering and image retrieval, and that they significantly improve the retrieval-based in-context scene understanding abilities of pretrained models, for example improving upon DINO by +17% for semantic segmentation - without any training.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes