NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Weakly Supervised Learning of Objects, Attributes and their Associations

Zhiyuan Shi, Yongxin Yang, Timothy M. Hospedales, Tao Xiang

TL;DR

This paper introduces a novel non-parametric Bayesian model, the Weakly Supervised Stacked Indian Buffet Process (WS-SIBP), which learns to associate objects with their attributes and localize them using only image-level tags. By treating images as "bags of patches" and explicitly modeling background clutter, the model achieves performance comparable to strongly supervised systems that require expensive bounding-box annotations.

What Problem Does This Paper Address?

In computer vision, describing an image often requires connecting nouns (objects) with adjectives (attributes)—for example, identifying a "furry brown horse." Conventional "strongly supervised" methods require training data where every object is outlined with a bounding box and every attribute is explicitly linked to that box. This is incredibly expensive and doesn't scale to the thousands of object categories and attributes in the real world.

Conversely, "weakly labeled" data (like Flickr tags) is abundant but ambiguous. If an image is tagged with "dog," "white," "coat," and "furry," a machine must figure out if it's looking at a furry dog and a white coat, or a white dog and a furry coat. This paper tackles the challenge of jointly learning object-attribute associations and their spatial locations from these ambiguous, image-level labels.

Comparing weakly supervised vs. strongly supervised approaches.

Methods

The authors propose the Weakly Supervised Stacked Indian Buffet Process (WS-SIBP). Here’s the breakdown of the technical approach:

  • Non-parametric Bayesian Foundation: It builds on the Indian Buffet Process (IBP), which allows for an infinite number of latent factors. This is crucial because it lets the model "explain away" background clutter of unknown complexity without needing to pre-define what background looks like.
  • The "Stacked" Innovation: Standard IBP is "flat"—it applies to either patches or images. WS-SIBP introduces a hierarchy (stacking) that treats images as groups of patches. This allows the model to disambiguate image-level tags into multi-label explanations for specific image regions.
  • Non-Competitive Factors: Unlike traditional topic models (like LDA) where a patch is usually assigned to one "topic," WS-SIBP allows a patch to have multiple active factors simultaneously. A single patch can be identified as both "horse" and "furry" at once.
  • Variational Inference: Since exact calculations for this model are mathematically impossible (intractable), the authors developed a Variational Message Passing (VMP) strategy to efficiently approximate the results.

Datasets

The model was evaluated on two major benchmarks:

  1. aPascal: A version of the PASCAL VOC 2008 dataset containing 4,340 images with 20 object categories and 64 attributes. The authors "weakened" the data by merging bounding-box labels into single image-level vectors.
  2. ImageNet Attribute: 9,600 images across 384 categories. To focus on general associations rather than fine-grained breeds, the authors converted these into 172 "entry-level" categories (e.g., all dog breeds become "dog").

Key Insights and Ideas

  • Joint Learning is Synergistic: The model performs better by learning objects and attributes together. Knowing a region is a "person" makes the "clothing" attribute more likely, which in turn helps refine the localization of the person.
  • Background as a Latent Factor: By allowing an unlimited number of "background" factors, the model avoids the trap of trying to force background pixels (like sky or grass) into foreground object/attribute categories.
  • Scalability via Weak Supervision: Because it only needs image-level tags, this model can theoretically be trained on massive, naturally occurring web datasets that strongly supervised models cannot touch.

Key Results

The most striking finding is that WS-SIBP performs at par with strongly supervised models despite having significantly less information during training.

  • Free Annotation: On the aPascal dataset, WS-SIBP achieved an Average Precision (AP@2) of 38.6, coming remarkably close to the strongly supervised DPM+s-SVM (40.6) and significantly beating other weakly supervised baselines like w-LDA (30.7) and MIML (28.7).
  • Qualitative Localization: As shown in Figure 6, WS-SIBP successfully segments foreground objects and their attributes, whereas simpler models like MIML struggle to distinguish foreground from background.
Visualization of inferred patch-annotations showing superior foreground/background separation.
  • Retrieval: In object-attribute query tasks (e.g., "find a black-and-white dog"), WS-SIBP outperformed all other weakly supervised methods, proving it effectively learns the association between tags, not just the tags themselves.

Limitations and Future Work

  • Pre-segmentation Dependency: The model relies on an initial super-pixel segmentation step. If the initial segmentation is poor, the model's ability to localize attributes will be limited.
  • Computational Complexity: While the authors optimized the model, non-parametric Bayesian inference is generally more computationally intensive than simple discriminative classifiers.
  • Future Directions: The authors suggest that this framework could be extended to even more complex "natural" data and potentially integrated with deep learning features to further boost performance.

Summary updated

BibTeX
@misc{shi2015weakly,
  author = {Zhiyuan Shi and Yongxin Yang and Timothy M. Hospedales and Tao Xiang},
  title = {{Weakly Supervised Learning of Objects, Attributes and their Associations}},
  year = {2015},
  eprint = {1504.00045},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1504.00045},
}
Figure