arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.08799cs.LGstat.ML

用于半监督哈希的自监督伯努利自编码器

Self-Supervised Bernoulli Autoencoders for Semi-Supervised Hashing

University of Bologna(博洛尼亚大学)

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

AI总结:

本文研究标签稀缺场景下基于变分自编码器的半监督哈希方法,提出利用模型标签分布预测实现成对目标的自监督方案,在标记数据稀少时显著提升哈希码质量。

摘要:

语义哈希是一种新兴的大规模相似性搜索技术,其基础是使用保持相似性的二进制码来表示高维数据,以便进行高效索引和搜索。最近的研究表明,具有由神经网络参数化的伯努利潜在表示的变分自编码器,可以在有监督和无监督场景下成功训练以学习此类编码,并且由于其在架构上能够处理二进制约束,因此比更传统的方法有所改进。然而,标签稀缺的场景尚未被研究。本文研究了基于变分自编码器的哈希方法在缺乏监督情况下的鲁棒性,重点关注当前使用的两种半监督方法。第一种方法扩展了变分自编码器的训练目标,以联合建模数据分布和类别标签分布。第二种方法利用标注来定义一个额外的成对损失,该损失强制编码(汉明)空间中的相似性与标签空间中的相似性保持一致。我们的实验表明,两种方法都能显著提高哈希码的质量当成对方法在标记点数量较多时,可以表现出优势。然而,我们发现当标记样本减少时,该方法会迅速退化并失去优势。为了解决这个问题,我们提出了一种新的监督方法,在该方法中,模型使用其标签分布预测来实现成对目标。与最佳基线相比,该方法在完全监督设置下取得了相似的性能,但在标记数据稀缺时显著改善了结果。我们的代码已在 https://github.com/amacaluso/SSB-VAE 公开提供。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑