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

You Only Forward Once:单次前向传播中的预测与合理化

You Only Forward Once: Prediction and Rationalization in A Single Forward Pass

Central South University(中南大学)

Han Jiang, Junwen Duan, Zhe Qu, Jianxin Wang

AI总结:

针对无监督理由抽取两阶段RNP框架假设过严、存在互锁与虚假关联问题,提出单阶段YOFO框架,通过预训练语言模型前向传播中逐步移除不重要token同步完成预测与理由抽取,在两个数据集上token级F1最高提升18.4%。

摘要:

无监督理由抽取旨在无需任何标注理由的情况下,抽取简洁且连续的文本片段以支撑模型预测。过往研究采用名为Rationalizing Neural Prediction(RNP,合理化神经预测)框架的两阶段架构,遵循“先生成再预测”的范式。这些研究假设被抽取的解释(即理由rationale)应足以预测金标准标签,但该假设偏离了理由的原始定义,且约束过严导致效果不佳。此外,这类两阶段模型存在互锁问题和虚假关联问题。为解决上述问题,我们提出一种全新的单阶段框架You Only Forward Once(YOFO,仅前向传播一次),该框架基于放宽的理由定义构建——理由的作用是支撑模型预测而非独立完成预测。在我们的框架中,部署BERT这类预训练语言模型可同时执行预测与理由抽取任务,受互锁问题或虚假关联的影响更小。以无监督方式直接筛选重要token是难以实现的,YOFO并未直接选择重要token,而是在前向传播过程中逐步移除不重要的token。我们在BeerAdvocate和Hotel Review数据集上开展了实验,结果表明,与基于RNP的模型相比,我们的模型能够更准确地抽取理由并做出预测。与此前的最优方法相比,我们观察到token级F1值最高提升了18.4%。我们还针对抽取的理由和token衰减策略进行了分析与实验,结果显示YOFO能够抽取精准且重要的理由,同时在模型中间层移除不重要的token。

英文摘要:

Unsupervised rationale extraction aims to extract concise and contiguous text snippets to support model predictions without any annotated rationale. Previous studies have used a two-phase framework known as the Rationalizing Neural Prediction (RNP) framework, which follows a generate-then-predict paradigm. They assumed that the extracted explanation, called rationale, should be sufficient to predict the golden label. However, the assumption above deviates from the original definition and is too strict to perform well. Furthermore, these two-phase models suffer from the interlocking problem and spurious correlations. To solve the above problems, we propose a novel single-phase framework called You Only Forward Once (YOFO), derived from a relaxed version of rationale where rationales aim to support model predictions rather than make predictions. In our framework, A pre-trained language model like BERT is deployed to simultaneously perform prediction and rationalization with less impact from interlocking or spurious correlations. Directly choosing the important tokens in an unsupervised manner is intractable. Instead of directly choosing the important tokens, YOFO gradually removes unimportant tokens during forward propagation. Through experiments on the BeerAdvocate and Hotel Review datasets, we demonstrate that our model is able to extract rationales and make predictions more accurately compared to RNP-based models. We observe an improvement of up to 18.4\% in token-level F1 compared to previous state-of-the-art methods. We also conducted analyses and experiments to explore the extracted rationales and token decay strategies. The results show that YOFO can extract precise and important rationales while removing unimportant tokens in the middle part of the model.

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

↑