Minimum-Distortion Embedding

03/03/2021
by   Akshay Agrawal, et al.
16

We consider the vector embedding problem. We are given a finite set of items, with the goal of assigning a representative vector to each one, possibly under some constraints (such as the collection of vectors being standardized, i.e., have zero mean and unit covariance). We are given data indicating that some pairs of items are similar, and optionally, some other pairs are dissimilar. For pairs of similar items, we want the corresponding vectors to be near each other, and for dissimilar pairs, we want the corresponding vectors to not be near each other, measured in Euclidean distance. We formalize this by introducing distortion functions, defined for some pairs of the items. Our goal is to choose an embedding that minimizes the total distortion, subject to the constraints. We call this the minimum-distortion embedding (MDE) problem. The MDE framework is simple but general. It includes a wide variety of embedding methods, such as spectral embedding, principal component analysis, multidimensional scaling, dimensionality reduction methods (like Isomap and UMAP), force-directed layout, and others. It also includes new embeddings, and provides principled ways of validating historical and new embeddings alike. We develop a projected quasi-Newton method that approximately solves MDE problems and scales to large data sets. We implement this method in PyMDE, an open-source Python package. In PyMDE, users can select from a library of distortion functions and constraints or specify custom ones, making it easy to rapidly experiment with different embeddings. Our software scales to data sets with millions of items and tens of millions of distortion functions. To demonstrate our method, we compute embeddings for several real-world data sets, including images, an academic co-author network, US county demographic data, and single-cell mRNA transcriptomes.

READ FULL TEXT
research
02/22/2018

Near Isometric Terminal Embeddings for Doubling Metrics

Given a metric space (X,d), a set of terminals K⊆ X, and a parameter t> ...
research
06/20/2023

Composition of nested embeddings with an application to outlier removal

We study the design of embeddings into Euclidean space with outliers. Gi...
research
08/01/2023

ZADU: A Python Library for Evaluating the Reliability of Dimensionality Reduction Embeddings

Dimensionality reduction (DR) techniques inherently distort the original...
research
07/16/2019

Lossless Prioritized Embeddings

Given metric spaces (X,d) and (Y,ρ) and an ordering x_1,x_2,...,x_n of (...
research
10/15/2018

Dimensionality Reduction and (Bucket) Ranking: a Mass Transportation Approach

Whereas most dimensionality reduction techniques (e.g. PCA, ICA, NMF) fo...
research
12/29/2014

A simple coding for cross-domain matching with dimension reduction via spectral graph embedding

Data vectors are obtained from multiple domains. They are feature vector...
research
03/07/2023

Diversity Embeddings and the Hypergraph Sparsest Cut

Good approximations have been attained for the sparsest cut problem by r...

Please sign up or login with your details

Forgot password? Click here to reset