Correlation Loss: Enforcing Correlation between Classification and Localization

Fehmi Kahraman, Kemal Oksuz, Sinan Kalkan, Emre Akbas
1/3/2023
cs.CV

Official code: fehmikahraman/CorrLoss (24 stars, Apache-2.0, last commit 2023-11-21).

Abstract

Object detectors are conventionally trained by a weighted sum of classification and localization losses. Recent studies (e.g., predicting IoU with an auxiliary head, Generalized Focal Loss, Rank & Sort Loss) have shown that forcing these two loss terms to interact with each other in non-conventional ways creates a useful inductive bias and improves performance. Inspired by these works, we focus on the correlation between classification and localization and make two main contributions: (i) We provide an analysis about the effects of correlation between classification and localization tasks in object detectors. We identify why correlation affects the performance of various NMS-based and NMS-free detectors, and we devise measures to evaluate the effect of correlation and use them to analyze common detectors. (ii) Motivated by our observations, e.g., that NMS-free detectors can also benefit from correlation, we propose Correlation Loss, a novel plug-in loss function that improves the performance of various object detectors by directly optimizing correlation coefficients: E.g., Correlation Loss on Sparse R-CNN, an NMS-free method, yields 1.6 AP gain on COCO and 1.8 AP gain on Cityscapes dataset. Our best model on Sparse R-CNN reaches 51.0 AP without test-time augmentation on COCO test-dev, reaching state-of-the-art. Code is available at https://github.com/fehmikahraman/CorrLoss

View on arXivView PDF

Code Implementations(1)

Apache-2.0
243Shell, PythonNov 28, 20222 years agoApache-2.0

Cite this paper

@article{kahraman2023correlation,
  title  = {Correlation Loss: Enforcing Correlation between Classification and Localization},
  author = {Fehmi Kahraman and Kemal Oksuz and Sinan Kalkan and Emre Akbas},
  year   = {2023},
  eprint = {2301.01019},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.01019v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.01019.svg)](https://codeofpaper.com/paper/2301.01019)

Discussion