arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.01598cs.CVcs.LG
收藏

不使用任何对抗样本的鲁棒少样本学习

Robust Few-shot Learning Without Using any Adversarial Samples

Indian Institute of Science(印度科学学院)

Gaurav Kumar Nayak, Ruchit Rawal, Inder Khatri, Anirban Chakraborty

摘要:

获取和注释样本的高成本使得“Few-Shot”学习问题成为首要问题。现有的工作主要集中在提高清洁数据的性能,忽略了对抗性噪声扰动的数据的鲁棒性问题。最近,已经做出了一些努力,使用复杂的元学习技术将Few-Shot问题与鲁棒性目标相结合。这些方法依赖于在每一集训练中生成对抗样本,这进一步增加了计算负担。为了避免这种耗时和复杂的过程,我们提出了一种简单但有效的替代方案,不需要任何对抗性样本。受人类认知决策过程的启发,我们通过自蒸馏在预训练阶段强制执行基类数据与其相应的低频样本之间的高级特征匹配。然后,该模型在新类别的样本上进行微调,我们还通过余弦相似性提高了低频查询集特征的可辨别性。在CIFAR-FS数据集的1次射击设置上,我们的方法分别在PGD和最先进的自动攻击上的对抗准确性方面大大提高了$60.55\%$和$62.05\%$,与基线相比,干净的准确性略有下降。此外,我们的方法只需要标准训练时间的$1.69\times$,而$\approx$ $5\times$比最先进的对抗元学习方法更快。该代码可在https://github.com/vcl-iisc/robust-few-shot-learning上获得。

英文摘要:

The high cost of acquiring and annotating samples has made the `few-shot' learning problem of prime importance. Existing works mainly focus on improving performance on clean data and overlook robustness concerns on the data perturbed with adversarial noise. Recently, a few efforts have been made to combine the few-shot problem with the robustness objective using sophisticated Meta-Learning techniques. These methods rely on the generation of adversarial samples in every episode of training, which further adds a computational burden. To avoid such time-consuming and complicated procedures, we propose a simple but effective alternative that does not require any adversarial samples. Inspired by the cognitive decision-making process in humans, we enforce high-level feature matching between the base class data and their corresponding low-frequency samples in the pretraining stage via self distillation. The model is then fine-tuned on the samples of novel classes where we additionally improve the discriminability of low-frequency query set features via cosine similarity. On a 1-shot setting of the CIFAR-FS dataset, our method yields a massive improvement of $60.55\%$ & $62.05\%$ in adversarial accuracy on the PGD and state-of-the-art Auto Attack, respectively, with a minor drop in clean accuracy compared to the baseline. Moreover, our method only takes $1.69\times$ of the standard training time while being $\approx$ $5\times$ faster than state-of-the-art adversarial meta-learning methods. The code is available at https://github.com/vcl-iisc/robust-few-shot-learning.

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

↑