arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.13345cs.CL
收藏

参数有效少样本学习的可微蕴涵

Differentiable Entailment for Parameter Efficient Few Shot Learning

Harvard University(哈佛大学)

Ethan Kim, Jerry Yang

摘要:

少样本学习允许预先训练的语言模型适应下游任务,同时使用有限数量的训练样本。然而,当所有的模型参数必须优化时,实际应用受到限制。在这项工作中,我们采用了一种新的技术参数有效的少样本学习,同时采用了严格的参数效率的定义。我们的训练方法结合了1)通过将自然语言任务重新定义为蕴涵任务\cite{wang_entailment_2021}的中间训练和2)模板和标签标记\cite{zhang_differentiable_2021}的可区分优化。我们量化参数效率和性能之间的权衡在Few-Shot制度,并提出了一个简单的模型不可知的方法,可以扩展到任何任务通过实现有竞争力的性能,同时只优化3%的模型的参数,并允许批量推理,我们允许更有效的实际部署的模型。

英文摘要:

Few-shot learning allows pre-trained language models to adapt to downstream tasks while using a limited number of training examples. However, practical applications are limited when all model parameters must be optimized. In this work we apply a new technique for parameter efficient few shot learning while adopting a strict definition of parameter efficiency. Our training method combines 1) intermediate training by reformulating natural language tasks as entailment tasks \cite{wang_entailment_2021} and 2) differentiable optimization of template and label tokens \cite{zhang_differentiable_2021}. We quantify the tradeoff between parameter efficiency and performance in the few-shot regime and propose a simple model agnostic approach that can be extended to any task By achieving competitive performance while only optimizing 3\% of a model's parameters and allowing for batched inference, we allow for more efficient practical deployment of models.

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

↑