arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2212.11353cs.CLcs.LG
收藏

对比蒸馏是迁移学习的样本有效自监督损失策略

Contrastive Distillation Is a Sample-Efficient Self-Supervised Loss Policy for Transfer Learning

Meta AI

Chris Lengerich, Gabriel Synnaeve, Amy Zhang, Hugh Leather, Kurt Shuster, François Charton, Charysse Redwood

摘要:

传统的强化学习方法集中在直接从情景决策中学习决策策略,而缓慢而隐式地学习泛化所需的组合表示的语义。虽然已经采用了一些方法来通过辅助自监督损失来改进表示,同时学习决策策略,但从手工设计和上下文无关的自监督损失(多视图)学习组成表示仍然相对缓慢地适应现实世界,现实世界包含许多非IID子空间,这些子空间需要在不同抽象级别的时间和空间注意力模式中快速分布偏移。相比之下,监督语言模型级联显示出适应许多不同流形的灵活性,以及自主任务转移所需的自学习提示。然而,到目前为止,语言模型的迁移方法,如少样本学习和微调仍然需要人的监督和使用自学习方法的迁移学习还没有得到充分的探索。我们提出了一个自我监督的损失政策,称为对比蒸馏,体现了高互信息与源和目标任务从权重令牌的潜在变量。我们展示了这是如何优于常见的迁移学习方法,并提出了一个有用的设计轴的权衡计算的泛化在线传输。对比蒸馏是通过从内存中采样改进,并提出了一个简单的算法,更有效地抽样对比损失的负例比随机抽样。

英文摘要:

Traditional approaches to RL have focused on learning decision policies directly from episodic decisions, while slowly and implicitly learning the semantics of compositional representations needed for generalization. While some approaches have been adopted to refine representations via auxiliary self-supervised losses while simultaneously learning decision policies, learning compositional representations from hand-designed and context-independent self-supervised losses (multi-view) still adapts relatively slowly to the real world, which contains many non-IID subspaces requiring rapid distribution shift in both time and spatial attention patterns at varying levels of abstraction. In contrast, supervised language model cascades have shown the flexibility to adapt to many diverse manifolds, and hints of self-learning needed for autonomous task transfer. However, to date, transfer methods for language models like few-shot learning and fine-tuning still require human supervision and transfer learning using self-learning methods has been underexplored. We propose a self-supervised loss policy called contrastive distillation which manifests latent variables with high mutual information with both source and target tasks from weights to tokens. We show how this outperforms common methods of transfer learning and suggests a useful design axis of trading off compute for generalizability for online transfer. Contrastive distillation is improved through sampling from memory and suggests a simple algorithm for more efficiently sampling negative examples for contrastive losses than random sampling.

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

↑