arXiv:2610.12216cs.CVOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.12216

Stride Independent Patching for Deep Learning

Olivier Rukundo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Olivier Rukundo

Department of Electronic and Computer Engineering; University of Limerick; e-mail: olivier.rukundo@ul.ie

Abstract: This paper presents semi-automatic stride-independent patching (SSP) as an alternative to automatic stride-dependent patching techniques. SSP uses user or expert input to position predefined patches over one or more objects of interest. To evaluate its effectiveness, three patch-based datasets were created using SSP, overlapping patching (Overlap), and non-overlapping patching (Nooverlap). DeepLabV3+ models with ResNet50, ResNet18, and MobileNetV2 backbones were trained separately on each dataset. Quantitative evaluations were performed on the respective test splits and a common external test set. SSP generally achieved higher segmentation scores on the test splits and required the shortest model training time across all three backbones. On the external test set, SSP achieved the highest average precision and F1-score across backbones, whereas Nooverlap achieved the highest average recall. These preliminary results demonstrate that the potentially greater spatial coverage of Nooverlap and Overlap does not generally translate into better segmentation performance and that SSP offers a favorable balance between segmentation performance and model training time.

Keywords: image patching; patch-of-interest; stride-independent patching; stride-dependent patching; stride; deep learning

1. Introduction

Image patching techniques provide an alternative approach that makes training deep learning models on large or high-resolution images feasible under tight hardware constraints [1], [2], [26-29]. As of today, there are two traditional image patching techniques that are still popular or widely used to create image patches for deep learning model training purposes, namely: non-overlapping and overlapping techniques. However, all these techniques remain stride-dependent and often produce redundant or irrelevant patches, which may lead to inefficient training and suboptimal accuracy. A stride is the step size by which the small image patch, of a specific or pre-defined size, moves across a large image [5], [6], [30], [31]. In this context, a stride decides the location of image patches to extract but does not automatically identify the patch-of-interest - unless guided by additional modern mechanisms [4]. Modern mechanisms can help identify patches of interest (POIs), but at an additional computational cost and with a risk of failing to fully include objects of interest within those patches. To the best of the author's knowledge: when stride < patch size, overlapping patches are created resulting in excessive number of patches that may introduce redundancy and increasing computational cost. When, stride = patch size: Non-overlapping patches are created and the resulting patching may possibly cut through objects arbitrarily, often ignoring object of interest boundaries, which can lead to fragmented and incomplete segmentation [3]. When stride > patch size: Gaps between patches are created and, in this context, this stride setting cannot be an option.

In efforts to preserve objects of interest or their groups' boundaries, avoid redundant patches, remove or mitigate the risk of losing objects and finally better leverage limited memory hardware without sacrificing the accuracy and efficiency, an interactive tool is introduced for semi-automatic stride-independent patching (SSP). In brief, the tool leverages the expert user's capability to locate and select patch-of-interest containing selected objects of interest. The SSP allows users to inspect and adjust patch placement to fully include objects of interest, reducing the risk of object omission or fragmentation during patch selection. Unlike the adaptive patching in [4], the introduced SSP tool does not rely on down-scaling operation at any stage, instead it directly leverages the expert user's capability to fit the patch-of-interest around objects of interest that completely fit inside the pre-defined image patch size, as shown in Figure 1's example. Here, the presented transmission electron microscopy (TEM) image was taken from adenovirus class images from TEM virus dataset contains 22 virus classes [32], [33].

References (24)