arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1807.04629eess.IVcs.CVcs.LG
收藏

基于矢量量化自编码器的乘积码本学习算法

Learning Product Codebooks using Vector Quantized Autoencoders for Image Retrieval

KTH Royal Institute of Technology(KTH皇家理工学院)

Hanwei Wu, Markus Flierl

摘要:

矢量量化变分自编码器(VQ-VAE)[1]通过结合矢量量化和自编码器,提供了一种用于学习离散表示的无监督模型。在本文中,我们研究了使用VQ-VAE表示学习的下游任务,如图像检索。我们首先描述的VQ-VAE的信息理论框架的背景下。我们表明,学习表示上的正则化项由训练前嵌入码本的大小决定,它影响模型的泛化能力。因此,我们引入了一个超参数来平衡矢量量化器的强度和重建误差。通过调整超参数,嵌入的瓶颈量化器被用作正则化器,其迫使编码器的输出共享受约束的编码空间,使得学习的潜在特征保持数据空间的相似性关系。此外,我们提供了一个搜索范围,找到最好的超参数。最后,我们将产品量化到VQ-VAE的瓶颈阶段,并提出了一个端到端的图像检索任务的无监督学习模型。乘积量化器具有生成大尺寸码本的优点。快速检索可以通过使用存储任何对子码字之间的距离的查找表来实现。最先进的检索结果是通过学习的码本实现的。

英文摘要:

Vector-Quantized Variational Autoencoders (VQ-VAE)[1] provide an unsupervised model for learning discrete representations by combining vector quantization and autoencoders. In this paper, we study the use of VQ-VAE for representation learning for downstream tasks, such as image retrieval. We first describe the VQ-VAE in the context of an information-theoretic framework. We show that the regularization term on the learned representation is determined by the size of the embedded codebook before the training and it affects the generalization ability of the model. As a result, we introduce a hyperparameter to balance the strength of the vector quantizer and the reconstruction error. By tuning the hyperparameter, the embedded bottleneck quantizer is used as a regularizer that forces the output of the encoder to share a constrained coding space such that learned latent features preserve the similarity relations of the data space. In addition, we provide a search range for finding the best hyperparameter. Finally, we incorporate the product quantization into the bottleneck stage of VQ-VAE and propose an end-to-end unsupervised learning model for the image retrieval task. The product quantizer has the advantage of generating large-size codebooks. Fast retrieval can be achieved by using the lookup tables that store the distance between any pair of sub-codewords. State-of-the-art retrieval results are achieved by the learned codebooks.

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

↑