Topology-Aware CLIP Few-Shot Learning
Dazhi Huang
TL;DR
The paper addresses the challenge of efficiently adapting large vision-language models to downstream tasks in few-shot regimes by preserving pre-trained knowledge while learning task-specific cues. It introduces a topology-aware fine-tuning approach that integrates Representation Topology Divergence (RTD) into the Task Residual framework, freezing the base encoders and training a lightweight residual classifier, with the total objective $L_{total} = L_{CE} + \lambda L_{RTD}$. Across six diverse benchmarks, RTD-TR yields consistent improvements over strong baselines, demonstrating the value of aligning multi-scale topology between visual and textual embeddings. This topology-guided regularization enhances few-shot generalization and offers a principled, efficient path to leverage topological information in VLM adaptation, while acknowledging computational costs and pointing to avenues for future refinement.
Abstract
Efficiently adapting large Vision-Language Models (VLMs) like CLIP for few-shot learning poses challenges in balancing pre-trained knowledge retention and task-specific adaptation. Existing methods often overlook valuable structural information within the VLM's latent space. We introduce a topology-aware tuning approach integrating Representation Topology Divergence (RTD) into the Task Residual (TR) framework. By explicitly aligning the topological structures of visual and text representations using a combined RTD and Cross-Entropy loss, while freezing base VLM encoders, our method enhances few-shot performance. We optimize only lightweight Task Residual parameters, effectively leveraging topological information. Across 6 diverse benchmark datasets, our approach demonstrates significant gains, achieving an average accuracy improvement of 1-2\% over relevant baseline methods in few-shot settings. This work presents an effective strategy to boost VLM few-shot capabilities by incorporating topological alignment.
