Minimizing Embedding Distortion for Robust Out-of-Distribution Performance

Tom Shaked, Yuval Goldman, Oran Shayer
9/11/2024
cs.CV

No confident code implementation found for this paper.

Abstract

Foundational models, trained on vast and diverse datasets, have demonstrated remarkable capabilities in generalizing across different domains and distributions for various zero-shot tasks. Our work addresses the challenge of retaining these powerful generalization capabilities when adapting foundational models to specific downstream tasks through fine-tuning. To this end, we introduce a novel approach we call "similarity loss", which can be incorporated into the fine-tuning process of any task. By minimizing the distortion of fine-tuned embeddings from the pre-trained embeddings, our method strikes a balance between task-specific adaptation and preserving broad generalization abilities. We evaluate our approach on two diverse tasks: image classification on satellite imagery and face recognition, focusing on open-class and domain shift scenarios to assess out-of-distribution (OOD) performance. We demonstrate that this approach significantly improves OOD performance while maintaining strong in-distribution (ID) performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shaked2024minimizing,
  title  = {Minimizing Embedding Distortion for Robust Out-of-Distribution Performance},
  author = {Tom Shaked and Yuval Goldman and Oran Shayer},
  year   = {2024},
  eprint = {2409.07582},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.07582v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.07582.svg)](https://codeofpaper.com/paper/2409.07582)

Discussion