描述符汤与词汤:克服分布外少样本学习中参数效率与准确率的权衡
Descriptor and Word Soups: Overcoming the Parameter Efficiency Accuracy Tradeoff for Out-of-Distribution Few-shot Learning
AI总结:
本文提出描述符汤和词汤两种少样本方法,无需测试时LLM且不需反向传播,以更少参数和集成成员在OOD少样本学习中超越现有方法。
摘要:
在过去一年中,围绕使用GPT描述符进行零样本评估,涌现了大量多模态研究。这些研究利用GPT生成的标签特定文本集成,提升了预训练视觉-语言(VL)模型的零样本准确率。最近的一项研究WaffleCLIP表明,使用随机描述符的集成也能达到类似的零样本准确率。然而,这两种零样本方法都不可训练,因此在有少量分布外(OOD)训练数据可用时并非最优。受这些先前工作的启发,我们提出了两种更灵活的方法,称为描述符汤(descriptor soup)和词汤(word soup),它们在测试时不需要大语言模型(LLM),并且可以利用训练数据来提高OOD目标准确率。描述符汤使用通用的少样本训练数据贪心地选择一小组文本描述符,然后利用所选描述符计算鲁棒的类别嵌入。词汤以类似方式贪心地组装一个词链。与现有的少样本软提示调优方法相比,词汤在构造上需要更少的参数和更少的GPU内存,因为它不需要反向传播。在跨数据集和域泛化基准上,两种汤方法都优于当前已发表的少样本方法,即使与最先进的零样本方法结合时也是如此。与最先进的提示和描述符集成方法(如ProDA和WaffleCLIP)相比,词汤以更少的集成成员实现了更高的OOD准确率。请查看我们的代码:github.com/Chris210634/word_soups
英文摘要:
Over the past year, a large body of multimodal research has emerged around zero-shot evaluation using GPT descriptors. These studies boost the zero-shot accuracy of pretrained VL models with an ensemble of label-specific text generated by GPT. A recent study, WaffleCLIP, demonstrated that similar zero-shot accuracy can be achieved with an ensemble of random descriptors. However, both zero-shot methods are un-trainable and consequently sub-optimal when some few-shot out-of-distribution (OOD) training data is available. Inspired by these prior works, we present two more flexible methods called descriptor and word soups, which do not require an LLM at test time and can leverage training data to increase OOD target accuracy. Descriptor soup greedily selects a small set of textual descriptors using generic few-shot training data, then calculates robust class embeddings using the selected descriptors. Word soup greedily assembles a chain of words in a similar manner. Compared to existing few-shot soft prompt tuning methods, word soup requires fewer parameters by construction and less GPU memory, since it does not require backpropagation. Both soups outperform current published few-shot methods, even when combined with SoTA zero-shot methods, on cross-dataset and domain generalization benchmarks. Compared with SoTA prompt and descriptor ensembling methods, such as ProDA and WaffleCLIP, word soup achieves higher OOD accuracy with fewer ensemble members. Please checkout our code: github.com/Chris210634/word_soups
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。