Skip to main content
QUICK REVIEW

[Paper Review] Learning to detect and localize many objects from few examples

Bastien Moysset, Christopher Kermorvant|arXiv (Cornell University)|Nov 17, 2016
Advanced Image and Video Retrieval TechniquesComputer Science27 references6 citations
TL;DR

This paper proposes a fully convolutional object detection model that uses spatial 2D-LSTM layers to capture global context while maintaining low parameter count through localized, shared predictions. It outperforms state-of-the-art methods like YOLO and Multibox on few-shot, high-object-density tasks such as text detection in document images, achieving superior recall and F-measure without input resizing.

ABSTRACT

The current trend in object detection and localization is to learn predictions with high capacity deep neural networks trained on a very large amount of annotated data and using a high amount of processing power. In this work, we propose a new neural model which directly predicts bounding box coordinates. The particularity of our contribution lies in the local computations of predictions with a new form of local parameter sharing which keeps the overall amount of trainable parameters low. Key components of the model are spatial 2D-LSTM recurrent layers which convey contextual information between the regions of the image. We show that this model is more powerful than the state of the art in applications where training data is not as abundant as in the classical configuration of natural images and Imagenet/Pascal VOC tasks. We particularly target the detection of text in document images, but our method is not limited to this setting. The proposed model also facilitates the detection of many objects in a single image and can deal with inputs of variable sizes without resizing.

Motivation & Objective

  • Address the challenge of detecting and localizing many small objects in images when only a few annotated examples are available.
  • Overcome limitations of existing one-stage detectors like YOLO and Multibox in high-object-density scenarios with limited training data.
  • Enable end-to-end training on variable-sized inputs without resizing, improving flexibility for real-world document image analysis.
  • Improve detection recall in low-data regimes by leveraging spatial context through 2D-LSTM layers without increasing model capacity.
  • Develop a parameter-efficient architecture that maintains high spatial parameter sharing while enabling direct regression of bounding box coordinates.

Proposed method

  • Uses 1×1 convolutional layers as output heads to enable spatially shared, localized predictions across the feature map.
  • Introduces 2D-LSTM layers between convolutional blocks to aggregate global context and improve feature representation across spatial regions.
  • Employs direct regression of relative bounding box coordinates, avoiding region proposal generation and reducing model complexity.
  • Applies a global matching strategy before each optimization step to assign predictions to ground truth boxes, even when multiple objects fall in the same spatial cell.
  • Uses a fully convolutional design to support variable input sizes without resizing, preserving spatial resolution and object detail.
  • Implements the model in a custom C++ framework due to lack of native 2D-LSTM support in popular deep learning libraries at the time.

Experimental results

Research questions

  • RQ1Can a fully convolutional object detector with spatially shared output heads achieve high performance in low-data regimes?
  • RQ2How does incorporating 2D-LSTM layers for global context improve detection of small or overlapping objects compared to standard convolutional or fully connected heads?
  • RQ3To what extent does the model outperform YOLO and Multibox in detecting many small objects with limited training data?
  • RQ4Can the model handle variable-sized inputs without resizing, and does this preserve detection accuracy?
  • RQ5Does the absence of region proposal generation and the use of direct regression lead to better recall in high-object-density scenarios?

Key findings

  • The proposed model significantly outperforms YOLO and Multibox on the Maurdor dataset, achieving higher mean average precision and F-measure in text detection tasks.
  • The addition of 2D-LSTM layers improves detection performance across all metrics, with the largest gains in recall, especially for small and overlapping text regions.
  • The model achieves over 70% F-Measure Bag of Words score on both French and English document images, outperforming all baselines in full-page text recognition tasks.
  • YOLO failed to converge meaningfully on the document text detection task due to its one-target-per-cell constraint, which is unsuitable for high-object-density scenes.
  • Multibox underperformed despite hyperparameter tuning, primarily due to lack of parameter sharing across output locations, leading to inefficient learning.
  • The model successfully detects objects larger than the receptive field of individual predictors, demonstrating the effectiveness of 2D-LSTM context aggregation.

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.