Semi-supervised Relational Topic Model for Weakly Annotated Image Recognition in Social Media

Zhenxing Niu, Gang Hua, Xinbo Gao, Qi Tian

Abstract

Social media images are frequently accompanied by user-provided tags that are noisy, incomplete, or abstract. This paper presents a novel framework that leverages these "weakly annotated" tags as relational links between images rather than direct labels. By constructing a Visual Document Network (VDN) and developing a Semi-supervised Relational Topic Model (ss-RTM), the authors effectively integrate visual content with textual relationships. Evaluated on the NUS-WIDE and MIRFLICKR-25k benchmarks, the proposed ss-RTM demonstrates superior performance over state-of-the-art fusion methods and standard topic models.

Introduction

In social media platforms like Flickr and Facebook, images are rarely labeled with clean, descriptive ground truth. Instead, they are associated with tags that may be contextual (e.g., tagging a photo of the Lincoln Memorial as "National Mall") or entirely irrelevant. Traditional image recognition approaches often struggle with this noise, either by attempting direct region-to-tag mapping or by simple feature concatenation. These methods overlook the inherent connectivity between images sharing the same tags. This research addresses this gap by modeling inter-image relationships explicitly to build a more robust mid-level representation.

Methodology

The proposed approach consists of two primary stages: the construction of a Visual Document Network (VDN) and the application of a Semi-supervised Relational Topic Model (ss-RTM).

  1. Visual Document Network (VDN) Construction: Images are represented as nodes in a graph, characterized by a Bag-of-Words (BoW) of visual features. Edges (links) are established between nodes if the corresponding images share common tags, suggesting they likely belong to the same category.
  2. Semi-supervised Relational Topic Model (ss-RTM): The authors extend the Relational Topic Model (RTM) to incorporate supervision and transductive learning. The supervised variant (s-RTM) integrates category labels into the generative process to learn discriminative topics. The semi-supervised variant (ss-RTM) builds a unified network of both labeled training and unlabeled testing images, allowing information to propagate through the links to predict labels for new data.
The overall pipeline of the proposed framework, transitioning from raw image collections to a relational topic model.

Key Insights

A fundamental shift in this work is treating tags as edges rather than nodes. Instead of describing what is in an image, tags are used to define how images are connected. This approach is inherently robust to noise; while a single image might have an incorrect tag, the likelihood of multiple unrelated images sharing the same incorrect tag is significantly lower.

Detailed view of VDN construction: shared tags like "Animals" or "Sun" create positive relational links between visual documents.

Furthermore, the model introduces a modality trade-off parameter ($\omega$) to balance visual features and textual relations. For visually distinct objects (e.g., "birds"), visual content dominates, whereas for abstract concepts (e.g., "sunset"), relational tags provide critical discriminative power. The transductive nature of ss-RTM also provides an advantage by explicitly modeling how new images "plug into" the existing network of known images.

Results and Discussion

The ss-RTM was benchmarked against the NUS-WIDE and MIRFLICKR-25k datasets. On NUS-WIDE, the model achieved an Average Precision (AP) of 84.1%, significantly outperforming the best non-relational fusion method (76.2%) and the supervised s-RTM (80.2%). Similarly, on MIRFLICKR-25k, it reached 81.1% AP. These results confirm that joint modeling of visual content, labels, and inter-image relations provides a substantial performance boost over treating these elements separately.

Despite its success, the model faces scalability challenges. As the number of images grows, the potential relations increase quadratically, leading to high computational costs. Future work aims to optimize the inference algorithm and link selection schemes to handle large-scale social media datasets more efficiently.

Conclusion

By reframing noisy social media tags as relational links, the ss-RTM provides a robust representation for image recognition. This approach effectively bridges the gap between visual pixels and abstract user annotations, setting a new standard for weakly annotated image classification in social multimedia.

Summary updated

BibTeX
@inproceedings{niu2014semi,
  author = {Zhenxing Niu and Gang Hua and Xinbo Gao and Qi Tian},
  title = {{Semi-supervised Relational Topic Model for Weakly Annotated Image Recognition in Social Media}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  doi = {10.1109/cvpr.2014.539},
}
Figure