Minimum-Distortion Embedding

被引:33
作者
Agrawal, Akshay [1 ]
Ali, Alnur [1 ]
Boyd, Stephen [1 ]
机构
[1] Stanford Univ, Stanford, CA 94305 USA
来源
FOUNDATIONS AND TRENDS IN MACHINE LEARNING | 2021年 / 14卷 / 03期
关键词
QUASI-NEWTON METHODS; OPTIMIZATION; ALGORITHM; MATRIX; CONVERGENCE; GEOMETRY; REDUCTION; MANIFOLDS; FRAMEWORK; POINTS;
D O I
10.1561/2200000090
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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., having 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 vectors to not be near each other, measured in Euclidean distance. We formalize this by introducing distortion functions, defined for some pairs of 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 specific embedding methods, such as spectral embedding, principal component analysis, multidimensional scaling, Euclidean distance problems, dimensionality reduction methods (like Isomap and UMAP), semi-supervised learning, sphere packing, force-directed layout, and others. It also includes new embeddings, and provides principled ways of validating or sanity-checking historical and new embeddings alike. In a few special cases, MDE problems can be solved exactly. For others, we develop a projected quasi-Newton method that approximately minimizes the distortion and scales to very large data sets, while placing few assumptions on the distortion functions and constraints. This monograph is accompanied by an open-source Python package, PyMDE, for approximately solving MDE problems. Users can select from a library of distortion functions and constraints or specify custom ones, making it easy to rapidly experiment with new embeddings. Because our algorithm is scalable, and because PyMDE can exploit GPUs, our software scales to problems with millions of items and tens of millions of distortion functions. Additionally, PyMDE is competitive in runtime with specialized implementations of specific embedding methods. 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 singlecell mRNA transcriptomes.
引用
收藏
页码:211 / 378
页数:168
相关论文
共 176 条
[1]   PROJECTION-LIKE RETRACTIONS ON MATRIX MANIFOLDS [J].
Absil, P. -A. ;
Malick, Jerome .
SIAM JOURNAL ON OPTIMIZATION, 2012, 22 (01) :135-158
[2]  
Absil PA, 2008, OPTIMIZATION ALGORITHMS ON MATRIX MANIFOLDS, P1
[3]   Role-Based Graph Embeddings [J].
Ahmed, Nesreen K. ;
Rossi, Ryan A. ;
Lee, John Boaz ;
Willke, Theodore L. ;
Zhou, Rong ;
Kong, Xiangnan ;
Eldardiry, Hoda .
IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2022, 34 (05) :2401-2415
[4]  
Alcorn M, 2016, MIT SLOAN SPORTS ANA
[5]  
Andoni Alexandr, 2018, P INT C MATHEMATICIA
[6]  
[Anonymous], 2004, P 21 INT C MACHINE L
[7]  
[Anonymous], 2012, Individual Choice Behavior: A Theoretical Analysis
[8]  
[Anonymous], 2017, dna2vec: Consistent vector representations of
[9]  
[Anonymous], 2014, INT C MACH LEARN
[10]  
[Anonymous], 2006, International Conference on Machine Learning, DOI DOI 10.1145/1143844.1143866