[Paper Review] End-to-end people detection in crowded scenes
This paper proposes an end-to-end, recurrent neural network-based object detection system that directly outputs a set of person detections from an image using an LSTM decoder, eliminating the need for post-processing like non-maximum suppression. The method achieves 81% recall and 0.78 AP on a crowded scenes dataset, outperforming OverFeat-GoogLeNet by significant margins through a novel differentiable loss function for set-valued predictions.
Current people detectors operate either by scanning an image in a sliding window fashion or by classifying a discrete set of proposals. We propose a model that is based on decoding an image into a set of people detections. Our system takes an image as input and directly outputs a set of distinct detection hypotheses. Because we generate predictions jointly, common post-processing steps such as non-maximum suppression are unnecessary. We use a recurrent LSTM layer for sequence generation and train our model end-to-end with a new loss function that operates on sets of detections. We demonstrate the effectiveness of our approach on the challenging task of detecting people in crowded scenes.
Motivation & Objective
- To address the challenge of detecting multiple, partially occluded people in crowded scenes where traditional methods fail due to overlapping detections.
- To eliminate reliance on post-processing steps like non-maximum suppression by generating detections jointly in a sequence.
- To develop a trainable, end-to-end system that jointly optimizes feature extraction, detection, and confidence prediction.
- To design a differentiable loss function suitable for optimizing sets of object detections with variable length and overlapping instances.
- To demonstrate the generalizability of the approach to complex, real-world scenarios with high object density and occlusion.
Proposed method
- The model uses GoogLeNet features fine-tuned end-to-end as input representations for the detection task.
- A recurrent LSTM layer decodes the image representation into a variable-length sequence of bounding box predictions.
- Each LSTM step generates a detection hypothesis including class, location, and confidence score.
- A novel differentiable loss function, L_set, matches predicted detections to ground truth using a differentiable matching function that accounts for overlap and localization error.
- The loss function enables backpropagation through the entire sequence, allowing joint training of feature extraction and detection components.
- The system avoids redundant detections by attending to previously generated outputs via the LSTM’s hidden state.
Experimental results
Research questions
- RQ1Can a recurrent neural network be effectively used to generate a variable-length sequence of object detections directly from an image, without post-processing?
- RQ2How can a differentiable loss function be designed to train a model on sets of object detections with variable size and overlapping instances?
- RQ3Does end-to-end training of a sequence-generating detector improve performance on crowded scenes compared to two-stage methods?
- RQ4Can the model learn to assign appropriate confidence scores to detections without relying on heuristic post-processing?
- RQ5To what extent does the model outperform existing detectors like OverFeat and R-CNN in terms of recall and mean average precision on crowded scenes?
Key findings
- The proposed model achieves 81% recall on the crowded scenes dataset, a substantial improvement over OverFeat-GoogLeNet’s 71% recall.
- The model reaches 0.78 mean average precision (AP), significantly outperforming OverFeat-GoogLeNet’s 0.67 AP.
- The model reduces people counting error from 1.05 (OverFeat-GoogLeNet) to 0.76, indicating better accuracy in estimating object counts.
- The loss function L_fix, which enforces fixed spatial ordering, underperforms, showing that flexible, learning-based ordering is essential for performance.
- The L_firstk loss, which matches top-k predictions to ground truth, performs better than L_fix but fails to learn meaningful confidence scores, highlighting the need for overlap-aware matching in the loss.
- The model successfully detects people in strong occlusion cases, as shown by green arrows in Figure 3, while OverFeat fails to detect individuals in crowded regions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.