Skip to main content
QUICK REVIEW

[Paper Review] TOOD: Task-aligned One-stage Object Detection

Chengjian Feng, Yujie Zhong|arXiv (Cornell University)|Aug 17, 2021
Advanced Neural Network ApplicationsComputer Science35 references15 citations
TL;DR

TOOD proposes a task-aligned one-stage object detector that explicitly aligns classification and localization through a Task-aligned Head (T-Head) and Task Alignment Learning (TAL), achieving 51.1 AP on MS-COCO, surpassing prior one-stage detectors like ATSS, GFL, and PAA by a large margin with fewer parameters and FLOPs.

ABSTRACT

One-stage object detection is commonly implemented by optimizing two sub-tasks: object classification and localization, using heads with two parallel branches, which might lead to a certain level of spatial misalignment in predictions between the two tasks. In this work, we propose a Task-aligned One-stage Object Detection (TOOD) that explicitly aligns the two tasks in a learning-based manner. First, we design a novel Task-aligned Head (T-Head) which offers a better balance between learning task-interactive and task-specific features, as well as a greater flexibility to learn the alignment via a task-aligned predictor. Second, we propose Task Alignment Learning (TAL) to explicitly pull closer (or even unify) the optimal anchors for the two tasks during training via a designed sample assignment scheme and a task-aligned loss. Extensive experiments are conducted on MS-COCO, where TOOD achieves a 51.1 AP at single-model single-scale testing. This surpasses the recent one-stage detectors by a large margin, such as ATSS (47.7 AP), GFL (48.2 AP), and PAA (49.0 AP), with fewer parameters and FLOPs. Qualitative results also demonstrate the effectiveness of TOOD for better aligning the tasks of object classification and localization. Code is available at https://github.com/fcjian/TOOD.

Motivation & Objective

  • Address spatial misalignment between classification and localization predictions in one-stage detectors caused by parallel, independent heads.
  • Overcome the limitation of task-agnostic sample assignment that often selects inconsistent optimal anchors for classification and localization.
  • Improve detection performance by enhancing task interaction and alignment through a novel learning-based mechanism.
  • Enable better compatibility with Non-Maximum Suppression (NMS) by reducing redundant and erroneous bounding boxes.
  • Achieve state-of-the-art performance with minimal computational overhead and fewer parameters compared to prior methods.

Proposed method

  • Design a Task-aligned Head (T-Head) that computes task-interactive features and uses a Task-Aligned Predictor (TAP) to enhance collaboration between classification and localization tasks.
  • Introduce Task Alignment Learning (TAL) with a novel sample assignment scheme based on an anchor alignment metric to select training samples that promote alignment.
  • Develop a task-aligned loss function that gradually unifies the optimal anchors for classification and localization during training.
  • Apply deformable convolutions (DCN) in the first two layers of the head tower to improve spatial feature adaptation for alignment.
  • Use a multi-task learning framework where classification and localization are jointly optimized with shared, interactive features.
  • Leverage IoU-based and geometry-based metrics in the sample assignment to ensure consistent positive sample selection across tasks.

Experimental results

Research questions

  • RQ1Can explicit task alignment between classification and localization improve one-stage object detection performance?
  • RQ2Does a shared, interactive head structure reduce spatial misalignment between classification and localization predictions?
  • RQ3Can a task-aligned loss and sample assignment scheme unify the optimal anchors for both tasks during training?
  • RQ4How does task alignment affect NMS performance and the balance between correct, redundant, and error bounding boxes?
  • RQ5To what extent can TOOD outperform existing one-stage detectors in terms of accuracy, parameter efficiency, and FLOPs?

Key findings

  • TOOD achieves 51.1 AP on MS-COCO under single-model, single-scale testing, significantly outperforming ATSS (47.7 AP), GFL (48.2 AP), and PAA (49.0 AP).
  • With ResNeXt-101-64×4d-DCN, TOOD achieves 51.1 AP, a 2.8 AP improvement over ATSS (48.3 → 51.1 AP) and a 2.0 AP improvement over GFL (49.0 → 51.1 AP).
  • The Pearson Correlation Coefficient (PCC) between classification and localization rankings improves from 0.408 (baseline) to 0.452 with T-Head and TAL, indicating better alignment.
  • The mean IoU of top-10 predictions increases from 0.637 to 0.661, showing improved localization consistency.
  • With NMS, TOOD reduces redundant boxes by 4,186 and error boxes by 23,668 compared to the baseline, while increasing correct boxes by 473.
  • TOOD demonstrates superior compatibility with NMS, preserving more correct detections and suppressing more false positives and duplicates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.