Papers › A Binary Variational Autoencoder for Hashing

A Binary Variational Autoencoder for Hashing

22 Oct 2019Lecture Notes in Computer Science 2019 10archive 2025-07-28

Francisco Mena, Ricardo Ñanculef

Searching a large dataset to find elements that are similar to a sample object is a fundamental problem in computer science. Hashing algorithms deal with this problem by representing data with similarity-preserving binary codes that can be used as indices into a hash table. Recently, it has been shown that variational autoencoders (VAEs) can be successfully trained to learn such codes in unsupervised and semi-supervised scenarios. In this paper, we show that a variational autoencoder with binary latent variables leads to a more natural and effective hashing algorithm that its continuous counterpart. The model reduces the quantization error introduced by continuous formulations but is still trainable with standard back-propagation. Experiments on text retrieval tasks illustrate the advantages of our model with respect to previous art.

PaperPDFCode

Code

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

QuantizationRetrievalText Retrieval

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Text Retrieval 20 Newsgroups B-VAE Precision@100 0.441 #1 of 3 Archive leaderboard report
Text Retrieval 20 Newsgroups VDSH Precision@100 0.319 #3 of 3 Archive leaderboard report
Text Retrieval Reuters-21578 B-VAE Precision@100 0.698 #2 of 3 Archive leaderboard report
Text Retrieval Reuters-21578 VDSH Precision@100 0.556 #3 of 3 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections