TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Self-Supervised Bernoulli Autoencoders for Semi-Supervised...

Self-Supervised Bernoulli Autoencoders for Semi-Supervised Hashing

Ricardo Ñanculef, Francisco Mena, Antonio Macaluso, Stefano Lodi, Claudio Sartori

2020-07-17Supervised Text RetrievalSupervised Image Retrieval
PaperPDFCode(official)

Abstract

Semantic hashing is an emerging technique for large-scale similarity search based on representing high-dimensional data using similarity-preserving binary codes used for efficient indexing and search. It has recently been shown that variational autoencoders, with Bernoulli latent representations parametrized by neural nets, can be successfully trained to learn such codes in supervised and unsupervised scenarios, improving on more traditional methods thanks to their ability to handle the binary constraints architecturally. However, the scenario where labels are scarce has not been studied yet. This paper investigates the robustness of hashing methods based on variational autoencoders to the lack of supervision, focusing on two semi-supervised approaches currently in use. The first augments the variational autoencoder's training objective to jointly model the distribution over the data and the class labels. The second approach exploits the annotations to define an additional pairwise loss that enforces consistency between the similarity in the code (Hamming) space and the similarity in the label space. Our experiments show that both methods can significantly increase the hash codes' quality. The pairwise approach can exhibit an advantage when the number of labelled points is large. However, we found that this method degrades quickly and loses its advantage when labelled samples decrease. To circumvent this problem, we propose a novel supervision method in which the model uses its label distribution predictions to implement the pairwise objective. Compared to the best baseline, this procedure yields similar performance in fully supervised settings but improves the results significantly when labelled data is scarce. Our code is made publicly available at https://github.com/amacaluso/SSB-VAE.

Results

TaskDatasetMetricValueModel
Supervised Image RetrievalCIFAR-10Precision@1000.91SSB-VAE
Supervised Image RetrievalCIFAR-10Precision@1000.906PSH
Supervised Image RetrievalCIFAR-10Precision@1000.867VDSH

Related Papers

MagicLens: Self-Supervised Image Retrieval with Open-Ended Instructions2024-03-28Unicom: Universal and Compact Representation Learning for Image Retrieval2023-04-12Generalized Product Quantization Network for Semi-supervised Image Retrieval2020-02-26Variational Deep Semantic Hashing for Text Documents2017-08-11