Simple Image-Level Classification Improves Open-Vocabulary Object Detection

Ruohuan Fang, Guansong Pang, Xiao Bai

Abstract

Open-Vocabulary Object Detection (OVOD) aims to detect objects beyond a fixed set of training categories. While current methods leverage Vision-Language Models (VLMs) like CLIP, they often focus on local image regions, losing valuable global context. This paper introduces SIC-CADS (Simple Image-level Classification for Context-Aware Detection Scoring), a framework that re-introduces global scene information to refine local detection scores. By employing a Multi-modal Multi-label Recognition (MLR) module that distills knowledge from CLIP, SIC-CADS improves the identification of "hard" objects—such as those that are blurred or occluded—by leveraging their surrounding context. Experimental results on OV-LVIS and OV-COCO demonstrate significant performance gains across various base detectors.

Introduction

The task of Open-Vocabulary Object Detection (OVOD) requires models to identify and localize objects from novel categories not seen during training. Most state-of-the-art approaches adapt pre-trained Vision-Language Models (VLMs), such as CLIP, by shifting from image-level alignment to region-level detection. However, this localization process often discards global context, which is crucial for identifying "hard" objects—those that are small, blurred, or partially occluded.

Figure 1: Conceptual overview of the benefits of global context in OVOD. Local views can be ambiguous (e.g., "Apple or Tennis Ball?"), but global context (tennis court, racket) clarifies the identity.

As illustrated in Figure 1, a local detector might struggle to distinguish a blurry green object in isolation. However, the presence of a tennis racket and a court in the broader scene makes the identity of a "tennis ball" obvious. Current OVOD models lack this holistic scene-understanding ability, leading to classification errors on challenging instances.

Methodology: SIC-CADS

To address the loss of global context, the authors propose SIC-CADS (Simple Image-level Classification for Context-Aware Detection Scoring). This approach introduces a Multi-modal Multi-label Recognition (MLR) module that serves as a global advisor to the local detector.

Multi-modal MLR Module

The MLR module consists of two primary branches:

  1. Text MLR: This branch aligns global image features with text embeddings of object categories, trained on base (known) categories.
  2. Visual MLR: To handle novel categories, this branch uses knowledge distillation to mimic the global image embeddings of a frozen CLIP model. Since CLIP is pre-trained on a vast array of concepts, this allows the model to recognize novel objects globally without explicit detection labels.
Figure 6: The SIC-CADS architecture (top) and the score refinement process (bottom). The global MLR scores act as a prior to boost or suppress local detection confidence.

Score Refinement

During inference, the system operates as a "plug-and-play" enhancement. A standard OVOD detector generates local bounding boxes and initial scores. Simultaneously, the MLR module produces global scores for all categories in the vocabulary. The final detection score is calculated as a weighted geometric mean of the local and global scores. If the global module identifies a high probability of a "tennis ball" in the scene, it boosts the confidence of local candidates for that category.

Experimental Evaluation

The authors evaluated SIC-CADS across several major benchmarks to test its robustness and generalization:

  • OV-LVIS: A large-vocabulary dataset with over 1,200 categories, focusing on rare (novel) objects.
  • OV-COCO: A standard benchmark for open-vocabulary tasks.
  • Cross-dataset Generalization: The model was tested on Objects365 and OpenImages without further fine-tuning to ensure it hadn't merely memorized specific dataset biases.

Key Results

SIC-CADS consistently improved the performance of various base OVOD models, including BoxSup, ViLD, Detic, and RegionCLIP:

  • OV-LVIS: Achieved gains of 1.4 to 3.9 points in $AP_r$ (Average Precision for rare classes).
  • OV-COCO: Improved $AP_{novel}$ by 1.7 to 3.2 points.
  • Generalization: On Objects365 and OpenImages, performance increased by up to 2.1 and 3.9 points, respectively.
  • Efficiency: The module is lightweight, with a minimal impact on inference speed (e.g., a slight drop from 4.8 to 4.5 FPS).

Discussion and Limitations

SIC-CADS demonstrates that image-level classification can serve as an effective "prior" for detection. It is often easier for a model to recognize a scene (e.g., "kitchen") than to perfectly localize every object within it. By leveraging this easier task, SIC-CADS corrects fine-grained errors, such as distinguishing a "table-tennis table" from a generic "table" based on the surrounding gym environment.

However, the approach has limitations. A contextual mismatch—such as a refrigerator in a forest—might cause the global MLR to suppress a correct local detection. Furthermore, while SIC-CADS improves classification, it does not assist with localization; if the base detector fails to propose a bounding box, the MLR module cannot recover the missing object. Future work may explore handling misleading or absent global context.

Summary updated

BibTeX
@inproceedings{fang2024simple,
  author = {Ruohuan Fang and Guansong Pang and Xiao Bai},
  title = {{Simple Image-Level Classification Improves Open-Vocabulary Object Detection}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i2.27939},
}
Figure