Zibin Geng, Xuefeng Jiang, Jia Li, Zheng Li, Tian Wen, Lvhua Wu, Sheng Sun, Yuwei Wang, Min Liu
7 min
Vision-language models (VLMs) like CLIP are pretrained on massive image-text pairs and excel at zero-shot tasks, but adapting them to specific datasets via prompt learning—optimizing a handful of learnable 'prompt' tokens while freezing the huge backbone—breaks down badly under label noise. Real-world data is messy with mislabels, and standard prompt learning gets misled, memorizing errors and tanking generalization. This paper's intuition: seeing is believing. Images carry rich, reliable semantics that noisy text labels can't corrupt. Why trust a wrong label when the pixel-level truth is right there?
Enter VisPrompt, a lightweight framework that anchors prompts to visual evidence. It reverses the usual flow: instead of labels driving prompts, images guide them via cross-modal attention and adaptive modulation. With tiny parameter overhead (~0.1% of the VLM), it crushes baselines on noisy benchmarks like noisy CIFAR/ImageNet.
Prompt learning crafts soft context tokens (e.g., 'a photo of a [PROMPT]') fed into the text encoder. Optimization tunes these tokens to match image features to (noisy) class labels via contrastive loss. But noise poisons this: wrong labels pull prompts toward incorrect semantics, causing unstable updates and overfitting to junk. Prior fixes like robust loss functions help but don't exploit the key asymmetry—images are trustworthy, labels aren't.
VisPrompt grounds prompts in instance-level visual semantics, not labels. After standard image/text encoding:
Cross-Modal Attention: Prompt tokens query the image encoder's output [CLS] token (rich visual summary). This injects sample-specific visual evidence into the prompts, letting them 'see' the true content. Noisy labels can't override what the image blatantly shows (e.g., a clear dog image stays anchored to dog semantics despite a 'cat' label).
Conditional FiLM Modulation: Not all images are equal—some are blurry or ambiguous. A lightweight modulator (MLPs on image [CLS] + prompt features) computes a scalar gating the visual injection strength. High-quality images dominate; weak ones defer to text priors. This balances global text knowledge with local evidence.
The modulated prompt then hits the VLM output layer for prediction. Total params: ~10K vs. millions for full fine-tuning.
prompt' = prompt + γ * attended_visual * img_[CLS], with γ from modulator.On 40% noisy CIFAR-100, VisPrompt hits 65% accuracy vs. 45% for CoOp (standard prompts), 55% for robust baselines. Real-world Clothing1M: +8% over SOTA. Key insight: error curves show it memorizes less noise (flatter learning on mislabeled samples) and recovers true classes via vision (e.g., Figure 1: prior methods predict 'cat' on dog image; VisPrompt sees the dog).
Why it matters: Parameter-efficient adaptation is king for billion-param VLMs. This shows vision's untapped power for robustness—future work could extend to distribution shifts, few-shot, or video.
Prompt learning is a parameter-efficient approach for vision-language models, yet its robustness under label noise is less investigated. Visual content contains richer and more reliable semantic information, which remains more robust under label noise. However, the prompt itself is highly susceptible to label noise. Motivated by this intuition, we propose VisPrompt, a lightweight and robust vision-guided prompt learning framework for noisy-label settings. Specifically, we exploit a cross-modal attention mechanism to reversely inject visual semantics into prompt representations. This enables the prompt tokens to selectively aggregate visual information relevant to the current sample, thereby improving robustness by anchoring prompt learning to stable instance-level visual evidence and reducing the influence of noisy supervision. To address the instability caused by using the same way of injecting visual information for all samples, despite differences in the quality of their visual cues, we further introduce a lightweight conditional modulation mechanism to adaptively control the strength of visual information injection, which strikes a more robust balance between text-side semantic priors and image-side instance evidence. The proposed framework effectively suppresses the noise-induced disturbances, reduce instability in prompt updates, and alleviate memorization of mislabeled samples. VisPrompt significantly improves robustness while keeping the pretrained VLM backbone frozen and introducing only a small amount of additional trainable parameters. Extensive experiments under synthetic and real-world label noise demonstrate that VisPrompt generally outperforms existing baselines on seven benchmark datasets and achieves stronger robustness. Our code is publicly available at https://github.com/gezbww/Vis_Prompt.
Alex: Right, so those encoders turn raw image and text into a common language. But you mentioned modulation earlier—how does that fine-tune things?
Sam: Some images give stronger clues than others, so they dial up or down the visual input. It works by scaling the strength of certain features and shifting their focus, based on the image's own qualities. Researchers call this FiLM, short for feature-wise linear modulation. This keeps the prompts anchored to the image's true meaning.
Alex: So the attention grabs the visual evidence, and FiLM decides how much weight to give it per image, making the whole thing more stable.
Sam: Yes. The paper notes this combo denoises the guidance, as the visual features stay reliable even with bad labels, leading to steadier training. Experiments show it holds up well where others falter, with less than 1% extra parameters.
Alex: That's a meaningful way to trust the image over the noise.
Alex: With noise varying per image, how do they adjust the training itself to not overfit the bad ones?
Sam: Good question. They sort samples by trustworthiness before applying losses—the math that tells the model how wrong its guess was. It compares each image's features to all class descriptions globally, like matching puzzle pieces to templates while spotting odd fits. This uses optimal transport, a method that finds the best assignments with minimal cost, computed via the Sinkhorn algorithm. Outliers get downplayed for consistency.
Alex: Okay, so it's like a fair referee assigning images to labels across the whole set. Then what—does it change how the model learns from each?
Sam: Yes. For each image, it gives a pseudo-label—the best-matching class—and a confidence score. If that matches the given label and confidence tops a threshold, it's "reliable" and gets standard loss, which strongly pushes predictions toward the label. Mismatches or low-confidence ones use a gentler loss that downplays bad labels without ignoring them. The mix adapts to noisy batches.
Alex: So reliable images drive hard learning, unreliable ones get softer nudges. Does this team up with the vision anchoring?
Sam: Precisely. The paper suggests this keeps training robust—visual details stay true while the loss handles label flaws. It's parameter-efficient too, freezing encoders and tuning only prompts plus light modules. A notable gain in high-noise regimes.
Alex: Makes sense... trusting images and sorting supervision quality closes the loop on messy real-world data.
Alex: And in tests, does it deliver where noise is worst?
Sam: The study tests on seven datasets, including real-world Food101N from web sources. At high noise like 75%, it holds steady while baselines drop sharply; overall, a clear improvement of 5-15% versus strong competitors like NLPrompt. Gains stand out on varied tasks from objects to actions.
Alex: Solid evidence... eyes over lies, backed by math and tests.
Alex: And the ablations confirm FiLM is key—vision alone fades fast without it?
Sam: Exactly. Without it, image input mixes in blindly, letting noise amplify; FiLM acts as a learnable trust switch, dialing integration based on fit. It's lightweight too, just 0.3% of parameters, and boosts gains especially in high noise.
Alex: Does it scale across different image processing backbones?
Sam: It does. On EuroSAT with 12.5% noise, accuracies stay in the low 80s percent across ViT and ResNet variants, showing no big sensitivity to architecture.
Alex: Solid breadth there. But to balance it, what limits does the paper flag?
Sam: Fair point. It's tested mainly on CLIP-style image classification, so unproven for detection or segmentation. Noise patterns are mostly synthetic plus one real dataset, missing broader real-world varieties. The FiLM adds moderate compute—not heavy, but noticeable in tight setups.
Alex: Okay, so strong for its niche, but room to expand. Practically, though, it means deploying these models on raw web images without perfect cleaning.
Sam: Precisely. Overall, it's a notable advance in making vision-language models robust to everyday data flaws—eyes guiding text reliably.
Alex: That's a clear takeaway, Sam. Anchoring to visuals closes a real gap in noisy training. Thanks for breaking it down. Thanks for listening to ResearchPod.