Skip to main content
QUICK REVIEW

[Paper Review] Needles in Haystacks: On Classifying Tiny Objects in Large Images

Nick Pawlowski, Suvrat Bhooshan|arXiv (Cornell University)|Aug 16, 2019
AI in cancer detectionComputer Science37 references8 citations
TL;DR

This paper investigates the performance of Convolutional Neural Networks (CNNs) in classifying tiny objects within large images—common in medical and hyperspectral imaging—by introducing a novel testbed using synthetic MNIST and histopathology-based datasets. It finds that generalization degrades sharply below a critical object-to-image (O2I) ratio, but deeper models and sufficient training data can mitigate this, with max-pooling showing superior optimization for very low signal-to-noise scenarios.

ABSTRACT

In some important computer vision domains, such as medical or hyperspectral imaging, we care about the classification of tiny objects in large images. However, most Convolutional Neural Networks (CNNs) for image classification were developed using biased datasets that contain large objects, in mostly central image positions. To assess whether classical CNN architectures work well for tiny object classification we build a comprehensive testbed containing two datasets: one derived from MNIST digits and one from histopathology images. This testbed allows controlled experiments to stress-test CNN architectures with a broad spectrum of signal-to-noise ratios. Our observations indicate that: (1) There exists a limit to signal-to-noise below which CNNs fail to generalize and that this limit is affected by dataset size - more data leading to better performances; however, the amount of training data required for the model to generalize scales rapidly with the inverse of the object-to-image ratio (2) in general, higher capacity models exhibit better generalization; (3) when knowing the approximate object sizes, adapting receptive field is beneficial; and (4) for very small signal-to-noise ratio the choice of global pooling operation affects optimization, whereas for relatively large signal-to-noise values, all tested global pooling operations exhibit similar performance.

Motivation & Objective

  • To investigate the generalization limits of standard CNNs when classifying tiny objects in large images, particularly in low signal-to-noise (low O2I) regimes.
  • To identify how dataset size, model capacity, receptive field design, and global pooling operations affect model performance under low O2I conditions.
  • To develop a reproducible testbed for controlled evaluation of CNNs in low signal-to-noise image classification scenarios.
  • To assess whether weakly supervised object localization via saliency maps is feasible when only image-level labels are available.
  • To determine the minimal data requirements for achieving acceptable accuracy in low O2I classification tasks.

Proposed method

  • Constructed two synthetic datasets: one from MNIST digits with controlled O2I ratios (19.14% to 0.30%), and one from histopathology images (CAMELYON17) with approximate O2I control.
  • Trained ResNet-based CNNs with varying capacities (e.g., ResNet-50) on these datasets using only image-level labels, without pixel-level annotations.
  • Evaluated multiple global pooling operations: max-pooling, mean-pooling, logsumexp, and soft attention pooling, across different O2I ratios and dataset sizes.
  • Used gradient-based saliency maps to assess weakly supervised object localization performance, treating the highest activation region as the predicted object location.
  • Quantified detection performance using average precision (AP) with ground-truth bounding boxes for the object of interest.
  • Systematically varied training set size (from 1,400 to 22,552 samples) and O2I ratio to study data efficiency and generalization limits.

Experimental results

Research questions

  • RQ1What is the minimum O2I ratio below which standard CNNs fail to generalize, even with large training sets?
  • RQ2How does the required amount of training data scale with decreasing O2I ratio for a given model to achieve acceptable accuracy?
  • RQ3Does increasing model capacity improve generalization in low O2I regimes, and if so, by what mechanism?
  • RQ4How do different global pooling operations affect optimization and generalization at very low signal-to-noise ratios?
  • RQ5Can saliency maps from image-level trained models localize the tiny object of interest with sufficient accuracy for weakly supervised detection?

Key findings

  • A critical O2I ratio limit exists below which all tested CNNs fail to generalize beyond random performance, and this limit is dependent on dataset size.
  • The amount of training data required for generalization scales rapidly with the inverse of the O2I ratio, indicating a strong data efficiency challenge for tiny object classification.
  • Higher capacity models exhibit better generalization in low O2I regimes, likely due to their ability to model complex noise structures and extract discriminative features.
  • Adapting the receptive field to match the expected object size improves performance, confirming the importance of inductive bias in low signal-to-noise scenarios.
  • For very low O2I ratios, max-pooling leads to faster and more stable optimization compared to other pooling operations, while for higher O2I ratios, all pooling types perform similarly.
  • Saliency maps from image-level trained models show meaningful localization of the object of interest, with average precision decreasing as O2I ratio drops, but still achieving usable detection performance at moderate O2I levels.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.