Saved in:
Bibliographic Details
Main Authors: Schiesser, Lukas, Wolff, Cornelius, Haas, Sophie, Pukrop, Simon
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.14842
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911729960615936
author Schiesser, Lukas
Wolff, Cornelius
Haas, Sophie
Pukrop, Simon
author_facet Schiesser, Lukas
Wolff, Cornelius
Haas, Sophie
Pukrop, Simon
contents Building image classification models remains cumbersome in data-scarce domains, where collecting large labeled datasets is impractical. In-context learning (ICL) is a promising paradigm for few-shot image classification (FSIC), but prior work has underexplored the relative importance of encoder pretraining versus fusion-layer training data. We present PictSure, a vision-only ICL family of models that demonstrates the potential of easy-to-use fusion transformer architectures, as well as the need for better embedding representations across a wider range of image domains. In both in-domain and out-of-domain evaluations, we find that representation quality induced by pretraining strongly correlates with downstream ICL performance. Crucially, varying the training dataset for the fusion transformer, from ImageNet alone to diverse multi-domain mixtures, provides limited additional performance gains under the evaluated settings, demonstrating that the fusion layer appears capable of adapting effectively once embeddings are sufficiently structured. These results show that the bottleneck in visual ICL is representation quality, not fusion-module training diversity. To facilitate adoption and reproducibility, we release all model weights as open-source artifacts and provide an MCP server that exposes PictSure as a callable tool for LLM-based agentic systems, enabling few-shot image classification to be invoked directly within AI pipelines without integration overhead. Code can be found at https://github.com/PictSure and models at https://huggingface.co/pictsure.
format Preprint
id arxiv_https___arxiv_org_abs_2506_14842
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle PictSure: Pretraining Embeddings Matters for In-Context Learning Image Classifiers
Schiesser, Lukas
Wolff, Cornelius
Haas, Sophie
Pukrop, Simon
Computer Vision and Pattern Recognition
Artificial Intelligence
Building image classification models remains cumbersome in data-scarce domains, where collecting large labeled datasets is impractical. In-context learning (ICL) is a promising paradigm for few-shot image classification (FSIC), but prior work has underexplored the relative importance of encoder pretraining versus fusion-layer training data. We present PictSure, a vision-only ICL family of models that demonstrates the potential of easy-to-use fusion transformer architectures, as well as the need for better embedding representations across a wider range of image domains. In both in-domain and out-of-domain evaluations, we find that representation quality induced by pretraining strongly correlates with downstream ICL performance. Crucially, varying the training dataset for the fusion transformer, from ImageNet alone to diverse multi-domain mixtures, provides limited additional performance gains under the evaluated settings, demonstrating that the fusion layer appears capable of adapting effectively once embeddings are sufficiently structured. These results show that the bottleneck in visual ICL is representation quality, not fusion-module training diversity. To facilitate adoption and reproducibility, we release all model weights as open-source artifacts and provide an MCP server that exposes PictSure as a callable tool for LLM-based agentic systems, enabling few-shot image classification to be invoked directly within AI pipelines without integration overhead. Code can be found at https://github.com/PictSure and models at https://huggingface.co/pictsure.
title PictSure: Pretraining Embeddings Matters for In-Context Learning Image Classifiers
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2506.14842