Decoupling Template Bias in CLIP: Harnessing Empty Prompts for Enhanced Few-Shot Learning
Not on the map. Why?
Abstract (arXiv)
The Contrastive Language-Image Pre-Training (CLIP) model excels in few-shot learning by aligning visual and textual representations. Our study shows that template-sample similarity (TSS), defined as the resemblance between a text template and an image sample, introduces bias. This bias leads the model to rely on template proximity rather than true sample-to-category alignment, reducing both accuracy and robustness in classification. We present a framework that uses empty prompts, textual inputs that convey the idea of "emptiness" without category information. These prompts capture unbiased template features and offset TSS bias. The framework employs two stages. During pre-training, empty prompts reveal and reduce template-induced bias within the CLIP encoder. During few-shot fine-tuning, a bias calibration loss enforces correct alignment between images and their categories, ensuring the model focuses on relevant visual cues. Experiments across multiple benchmarks demonstrate that our template correction method significantly reduces performance fluctuations caused by TSS, yielding higher classification accuracy and stronger robustness. The repository of this project is available at https://github.com/zhenyuZ-HUST/Decoupling-Template-Bias-in-CLIP.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 39 of its 67 references that are in the map. First posted on arXiv 9 Dec 2025.
Builds on
39 of 67 references.
References · 39
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2013Describing Textures in the Wildcited by 2,110
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
- 2023Mitigating Object Hallucinations in Large Vision-Language Models through Visual Contrastive Decodingcited by 671
- 2020Rethinking Few-Shot Image Classification: a Good Embedding Is All You Need?cited by 435
- 2022Prompt-aligned Gradient for Prompt Tuningcited by 339
27 more
- 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimizationcited by 307
- 2021TrivialAugment: Tuning-free Yet State-of-the-Art Data Augmentationcited by 225
- 2023Large Language Model Guided Tree-of-Thoughtcited by 218
- 2019SimpleShot: Revisiting Nearest-Neighbor Classification for Few-Shot Learningcited by 194
- 2023GeoCLIP: Clip-Inspired Alignment between Locations and Images for Effective Worldwide Geo-localizationcited by 185
- 2018Task-Agnostic Meta-Learning for Few-shot Learningcited by 151
- 2023Debiasing Vision-Language Models via Biased Promptscited by 147
- 2024Does Prompt Formatting Have Any Impact on LLM Performance?cited by 132
- 2021A Survey on Bias in Visual Datasetscited by 84
- 2019Transductive Episodic-Wise Adaptive Metric for Few-Shot Learningcited by 67
- 2018Memory Matching Networks for One-Shot Image Recognitioncited by 65
- 2022Few-Shot Object Detection with Fully Cross-Transformercited by 64
- 2022Contrastive Adapters for Foundation Model Group Robustnesscited by 62
- 2023VisoGender: A dataset for benchmarking gender bias in image-text pronoun resolutioncited by 52
- 2023Mitigating Spurious Correlations in Multi-modal Models during Fine-tuningcited by 47
- 2022Margin-Based Few-Shot Class-Incremental Learning with Class-Level Overfitting Mitigationcited by 45
- 2023Enhancing Zero-Shot Chain-of-Thought Reasoning in Large Language Models through Logiccited by 34
- 2023Generalized Logit Adjustment: Calibrating Fine-tuned Models by Removing Label Bias in Foundation Modelscited by 32
- 2024Calibrating Multi-modal Representations: A Pursuit of Group Robustness without Annotationscited by 30
- 2020Cooperative Bi-path Metric for Few-shot Learningcited by 15
- 2024On Catastrophic Inheritance of Large Foundation Modelscited by 15
- 2024What Makes CLIP More Robust to Long-Tailed Pre-Training Data? A Controlled Study for Transferable Insightscited by 13
- 2023Mitigating Word Bias in Zero-shot Prompt-based Classifierscited by 9
- 2020Annotation-Efficient Untrimmed Video Action Recognitioncited by 6
- 2025From Objects to Events: Unlocking Complex Visual Understanding in Object Detectors via LLM-guided Symbolic Reasoningcited by 3
- 2025When Every Millisecond Counts: Real-Time Anomaly Detection via the Multimodal Asynchronous Hybrid Networkcited by 3
- 2024OTTER: Effortless Label Distribution Adaptation of Zero-shot Modelscited by 1
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Reclaiming Lost Text Layers for Source-Free Cross-Domain Few-Shot Learningcited by 5
- 2026Interpretable Cross-Domain Few-Shot Learning with Rectified Target-Domain Local Alignmentcited by 4
- 2026Remedying Target-Domain Astigmatism for Cross-Domain Few-Shot Object Detectioncited by 2
- 2026Addressing Exacerbated Attention Sink for Source-Free Cross-Domain Few-Shot Learningcited by 2
- 2026Addressing Exacerbated Attention Sink for Source-Free Cross-Domain Few-Shot Learning25 May 2026
- 2026Remedying Target-Domain Astigmatism for Cross-Domain Few-Shot Object Detection19 Mar 2026
- 2026Interpretable Cross-Domain Few-Shot Learning with Rectified Target-Domain Local Alignment18 Mar 2026
- 2026Reclaiming Lost Text Layers for Source-Free Cross-Domain Few-Shot Learning5 Mar 2026