Skip to main content
QUICK REVIEW

[Paper Review] Task-Specific Context Decoupling for Object Detection

Jiayuan Zhuang, Zheng Qin|arXiv (Cornell University)|Mar 2, 2023
Advanced Neural Network ApplicationsComputer Science32 citations
TL;DR

The paper introduces TSCODE, a plug-and-play head that disentangles feature context for classification and localization by supplying task-specific inputs, improving detection performance with low extra cost.

ABSTRACT

Classification and localization are two main sub-tasks in object detection. Nonetheless, these two tasks have inconsistent preferences for feature context, i.e., localization expects more boundary-aware features to accurately regress the bounding box, while more semantic context is preferred for object classification. Exsiting methods usually leverage disentangled heads to learn different feature context for each task. However, the heads are still applied on the same input features, which leads to an imperfect balance between classifcation and localization. In this work, we propose a novel Task-Specific COntext DEcoupling (TSCODE) head which further disentangles the feature encoding for two tasks. For classification, we generate spatially-coarse but semantically-strong feature encoding. For localization, we provide high-resolution feature map containing more edge information to better regress object boundaries. TSCODE is plug-and-play and can be easily incorperated into existing detection pipelines. Extensive experiments demonstrate that our method stably improves different detectors by over 1.0 AP with less computational cost. Our code and models will be publicly released.

Motivation & Objective

  • Motivate the misalignment between context preferences of classification and localization in object detectors.
  • Propose a decoupled head that provides task-specific input features to classification and localization.
  • Design efficient Semantic Context Encoding (SCE) for classification and Detail-Preserving Encoding (DPE) for localization.
  • Demonstrate plug-and-play applicability across mainstream detectors with consistent improvements.

Proposed method

  • Decouple feature encoding by feeding classification and localization branches with task-specific inputs G cls l and G loc l instead of a shared P l .
  • Semantic Context Encoding (SCE) builds G cls l from downsampled P l and higher-level P l+1 to provide spatially coarse but semantically rich features for classification.
  • Detail-Preserving Encoding (DPE) fuses P l-1, P l, and P l+1 through a lightweight U-Net–style fusion to provide high-resolution edge-rich features for localization.
  • Classification head uses a shallow two-layer design with 512 channels to predict scores from G cls l, followed by a rearrangement to recover resolution and predict per-class scores.
  • Localization head uses G loc l computed via a three-level feature fusion (P l-1, P l, P l+1) to regress bounding boxes.
  • The overall loss combines Lcls on G cls l and Lloc on G loc l, with decoupled inputs reducing task interference.

Experimental results

Research questions

  • RQ1How can feature context be effectively decoupled to cater to the opposing needs of classification and localization?
  • RQ2Do task-specific inputs enable more accurate classification and localization with lower computational cost than traditional shared-feature decoupled heads?
  • RQ3Can TSCODE generalize across different one-stage detectors and backbones?
  • RQ4What is the quantitative impact of SCE and DPE components on detection performance?
  • RQ5Is TSCODE plug-and-play in existing detection pipelines?  

Key findings

  • TSCODE yields consistent AP improvements across FCOS, ATSS, and GFL baselines (e.g., AP gains around 1.3–1.4 points in ablations).
  • SCE and DPE independently improve performance, with their combination yielding larger gains than the sum of individual effects.
  • TSCODE incurs less or comparable computational cost while improving AP and AR across object sizes, and speeds up training convergence.
  • Applying TSCODE to multiple detectors from COCO minival shows gains of ~0.5–1.4 AP points depending on baseline.
  • TSCODE achieves state-of-the-art single-model COCO test-dev results when combined with backbones like ResNet-101, ResNeXt-101-32x4d, and DCN variants, surpassing several recent detectors.

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.