arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.02649cs.CV
收藏

通过 Diffusion Time-steps 进行 Few-shot Learner 参数化

Few-shot Learner Parameterization by Diffusion Time-steps

Nanyang Technological University(南洋理工大学);Sea AI Lab(Sea AI实验室);Singapore Management University(新加坡管理大学);Hefei University of Technology(合肥工业大学);Skywork AI

Zhongqi Yue, Pan Zhou, Richang Hong, Hanwang Zhang, Qianru Sun

AI总结:

针对少样本学习中难以保留细微属性而去除虚假显著属性的问题,提出TiF learner,利用Diffusion Model的time-steps隔离细微属性并训练低秩适配器进行参数化,在细粒度任务上显著优于OpenCLIP。

摘要:

即使使用大型多模态基础模型,few-shot learning 仍然具有挑战性——如果没有适当的归纳偏置,几乎不可能在保留细微类别属性的同时,移除与类别标签虚假相关的视觉显著属性。为此,我们发现了一种归纳偏置,即 Diffusion Model (DM) 的 time-steps 可以隔离细微的类别属性,也就是说,随着前向扩散在每个 time-step 向图像添加噪声,细微属性通常比视觉显著的虚假属性更早地在某个 time-step 丢失。基于此,我们提出了 Time-step Few-shot (TiF) learner。我们为文本条件化的 DM 训练特定类别的低秩适配器,以弥补丢失的属性,使得图像可以在给定 prompt 的情况下从其带噪声的图像中准确重建。因此,在较小的 time-step 下,适配器和 prompt 本质上是对细微类别属性的参数化。对于测试图像,我们可以使用该参数化仅提取细微类别属性进行分类。TiF learner 在各种细粒度和定制的 few-shot learning 任务上显著优于 OpenCLIP 及其适配器。代码在 https://github.com/yue-zhongqi/tif。

英文摘要:

Even when using large multi-modal foundation models, few-shot learning is still challenging -- if there is no proper inductive bias, it is nearly impossible to keep the nuanced class attributes while removing the visually prominent attributes that spuriously correlate with class labels. To this end, we find an inductive bias that the time-steps of a Diffusion Model (DM) can isolate the nuanced class attributes, i.e., as the forward diffusion adds noise to an image at each time-step, nuanced attributes are usually lost at an earlier time-step than the spurious attributes that are visually prominent. Building on this, we propose Time-step Few-shot (TiF) learner. We train class-specific low-rank adapters for a text-conditioned DM to make up for the lost attributes, such that images can be accurately reconstructed from their noisy ones given a prompt. Hence, at a small time-step, the adapter and prompt are essentially a parameterization of only the nuanced class attributes. For a test image, we can use the parameterization to only extract the nuanced class attributes for classification. TiF learner significantly outperforms OpenCLIP and its adapters on a variety of fine-grained and customized few-shot learning tasks. Codes are in https://github.com/yue-zhongqi/tif.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑