In computer vision, the Bag-of-Visual-Words (BoW) model has long served as a foundational representation for images. To capture higher-level semantic structures within these "words," researchers frequently employ Latent Dirichlet Allocation (LDA), a generative model that groups co-occurring features into latent "topics." While supervised variants of LDA aim to learn topics that are discriminative for classification, this ICCV 2013 paper identifies a fundamental flaw in existing approaches and proposes Class-Specific Simplex-Latent Dirichlet Allocation (css-LDA) as a robust alternative.
The Challenge: Vanishing Supervision
The authors critique standard supervised topic models like supervised LDA (sLDA) and Class-LDA (cLDA). In these models, the class label is positioned at a high level in the hierarchy, separated from the actual visual features by latent topic assignments. A key theoretical contribution of this work is the proof of "vanishing supervision": as the number of visual words ($N$) in an image increases—typical for modern high-resolution datasets—the evidence from the words dominates the likelihood. Mathematically, the influence of the class label on topic learning scales as $O(1/N)$.
Consequently, in models like cLDA, the discovered topics tend to represent generic image patterns (e.g., textures or edges) rather than class-specific semantics. This often leads to complex topic models performing no better, or even worse, than simple "flat" Naive Bayes classifiers.
The css-LDA Model
To address the vanishing supervision problem, the authors propose css-LDA, which brings supervision directly to the feature level by defining a unique set of topics for each class.
As shown in the graphical models above, css-LDA (e) modifies the generative process. Instead of a shared topic simplex, it introduces class-specific parameters. An image is generated by first selecting a class $y$, then drawing a distribution $\pi$ over that class's specific topics, and finally sampling visual words $w$ from those topics.
Class-Specific Simplices
The core innovation is the use of class-specific topic simplices. In standard models, all classes share the same set of topics, forcing the model to find a compromise that may not be discriminative. In contrast, css-LDA allows each class to have its own "space" of topics.
This structure allows the model to capture significant intra-class diversity. For instance, a "Sports" category like Bocce might be played in various environments (beach, grass, indoors); css-LDA can assign distinct topics to these different visual contexts within the same class label.
High-Dimensional Representation: css-LDA-vec
Beyond simple generative classification, the authors derive the css-LDA-vec, a high-dimensional image representation based on the gradient of the model's likelihood. This vector captures word counts specific to both the class and the topic. When used as a feature vector for Support Vector Machines (SVMs), it leverages the discriminative power of the model within a more flexible classification framework.
Experimental Results
The model was rigorously tested on five scene and object classification benchmarks, including N15 (15 scene categories) and C50 (50 Coral image categories).
- Generative Performance: css-LDA consistently outperformed other generative models. On the N15 dataset, it achieved 76.62% accuracy, significantly higher than sLDA (70.87%) and the flat BoW model (74.91%).
- Discriminative Performance: The css-LDA-vec combined with an SVM yielded the best results. On N15, it reached 78.19%, outperforming standard LDA-SVMs (73.19%) and BoW-SVMs (76.66%).
- Consistency: Across all datasets, css-LDA provided relative gains of 3% to 17% over existing topic-based approaches.
Conclusion
The css-LDA model effectively solves the "vanishing supervision" problem by anchoring topics to specific classes. By allowing for class-specific topic simplices, it captures the rich intra-class variety often found in real-world image datasets. While the resulting high-dimensional representations pose some computational challenges, the significant gains in classification accuracy demonstrate the value of bringing supervision closer to the feature level in topic modeling.
Summary updated