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

AUBER:自动BERT正则化

AUBER: Automated BERT Regularization

Columbia University(哥伦比亚大学);Seoul National University(首尔大学)

Hyun Dong Lee, Seongmin Lee, U Kang

摘要:

如何有效地正则化BERT?虽然BERT在各种下游自然语言处理任务中证明了其有效性,但当只有少量训练实例时,它往往会过度拟合。正则化BERT的一个有希望的方向是基于头部重要性的代理分数来修剪其注意力头部。然而,基于启发式的方法通常是次优的,因为它们预先确定了注意力头部被修剪的顺序。为了克服这样的限制,我们提出了AUBER,一种有效的正则化方法,利用强化学习自动修剪注意力头从BERT。AUBER学习了一种修剪策略,确定哪些注意力头应该或不应该被修剪以进行正则化,而不是依赖于算法或基于规则的策略。实验结果表明,AUBER优于现有的修剪方法,实现高达10%以上的准确性。此外,我们的消融研究经验证明了我们的设计选择的有效性AUBER。

英文摘要:

How can we effectively regularize BERT? Although BERT proves its effectiveness in various downstream natural language processing tasks, it often overfits when there are only a small number of training instances. A promising direction to regularize BERT is based on pruning its attention heads based on a proxy score for head importance. However, heuristic-based methods are usually suboptimal since they predetermine the order by which attention heads are pruned. In order to overcome such a limitation, we propose AUBER, an effective regularization method that leverages reinforcement learning to automatically prune attention heads from BERT. Instead of depending on heuristics or rule-based policies, AUBER learns a pruning policy that determines which attention heads should or should not be pruned for regularization. Experimental results show that AUBER outperforms existing pruning methods by achieving up to 10% better accuracy. In addition, our ablation study empirically demonstrates the effectiveness of our design choices for AUBER.

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

↑