Mixture Dense Regression for Object Detection and Human Pose Estimation

Ali Varamesh, Tinne Tuytelaars · DOI

Abstract

Mixture models are well-established learning approaches that, in computer vision, have mostly been applied to inverse or ill-defined problems. However, they are general-purpose divide-and-conquer techniques, splitting the input space into relatively homogeneous subsets in a data-driven manner. Not only ill-defined but also well-defined complex problems should benefit from them. To this end, we devise a framework for spatial regression using mixture density networks. We realize the framework for object detection and human pose estimation. For both tasks, a mixture model yields higher accuracy and divides the input space into interpretable modes. For object detection, mixture components focus on object scale, with the distribution of components closely following that of ground truth the object scale. This practically alleviates the need for multi-scale testing, providing a superior speed-accuracy trade-off. For human pose estimation, a mixture model divides the data based on viewpoint and uncertainty -- namely, front and back views, with back view imposing higher uncertainty. We conduct experiments on the MS COCO dataset and do not face any mode collapse.

Introduction

Modern bottom-up vision models, such as CenterNet, typically predict object properties like bounding box dimensions or keypoint offsets directly from dense feature maps. These models often rely on single-mode loss functions, such as L1 loss, for spatial regression. However, visual data is inherently multi-modal; for instance, bounding boxes vary significantly in scale, and human poses differ drastically between front and back views. Forcing a single-mode model to learn such diverse distributions often results in sub-optimal, "averaged-out" predictions. This paper addresses this challenge by explicitly modeling the multi-modality of spatial regression using Mixture Density Networks (MDNs), allowing the network to dynamically select the most appropriate mode for a given prediction.

Methodology

The proposed framework builds upon the CenterNet architecture, replacing standard regression heads with an MDN. At each spatial location, the network outputs parameters for a Gaussian mixture model: mixing coefficients (probabilities for each mode), means (the actual bounding box sizes or keypoint offsets), and variances (uncertainty).

Overview of the Mixture Dense Regression framework.

The training objective minimizes the negative log-likelihood of the ground truth given the predicted mixture distribution. To ensure numerical stability and prevent variance collapse—a common issue in MDNs—the authors apply a modified Exponential Linear Unit (ELU) activation to the variance terms, strictly bounding the minimum variance to 1. During inference, the model simply selects the mixture component with the highest mixing coefficient to generate the final pose or bounding box parameters.

Results and Analysis

Evaluations on the MS COCO 2017 dataset reveal significant improvements over single-mode baselines. For object detection, a 3-component MDN ($MDN_3$) using an Hourglass-104 backbone improved the baseline Average Precision (AP) from 35.9 to 39.0 on coco-val. In human pose estimation, $MDN_3$ improved the baseline AP from 46.4 to 52.3.

A key insight of this work is the emergent interpretability of the mixture components. Without explicit supervision, the network learns to route different types of data to specialized components. In object detection, these components naturally align with object scales (small, medium, and large).

Distribution of mixture components compared to ground truth object scales.

This scale-awareness provides a superior speed-accuracy trade-off. Because the network inherently handles scale variation, it drastically reduces the need for computationally expensive multi-scale testing. For example, a single-scale $MDN_3$ model using a DLA34 backbone achieved accuracy comparable to a multi-scale Hourglass baseline while being more than twice as fast (17.47 FPS vs. 7.04 FPS). In pose estimation, the modes correspond to viewpoints (front vs. back), with the "back" view component correctly exhibiting higher variance due to increased uncertainty.

Conclusion

Integrating Mixture Density Networks into bottom-up vision tasks enables faster convergence and better accuracy by leveraging the multi-modal nature of visual data. While increasing components beyond three shows diminishing returns in accuracy, the specialization achieved significantly improves efficiency and interpretability. Future work may explore the impact of dataset diversity and the application of this approach to highly imbalanced tasks like large-vocabulary instance segmentation.

Summary updated

BibTeX
@inproceedings{varamesh2019mixture,
  author = {Ali Varamesh and Tinne Tuytelaars},
  title = {{Mixture Dense Regression for Object Detection and Human Pose Estimation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr42600.2020.01310},
}
Figure