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

Open Access
Authors
Publication date 2025
Host editors
  • A. Globerson
  • L. Mackey
  • D. Belgrave
  • A. Fan
  • U. Paquet
  • J. Tomczak
  • C. Zhang
Book title 38th Conference on Neural Information Processing Systems (NeurIPS 2024)
Book subtitle 10-15 December 2024, Vancouver, Canada
ISBN (electronic)
  • 9798331314385
Series Advances in Neural Information Processing Systems
Event The Thirty-eighth Annual Conference on Neural Information Processing Systems (NeurIPS 2024)
Pages (from-to) 15386-15415
Number of pages 30
Publisher Neural Information Processing Systems Foundation
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
Abstract
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.
Document type Conference contribution
Language English
Published at https://doi.org/10.52202/079017-0492
Published at https://papers.nips.cc/paper_files/paper/2024/hash/1bf4cad47f5a54c98fbe7d10516ebf77-Abstract-Conference.html https://openreview.net/forum?id=PRBsEz8rnV
Other links https://github.com/WalterSimoncini/fungivision https://www.proceedings.com/79017.html
Downloads
079017-0492open (Final published version)
Permalink to this page
Back