Parallax: Visualizing and Understanding the Semantics of Embedding Spaces via Algebraic Formulae

Piero Molino, Yang Wang, Jiawei Zhang
5/28/2019
12 citations
cs.CLcs.LG

Official code: uber-research/parallax (330 stars, Python, last commit 2024-08-20).

Abstract

Embeddings are a fundamental component of many modern machine learning and natural language processing models. Understanding them and visualizing them is essential for gathering insights about the information they capture and the behavior of the models.

Show full abstract

State of the art in analyzing embeddings consists in projecting them in two-dimensional planes without any interpretable semantics associated to the axes of the projection, which makes detailed analyses and comparison among multiple sets of embeddings challenging. In this work, we propose to use explicit axes defined as algebraic formulae over embeddings to project them into a lower dimensional, but semantically meaningful subspace, as a simple yet effective analysis and visualization methodology. This methodology assigns an interpretable semantics to the measures of variability and the axes of visualizations, allowing for both comparisons among different sets of embeddings and fine-grained inspection of the embedding spaces. We demonstrate the power of the proposed methodology through a series of case studies that make use of visualizations constructed around the underlying methodology and through a user study. The results show how the methodology is effective at providing more profound insights than classical projection methods and how it is widely applicable to many other use cases.

View on arXivView PDF

Code Implementations(1)

Tool for interactive embeddings visualization

33025PythonSep 12, 20182 years agoNOASSERTION
embeddingsnatural-language-processingvisualization

Similar Papers

Cite this paper

@article{molino2019parallax,
  title  = {Parallax: Visualizing and Understanding the Semantics of Embedding Spaces via Algebraic Formulae},
  author = {Piero Molino and Yang Wang and Jiawei Zhang},
  year   = {2019},
  eprint = {1905.12099},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.12099}
}

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/1905.12099.svg)](https://codeofpaper.com/paper/1905.12099)

Discussion