← Latest papers
💻 computer science

Stride Independent Patching for Deep Learning

This paper introduces Stride Independent Patching (SSP), a semi-automatic method that outperforms automatic overlapping and non-overlapping patching techniques by achieving superior segmentation performance and significantly reducing model training time across various deep learning backbones.

Original author: Olivier Rukundo

Published 2026-11-24
📖 5 min read🧠 Deep dive

Original author: Olivier Rukundo

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the author. For technical accuracy, refer to the original paper. Read full disclaimer

In the world of artificial intelligence, computers are increasingly taught to see the world by studying vast libraries of images. To do this, they rely on deep learning models, which are complex systems designed to recognize patterns, such as identifying a specific virus or a type of cell within a photograph. However, these models often struggle when faced with images that are too large to fit into a computer's memory all at once. To solve this, scientists break these massive pictures into smaller, manageable squares called patches. Traditionally, this has been done using a rigid, automatic method where the computer slides a window across the image in fixed steps, much like a lawnmower moving back and forth across a lawn. This sliding step, known as a stride, determines where the computer cuts the image. If the step is too small, the computer creates thousands of overlapping squares, wasting time and energy on empty space. If the step is too large, it might cut right through a delicate object, splitting a single virus into two useless fragments. The goal has always been to find a way to cut the image that captures the important parts without wasting effort on the empty spaces in between.

A researcher at the University of Limerick, Olivier Rukundo, has proposed a different approach to this cutting problem, one that puts a human expert in the driver's seat. Instead of letting a computer blindly slide a window across an image, Rukundo developed a tool that allows a person to manually place these square patches exactly where they are needed. This method, called semi-automatic stride-independent patching, lets an expert look at a microscopic image of adenoviruses and click to place a patch around a specific virus, ensuring the entire object fits comfortably inside the square. The computer then extracts that specific piece of the image and its matching map of the virus, ignoring the empty space around it. This stands in contrast to the traditional methods where the computer either chops the image into a grid of non-overlapping squares or drags a window across with a smaller step to create overlapping squares, often capturing irrelevant background or cutting objects in half.

To test whether this human-guided approach was truly better, the researcher created three different sets of training data using the same original images. One set was built using the new manual method, where patches were placed only around the viruses. The other two sets were built using the traditional automatic methods: one where the patches did not overlap, and another where they overlapped significantly. These three sets were then used to train three different versions of a popular image-recognition system, each powered by a different underlying engine. The goal was to see which set of training data helped the computer learn to identify the viruses most accurately and quickly. The results showed a clear advantage for the human-guided approach. The models trained on the manually selected patches learned faster, requiring less time to reach a high level of skill, and they performed better when tested on new images they had never seen before.

The study revealed that simply creating more patches or covering more of the image area did not necessarily lead to better results. The traditional method that created overlapping patches generated the most training examples, with 1,250 patches per image, yet it did not produce the most accurate models. Similarly, the method that created non-overlapping patches, which covered a large portion of the image, missed some viruses or cut them in a way that confused the computer. In contrast, the manual method used far fewer patches—only 282 per image—but because each patch was carefully chosen to contain a complete virus, the computer learned more effectively from each example. When the trained models were tested on a separate set of full images, the one trained with the manual patches made the fewest mistakes in identifying the viruses correctly and had the best overall balance between finding them and avoiding false alarms.

While the manual method required a person to spend time placing the patches, the time saved during the computer's training process was significant. The models trained with the manual patches finished their learning sessions in the shortest amount of time across all three different computer engines tested. This suggests that for tasks where the objects of interest are distinct and the background is relatively empty, it is more efficient to focus the computer's attention on the important parts rather than forcing it to study every inch of the image. The research indicates that this human-guided strategy offers a favorable balance, delivering high-quality results without the heavy computational cost of processing redundant or irrelevant image data. Although the traditional automatic methods are faster to set up initially, they may not be the most efficient path to a highly accurate model when the goal is to identify specific, delicate objects within a large image. The findings suggest that in certain specialized fields, the expertise of a human eye in selecting what to study can be a powerful tool for teaching machines to see.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →