arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.08802cs.CLcs.AIcs.LG
收藏

UNIREX:一个统一的语言模型理据抽取学习框架

UNIREX: A Unified Learning Framework for Language Model Rationale Extraction

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

Aaron Chan, Maziar Sanjabi, Lambert Mathias, Liang Tan, Shaoliang Nie, Xiaochang Peng, Xiang Ren, Hamed Firooz

摘要:

提取的基本原理解释了一个语言模型(LM)的预测对一个给定的任务实例,突出的文本输入,最影响的预测。理想情况下,合理性提取应该是忠实的(反映LM的实际行为)和合理的(对人类有说服力),而不损害LM的(即,任务模型)的任务性能。虽然归因算法和选择预测管道通常用于基本原理提取,但它们都依赖于某些阻碍它们满足所有三个需求的算法。有鉴于此,我们提出了UNIREX,一个灵活的学习框架,它将基本原理提取器优化概括如下:(1)为学习的基本原理提取器指定架构;(2)选择可解释性目标(即,忠实性和可解释性标准);以及(3)使用所选择的目标联合地对任务模型和基本原理提取器进行训练。UNIREX能够用(1)中的通用学习原理提取器替换先前作品的启发式设计选择,并针对(2)-(3)中的所有三个需求对其进行优化。为了便于比较方法之间的多个desiderata,我们引入了归一化相对增益(NRG)度量。在五个文本分类数据集中,我们最好的UNIREX配置比基线平均高出32.9%NRG。此外,我们发现UNIREX训练的基本原理提取器甚至可以推广到看不见的数据集和任务。

英文摘要:

An extractive rationale explains a language model's (LM's) prediction on a given task instance by highlighting the text inputs that most influenced the prediction. Ideally, rationale extraction should be faithful (reflective of LM's actual behavior) and plausible (convincing to humans), without compromising the LM's (i.e., task model's) task performance. Although attribution algorithms and select-predict pipelines are commonly used in rationale extraction, they both rely on certain heuristics that hinder them from satisfying all three desiderata. In light of this, we propose UNIREX, a flexible learning framework that generalizes rationale extractor optimization as follows: (1) specify architecture for a learned rationale extractor; (2) select explainability objectives (i.e., faithfulness and plausibility criteria); and (3) jointly the train task model and rationale extractor on the task using the selected objectives. UNIREX enables replacing prior works' heuristic design choices with a generic learned rationale extractor in (1) and optimizing it for all three desiderata in (2)-(3). To facilitate comparison between methods with respect to multiple desiderata, we introduce the Normalized Relative Gain (NRG) metric. Across five text classification datasets, our best UNIREX configuration outperforms baselines by an average of 32.9% NRG. Plus, we find that UNIREX-trained rationale extractors can even generalize to unseen datasets and tasks.

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

↑