The Language Interpretability Tool: Extensible, Interactive Visualizations and Analysis for NLP Models
Ian Tenney, James Wexler, Jasmijn Bastings et al. · arXiv (Cornell University) · 2020
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.
Cited by 13 works. doi:10.48550/arxiv.2008.05122 Open-access PDF
Authors
- Ian Tenney
- James Wexler
- Jasmijn Bastings
- Tolga Bolukbasi
- Andy Coenen
- Sebastian Gehrmann
- Ellen Jiang
- Mahima Pushkarna
- Carey Radebaugh
- Emily Reif
- Ann Yuan
References
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
- Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- Teaching Machines to Read and Comprehend
- A Broad-Coverage Challenge Corpus for Sentence Understanding through Inference
- A large annotated corpus for learning natural language inference
- “Why Should I Trust You?”: Explaining the Predictions of Any Classifier
- GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding
- Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer
- UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction