量化神经机器翻译中上下文依赖的合理性
Quantifying the Plausibility of Context Reliance in Neural Machine Translation
AI总结:
本文提出PECoRe框架,利用模型内部机制对比识别上下文敏感词元并关联线索,量化机器翻译中上下文使用的合理性,并与人工标注比较。
摘要:
确定语言模型能否以符合人类合理性的方式使用上下文信息,对于确保其在现实世界环境中的可信度至关重要。然而,关于上下文何时影响模型生成以及哪些部分影响模型生成的问题通常被分开处理,当前的合理性评估实际上仅限于少数人工基准。为解决这一问题,我们引入了上下文依赖合理性评估(PECoRe),这是一个端到端的可解释性框架,旨在量化语言模型生成中的上下文使用。我们的方法利用模型内部机制来(i)对比性地识别生成文本中对上下文敏感的目标词元,并(ii)将其与证明其预测合理性的上下文线索相关联。我们使用PECoRe来量化上下文感知机器翻译模型的合理性,在多个篇章级现象上比较模型理由与人工标注。最后,我们将我们的方法应用于未标注的模型翻译,以识别上下文介导的预测,并突出生成过程中(不)合理的上下文使用实例。
英文摘要:
Establishing whether language models can use contextual information in a human-plausible way is important to ensure their trustworthiness in real-world settings. However, the questions of when and which parts of the context affect model generations are typically tackled separately, with current plausibility evaluations being practically limited to a handful of artificial benchmarks. To address this, we introduce Plausibility Evaluation of Context Reliance (PECoRe), an end-to-end interpretability framework designed to quantify context usage in language models' generations. Our approach leverages model internals to (i) contrastively identify context-sensitive target tokens in generated texts and (ii) link them to contextual cues justifying their prediction. We use \pecore to quantify the plausibility of context-aware machine translation models, comparing model rationales with human annotations across several discourse-level phenomena. Finally, we apply our method to unannotated model translations to identify context-mediated predictions and highlight instances of (im)plausible context usage throughout generation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。