# Poster 31256

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/31256

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello and welcome to my talk about MIM Refiner, a contrastive learning boost to intermediate representations. Short overview what we did in our paper. We basically refined pre-trained mask image models via instance discrimination heads attached at multiple intermediate blocks to improve the representation quality of those mask image models. We can see the method overview here on the left hand side where we copied the MIM blocks into a setup where we then refine them with instance discrimination heads.
And then this refinement process improves performance across various visual classification, segmentation and clustering tasks here as shown on the right hand side here.
Short overview of our setting, we are concerned with pre-training very large scale vision transformer models in the realms of hundreds of millions to two billion parameter models with self-supervised learning on the image of 1k dataset and after we pre-train these models we then transfer them to various downstream tasks such as classification, segmentation, clustering or object detection.
What is mask image modeling? A very prominent work in that line of work in that direction is mask auto encoders which basically mask out a large portion of the image and then encodes these patches or these parts of the image with a vision transformer and then decodes them again into the original image or pixel level. These methods have the advantage that they can very efficiently pre-train these large scale encoders because they use an asymmetric encoder decoder design.
where the decoder comprises of very small amount of the total parameter counts as shown in the image here where large-scale models such as the 600 million VATH parameter models only have like a couple of percentage of the total parameters.
puts towards the decoding process most of them are in the encoder which only processes a quarter of the patches. This makes the whole setup very efficient however there are also some problems because ideally we would have an encoder that learns more and more abstract representations so we start at 0% with pixels and we decode then again into pixels which is not a very abstract representation and doesn't have a lot of quality associated with it. So ideally we would have like this steady increase in representation quality.
in the encoder because the decoder we don't use for any kind of downstream tasks however due to this asymmetric design we get more something like this where the encoder is not really only encoding stuff but it also overtakes some of the parts of the decoding process and then the degrade the representation quality degrades we can very clearly see this also in an analysis where when we analyze the
Representation quality at all intermediate vision transformer blocks in the encoder with a KNN classifier, we see that the larger models particularly suffer from a degrading representation quality in the later layers where even the largest model, the VTH here, is worse than the 300 million parameter VTL model.
This then manifests in a lack of performance in downstream classification tasks, for example, when you don't have a lot of labels. In general, you need to retrain this kind of blocks because they suffer from representation degradation. And if you don't have a lot of labels or if you freeze the backbone, this is really bad for performance. We see this here in the green line here in the mask autoencoder performance. This really drops when you decrease the number of labels. In contrast, instance discrimination methods such as Ibot here.
Here have relatively stable performance and if you refine mask image models as we will show in later stages of this presentation we then get the orange line here which unifies the advantages and doesn't suffer from this low shot performance drop.
How we do this is with a self -supervised method called instance discrimination, which basically tries to find an augmented version of an image within a batch of image, so images, so we augment the fox in two ways. We then put this all into a batch of this two foxes in addition to like a cat and a dog into a visual backbone and the visual backbone is then trained to align the representations of the two foxes and push the representation away from the dog and the cat.
This was shown to have an implicit object bias which shows a very strong representational quality in the last layers because it has a concept of what are objects and where they are located in the image as shown in this work here in Dino.
Memory finder combines these two approaches, mask image models to really efficiently pre-train large -scale encoders with instance discrimination to leverage the abstract representation quality in the following setup where we copy the pre-trained MIM model and then we refine it with instance discrimination heads. The results show an overwhelming improvement in performance across the board where we effectively unify the advantages of both settings.
our models are open source we can load it with a single line of code from torch up and so please go check them out if you're interested and yeah that's it thanks for your attention and please feel free to check out their paper and our code
