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

08/12/2020
by   Ian Tenney, et al.
0

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.

READ FULL TEXT
research
08/27/2023

Towards Vision-Language Mechanistic Interpretability: A Causal Tracing Tool for BLIP

Mechanistic interpretability seeks to understand the neural mechanisms t...
research
11/15/2022

kogito: A Commonsense Knowledge Inference Toolkit

In this paper, we present kogito, an open-source tool for generating com...
research
06/20/2022

Square One Bias in NLP: Towards a Multi-Dimensional Exploration of the Research Manifold

The prototypical NLP experiment trains a standard architecture on labele...
research
04/06/2020

giotto-tda: A Topological Data Analysis Toolkit for Machine Learning and Data Exploration

We introduce giotto-tda, a Python library that integrates high-performan...
research
05/25/2023

Counterfactual Probing for the Influence of Affect and Specificity on Intergroup Bias

While existing work on studying bias in NLP focues on negative or pejora...
research
03/02/2023

NLP Workbench: Efficient and Extensible Integration of State-of-the-art Text Mining Tools

NLP Workbench is a web-based platform for text mining that allows non-ex...
research
12/16/2022

Azimuth: Systematic Error Analysis for Text Classification

We present Azimuth, an open-source and easy-to-use tool to perform error...

Please sign up or login with your details

Forgot password? Click here to reset