Skip to main content
QUICK REVIEW

[Paper Review] Sequential Context Encoding for Duplicate Removal

Lu Qi, Shu Liu|arXiv (Cornell University)|Oct 20, 2018
Advanced Neural Network ApplicationsComputer Science34 references14 citations
TL;DR

This paper proposes a two-stage RNN-based framework with global attention and context gates for duplicate removal in object detection, leveraging sequential context encoding of proposal candidates to improve selection accuracy. It achieves state-of-the-art mAP improvements of up to 1.5 points over NMS across multiple detection backbones on COCO.

ABSTRACT

Duplicate removal is a critical step to accomplish a reasonable amount of predictions in prevalent proposal-based object detection frameworks. Albeit simple and effective, most previous algorithms utilize a greedy process without making sufficient use of properties of input data. In this work, we design a new two-stage framework to effectively select the appropriate proposal candidate for each object. The first stage suppresses most of easy negative object proposals, while the second stage selects true positives in the reduced proposal set. These two stages share the same network structure, \ie, an encoder and a decoder formed as recurrent neural networks (RNN) with global attention and context gate. The encoder scans proposal candidates in a sequential manner to capture the global context information, which is then fed to the decoder to extract optimal proposals. In our extensive experiments, the proposed method outperforms other alternatives by a large margin.

Motivation & Objective

  • To address the limitation of conventional duplicate removal methods like NMS, which ignore global context and rely solely on scores and IoU.
  • To improve proposal selection by leveraging both feature representations (fG) and score features (fS) for a more holistic understanding of object proposals.
  • To design a two-stage framework that first suppresses easy negatives and then performs refined selection using shared RNN architecture with attention and context gates.
  • To demonstrate that sequential modeling of proposals via RNNs enables better generalization and robustness compared to greedy or independent selection methods.
  • To show that the method is compatible with existing detection pipelines and can be integrated without joint training, yielding consistent gains across diverse models.

Proposed method

  • The method uses a two-stage RNN framework: stage I suppresses easy negative proposals, and stage II performs final selection on the reduced set.
  • Both stages employ an encoder-decoder structure based on recurrent neural networks (RNNs) with global attention and context gates to model long-range dependencies across proposals.
  • The encoder processes proposals sequentially to capture global context, while the decoder generates the final selection based on contextualized representations.
  • Input features include region proposal features (fG) and score features (fS), which are concatenated and fed into the RNN to enable joint reasoning over proposal quality and spatial relationships.
  • The model is trained with multi-threshold IoU labeling (e.g., 0.5–0.1–0.9) in stage II to improve robustness to varying overlap criteria.
  • The framework is compatible with existing detection networks and can be applied post-inference, making it plug-and-play for models like FPN, Mask R-CNN, and PANet with DCN.

Experimental results

Research questions

  • RQ1Can sequential modeling of object proposals using RNNs improve duplicate removal performance beyond greedy methods like NMS?
  • RQ2How does incorporating global context from all proposals—via attention and context gates—enhance selection accuracy compared to score-only or IoU-based methods?
  • RQ3Does a two-stage design, where stage I filters easy negatives and stage II refines selection, lead to better performance than end-to-end selection?
  • RQ4To what extent do proposal features (fG) and score features (fS) contribute to improved detection mAP compared to relying only on scores?
  • RQ5Can the proposed method generalize across different object detection backbones and achieve consistent gains without joint training?

Key findings

  • The proposed method achieves a 1.5-point mAP improvement over NMS on the COCO validation set when used with FPN, and a 1.1-point gain with stronger PANet+DCN.
  • On COCO test-dev, the method improves mAP from 36.9 (NMS) to 38.4 with FPN, and from 39.1 to 40.6 with Mask R-CNN.
  • The model reduces average proposal count per image from 145.76 (NMS) to 84.02, while improving mAP, demonstrating better efficiency and accuracy.
  • Using multi-threshold IoU labeling (0.5–0.1–0.9) in stage II boosts mAP by 0.3 points compared to single-threshold training, showing the benefit of diverse supervision.
  • Ablation studies confirm that stage I is essential: directly training stage II on detection network outputs drops mAP significantly, and using NMS output as input yields slightly worse results than stage I.
  • The method improves mAP75 more than mAP50, indicating that it particularly enhances localization quality by favoring higher-quality, less-overlapped proposals.

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.