Reproduce “Not All Features Matter: Enhancing Few-shot CLIP with Adaptive Prior Refinement” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xiangyang Zhu, Renrui Zhang, Bowei He, Aojun Zhou, Dong Wang, Bin Zhao, Peng Gao

Researchers from City University of Hong Kong, The Chinese University of Hong Kong, and Shanghai AI Lab developed Adaptive Prior rEfinement (APE) and APE-T to enhance few-shot CLIP classification by adaptively selecting informative feature channels. APE-T achieved state-of-the-art accuracy on 11 benchmarks while using 5000x fewer GFLOPs and 30x fewer learnable parameters than previous training-required methods.

Key insights

  • Redundancy exists in CLIP's pre-trained features, as not all channels contribute equally to discriminability in specific few-shot tasks.
  • Adaptive selection of the most informative feature channels, guided by inter-class similarity and variance, can effectively distill domain-specific knowledge.
  • Robust few-shot classification benefits from combining standard CLIP zero-shot predictions with cache-based similarities, weighted by the model's self-assessed accuracy on training examples.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.