On the Generalizability of Iterative Patch Selection for Memory-Efficient High-Resolution Image Classification

Max Riffi-Aslett, Christina Fell
12/15/2024
cs.CV

No official code found. Best implementation: MRiffiAslett/ips_MaxRiffiAslett (1 star, last commit 2024-11-16).

Abstract

Classifying large images with small or tiny regions of interest (ROI) is challenging due to computational and memory constraints. Weakly supervised memory-efficient patch selectors have achieved results comparable with strongly supervised methods. However, low signal-to-noise ratios and low entropy attention still cause overfitting. We explore these issues using a novel testbed on a memory-efficient cross-attention transformer with Iterative Patch Selection (IPS) as the patch selection module. Our testbed extends the megapixel MNIST benchmark to four smaller O2I (object-to-image) ratios ranging from 0.01% to 0.14% while keeping the canvas size fixed and introducing a noise generation component based on Bézier curves. Experimental results generalize the observations made on CNNs to IPS whereby the O2I threshold below which the classifier fails to generalize is affected by the training dataset size. We further observe that the magnitude of this interaction differs for each task of the Megapixel MNIST. For tasks "Maj" and "Top", the rate is at its highest, followed by tasks "Max" and "Multi" where in the latter, this rate is almost at 0. Moreover, results show that in a low data setting, tuning the patch size to be smaller relative to the ROI improves generalization, resulting in an improvement of + 15% for the megapixel MNIST and + 5% for the Swedish traffic signs dataset compared to the original object-to-patch ratios in IPS. Further outcomes indicate that the similarity between the thickness of the noise component and the digits in the megapixel MNIST gradually causes IPS to fail to generalize, contributing to previous suspicions.

View on arXivView PDF

Code Implementations(1)

On the Generalizability of Iterative Patch Selection for High-Resolution Image Classification

10Shell, PythonJun 18, 20241 years ago

Similar Papers

Cite this paper

@article{riffiaslett2024generalizability,
  title  = {On the Generalizability of Iterative Patch Selection for Memory-Efficient High-Resolution Image Classification},
  author = {Max Riffi-Aslett and Christina Fell},
  year   = {2024},
  eprint = {2412.11237},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.11237v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.11237.svg)](https://codeofpaper.com/paper/2412.11237)

Discussion