In Context Learning with Vision Transformers: Case Study

Antony Zhao, Alex Proshkin, Fergal Hennessy, Francesco Crivelli
5/27/2025
cs.CVcs.AIcs.LG
transformer-attention

No confident code implementation found for this paper.

Abstract

Large transformer models have been shown to be capable of performing in-context learning. By using examples in a prompt as well as a query, they are capable of performing tasks such as few-shot, one-shot, or zero-shot learning to output the corresponding answer to this query.

Show full abstract

One area of interest to us is that these transformer models have been shown to be capable of learning the general class of certain functions, such as linear functions and small 2-layer neural networks, on random data (Garg et al, 2023). We aim to extend this to the image space to analyze their capability to in-context learn more complex functions on the image space, such as convolutional neural networks and other methods.

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{zhao2025context,
  title  = {In Context Learning with Vision Transformers: Case Study},
  author = {Antony Zhao and Alex Proshkin and Fergal Hennessy and Francesco Crivelli},
  year   = {2025},
  eprint = {2505.20872},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.20872v1}
}

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/2505.20872.svg)](https://codeofpaper.com/paper/2505.20872)

Discussion