Let's Roll a BiFTA: Bi-refinement for Fine-grained Text-visual Alignment in Vision-Language Models

Yuhao Sun, Chengyi Cai, Jiacheng Zhang, Zesheng Ye, Xingliang Yuan, Feng Liu

TL;DR

This paper introduces BiFTA, a novel framework that improves fine-grained text-visual alignment in vision-language models by addressing redundancy in both image patches and textual descriptions. By refining these modalities, BiFTA significantly boosts zero-shot classification performance across various benchmarks and model architectures.

What Problem Does This Paper Address?

Vision-language models (VLMs) like CLIP excel at zero-shot classification by aligning image representations with textual descriptions. A recent advancement, Weighted Visual-Text Cross Alignment (WCA), further enhances this by using fine-grained text descriptions and localized image patches. However, the authors observe a critical issue: both the generated text descriptions and the randomly cropped image patches often contain redundant information. This redundancy can disproportionately influence the alignment score, leading to less effective and accurate classification. For instance, multiple image crops might capture nearly identical visual features, and LLM-generated descriptions can be repetitive, diluting the impact of truly informative content. BiFTA aims to solve this by actively removing this redundancy.

Methods

BiFTA introduces a two-pronged approach called "Bi-refinement":

  • View Refinement (VR): This component addresses redundancy in image patches. It uses the Intersection over Union (IoU) metric to identify and discard image patches that have significant overlap with already selected patches. The goal is to ensure that the remaining visual samples are more distinctive and semantically independent.
  • Description Refinement (DR): This component tackles redundancy in textual descriptions. It first computes the pairwise cosine similarity between text representations to filter out semantically similar descriptions. Then, it selects the top-k most relevant descriptions to the label prompt, ensuring a diverse yet informative set of textual cues.

These two refinement steps are designed to be efficient and can be applied independently or together, enhancing the overall quality of the visual-text alignment.

Datasets

BiFTA was evaluated on six standard downstream classification datasets:

  • ImageNet
  • CUB (Caltech-UCSD Birds 200)
  • Oxford Pets
  • DTD (Describable Textures Dataset)
  • Food101
  • Place365

Key Insights and Ideas

  • Redundancy is a bottleneck: The core insight is that simply increasing the granularity of text-visual alignment (using fine-grained descriptions and patches) isn't enough if those components themselves are redundant. This redundancy actively harms performance.
  • IoU for visual distinctiveness: Using IoU to filter image patches is an effective and computationally efficient way to ensure that selected visual features are semantically distinct, rather than just spatially close.
  • Cosine similarity for textual diversity: Cosine similarity is a good proxy for semantic similarity in text, allowing for the removal of repetitive descriptions and the preservation of diverse, informative ones.
  • Modularity is key: Both VR and DR can be applied independently, and BiFTA's refinement process is decoupled from the core VLM architecture, making it broadly applicable.

Key Results

BiFTA consistently outperforms baseline methods, including WCA, across all six benchmark datasets and various CLIP backbone architectures (ViT and ResNet).

  • On the DTD dataset (known for homogeneous textures), BiFTA achieved a significant 3.33% improvement in accuracy over WCA using the ViT-B/32 backbone.
  • Across five different CLIP backbones, BiFTA achieved an average improvement of 0.42% to 1.19% compared to WCA.
  • Qualitative examples show that BiFTA's VR produces more distinct image patches, while DR generates more varied and informative textual descriptions.

Limitations and Future Work

  • Textual descriptions not always local: The authors note that LLM-generated descriptions don't always focus on specific local features, making it hard to map text to image patches. Future work could explore advanced approaches to generate more precise and localized descriptive texts.
  • Assumption of diversity: BiFTA's effectiveness relies on the assumption that increased patch diversity improves alignment. However, this might not hold uniformly across all benchmarks. On datasets like Oxford Pets, BiFTA sometimes showed a slight performance drop compared to WCA.
  • Distinguishing truly redundant vs. visually similar: The current strategy doesn't explicitly distinguish between truly redundant patches and visually similar but semantically important ones. Future work could focus on developing adaptive mechanisms to better preserve informative visual cues.

Summary updated

BibTeX
@article{sun2025let,
  author = {Yuhao Sun and Chengyi Cai and Jiacheng Zhang and Zesheng Ye and Xingliang YUAN and Feng Liu},
  title = {{Let's Roll a BiFTA: Bi-refinement for Fine-grained Text-visual Alignment in Vision-Language Models}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=ZmbkzZnHO4},
}
Figure