paper-with-me

홈 › Papers

Online Clustered Codebook

2023-07-27 · ICCV 2023 1 · Chuanxia Zheng, Andrea Vedaldi

Vector Quantisation (VQ) is experiencing a comeback in machine learning, where it is increasingly used in representation learning. However, optimizing the codevectors in existing VQ-VAE is not entirely trivial. A problem is codebook collapse, where only a small subset of codevectors receive gradients useful for their optimisation, whereas a majority of them simply `dies off'' and is never updated or used. This limits the effectiveness of VQ for learning larger codebooks in complex computer vision tasks that require high-capacity representations. In this paper, we present a simple alternative method for online codebook learning, Clustering VQ-VAE (CVQ-VAE). Our approach selects encoded features as anchors to update the `dead'' codevectors, while optimising the codebooks which are alive via the original loss. This strategy brings unused codevectors closer in distribution to the encoded features, increasing the likelihood of being chosen and optimized. We extensively validate the generalization capability of our quantiser on various datasets, tasks (e.g. reconstruction and generation), and architectures (e.g. VQ-VAE, VQGAN, LDM). Our CVQ-VAE can be easily integrated into the existing models with just a few lines of code.

📄 PDF Abstract BibTeX arXiv:2307.15139

Code (1)

lyndonzheng/cvq-vae 공식 구현 pytorch

Tasks

Representation Learning

Methods 이 논문이 사용한 방법론

VQ-VAE VQ-VAE is a type of variational autoencoder that uses vector quantisation to obtain a discrete latent representation. It differs from…

Similar Papers 제목 키워드 기반

Clustering the Sketch: Dynamic Compression for Embedding Tables

2023-09-21 · NeurIPS 2023 11

Embedding tables are used by machine learning systems to work with categorical features. In modern Recommendation Systems, these tables can be very large, necessitating the development of new methods for fitting them in…

Clustering the Sketch: A Novel Approach to Embedding Table Compression

2022-10-12 · Henry Ling-Hei Tsang, Thomas Dybdahl Ahle

Embedding tables are used by machine learning systems to work with categorical features. In modern Recommendation Systems, these tables can be very large, necessitating the development of new methods for fitting them in …

Click-Through Rate PredictionClusteringQuantizationRecommendation Systems

Metric Learning in Codebook Generation of Bag-of-Words for Person Re-identification

2017-04-08 · Lu Tian, Shengjin Wang

Person re-identification is generally divided into two part: first how to represent a pedestrian by discriminative visual descriptors and second how to compare them by suitable distance metrics. Conventional methods isol…

ClusteringMetric LearningPerson Re-Identification

Advanced Nonlinear SCMA Codebook Design Based on Lattice Constellations

2024-11-13 · Qu Luo, Jing Zhu, Gaojie Chen, Pei Xiao 외

The design of efficient sparse codebooks in sparse code multiple access (SCMA) system have attracted tremendous research attention in the past few years. This paper proposes a novel nonlinear SCMA (NL-SCMA) that can subs…

Resolving Editing-Unlearning Conflicts: A Knowledge Codebook Framework for Large Language Model Updating

2025-01-31 · Binchi Zhang, Zhengzhang Chen, Zaiyi Zheng, Jundong Li 외

Large Language Models (LLMs) excel in natural language processing by encoding extensive human knowledge, but their utility relies on timely updates as knowledge evolves. Updating LLMs involves two key tasks simultaneousl…

Language ModelingLanguage ModellingLarge Language Model