SLOSH: Set LOcality Sensitive Hashing via Sliced-Wasserstein Embeddings

Yuzhe Lu, Xinran Liu, Andrea Soltoggio, Soheil Kolouri
12/11/2021
cs.LGcs.CV

Official code: mint-vu/SLOSH (4 stars, Jupyter Notebook, last commit 2022-08-08).

Abstract

Learning from set-structured data is an essential problem with many applications in machine learning and computer vision. This paper focuses on non-parametric and data-independent learning from set-structured data using approximate nearest neighbor (ANN) solutions, particularly locality-sensitive hashing.

Show full abstract

We consider the problem of set retrieval from an input set query. Such retrieval problem requires: 1) an efficient mechanism to calculate the distances/dissimilarities between sets, and 2) an appropriate data structure for fast nearest neighbor search. To that end, we propose Sliced-Wasserstein set embedding as a computationally efficient "set-2-vector" mechanism that enables downstream ANN, with theoretical guarantees. The set elements are treated as samples from an unknown underlying distribution, and the Sliced-Wasserstein distance is used to compare sets. We demonstrate the effectiveness of our algorithm, denoted as Set-LOcality Sensitive Hashing (SLOSH), on various set retrieval datasets and compare our proposed embedding with standard set embedding approaches, including Generalized Mean (GeM) embedding/pooling, Featurewise Sort Pooling (FSPool), and Covariance Pooling and show consistent improvement in retrieval results. The code for replicating our results is available here: \href{https://github.com/mint-vu/SLOSH}{https://github.com/mint-vu/SLOSH}.

View on arXivView PDF

Code Implementations(1)

mint-vu/SLOSHOfficial100%

[WACV 24] Set Locality Sensitive Hashing via Sliced Wasserstein Embedding

41Jupyter Notebook, PythonOct 13, 20214 years ago

Similar Papers

Cite this paper

@article{lu2021slosh,
  title  = {SLOSH: Set LOcality Sensitive Hashing via Sliced-Wasserstein Embeddings},
  author = {Yuzhe Lu and Xinran Liu and Andrea Soltoggio and Soheil Kolouri},
  year   = {2021},
  eprint = {2112.05872},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.05872}
}

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

Discussion