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

一种用于分析NLP分类任务的信息论方法

An Information-Theoretic Approach to Analyze NLP Classification Tasks

ALTA Institute, University of Cambridge(剑桥大学ALTA研究所)

Luran Wang, Mark Gales, Vatsal Raina

AI总结:

本研究提出一种分析NLP分类任务输入影响的信息论框架,通过MCRC和SC任务验证,揭示了不同输入要素对输出的影响规律,可为测试设计等提供参考,框架已开源。

摘要:

理解输入对输出的重要性在诸多任务中都颇具价值。本研究提出一套信息论框架,用于分析文本分类任务中输入的影响。自然语言处理(NLP)任务以单元素输入或多元素输入来预测输出变量,其中元素指文本块。每个文本元素包含两个组成部分:关联的语义含义与语言实现形式。研究选取多项选择题阅读理解(MCRC)和情感分类(SC)来展示该框架。针对MCRC的研究发现,在难度更高的数据集上,相较于问题的影响,上下文对输出的影响有所降低。具体而言,难度更高的上下文允许问题复杂度存在更大差异。因此,测试出题者在设计用于评估的多项选择题时,需谨慎考量上下文的选择。针对SC的研究发现,在判定情感时,输入文本的语义含义起主导作用(在所有纳入研究的数据集上占比均超过80%),远超其语言实现形式的影响。该框架已发布于:https://github.com/WangLuran/nlp-element-influence

英文摘要:

Understanding the importance of the inputs on the output is useful across many tasks. This work provides an information-theoretic framework to analyse the influence of inputs for text classification tasks. Natural language processing (NLP) tasks take either a single element input or multiple element inputs to predict an output variable, where an element is a block of text. Each text element has two components: an associated semantic meaning and a linguistic realization. Multiple-choice reading comprehension (MCRC) and sentiment classification (SC) are selected to showcase the framework. For MCRC, it is found that the context influence on the output compared to the question influence reduces on more challenging datasets. In particular, more challenging contexts allow a greater variation in complexity of questions. Hence, test creators need to carefully consider the choice of the context when designing multiple-choice questions for assessment. For SC, it is found the semantic meaning of the input text dominates (above 80\% for all datasets considered) compared to its linguistic realisation when determining the sentiment. The framework is made available at: https://github.com/WangLuran/nlp-element-influence

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

↑