arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2008.05122cs.CL
收藏

The Language Interpretability Tool:可扩展的、交互式的NLP模型可视化和分析

The Language Interpretability Tool: Extensible, Interactive Visualizations and Analysis for NLP Models

Google Research(谷歌研究院)

Ian Tenney, James Wexler, Jasmijn Bastings, Tolga Bolukbasi, Andy Coenen, Sebastian Gehrmann, Ellen Jiang, Mahima Pushkarna, Carey Radebaugh, Emily Reif, Ann Yuan

摘要:

我们提出了语言解释性工具(LIT),一个用于可视化和理解NLP模型的开源平台。我们关注模型行为的核心问题:为什么我的模型会做出这样的预测?什么时候表现不好?在受控的输入变化下会发生什么?LIT将本地解释、聚合分析和反事实生成集成到简化的基于浏览器的界面中,以实现快速探索和错误分析。我们包括各种工作流程的案例研究,包括探索反事实的情感分析,测量共指系统中的性别偏见,并探索文本生成中的本地行为。LIT支持广泛的模型--包括分类、seq 2seq和结构化预测--并且通过声明式、与框架无关的API高度可扩展。LIT正在积极开发中,代码和完整文档可在https://github.com/pair-code/lit上获得。

英文摘要:

We present the Language Interpretability Tool (LIT), an open-source platform for visualization and understanding of NLP models. We focus on core questions about model behavior: Why did my model make this prediction? When does it perform poorly? What happens under a controlled change in the input? LIT integrates local explanations, aggregate analysis, and counterfactual generation into a streamlined, browser-based interface to enable rapid exploration and error analysis. We include case studies for a diverse set of workflows, including exploring counterfactuals for sentiment analysis, measuring gender bias in coreference systems, and exploring local behavior in text generation. LIT supports a wide range of models--including classification, seq2seq, and structured prediction--and is highly extensible through a declarative, framework-agnostic API. LIT is under active development, with code and full documentation available at https://github.com/pair-code/lit.

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

↑