保留正文与补采附件。源页面当前未重新核验;具体限制见交付清单。

We find that, just as a large transformer model trained on language can generate coherent text, the same exact model trained on pixel sequences can generate coherent image completions and samples. By establishing a correlation between sample quality and image classification accuracy, we show that our best generative model also contains features competitive with top convolutional nets in the unsupervised setting. Unsupervised and self-supervised learning, or learning without human-labeled data, is a longstanding challenge of machine learning. Recently, it has seen incredible success in language, as transformer models like BERT, GPT‑2, RoBERTa, T5, and other variants, , , have achieved top performance on a wide array of language tasks. However, the same broad class of models has not been successful in producing strong features for image classification. Our work aims to understand and bridge this gap. Transformer models like BERT and GPT‑2 are domain agnostic, meaning that they can be directly applied to 1-D sequences of any form. When we train GPT‑2 on images unrolled into long sequences of pixels, which we call iGPT, we find that the model appears to understand 2-D image characteristics such as object appearance and category. This is evidenced by the diverse range of coherent image samples it generates, even without the guidance of human provided labels. As further proof, features from the model achieve state-of-the-art performance on a number of classification datasets and near state-of-the-art unsupervised accuracy on ImageNet. | Evaluation | Dataset | Our Result | Best non-iGPT Result | |---|---|---|---| | Logistic regression on learned features (linear probe) | CIFAR-10 | 96.3 iGPT‑L 32x32 w/ 1536 features | 95.3 SimCLR12 w/ 8192 features | | | CIFAR-100 | 82.8 iGPT‑L 32x32 w/ 1536 features | 80.2 SimCLR w/ 8192 features | | | STL-10 | 95.5 iGPT‑L 32x32 w/ 1536 features | 94.2 AMDIM13 w/ 8192 features | | | ImageNet | 72.0 iGPT‑XLa 64x64 w/ 15360 features | 76.5 SimCLR w/ 8192 features | | Full fine-tune | CIFAR-10 | 99.0 iGPT‑L 32x32, trained on ImageNet | 99.0b GPipe,14 trained on ImageNet | | | ImageNet 32x32 | 66.3 iGPT‑L 32x32 | 70.2 Isometric Nets15 |