arXiv:2610.21321cs.CVOct 2026

Manuscript Offprint

arXiv:2610.21321

CoViG: Coarsened Vision GNN for Image Classification

Martial Guidez, Stefan Duffner, Christophe Garcia

Abstract

Although Graph Neural Networks are widely used in various domains, they remained mostly unexplored in computer vision. Convolutional Neural Networks and Vision Transformers were leading the field, until the quite recent introduction of Vision Graphs (ViG) that treat images as a set of nodes and apply graph convolution on their k-NN graphs. ViGs show impressive accuracy on image classification but their computational cost remains relatively high. Inspired by optimization methods for GNNs, we present CoViG, a novel approach combining graph coarsening and ViGs. Our method introduces an additional MinCUT pooling step within the Grapher component of intermediate ViG blocks. By simplifying the intermediate graphs and thus decreasing the number of nodes of specific blocks, our approach considerably reduces the computational cost of ViG during inference. We evaluated our approach on ImageNet with several ViG architectures, and we obtained accuracies equivalent to the original ViG models with only about 51% of FLOPs.

1. Introduction

Although Convolutional Neural Networks (CNNs) and Vision Transformer (ViTs) are the predominant neural network architectures of state-of-the-art computer vision models, a new type of architecture called Vision Graphs (ViGs) has been introduced recently [14] showing excellent performances on the standard ImageNet image classification benchmark. Similar to ViT, ViGs divide the input image into non-overlapping patches, and then compute embeddings that are processed further by the backbone. But, instead of the Transformer blocks that implicitly integrate the contextual information using attention, ViGs model these spatial relations and visual similarities more explicitly using graphs encoded with a Graph Neural Network (GNN) based architecture.

Although the costly attention mechanism is avoided in ViGs, computational complexity remains still relatively high due to the graph generation process and GCN at each

Figure

Figure 1. Overview of the CoViG architecture: graph coarsening reduces the node set from l nodes to j super-nodes between two stages of ViG blocks. In this illustration, only a single coarsening step is applied.

block of the model. Much effort has been spent in the last decade to increase the efficiency of CNNs and ViTs (and Transformers in general), both in terms of computation and memory. However, only a few recent works have specifically tackled the reduction of ViG complexity [29–31]. The main computational bottleneck is the k-Nearest-Neighbor-based graph construction in each ViG block, where the similarity between each pair of patch embeddings needs to be computed, and a Graph Convolutional Network (GCN) is applied on this graph.

Our proposed method directly addresses this by introducing a graph coarsening approach at pre-determined stages (blocks) of the model. More specifically, we replace one or several of the Grapher (GN) components with, what we call a Coarsened Grapher that simplifies the graph into a reduced version with much fewer nodes. This process is represented in Figure 1. This reduction then propagates to all subsequent blocks of the model and has a direct impact on the computational efficiency. Our coarsening approach is based on the MinCUT Pooling algorithm [2] that learns the clustering jointly with the rest of the model and a task-specific loss, as opposed to other GNN or ViG optimisation methods where this clustering is performed independently [5, 31].

Our contributions can be summarised as follows:

• We propose a new Vision Graph-based architecture with reduced computational complexity thanks to an integrated and differentiable graph coarsening approach based on MinCUT Pooling.

• By introducing a new Coarsened Grapher module, the proposed approach is flexible and adaptable to different (pre-trained) ViG models. Before training or fine-tuning, one simply has to choose one or several blocks that should be reduced and determine the desired compression rate for each coarsening step.

• We extensively evaluated our approach on the ImageNet benchmark, with different coarsening configurations and rates, and with different ViG models, and we were able to reduce the FLOPs up to a factor of 2 without decreasing classification accuracy.

References (50)