cs.CVMar 31, 2026

Square Superpixel Generation and Representation Learning via Granular Ball Computing

Authors: Shuyin Xia, Meng Yang, Dawei Dai, Fan Chen, Shilin Zhao, Junwei Han, Xinbo Gao, Guoyin Wang, 

Organizations: Shuyin Xia, Meng Yang, Dawei Dai, Fan Chen, Shilin Zhao and Junwei Han are with Chongqing University of Posts and Telecommunications, Chongqing, China. · Xinbo Gao and Wen Lu are with Xidian University, Xi’an, China. · Guoyin Wang is with Chongqing Normal University, Chongqing, China.

Abstract

Superpixels provide a compact region-based representation that preserves object boundaries and local structures, and have therefore been widely used in a variety of vision tasks to reduce computational cost. However, most existing superpixel algorithms produce irregularly shaped regions, which are not well aligned with regular operators such as convolutions. Consequently, superpixels are often treated as an offline preprocessing step, limiting parallel implementation and hindering end-to-end optimization within deep learning pipelines. Motivated by the adaptive representation and coverage property of granular-ball computing, we develop a square superpixel generation approach. Specifically, we approximate superpixels using multi-scale square blocks to avoid the computational and implementation difficulties induced by irregular shapes, enabling efficient parallel processing and learnable feature extraction. For each block, a purity score is computed based on pixel-intensity similarity, and high-quality blocks are selected accordingly. The resulting square superpixels can be readily integrated as graph nodes in graph neural networks (GNNs) or as tokens in Vision Transformers (ViTs), facilitating multi-scale information aggregation and structured visual representation. Experimental results on downstream tasks demonstrate consistent performance improvements, validating the effectiveness of the proposed method.

Figures & tables

Explore similar work

CardsList
  1. H-SPAM: Hierarchical Superpixel Anything Model

    Apr 13, 2026Julien Walther, Rémi Giraud, Michaël ClémentImage Segmentation

  2. Is an Image Also Worth 16x16=256 Superpixels? A Framework for Attentional Image Classification

    May 26, 2026Pedro Henrique da Costa Avelar, Anderson R. Tavares, Luís C. LambGraph Attention NetworksVision Transformer

  3. Computer Vision with a Superpixelation Camera

    Mar 27, 2026Sasidharan Mahalingam, Rachel Brown, Atul IngleImage SegmentationComputational Imaging