Inference of ResNet18 in Fashion-MNIST: trade-off modeling and batch size optimization from the perspective of Operations Research

Vol 58, 2026 - 339873
Complete Articles (CA)
Favorite this paper
How to cite this paper?
Abstract

This article analyzes ResNet18 inference on the Fashion-MNIST dataset from an Operations Research perspective, treating batch size as a decision variable in the allocation of computational resources. It evaluates its effect on total time, throughput, and speedup across four heterogeneous environments: Google Colab and three local machines. The results indicate consistent GPU superiority over CPU, but also show diminishing marginal returns as batch size increases. In absolute performance, Local Machine 3 achieved the best results, with a peak of 1,531.57 images/s and a minimum time of 6.53 s, while Google Colab produced the highest relative speedup, at 50.08. Overall, the most efficient range lay between batch sizes 32 and 128, with batch size 32 standing out in Colab and 64 to 128 on the local machines, highlighting the trade-off among productivity, memory use, and scalability.

Share your ideas or questions with the authors!

Did you know that the greatest stimulus in scientific and cultural development is curiosity? Leave your questions or suggestions to the author!

Sign in to interact

Have a question or suggestion? Share your feedback with the authors!

Institutions
  • 1 Instituto Federal de Educação, Ciência e Tecnologia de Minas Gerais - IFMG
  • 2 Instituto Federal de Educação, Ciência e Tecnologia de Minas Gerais
  • 3 Instituto Federal de Educação, Instituto Federal de Educação, Ciência e Tecnologia de Minas Gerais - IFMG
Track
  • EST&AM – OR Analytics in Statistics and Machine Learning
Keywords
Operations Research
ResNet18
Fashion-MNIST
Parallelism
Batch Size