Is an Image Also Worth 16x16=256 Superpixels? A Framework for Attentional Image Classification
Not on the map. Why?
Abstract (arXiv)
Superpixel-based image classification has traditionally leveraged graph neural networks (GNNs) for processing irregular image representations. Recent advances in computer vision, driven by Vision Transformers (ViTs), have introduced new paradigms in self-attentional models, surpassing convolutional neural networks (CNNs) in various tasks. However, a synergistic connection between GNNs, superpixels, and transformers remains unexplored. In this work, we propose Superpixel Transformers (SPT), a novel framework that unifies superpixel-based image classification and ViTs. SPT generalizes the Superpixel Image Classification with Graph Attention Networks (SICGAT) model and ViT to support arbitrary superpixel-based chunking strategies, connectivity graphs, and positional encodings. We introduce refinements including a multidimensional sine-cosine positional encoding and an enriched patch data structure that fully incorporates superpixel shape and color information. By testing SPT across datasets such as CIFAR10, FashionMNIST, and Imagenette, with various superpixel generation and graph connectivity strategies, we demonstrate that SPT achieves superior performance compared to previous superpixel-based GNN methods and remains competitive with ViTs. Notably, our approach addresses the limitations of SICGAT, such as information loss during pixel aggregation, and shows how constrained graph connectivity can enhance ViT performance. SPT bridges the gap between superpixel-based and transformer models, opening avenues for cross-domain generalization and future innovations in hybrid attentional frameworks, and showing that an image can also be worth 16×16 superpixels.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 24 of its 45 references that are in the map. First posted on arXiv 26 May 2026.
Builds on
24 of 45 references.
References · 24
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2017Graph Attention Networkscited by 8,923
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
- 2017Neural Message Passing for Quantum Chemistrycited by 3,487
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,360
- 2015Pointer Networkscited by 895
- 2021How Attentive are Graph Attention Networks?cited by 835
- 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 797
12 more
- 2020A Generalization of Transformer Networks to Graphscited by 661
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 569
- 2016Geometric deep learning on graphs and manifolds using mixture model CNNscited by 468
- 2021Early Convolutions Help Transformers See Bettercited by 396
- 2018Learning a SAT Solver from Single-Bit Supervisioncited by 200
- 2017SplineCNN: Fast Geometric Deep Learning with Continuous B-Spline Kernelscited by 161
- 2022Better plain ViT baselines for ImageNet-1kcited by 98
- 2019SMILES Transformer: Pre-trained Molecular Fingerprint for Low Data Drug Discoverycited by 90
- 2016Superpixels: An Evaluation of the State-of-the-Artcited by 52
- 2021Molformer: Motif-based Transformer on 3D Heterogeneous Molecular Graphscited by 44
- 2020Superpixel Image Classification with Graph Attention Networkscited by 20
- 2018Multitask Learning on Graph Neural Networks: Learning Multiple Graph Centrality Measures with a Unified Networkcited by 4
Built on by
Not cited yet.