Skip to main content
QUICK REVIEW

[Paper Review] Geometry Constrained Weakly Supervised Object Localization

Weizeng Lu, Xi Jia|arXiv (Cornell University)|Jul 19, 2020
Advanced Neural Network ApplicationsComputer Science25 references9 citations
TL;DR

This paper proposes GC-Net, a geometry-constrained weakly supervised object localization framework that trains end-to-end using only image-level labels. By integrating a detector, generator, and classifier with a novel multi-task loss, GC-Net predicts precise object bounding boxes without post-processing, outperforming state-of-the-art methods on CUB-200-2011 and ILSVRC2012 datasets.

ABSTRACT

We propose a geometry constrained network, termed GC-Net, for weakly supervised object localization (WSOL). GC-Net consists of three modules: a detector, a generator and a classifier. The detector predicts the object location defined by a set of coefficients describing a geometric shape (i.e. ellipse or rectangle), which is geometrically constrained by the mask produced by the generator. The classifier takes the resulting masked images as input and performs two complementary classification tasks for the object and background. To make the mask more compact and more complete, we propose a novel multi-task loss function that takes into account area of the geometric shape, the categorical cross-entropy and the negative entropy. In contrast to previous approaches, GC-Net is trained end-to-end and predict object location without any post-processing (e.g. thresholding) that may require additional tuning. Extensive experiments on the CUB-200-2011 and ILSVRC2012 datasets show that GC-Net outperforms state-of-the-art methods by a large margin. Our source code is available at https://github.com/lwzeng/GC-Net.

Motivation & Objective

  • Address the challenge of weakly supervised object localization (WSOL) without requiring bounding box annotations.
  • Overcome limitations of CAM-based methods that rely on post-processing thresholding and suffer from ambiguous activation regions.
  • Develop an end-to-end trainable framework that eliminates the need for hyperparameter tuning in post-processing steps.
  • Improve localization accuracy by enforcing geometric constraints (ellipse, rectangle, rotated shapes) through a differentiable generator.
  • Design a multi-task loss function that jointly optimizes shape tightness, object completeness, and classification performance.

Proposed method

  • GC-Net consists of three modules: a detector that regresses geometric shape parameters (e.g., center, axes, rotation), a generator that converts these parameters into a differentiable binary mask using mathematical models of ellipses, rectangles, or rotated shapes.
  • The generator uses a differentiable approximation of the Heaviside function via the arctangent function to enable backpropagation through the mask generation process.
  • A classifier performs two complementary tasks: classifying the masked object region and the masked background region to improve localization signal.
  • The multi-task loss combines three components: area loss (to enforce tightness of the geometric shape), object loss (to ensure correct object classification), and background loss (to ensure complete object coverage).
  • The method supports multiple geometric shapes (normal rectangle, rotated rectangle, rotated ellipse), each defined by a differentiable implicit function φ(x,y) that maps spatial coordinates to a signed distance from the shape boundary.
  • Gradients are backpropagated through the generator using analytical derivatives of the geometric models, enabling end-to-end training of the detector.

Experimental results

Research questions

  • RQ1Can a differentiable geometric constraint improve weakly supervised object localization without bounding box annotations?
  • RQ2Can a multi-task loss combining shape tightness, object classification, and background completeness outperform existing WSOL methods?
  • RQ3Does eliminating post-processing steps like thresholding lead to more robust and accurate localization in weakly supervised settings?
  • RQ4Can a model-driven generator with explicit geometric priors provide stronger supervision than CAM-based approaches?
  • RQ5How does GC-Net perform across fine-grained (CUB-200-2011) and large-scale (ILSVRC2012) datasets compared to state-of-the-art methods?

Key findings

  • GC-Net achieves state-of-the-art performance on the CUB-200-2011 dataset, outperforming previous methods in localization accuracy without any post-processing.
  • On the ILSVRC2012 dataset, GC-Net significantly surpasses existing weakly supervised object localization methods, demonstrating strong generalization across large-scale benchmarks.
  • The ablation study confirms that the proposed multi-task loss, especially the combination of area, object, and background losses, is essential for achieving high localization accuracy.
  • The use of differentiable geometric generators enables end-to-end training and eliminates the need for threshold tuning in post-processing, simplifying deployment.
  • The model performs robustly across multiple geometric shapes—normal, rotated rectangles, and ellipses—demonstrating the flexibility and generalization of the geometric constraint approach.
  • The generator's differentiable design allows effective backpropagation of gradients through the mask, enabling the detector to learn precise shape parameters directly from classification signals.

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.