Skip to main content
QUICK REVIEW

[논문 리뷰] D-FINE: Redefine Regression Task in DETRs as Fine-grained Distribution Refinement

Yansong Peng, Hebei Li|arXiv (Cornell University)|2024. 10. 17.
Speech Recognition and SynthesisComputer Science인용 수 19
한 줄 요약

D-FINE은 DETR 기반 탐지기의 바운딩 박스 회귀를 Fine-grained Distribution Refinement(FDR)로 재정의하고 Global Optimal Localization Self-Distillation(GO-LSD)을 도입해 COCO에서 실시간 DETR 성능의 최첨단을 달성하며 효율적인 지연시간과 매개변수 사용을 실현합니다.

ABSTRACT

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.

연구 동기 및 목표

  • DETR 기반 모델로 실시간 객체 탐지를 고무하고 바운딩 박스 회귀의 비효율성을 해결한다.
  • 고정 좌표에서 반복적이고 정밀한 분포 정제(iterative, fine-grained distribution refinements)로 회귀를 재정의하여 위치 정확도를 향상시킨다.
  • 깊은 계층에서 얕은 계층으로 위치 지식을 최소 비용으로 전달하기 위한 효율적인 자기 증류 전략(GO-LSD)을 개발한다.
  • 속도와 정확도 간 균형을 맞추기 위한 DETR 아키텍처에 경량화 최적화를 도입한다.
  • 매개변수/트레이닝 오버헤드를 최소화하면서 다양한 DETR 백본을 개선하여 광범위한 적용 가능성을 보여준다.

제안 방법

  • Fine-grained Distribution Refinement (FDR): 잔차 로짓과 비균일 가중 함수 W(n)을 사용하여 모서리 오프셋을 생성하기 위해 상단/하단/좌측/우측 각 모서리 확률 분포를 반복적으로 정제한다.
  • 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).
Figure 1: Comparisons with other detectors in terms of latency (left), model size (mid), and computational cost (right). We measure end-to-end latency using TensorRT FP16 on an NVIDIA T4 GPU.
Figure 1: Comparisons with other detectors in terms of latency (left), model size (mid), and computational cost (right). We measure end-to-end latency using TensorRT FP16 on an NVIDIA T4 GPU.

실험 결과

연구 질문

  • 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.
Figure 2: Overview of D-FINE with FDR. The probability distributions that act as a more fine-grained intermediate representation are iteratively refined by the decoder layers in a residual manner. Non-uniform weighting functions are applied to allow for finer localization.
Figure 2: Overview of D-FINE with FDR. The probability distributions that act as a more fine-grained intermediate representation are iteratively refined by the decoder layers in a residual manner. Non-uniform weighting functions are applied to allow for finer localization.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.