Lune

ICLR2023Top-tier venue

Self-supervision through Random Segments with Autoregressive Coding (RandSAC)

Tianyu Hua, Yonglong Tian, Sucheng Ren, Michalis Raptis, Hang Zhao, Leonid Sigal

Abstract

Inspired by the success of self-supervised autoregressive representation learning in natural language (GPT and its variants), and advances in recent visual architecture design with Vision Transformers (ViTs), in this paper, we explore the effect various design choices have on the success of applying such training strategies for visual feature learning. Specifically, we introduce a novel strategy that we call Random Segments with Autoregressive Coding (RandSAC). In RandSAC, we group patch representations (image tokens) into hierarchically arranged segments; within each segment, tokens are predicted in parallel, similar to BERT, while across segment predictions are sequential, similar to GPT. We illustrate that randomized serialization of the segments significantly improves the performance and results in distribution over spatially-long (across-segments) and -short (within-segment) predictions which are effective for feature learning. We illustrate the pertinence of these design choices and explore alternatives on a number of datasets (e.g., CIFAR10, CIFAR100, ImageNet). While our pre-training strategy works with a vanilla Transformer, we also propose a conceptually simple, but highly effective, addition to the decoder that allows learnable skip-connections to encoder′'s feature layers, which further improves the performance.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Exploring Stochastic Autoregressive Image Modeling for Visual Representation cites A Simple Framework for Contrastive Learning of Visual Representations
  • Exploring Stochastic Autoregressive Image Modeling for Visual Representation cites Language Models are Few-Shot Learners
  • Exploring Stochastic Autoregressive Image Modeling for Visual Representation cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Exploring Stochastic Autoregressive Image Modeling for Visual Representation cites Training data-efficient image transformers & distillation through attention
  • Rejuvenating image-GPT as Strong Visual Representation Learners cites Exploring Stochastic Autoregressive Image Modeling for Visual Representation
  • Rejuvenating image-GPT as Strong Visual Representation Learners cites A Simple Framework for Contrastive Learning of Visual Representations
  • Rejuvenating image-GPT as Strong Visual Representation Learners cites Language Models are Few-Shot Learners
  • Rejuvenating image-GPT as Strong Visual Representation Learners cites Training data-efficient image transformers & distillation through attention
  • Look Ahead or Look Around? A Theoretical Comparison Between Autoregressive and Masked Pretraining cites A Simple Framework for Contrastive Learning of Visual Representations
  • Look Ahead or Look Around? A Theoretical Comparison Between Autoregressive and Masked Pretraining cites Language Models are Few-Shot Learners
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Training data-efficient image transformers & distillation through attention
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Obj2Seq: Formatting Objects as Sequences with Class Prompt for Visual Tasks cites A Simple Framework for Contrastive Learning of Visual Representations
  • Obj2Seq: Formatting Objects as Sequences with Class Prompt for Visual Tasks cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Obj2Seq: Formatting Objects as Sequences with Class Prompt for Visual Tasks cites Language Models are Few-Shot Learners
  • Obj2Seq: Formatting Objects as Sequences with Class Prompt for Visual Tasks cites Training data-efficient image transformers & distillation through attention
  • SlotDiffusion: Object-Centric Generative Modeling with Diffusion Models cites Training data-efficient image transformers & distillation through attention
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. SlotDiffusion: Object-Centric Generative Modeling with Diffusion ModelsZiyi Wu, Jingyu Hu, Wuyue Lu, Igor Gilitschenski et al.NeurIPS 2023 · 106 citations
  2. Exploring Stochastic Autoregressive Image Modeling for Visual RepresentationYu Qi, Fan Yang, Yousong Zhu, Yufei Liu et al.AAAI 2023 · 18 citations
  3. Rejuvenating image-GPT as Strong Visual Representation LearnersSucheng Ren, Zeyu Wang, Hongru Zhu, Junfei Xiao et al.ICML 2024 · 17 citations
  4. Obj2Seq: Formatting Objects as Sequences with Class Prompt for Visual TasksZhiyang Chen, Yousong Zhu, Zhaowen Li, Fan Yang et al.NeurIPS 2022 · 17 citations
  5. Look Ahead or Look Around? A Theoretical Comparison Between Autoregressive and Masked PretrainingQi Zhang, Tianqi Du, Haotian Huang, Yifei Wang et al.ICML 2024 · 6 citations

Builds on24

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  3. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  4. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  5. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations

Related papers

  1. BEiT: BERT Pre-Training of Image TransformersHangbo Bao, Li Dong, Songhao Piao, Furu WeiICLR 2022 · 3,632 citations
  2. Patch-level Representation Learning for Self-supervised Vision TransformersSukmin Yun, Hankook Lee, Jaehyung Kim, Jinwoo ShinCVPR 2022 · 52 citations
  3. SATA: Spatial Autocorrelation Token Analysis for Enhancing the Robustness of Vision TransformersNick Nikzad, Yi Liao, Yongsheng Gao, Jun ZhouCVPR 2025
  4. ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive BiasYufei Xu, Qiming Zhang, Jing Zhang, Dacheng TaoNeurIPS 2021 · 429 citations
  5. Scalable Vision Transformers with Hierarchical PoolingZizheng Pan, Bohan Zhuang, Jing Liu, Haoyu He et al.ICCV 2021 · 154 citations
Dusk over the sea between two cliffs drawn in fine vertical lines