Embedding Comparator: Visualizing Differences in Global Structure and Local Neighborhoods via Small Multiples

Angie Boggust, Brandon Carter, Arvind Satyanarayan
12/10/2019
cs.HCcs.CLcs.LG

Official code: mitvis/embedding-comparator (48 stars, Jupyter Notebook, MIT, last commit 2024-02-01).

Abstract

Embeddings mapping high-dimensional discrete input to lower-dimensional continuous vector spaces have been widely adopted in machine learning applications as a way to capture domain semantics. Interviewing 13 embedding users across disciplines, we find comparing embeddings is a key task for deployment or downstream analysis but unfolds in a tedious fashion that poorly supports systematic exploration.

Show full abstract

In response, we present the Embedding Comparator, an interactive system that presents a global comparison of embedding spaces alongside fine-grained inspection of local neighborhoods. It systematically surfaces points of comparison by computing the similarity of the $k$-nearest neighbors of every embedded object between a pair of spaces. Through case studies across multiple modalities, we demonstrate our system rapidly reveals insights, such as semantic changes following fine-tuning, language changes over time, and differences between seemingly similar models. In evaluations with 15 participants, we find our system accelerates comparisons by shifting from laborious manual specification to browsing and manipulating visualizations.

View on arXivView PDF

Code Implementations(1)

MIT
487Jupyter Notebook, JavaScriptDec 9, 20192 years agoMIT

Similar Papers

Cite this paper

@article{boggust2019embedding,
  title  = {Embedding Comparator: Visualizing Differences in Global Structure and Local Neighborhoods via Small Multiples},
  author = {Angie Boggust and Brandon Carter and Arvind Satyanarayan},
  year   = {2019},
  eprint = {1912.04853},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.04853}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1912.04853.svg)](https://codeofpaper.com/paper/1912.04853)

Discussion