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

自然语言分类器的多分辨率解释和诊断工具

Multi-resolution Interpretation and Diagnostics Tool for Natural Language Classifiers

Wells Fargo(富国银行)

Peyman Jalali, Nengfeng Zhou, Yufei Yu

摘要:

为自然语言处理(NLP)模型开发可解释性方法是一项具有挑战性的任务,主要有两个原因。首先,与整体模型性能相比,数据的高维度(大量令牌)导致低覆盖率,进而导致顶部令牌的贡献较小。其次,由于其文本性质,输入变量在适当的转换后实际上是二进制的(观察中存在或不存在标记),使得输入-输出关系难以理解。常见的NLP解释技术在解析方面没有灵活性,因为它们通常在单词级别操作,并提供完全本地(消息级别)或完全全局(所有消息)的摘要。本文的目标是通过观察片段或语义上相互关联的词簇来创建更灵活的模型可解释性摘要。此外,我们还介绍了一种NLP模型的根本原因分析方法,通过分析来自不同细分市场的代表性假阳性和假阴性示例。最后,我们使用Yelp评论数据集与三个部分(餐厅,酒店和美容),利用组/集群结构的话和/或消息可以帮助解释NLP模型所做的决定,并可以用来评估模型的敏感性或对性别,语法和词义的偏见。

英文摘要:

Developing explainability methods for Natural Language Processing (NLP) models is a challenging task, for two main reasons. First, the high dimensionality of the data (large number of tokens) results in low coverage and in turn small contributions for the top tokens, compared to the overall model performance. Second, owing to their textual nature, the input variables, after appropriate transformations, are effectively binary (presence or absence of a token in an observation), making the input-output relationship difficult to understand. Common NLP interpretation techniques do not have flexibility in resolution, because they usually operate at word-level and provide fully local (message level) or fully global (over all messages) summaries. The goal of this paper is to create more flexible model explainability summaries by segments of observation or clusters of words that are semantically related to each other. In addition, we introduce a root cause analysis method for NLP models, by analyzing representative False Positive and False Negative examples from different segments. At the end, we illustrate, using a Yelp review data set with three segments (Restaurant, Hotel, and Beauty), that exploiting group/cluster structures in words and/or messages can aid in the interpretation of decisions made by NLP models and can be utilized to assess the model's sensitivity or bias towards gender, syntax, and word meanings.

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

↑