[论文解读] D-FINE: Redefine Regression Task in DETRs as Fine-grained Distribution Refinement
D-FINE 将基于 DETR 的检测器中的边框回归重新定义为细粒度分布细化(FDR)与全局最优定位自蒸馏(GO-LSD),在 COCO 上实现实时 DETR 性能的最先进水平,且延迟和参数使用高效。
We introduce D-FINE, a powerful real-time object detector that achieves outstanding localization precision by redefining the bounding box regression task in DETR models. D-FINE comprises two key components: Fine-grained Distribution Refinement (FDR) and Global Optimal Localization Self-Distillation (GO-LSD). FDR transforms the regression process from predicting fixed coordinates to iteratively refining probability distributions, providing a fine-grained intermediate representation that significantly enhances localization accuracy. GO-LSD is a bidirectional optimization strategy that transfers localization knowledge from refined distributions to shallower layers through self-distillation, while also simplifying the residual prediction tasks for deeper layers. Additionally, D-FINE incorporates lightweight optimizations in computationally intensive modules and operations, achieving a better balance between speed and accuracy. Specifically, D-FINE-L / X achieves 54.0% / 55.8% AP on the COCO dataset at 124 / 78 FPS on an NVIDIA T4 GPU. When pretrained on Objects365, D-FINE-L / X attains 57.1% / 59.3% AP, surpassing all existing real-time detectors. Furthermore, our method significantly enhances the performance of a wide range of DETR models by up to 5.3% AP with negligible extra parameters and training costs. Our code and pretrained models: https://github.com/Peterande/D-FINE.
研究动机与目标
- Motivate real-time object detection with DETR-based models and address inefficiencies in bounding box regression.
- Redefine regression from fixed coordinates to iterative, fine-grained distribution refinements to improve localization accuracy.
- Develop an efficient self-distillation strategy (GO-LSD) to transfer localization knowledge from deep to shallow layers with minimal cost.
- Introduce lightweight optimizations to DETR architectures to balance speed and accuracy.
- Demonstrate broad applicability by improving various DETR backbones with minimal parameter/training overhead.
提出的方法
- Fine-grained Distribution Refinement (FDR): iteratively refines per-edge probability distributions (top, bottom, left, right) using residual logits and a non-uniform weighting function W(n) to produce edge offsets.
- employs a new Fine-Grained Localization (FGL) loss to align distributions with ground-truth offsets via IoU-weighted cross-entropy over adjacent bins.
- Global Optimal Localization Self-Distillation (GO-LSD): distills final-layer refined distributions into shallower layers through a decoupled distillation loss (DDF) and union of Hungarian matches across layers.
- Decoupled Distillation Focal (DDF) loss weights matched and unmatched predictions differently to stabilize distillation.
- Lightweight architectural and computational optimizations to DETR backbones to improve speed with negligible accuracy loss.
- Demonstrates compatibility with anchor-free, end-to-end DETR-like frameworks (anchor-free and NMS-free).

实验结果
研究问题
- RQ1Can bounding box regression in DETR be effectively modeled as iterative, fine-grained distributions rather than fixed coordinates?
- RQ2Does bidirectional, low-cost self-distillation (GO-LSD) improve early-layer localization without increasing training/inference costs?
- RQ3What is the impact of FDR and GO-LSD on real-time DETR models across various backbones and pretraining regimes?
- RQ4How do lightweight architectural optimizations affect speed-accuracy trade-offs in D-FINE?
- RQ5What gains are achievable when pretraining on larger datasets (e.g., Objects365) before fine-tuning on COCO?
主要发现
- D-FINE-L achieves 54.0 AP on COCO val2017 at 8.07 ms latency (8.07 ms, 31M params, 91 GFLOPs).
- D-FINE-X achieves 55.8 AP on COCO val2017 at 12.89 ms latency (62M params, 202 GFLOPs).
- Pretraining on Objects365 yields 57.1 AP (L) and 59.3 AP (X) on COCO, surpassing all existing real-time detectors.
- FDR + GO-LSD improve several DETR-based models by 2.0–5.3 AP on COCO val2017 without adding parameters or training cost.
- GO-LSD distills localization knowledge from deeper to shallower layers using union-based matching, improving early-stage predictions.
- Table 2 shows consistent AP gains (2–5.3) across Deformable-DETR, DAB-DETR, DN-DETR, and DINO when adding FDR & GO-LSD.

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。