Reproduce “CARPRT: Class-Aware Zero-Shot Prompt Reweighting for Black-Box Vision-Language Models” 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

Ruijiang Dong, Zesheng Ye, Jianzhong Qi, Lei Feng, Feng Liu, Gang Niu, Masashi Sugiyama

CARPRT estimates class-specific weights for text prompts in zero-shot image classification, using unlabeled images and similarity scores from a vision–language model. It assigns pseudo-labels per prompt, averages scores within prompt–class groups, then normalizes weights separately for each class. With CLIP ViT-B/16, it reaches 67.45% accuracy versus WPE’s 65.13% across 11 benchmarks; gains vary by dataset and shrink as class imbalance increases.

Summary by alphaXiv.

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