Analyzing the Effects of Input Batching on the Inference Time of Vision Transformer Models

Data batching is a fundamental technique in machine learning and deep learning that enhances model execution by processing multiple data samples simultaneously. This approach optimizes memory usage, improves computational efficiency, and accelerates both training and inference by leveraging modern hardware capabilities like GPUs and TPUs. Batching enables vectorized computations, reducing processing overhead and maximizing hardware utilization. It also stabilizes training by averaging gradient updates, leading to smoother optimization and better convergence, especially in large-scale neural networks. Additionally, batching improves model generalization by exposing it to diverse examples and enables techniques like Batch Normalization, further enhancing stability and performance. This paper investigates Vision Transformer (ViT) models with varying batch sizes, demonstrating that increasing the batch size significantly reduces inference time. Notably, a batch size of 16 achieves an 83% reduction in inference time compared to single-sample processing, underscoring the substantial efficiency gains from batching.

Authors

Institutions

Publication Details

Published
2025-04-13
DOI
https://doi.org/10.1109/iccit63348.2025.10989331
Primary Topic
Infrared Target Detection Methodologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Analyzing the Effects of Input Batching on the Inference Time of Vision Transformer Models

Md Yusuf Sarwar Uddin, Waleed Hassan Mubark
Infrared Target Detection Methodologies
article

Analyzing the Effects of Input Batching on the Inference Time of Vision Transformer Models

Md Yusuf Sarwar Uddin, Waleed Hassan Mubark
article en

Abstract

Data batching is a fundamental technique in machine learning and deep learning that enhances model execution by processing multiple data samples simultaneously. This approach optimizes memory usage, improves computational efficiency, and accelerates both training and inference by leveraging modern hardware capabilities like GPUs and TPUs. Batching enables vectorized computations, reducing processing overhead and maximizing hardware utilization. It also stabilizes training by averaging gradient updates, leading to smoother optimization and better convergence, especially in large-scale neural networks. Additionally, batching improves model generalization by exposing it to diverse examples and enables techniques like Batch Normalization, further enhancing stability and performance. This paper investigates Vision Transformer (ViT) models with varying batch sizes, demonstrating that increasing the batch size significantly reduces inference time. Notably, a batch size of 16 achieves an 83% reduction in inference time compared to single-sample processing, underscoring the substantial efficiency gains from batching.

University of Missouri–Kansas City (US)
Openalex Percentile: Top 85%
Infrared Target Detection Methodologies
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.

Analyzing the Effects of Input Batching on the Inference Time of Vision Transformer Models — Md Yusuf Sarwar Uddin, Waleed Hassan Mubark · (2025) | TGRS Research Map | TGRS