arrow
返回

Resizing codebook of vector quantization without retraining

delete2023-03-07
delete2
PRE
AI
L
Lei Li
T
Tingting Liu
C
Chengyu Wang
M
Minghui Qiu
C
Cen Chen *
M
Ming Gao
周
周傲英 (Aoying Zhou)
DOI:10.1007/s00530-023-01065-2delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Large models pre-trained on massive data have become a flourishing paradigm of artificial intelligence systems. Recent works, such as M6, CogView, WenLan 2.0, NuWA, and ERNIE-ViLG, further extend this diagram to joint Vision Language Pre-training (VLP). For VLP, the two-stage architecture is a popular design, which includes the first stage learning an encoding function of data and the second stage learning a probabilistic model of encoded representation of data. Vector quantization (VQ) has usually engaged in the encoding function of image data for the first stage. VQ includes a data structure (codebook) and an algorithm (finding nearest quantization). The publicly available VQ models (e.g., VQGAN, VQVAE, VQVAE2) include a codebook whose size is assigned empirically (e.g., 1024, 4096, and 16,384) by their authors. If we want a smaller codebook for a lower computation load of the VQ process, or we want a larger codebook for better reconstruction quality, we have to retrain VQ models that consist of the down-sampling net, the codebook, and the up-sampling net. However, retraining VQ models is very expensive since these models, with billions of parameters, are trained on massive datasets. It motivates us to find an approach to resize the codebook of Vector quantization without retraining. In this paper, we leverage hyperbolic embeddings to enhance codebook vectors with the co-occurrence information and reorder the enhanced codebook by the Hilbert curve. Then we can resize the codebook of vector quantization for lower computation load or better reconstruction quality. Experimental results prove the efficiency and effectiveness of our approach when compared with competitive baselines. The code will be released to the public.
Keyword:
Codebook resizing
Vector quantization
Hyperbolic embeddings
Hilbert curve

期刊

Multimedia Systems 封面图
Multimedia Systems
IF:
3.1
论文数:
2.8K
被引数:
2.7K

机构

A
alibaba group
学者数:
1.1K
论文数: 789
被引数: 0
E
east china normal university
学者数:
3.1W
论文数: 2.1W
被引数: 25
引用论文

引用论文

Lifestyle Modification in the Pharmacologic Treatment of Obesity: A Pilot Investigation of a Potential Primary Care Approach
err2012-09-06
err0
errOAAI
errThomas A. Wadden; Robert I. Berkowitz; Renee A. Vogt; Suzanne N. Steen; Albert J. Stunkard; Gary D. Foster
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
err分享
err收藏
Influence of algal organic matter of Microcystis aeruginosa on ferrate decay and MS2 bacteriophage inactivation
err2019-12-01
err0
PREAI
errXueyin Wu; Aixi Tang; Xiaochao Bi; Thanh H. Nguyen; Baoling Yuan
err分享
err收藏
err分享
err收藏
Fe 57 Mössbauer study of the interstitial nitrogen atom effects of NdFe10.5V1.5Nx
err1998-06-01
err0
PREAI
errJinbo Yang; Weihua Mao; Yingchang Yang; Zhenjie Zhao; Fashen Li
err分享
err收藏
Solution structure of the HMG-box domain in the SSRP1 subunit of FACT
err2005-05-01
err0
PREAI
errNobuyuki Kasai; Yasuo Tsunaka; Izuru Ohki; Susumu Hirose; Kosuke Morikawa; Shin-ichi Tate
err分享
err收藏
err分享
err收藏
学者 查看更多内容