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

ER-Test:评价语言模型的解释正则化方法

ER-Test: Evaluating Explanation Regularization Methods for Language Models

University of Southern California(南加州大学);Meta AI

Brihi Joshi, Aaron Chan, Ziyi Liu, Shaoliang Nie, Maziar Sanjabi, Hamed Firooz, Xiang Ren

摘要:

通过解释人类将如何解决给定的任务,人类的理性可以为神经语言模型(LM)提供强大的学习信号。解释正则化(ER)旨在通过推动LM的机器原理(LM关注哪些输入标记?)与人类的基本原理保持一致(人类会关注哪些输入令牌?)。虽然以前的作品主要研究ER通过在分布(ID)评估,分布外(OOD)的推广往往是更关键的在现实世界中的场景,但ER的OOD推广的效果一直未被充分探索。在本文中,我们介绍了ER测试,一个框架,用于评估ER模型的面向对象的泛化沿三个维度:看不见的数据集测试,对比集测试,和功能测试。使用ER测试,我们广泛地分析了ER模型的OOD泛化如何随着不同的ER设计选择而变化。在两个任务和六个数据集上,ER测试表明ER对ID性能的影响很小,但可以产生很大的OOD性能增益。此外,我们发现,ER可以提高OOD性能,即使在有限的理性监督。ER测试的结果有助于证明ER的实用性,并建立有效使用ER的最佳实践。

英文摘要:

By explaining how humans would solve a given task, human rationales can provide strong learning signal for neural language models (LMs). Explanation regularization (ER) aims to improve LM generalization by pushing the LM's machine rationales (Which input tokens did the LM focus on?) to align with human rationales (Which input tokens would humans focus on?). Though prior works primarily study ER via in-distribution (ID) evaluation, out-of-distribution (OOD) generalization is often more critical in real-world scenarios, yet ER's effect on OOD generalization has been underexplored. In this paper, we introduce ER-Test, a framework for evaluating ER models' OOD generalization along three dimensions: unseen dataset tests, contrast set tests, and functional tests. Using ER-Test, we extensively analyze how ER models' OOD generalization varies with different ER design choices. Across two tasks and six datasets, ER-Test shows that ER has little impact on ID performance but can yield large OOD performance gains. Also, we find that ER can improve OOD performance even with limited rationale supervision. ER-Test's results help demonstrate ER's utility and establish best practices for using ER effectively.

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

↑