SAG-ViT: a scale-aware, high-fidelity patching approach with graph attention for vision transformers

Abstract Vision Transformers (ViTs) have redefined image classification by leveraging self-attention to capture complex patterns and long-range dependencies between image patches. However, a key challenge for ViTs is efficiently incorporating multi-scale feature representations, which is inherent in convolutional neural networks (CNNs) through their hierarchical structure. Graph transformers have made strides in addressing this by leveraging graph-based modeling, but they often lose or insufficiently represent spatial hierarchies, especially since redundant or less relevant areas dilute the image’s contextual representation. To bridge this gap, we propose SAG-ViT, a Scale-Aware Graph Attention ViT that integrates the multi-scale feature capabilities of CNNs, the representational power of ViTs, and graph-attended patching to enable richer contextual representation. Using EfficientNetV2 as a backbone, the model extracts multi-scale feature maps, dividing them into patches to preserve richer semantic information compared to directly patching the input images. The patches are structured into a graph using spatial and feature similarities, where a Graph Attention Network (GAT) refines the node embeddings. This refined graph representation is then processed by a Transformer encoder, capturing long-range dependencies and complex interactions. Evaluated on six diverse image classification benchmarks, SAG-ViT achieves an F1 score of 0.9574 on CIFAR-10 and 0.9958 on GTSRB, to validate its consistent improvements across multiple backbones. Our code and weights are available at https://github.com/shravan-18/SAG-ViT .

Authors

Institutions

Publication Details

Journal
Complex & Intelligent Systems
Published
2025-08-28
DOI
https://doi.org/10.1007/s40747-025-02043-z
Citations
3
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
3.83

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SAG-ViT: a scale-aware, high-fidelity patching approach with graph attention for vision transformers

Jaskaran Singh Walia, P. R. Joe Dhanith, Sitalakshmi Venkatraman
3 citations
Complex & Intelligent Systems
Advanced Neural Network Applications
3.83
article

SAG-ViT: a scale-aware, high-fidelity patching approach with graph attention for vision transformers

Jaskaran Singh Walia, P. R. Joe Dhanith, Sitalakshmi Venkatraman
article en
3 citations

Abstract

Abstract Vision Transformers (ViTs) have redefined image classification by leveraging self-attention to capture complex patterns and long-range dependencies between image patches. However, a key challenge for ViTs is efficiently incorporating multi-scale feature representations, which is inherent in convolutional neural networks (CNNs) through their hierarchical structure. Graph transformers have made strides in addressing this by leveraging graph-based modeling, but they often lose or insufficiently represent spatial hierarchies, especially since redundant or less relevant areas dilute the image’s contextual representation. To bridge this gap, we propose SAG-ViT, a Scale-Aware Graph Attention ViT that integrates the multi-scale feature capabilities of CNNs, the representational power of ViTs, and graph-attended patching to enable richer contextual representation. Using EfficientNetV2 as a backbone, the model extracts multi-scale feature maps, dividing them into patches to preserve richer semantic information compared to directly patching the input images. The patches are structured into a graph using spatial and feature similarities, where a Graph Attention Network (GAT) refines the node embeddings. This refined graph representation is then processed by a Transformer encoder, capturing long-range dependencies and complex interactions. Evaluated on six diverse image classification benchmarks, SAG-ViT achieves an F1 score of 0.9574 on CIFAR-10 and 0.9958 on GTSRB, to validate its consistent improvements across multiple backbones. Our code and weights are available at https://github.com/shravan-18/SAG-ViT .

Complex & Intelligent SystemsVol. 11(10)
Vellore Institute of Technology University (IN)
Vellore Institute of Technology, Chennai
Openalex Percentile: Top 6%
Advanced Neural Network Applications
3.83
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.