Reproduce “PeCo: Perceptual Codebook for BERT Pre-training of Vision Transformers” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Xiaoyi Dong, Jianmin Bao, Ting Zhang, Dongdong Chen, Weiming Zhang, Lu Yuan, Dong Chen, Fang Wen and 2 more
PeCo enhances masked image modeling (MIM) for Vision Transformers by developing a "perceptual codebook," where a VQ-VAE is trained with a perceptual loss derived from a self-supervised Transformer, aligning visual tokens with human perception. This method achieves 88.3% Top-1 accuracy on ImageNet-1K (ViT-H), 48.5 mIoU on ADE20K (ViT-B), and improved adversarial robustness.
Key insights
- Incorporating perceptual similarity into VQ-VAE training through a self-supervised feature extractor yields visual tokens that are more aligned with human perception and encode richer semantic information.
- PeCo's implicit learning of semantics via perceptual loss on image features is more effective for pre-training than explicit methods applied directly to codewords or GAN-based realism.
- The perceptually-aware tokens lead to Vision Transformers that exhibit improved adversarial robustness and generalize well to diverse downstream tasks, including video recognition.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.