OTTER:零样本模型的轻松标签分布自适应
OTTER: Effortless Label Distribution Adaptation of Zero-shot Models
AI总结:
针对零样本模型因预训练数据不平衡导致的标签分布不匹配问题,提出基于最优传输的轻量调整方法OTTER,仅需下游标签分布估计,理论有误差界保证,实验在多类零样本任务上显著优于基线。
摘要:
主流零样本模型因预训练遗留的伪影而性能受限。其中一个由不平衡的大规模网络预训练数据导致的危害极大的问题是标签分布不匹配。现有的修复标签分布的方法不适用于零样本场景,因为它们的需求与零样本设置不匹配,例如需要访问下游任务的标注数据,或是需要知晓预训练分布中真实的标签平衡情况。我们规避了这些挑战,提出了一种简单轻量的方法,通过最优传输调整预训练模型的预测结果。该技术仅需要对下游任务的标签分布进行估计。理论上,我们刻画了该方法在若干温和条件下带来的性能提升,并给出了分布误设导致的误差的界。实验上,我们在大量零样本图像和文本分类任务上验证了方法的有效性,平均准确率分别提升4.8%和15.9%,在21个数据集中的17个上优于现有匹配等基线方法,且优势通常十分显著。
英文摘要:
Popular zero-shot models suffer due to artifacts inherited from pretraining. One particularly detrimental issue, caused by unbalanced web-scale pretraining data, is mismatched label distribution. Existing approaches that seek to repair the label distribution are not suitable in zero-shot settings, as they have mismatching requirements, such as needing access to labeled downstream task data or knowledge of the true label balance in the pretraining distribution. We sidestep these challenges and introduce a simple and lightweight approach to adjust pretrained model predictions via optimal transport. Our technique requires only an estimate of the label distribution of a downstream task. Theoretically, we characterize the improvement produced by our procedure under certain mild conditions and provide bounds on the error caused by misspecification. Empirically, we validate our method in a wide array of zero-shot image and text classification tasks, improving accuracy by 4.8% and 15.9% on average, and beating baselines like prior matching -- often by significant margins -- in 17 out of 21 datasets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。