Fine-grained label learning in object detection with weak supervision of captions

Xue Wang, Youtian Du, Suzan Verberne, Fons J. VerbeekMultimedia Tools and Applications 2023 · DOI

Introduction

Standard object detection frameworks, such as those trained on the MS COCO dataset, typically operate at a coarse taxonomic level. While identifying a "person" or a "dog" is sufficient for many tasks, real-world applications often demand higher specificity—distinguishing a "fireman" from a "pedestrian" or a "beagle" from a "poodle." However, the manual annotation required for such fine-grained datasets is prohibitively expensive and time-consuming.

This paper introduces the Label Inference Curriculum Network (LICN), a novel framework designed to bridge this gap. LICN leverages the rich, descriptive information found in image captions to infer fine-grained labels for objects already identified by coarse bounding boxes. By treating captions as a source of weak supervision, the model learns to "read between the lines" of generic annotations.

Methodology: The LICN Framework

The LICN approach consists of two integrated components: a semantic mapping module for label inference and a curriculum learning strategy to manage the inherent noise in natural language.

Semantic Mapping and Label Inference

To associate a coarse label (e.g., "person") with a specific fine-grained term found in a caption (e.g., "man"), the system employs a dual-verification process:

  1. Hierarchical Verification (WordNet): The system uses WordNet to ensure a valid hypernym-hyponym relationship exists. For instance, it confirms that "man" is indeed a sub-category of "person."
  2. Semantic Similarity (Word2Vec): Word embeddings are used to calculate the cosine similarity between the coarse label and the candidate fine-grained label. A proposal is only accepted if its similarity exceeds a predefined threshold ($\epsilon$).
Fine-grained label proposals are extracted from multiple captions to provide weak supervision for coarse bounding boxes.

Curriculum Learning via Complexity of Samples (CoS)

Captions are inherently noisy. A single image might have multiple captions, some of which are more ambiguous than others. To address this, the authors introduce Complexity of Samples (CoS), measured using Shannon Entropy.

An "easy" sample is one where the mapping between a coarse box and a fine-grained caption word is unambiguous. Conversely, a "complex" sample contains multiple competing fine-grained terms for the same object. The LICN employs an Easy-to-Complex (E2C) training strategy, allowing the model to establish a robust feature representation on clear examples before tackling the ambiguity of high-entropy samples.

Experimental Setup and Datasets

The researchers evaluated LICN using several benchmarks, including MS COCO 2017 and Visual Genome. To specifically measure fine-grained performance, they introduced two new datasets:

  • FG-COCO: A fine-grained version of COCO derived from caption analysis.
  • FG-sCOCO: A high-fidelity subset where bounding boxes from COCO and Visual Genome have a high Intersection over Union (IoU > 0.9), providing a "gold standard" for fine-grained evaluation.

Results and Discussion

The experimental results demonstrate that the E2C curriculum significantly improves detection performance. The LICN-E2C model achieved a 1.7% mAP improvement over the reverse (Complex-to-Easy) strategy on the FG-sCOCO dataset.

Furthermore, the model showed remarkable generalization. When tested on the Visual Genome dataset, LICN successfully identified categories like "fighter," "subway," and "scooter"—labels that were never present in the original COCO training set. In cross-dataset evaluations on Pascal VOC 2007, the LICN-enhanced model outperformed standard Faster R-CNN baselines, particularly in categories where the semantic mapping was most effective.

Conclusion

The LICN framework demonstrates that image captions are a viable and powerful source of weak supervision for fine-grained object detection. By combining hierarchical semantic mapping with an entropy-based curriculum, the model effectively bypasses the need for exhaustive manual sub-category labeling. While challenges remain regarding visual similarity between closely related classes (e.g., different fruit types), this research paves the way for more scalable and nuanced computer vision systems.

Summary updated

BibTeX
@article{wang2023fine,
  author = {Xue Wang and Youtian Du and Suzan Verberne and Fons J. Verbeek},
  title = {{Fine-grained label learning in object detection with weak supervision of captions}},
  journal = {Multimedia Tools and Applications},
  year = {2023},
  doi = {10.1007/s11042-022-13592-7},
}
Figure