Abstract
As a popular research direction in computer vision, deep learning technology has promoted breakthroughs in the field of object detection. In recent years, the combination of object detection and the Internet of Things (IoT) has been widely used in the fields of face recognition, pedestrian detection, and autonomous driving. This review explores the evolution and current state of one-stage object detection algorithms, focusing on their architectural innovations and performance trade-offs.
Introduction: The Shift to One-Stage Detection
Object detection presents a dual challenge: identifying "what" an object is (classification) and "where" it is located (localization). Historically, "two-stage" detectors like R-CNN dominated the field. These models first propose potential regions of interest and then classify them in a secondary step. While highly accurate, this two-step process is computationally expensive and often too slow for real-time applications.
The "one-stage" paradigm treats detection as a single regression problem. By skipping the proposal phase and looking at the image once to predict both labels and coordinates, these models achieve the massive speed gains required for IoT and edge computing.
Architectural Milestones in One-Stage Detection
The evolution of one-stage detection is marked by several key architectural lineages:
The YOLO (You Only Look Once) Lineage
The YOLO series revolutionized the field by dividing images into grids for direct regression. Starting with YOLOv1, which established the grid-based regression approach, the series evolved through v2 (adding anchor boxes), v3 (introducing Feature Pyramid Networks), and v4 (optimizing backbones with CSPDarknet53).
SSD and RetinaNet
- SSD (Single Shot MultiBox Detector): Improved on early YOLO versions by utilizing feature maps of different sizes to detect objects at various scales simultaneously.
- RetinaNet: Addressed the extreme foreground-background class imbalance inherent in one-stage detectors by introducing Focal Loss. This mathematical adjustment forces the model to focus on "hard" examples (actual objects) rather than being overwhelmed by "easy" background pixels.
The Rise of Anchor-Free Models
Recent research has shifted away from manually designed "anchor boxes," which are often difficult to tune. Models like CornerNet (keypoint-based) and FCOS (pixel-level prediction) represent this shift. FCOS, for instance, employs a "center-ness" metric to filter low-quality bounding boxes without the need for predefined anchors.
Benchmarks and Performance
The progress of these algorithms is validated against standard computer vision benchmarks:
- PASCAL VOC 2007: The primary testing ground for early models like YOLOv1 and v2.
- MS COCO: The current industry standard, used for evaluating complex models like YOLOv4.
- ILSVRC (ImageNet): Typically used for pre-training the "backbone" networks (e.g., ResNet, DarkNet) that extract features before the detection "head" processes them.
Quantitative results show a steady climb in both speed and accuracy. YOLOv1 set the baseline with 45 FPS and 63.4 mAP on VOC2007. By the time YOLOv4 was released, it achieved 43.5% AP at 65 FPS on the much more challenging MS COCO dataset.
Key Insights for Real-Time Vision
- Regression for Speed: Treating localization as a regression task allows one-stage models to reach frame rates (45+ FPS) necessary for real-time video surveillance.
- Feature Fusion: To overcome the "small object" problem, modern models fuse high-level semantic features with low-level texture features via Feature Pyramid Networks (FPN).
- Decoupled Heads: Splitting the prediction head into separate branches for classification and regression—as seen in YOLOx—significantly boosts accuracy and convergence speed.
Challenges and Future Directions
Despite significant strides, one-stage models still face hurdles:
- Localization Precision: They generally lag behind two-stage models in pinpointing exact object boundaries.
- Complex Backgrounds: High-altitude or multi-background scenes often lead to a decline in accuracy.
- Domain Adaptation: Models trained on specific datasets (e.g., urban streets) often struggle in new environments (e.g., industrial settings) without extensive retraining.
Future research is expected to focus on deeper architectures, advanced data augmentation strategies (like Mosaic or MixUp), and further refinement of anchor-free mechanisms to bridge the remaining gap between speed and precision.
Summary updated