TRANSMISSION // 2605.11659v3

Why CLIP Fine-Tuning Can Fail Across Domains

Source published

A study traces uneven few-shot CLIP performance across image domains to attention patterns, then tests a method that uses text-guided attention and a dynamically balanced loss.

AI-generated conceptual illustration for Why CLIP Fine-Tuning Can Fail Across Domains
AI-generated conceptual illustration; not documentary evidence.

A model trained on everyday images may struggle with medical scans or satellite views, especially when only a few labeled examples are available. This preprint investigates why some ways of fine-tuning CLIP work better than others in that setting—and whether attention guided by text can help.

The challenge of changing domains

A vision model trained on broad collections of images may not recognize the patterns that matter in a specialist setting. A skin-lesion photograph, a chest X-ray or a satellite image can look very different from familiar everyday pictures. Cross-domain few-shot learning asks whether a pretrained model can adapt to such a new domain using just a handful of labeled examples per class. In the source-free version studied here, adaptation uses the pretrained model and target-domain examples, without access to the original training data.

The authors focus on CLIP, a model that links images and text. They first compare different ways to fine-tune it. In their experiments, adapter-based approaches such as LoRA generally outperform prompt-based methods such as MaPLe—a reversal of the pattern the paper says has been seen in in-domain settings. The researchers then investigate what might account for that difference.

Following the model’s attention

The study examines four target datasets: CropDiseases, EuroSAT satellite images, ISIC skin-lesion images and ChestX chest X-rays. The experiments use a ViT-Base/16 CLIP backbone and evaluate five-way classification tasks: a model must choose among five classes, using either one or five labeled examples per class. The authors report average accuracy over 400 evaluation episodes for each setting.

They compare visual and textual features, class separation and attention maps. In their analyses, MaPLe’s visual [CLS] token—the representation used to summarize an image—often concentrates attention on itself instead of informative image patches. LoRA more effectively shifts attention toward image regions relevant to the class descriptions. The authors associate these differences with better alignment between image and text features, and clearer separation among classes.

To test the proposed link between attention and performance, they also add increasing amounts of noise to visual attention in controlled experiments. As attention becomes more concentrated and similar across examples, the study reports declines in measures of image–text alignment and visual class separation. This supports the authors’ explanation within the experiments, but does not by itself establish that attention collapse is the only reason methods perform differently.

Using text to redirect attention

The proposed method, Semantic Probe, has two components. EOS-guided Attention Rectification (EAR) uses attention from the text encoder’s [EOS] token to help redirect the image encoder’s [CLS] token toward relevant image patches. The paper describes EOS attention as more consistently focused on discriminative regions in its visualizations. Balanced Alignment and Separation (BAS) changes the training loss so the model can give different emphasis to image–text alignment and class separation as training progresses.

Across the four datasets, the authors report that Semantic Probe improves the average results of the fine-tuning methods they test. For LoRA-CLIP, the reported average accuracy rises from 55.37% to 57.62% in the five-way, one-shot setting, and from 65.99% to 68.01% in the five-shot setting. MaPLe’s reported averages also rise, from 53.04% to 55.36% in one-shot and from 62.75% to 66.33% in five-shot. These are results on the paper’s particular benchmarks and evaluation setup, not evidence that the method will improve every model or real-world application.

What remains uncertain

The evidence is experimental and limited to four target datasets and 2D images, using a specified CLIP backbone and fine-tuning protocol. The paper notes that evaluating dedicated video or three-dimensional extensions remains future work. Some comparisons also involve different methods and experimental configurations, so broad rankings should be interpreted cautiously. Accuracy on these benchmarks does not establish clinical usefulness or performance in deployment.

The source identifies the manuscript as a preprint submitted to Elsevier; the supplied material does not establish that it has been peer reviewed. Its findings should therefore be treated as provisional. The authors say code will be released, but the source does not confirm that it is available. The results offer a proposed explanation and a promising benchmark-tested technique, rather than a settled account of how CLIP should be adapted across domains.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • When Should CLIP Adapt—and When Should It Stand Pat?

    Shared method: Both papers modify visual-token attention during source-free cross-domain few-shot adaptation: Zhao et al. describe Semantic Probe’s EOS-guided Attention Rectification, while Liu et al. describe CoGA’s conditional visual-token intervention. This is a shared intervention strategy, not evidence that the methods are equivalent; CoGA additionally gates intervention based on support-set competence, and the excerpts do not establish a direct comparison.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2605.11659v3 — Original paper

      Excerpt reference: static/papers/2605.11659v3.md:40-62
      Basis: Paper text
      Source file SHA-256: 486ec15fa2e94fef3faf17429835efe1286e54ab97ab03b9af7aa80445e37ff2

    • 2611.28104v1 — Original paper

      Excerpt reference: static/papers/2611.28104v1.md:96-216
      Basis: Paper text
      Source file SHA-256: e04b22d5f76a21489c877bc0c5f4ee93058c9e59340148b2723d8de189963707

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.