[Paper Review] Training-Time-Friendly Network for Real-Time Object Detection
This paper proposes TTFNet, a training-time-friendly, real-time object detector that achieves state-of-the-art accuracy with significantly reduced training time. By using Gaussian kernel-based encoding to generate dense, weighted training samples around object centers, TTFNet accelerates convergence—reducing training time by over seven times compared to prior real-time detectors like CenterNet—while maintaining fast inference speeds and high AP scores on MS COCO.
Modern object detectors can rarely achieve short training time, fast inference speed, and high accuracy at the same time. To strike a balance among them, we propose the Training-Time-Friendly Network (TTFNet). In this work, we start with light-head, single-stage, and anchor-free designs, which enable fast inference speed. Then, we focus on shortening training time. We notice that encoding more training samples from annotated boxes plays a similar role as increasing batch size, which helps enlarge the learning rate and accelerate the training process. To this end, we introduce a novel approach using Gaussian kernels to encode training samples. Besides, we design the initiative sample weights for better information utilization. Experiments on MS COCO show that our TTFNet has great advantages in balancing training time, inference speed, and accuracy. It has reduced training time by more than seven times compared to previous real-time detectors while maintaining state-of-the-art performances. In addition, our super-fast version of TTFNet-18 and TTFNet-53 can outperform SSD300 and YOLOv3 by less than one-tenth of their training time, respectively. The code has been made available at \url{https://github.com/ZJULearning/ttfnet}.
Motivation & Objective
- Address the imbalance between training time, inference speed, and accuracy in real-time object detectors.
- Identify that slow convergence in state-of-the-art real-time detectors like CenterNet is due to insufficient supervised signal from limited training samples.
- Develop a method to increase effective training signal without increasing batch size or model complexity.
- Design a unified, anchor-free detection head that enables fast inference and efficient training.
- Achieve state-of-the-art performance with minimal training time, especially for researchers with limited computational resources.
Proposed method
- Use Gaussian kernels to generate dense, spatially-aware training samples around object centers, replacing sparse anchor-based or center-only supervision.
- Treat the Gaussian probability at each spatial location as a sample weight, emphasizing high-quality, center-proximate samples for regression.
- Apply adaptive normalization to preserve information from both small and large objects, reducing ambiguity in supervision.
- Integrate the Gaussian encoding into a light-head, single-stage, anchor-free detector architecture to maintain fast inference.
- Leverage the increased number of effective training samples as a proxy for larger batch size, enabling higher learning rates and faster convergence.
- Use shortcut connections in the backbone (e.g., ResNet-style) to improve feature representation and precision without increasing training cost.
Experimental results
Research questions
- RQ1Can increasing the number of effective training samples through kernel-based encoding accelerate convergence in real-time object detectors?
- RQ2Why do state-of-the-art real-time detectors like CenterNet suffer from long training times despite fast inference?
- RQ3Can Gaussian kernel-based sample encoding outperform rectangular or center-only supervision in terms of both convergence speed and accuracy?
- RQ4Does the proposed method maintain or improve performance while drastically reducing training time compared to existing real-time detectors?
- RQ5Can the method achieve competitive performance from scratch with minimal pre-training and limited compute resources?
Key findings
- TTFNet reduces training time by more than seven times compared to CenterNet and other real-time detectors while achieving state-of-the-art AP scores on MS COCO.
- The super-fast TTFNet-18 achieves 25.9 AP at 112 FPS after only 1.8 hours of training on 8x GTX 1080Ti, which is less than one-tenth the training time of SSD300.
- TTFNet-53 achieves 32.9 AP at 55 FPS after 3.1 hours of training, outperforming YOLOv3 in both accuracy and speed with just one-tenth of its training time.
- The long-training version of TTFNet-53 reaches 39.3 AP at 57 FPS after 31 hours, demonstrating strong scalability and performance.
- From-scratch training with TTFNet-18 achieves 30.3 AP after 19 hours, showing that pre-trained backbones are not essential for high performance.
- Replacing standard upsampling layers in TTFNet with CenterNet’s custom ones improves performance, but TTFNet still outperforms CenterNet in training efficiency and convergence speed.
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.