VISIR: Visual and Semantic Image Label Refinement

Sreyasi Nag Chowdhury, Niket Tandon, Hakan Ferhatosmanoglu, Gerhard Weikum

TL;DR

VISIR (Visual and Semantic Image Label Refinement) is a framework that cleans up noisy object detection labels and enriches them with broader generalizations and abstract concepts. By framing label refinement as a constrained optimization problem solved via Integer Linear Programming (ILP), VISIR leverages external lexical and commonsense knowledge bases to bridge the gap between low-level visual features and high-level semantic understanding.

What Problem Does This Paper Address?

State-of-the-art deep learning object detectors (like LSDA or YOLO) are highly capable of locating objects within bounding boxes. However, they suffer from two major limitations:

  1. Noisy and Incoherent Labels: Due to training biases or challenging visual conditions, detectors often output contextually absurd labels—such as misidentifying a giraffe's head as a "Browning machine gun" (as shown in Figure 1).
  2. Lack of Abstraction: These models only predict concrete, leaf-level categories they were explicitly trained on (e.g., specific species or objects). They completely miss out on broader generalizations ("animal", "reptile") and abstract human concepts ("poisonous", "play tennis", "happiness").

While social media tags (like Flickr) provide these abstract human insights, they are notoriously sparse, incomplete, and noisy. VISIR addresses this "Visual Tag Refinement" problem by automatically filtering out contextually incoherent labels and expanding the label space to include meaningful generalizations and abstractions.

Noisy and incomplete labels from standard object detectors and social media tags.

Methods

VISIR takes the initial bounding boxes and varying-confidence labels from an off-the-shelf object detector and refines them using a joint optimization framework.

The framework expands the candidate label space into three distinct layers:

  • Concrete-Object Labels (CL): The initial labels from the detector, plus visually similar labels that the detector might have missed due to low-level feature confusion ("confusability").
  • Extended Labels (XL): Generalizations derived by traversing up to three levels of the WordNet hypernym hierarchy (e.g., mapping "ant" to "insect").
  • Abstract Labels (AL): Subjective themes, utilities, or emotions pulled from ConceptNet using relationships like usedFor and hasProperty (e.g., mapping "flower" to "fragrant").

To determine which labels to keep, VISIR models three types of scores: Visual Similarity (mined from historical detector errors), Semantic Relatedness (combining word2vec embeddings trained on image captions and spatial co-location frequencies), and Abstraction Confidence.

Finally, the system models the joint inference over all candidate labels as an Integer Linear Program (ILP). The objective function maximizes the total confidence and pairwise semantic coherence of the selected labels, subject to strict constraints (e.g., a maximum of one visual label per bounding box and at most five abstract labels per image).

Datasets

The authors utilized several large-scale datasets to mine background knowledge and evaluate their system:

  • Visual Similarity Mining: Over 1 million images from Flickr 30k, Pascal Sentence Dataset, SBU Image Dataset, and MS-COCO were analyzed to calculate how frequently the underlying detector confuses specific object pairs.
  • Spatial Co-location Mining: Ground-truth annotations from the ImageNet ILSVRC 2015 Detection Challenge (DET) training set were used to find which objects naturally appear together in the same scene.
  • Evaluation Benchmark: The authors curated a test set of 100 images from the ILSVRC 2015 DET Validation set specifically chosen for their high contextual incoherence (images containing 3–7 bounding boxes where the initial LSDA labels had a semantic relatedness score below 0.1). Human judgments from at least five independent judges per image were collected to establish a gold standard.

Key Insights and Ideas

  • Semantic Coherence as a Denoising Filter: By evaluating how well labels relate to one another within the same image, the system can easily spot and eliminate outliers. For example, if an image contains a "snake" and a "green mamba", an initial detection of a "cucumber" is rejected due to its low semantic relatedness to the reptile metrics.
  • Turning Model Weaknesses into Strengths: VISIR explicitly models the "confusability" of the underlying object detector. By knowing what a model usually mistakes for something else, VISIR can recover correct labels that fell just below the detector's confidence threshold.
  • Bridging the Concrete-Abstract Divide: Purely visual models cannot infer human activities or properties. By anchoring crowdsourced commonsense knowledge (ConceptNet) to structured lexical hierarchies (WordNet), VISIR allows a machine to transition from seeing a "tennis ball" to inferring the abstract concept of "play tennis" (see Figure 2).
Examples of labels generated by LSDA versus the refined, coherent labels from VISIR.

Key Results

VISIR was evaluated against two strong baselines, LSDA and YOLO, using both relaxed and conservative human assessments.

  • Massive Recall Boost: In the aggregate label pool (CL + XL + AL) under strict conservative human evaluation, VISIR achieved a Recall of 0.91, vastly outperforming LSDA (0.35) and YOLO (0.23).
  • Balanced Precision: VISIR achieved an F1-score of 0.68, compared to LSDA's 0.41 and YOLO's 0.32.
  • Noise Filtering: A stricter variant of the model ($VISIR^*$), which caps the label budget to 80% of the input bounding boxes, successfully filtered out initial detector noise, boosting precision to 0.60 in the CL+XL space.

Qualitative results in Figure 3 demonstrate VISIR's ability to strip away erroneous tags like "motorcycle" or "tennis ball" from unrelated scenes while successfully introducing accurate, high-level descriptors like "furniture" or "flying animal".

Qualitative comparison of image labeling across LSDA, YOLO, and various VISIR configurations.

Limitations and Future Work

Despite its success, the authors highlight several limitations that pave the way for future research:

  • Downstream Noise Propagation: If the base detector suffers from severe training bias—such as completely lacking a concept like "giraffe"—the resulting misclassifications propagate through the ILP, sometimes making it impossible to recover the true labels.
  • Word Sense Ambiguity: ImageNet occasionally maps visually similar items to entirely different WordNet synsets (e.g., "Sunglass" as a lens to start a fire vs. "Sunglasses" as eyewear). This introduces incorrect hypernyms into the optimization loop.
  • Sparsity of Spatial Data: High-quality spatial co-location data was only available for the 200 object classes in the ILSVRC DET challenge, limiting the system's contextual strength for rarer objects.

Summary updated

BibTeX
@inproceedings{chowdhury2018visir,
  author = {Sreyasi Nag Chowdhury and Niket Tandon and Hakan Ferhatosmanoglu and Gerhard Weikum},
  title = {{VISIR: Visual and Semantic Image Label Refinement}},
  booktitle = {WSDM},
  year = {2018},
  doi = {10.1145/3159652.3159693},
}
Figure