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

通过预训练语言模型中的选择性合理化提升可解释性

Boosting Explainability through Selective Rationalization in Pre-trained Language Models

Hefei University of Technology(合肥工业大学);School of Computer Science and Information Engineering(计算机与信息工程学院);School of Computer Science(计算机学院)

Libing Yuan, Shuaibo Hu, Kui Yu, Le Wu

AI总结:

针对选择性合理化用于PLM时因token同质性导致的理由退化问题,本文提出PLMR,通过生成器剪枝无关token、预测器利用全文规范预测,提升了可解释性与有效性。

摘要:

预训练语言模型(PLM)在自然语言处理(NLP)中的广泛应用引发了人们对其可解释性日益增长的担忧。选择性合理化是一种自解释框架,它选择人类可理解的输入子集作为预测的理由。最近的研究表明,将现有合理化框架应用于PLM会导致严重的退化和失效问题,产生次优或无意义的理由。此类失效严重损害了人们对合理化方法的信任,并限制了合理化技术在PLM上的应用。本文发现,PLM生成句子中token的同质性是导致这些问题的主要原因。为应对这些挑战,我们提出了一种名为Pre-trained Language Model's Rationalization(PLMR)的方法,该方法将PLM拆分为生成器和预测器,以处理NLP任务并提供可解释的理由。PLMR中的生成器还通过剪枝不相关token来缓解同质性,而预测器则使用全文信息来规范预测。在多个PLM上、针对两个广泛使用的数据集开展的实验证明了所提方法PLMR在解决将选择性合理化应用于PLM这一挑战方面的有效性。代码:https://github.com/ylb777/PLMR。

英文摘要:

The widespread application of pre-trained language models (PLMs) in natural language processing (NLP) has led to increasing concerns about their explainability. Selective rationalization is a self-explanatory framework that selects human-intelligible input subsets as rationales for predictions. Recent studies have shown that applying existing rationalization frameworks to PLMs will result in severe degeneration and failure problems, producing sub-optimal or meaningless rationales. Such failures severely damage trust in rationalization methods and constrain the application of rationalization techniques on PLMs. In this paper, we find that the homogeneity of tokens in the sentences produced by PLMs is the primary contributor to these problems. To address these challenges, we propose a method named Pre-trained Language Model's Rationalization (PLMR), which splits PLMs into a generator and a predictor to deal with NLP tasks while providing interpretable rationales. The generator in PLMR also alleviates homogeneity by pruning irrelevant tokens, while the predictor uses full-text information to standardize predictions. Experiments conducted on two widely used datasets across multiple PLMs demonstrate the effectiveness of the proposed method PLMR in addressing the challenge of applying selective rationalization to PLMs. Codes: https://github.com/ylb777/PLMR.

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

↑