Adaptive patch selection to improve Vision Transformers through Reinforcement Learning

Abstract In recent years, Transformers have revolutionized the management of Natural Language Processing tasks, and Vision Transformers (ViTs) promise to do the same for Computer Vision ones. However, the adoption of ViTs is hampered by their computational cost. Indeed, given an image divided into patches, it is necessary to compute for each layer the attention of each patch with respect to all the others. Researchers have proposed many solutions to reduce the computational cost of attention layers by adopting techniques such as quantization, knowledge distillation and manipulation of input images. In this paper, we aim to contribute to the solution of this problem. In particular, we propose a new framework, called AgentViT, which uses Reinforcement Learning to train an agent that selects the most important patches to improve the learning of a ViT. The goal of AgentViT is to reduce the number of patches processed by a ViT, and thus its computational load, while still maintaining competitive performance. We tested AgentViT on CIFAR10, FashionMNIST, and Imagenette $$^+$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mmultiscripts> <mml:mrow/> <mml:mrow/> <mml:mo>+</mml:mo> </mml:mmultiscripts> </mml:math> (which is a subset of ImageNet) in the image classification task and obtained promising performance when compared to baseline ViTs and other related approaches available in the literature.

Authors

Institutions

Publication Details

Journal
Applied Intelligence
Published
2025-04-01
DOI
https://doi.org/10.1007/s10489-025-06516-z
Citations
6
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
7.66

Funders

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

Adaptive patch selection to improve Vision Transformers through Reinforcement Learning

Luca Virgili, Domenico Ursino, Francesco Cauteruccio, Michele Marchetti et al.
6 citations
Applied Intelligence
Advanced Neural Network Applications
7.66
article

Adaptive patch selection to improve Vision Transformers through Reinforcement Learning

Luca Virgili, Domenico Ursino, Francesco Cauteruccio, Michele Marchetti, Davide Traini
article en
6 citations

Abstract

Abstract In recent years, Transformers have revolutionized the management of Natural Language Processing tasks, and Vision Transformers (ViTs) promise to do the same for Computer Vision ones. However, the adoption of ViTs is hampered by their computational cost. Indeed, given an image divided into patches, it is necessary to compute for each layer the attention of each patch with respect to all the others. Researchers have proposed many solutions to reduce the computational cost of attention layers by adopting techniques such as quantization, knowledge distillation and manipulation of input images. In this paper, we aim to contribute to the solution of this problem. In particular, we propose a new framework, called AgentViT, which uses Reinforcement Learning to train an agent that selects the most important patches to improve the learning of a ViT. The goal of AgentViT is to reduce the number of patches processed by a ViT, and thus its computational load, while still maintaining competitive performance. We tested AgentViT on CIFAR10, FashionMNIST, and Imagenette $$^+$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mmultiscripts> <mml:mrow/> <mml:mrow/> <mml:mo>+</mml:mo> </mml:mmultiscripts> </mml:math> (which is a subset of ImageNet) in the image classification task and obtained promising performance when compared to baseline ViTs and other related approaches available in the literature.

Applied IntelligenceVol. 55(7)
University of Modena and Reggio Emilia (IT), Marche Polytechnic University (IT), University of Salerno (IT)
Università Politecnica delle Marche
Openalex Percentile: Top 3%
Advanced Neural Network Applications
7.66
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.

Adaptive patch selection to improve Vision Transformers through Reinforcement Learning — Luca Virgili, Domenico Ursino, et al. · Applied Intelligence (2025) | TGRS Research Map | TGRS