A Generative/Discriminative Learning Algorithm for Image Classification

Yi Li, Linda G. Shapiro, Jeff A. Bilmes

Introduction

Image classification in unconstrained outdoor environments presents a significant challenge due to the inherent variability in image content. Traditional discriminative classifiers, such as Neural Networks and Support Vector Machines (SVMs), typically require fixed-length input vectors. However, raw image data—often represented as a variable number of segmented regions—does not naturally fit this requirement. This paper proposes a hybrid framework that combines generative modeling for feature normalization with discriminative learning for robust classification.

Methodology: A Two-Phase Approach

The proposed system bridges the gap between raw pixels and high-level classification through a two-stage pipeline that integrates disparate feature types like color, texture, and structure.

1. The Generative Phase: Feature Normalization

The first stage involves decomposing images into "Abstract Regions." These regions are defined by three primary feature types: color (via K-means clustering in CIELab space), texture (using Gabor coefficients), and structure (identifying consistent line clusters).

Figure 1: An example of an image segmented into abstract regions based on color and texture features.

To handle the variable number of regions per image, the authors employ the Expectation-Maximization (EM) algorithm to fit a Gaussian Mixture Model (GMM) to the feature space of specific object classes. Each Gaussian component represents a prototypical feature cluster (e.g., a specific blue hue for "sky"). By applying an aggregation function (such as max or mean), the system generates a fixed-length vector for every image, representing the degree to which its regions align with the GMM components.

2. The Discriminative Phase: Classification

The resulting fixed-length vectors are passed to a Multi-Layer Perceptron (MLP). The MLP is trained to distinguish between positive and negative instances of a target class. This phase effectively identifies which feature clusters are the most discriminative for a given category, allowing the model to ignore irrelevant background noise.

Figure 3: Structural feature extraction highlighting the geometric patterns used to identify man-made objects like buildings.

Experimental Evaluation

The framework was evaluated across several diverse datasets, including the Groundtruth Dataset (1,224 images), the Structure Image Set (1,951 images), and the COREL database (1,000 images).

Key Results

  • Performance Gains: On the COREL dataset, the proposed method achieved a mean accuracy of 80.3%, a substantial improvement over the 63.6% achieved by the then-state-of-the-art ALIP system.
  • Feature Synergy: The inclusion of structural features significantly boosted performance for man-made objects. For instance, building recognition accuracy rose from 79% to 85% when color features were fused with structural data.
  • Object Recognition: The system proved highly effective for specific objects, achieving 99.2% accuracy for motorbikes, outperforming specialized "constellation" models.

Conclusion

By using generative models as a "translation layer," this research demonstrates that disparate feature types can be unified into a single, powerful classification pipeline. The system's ability to learn from image-level labels without explicit object localization (weak supervision) makes it a scalable solution for large-scale image database management. Future work will focus on incorporating spatial relationships between regions to further enhance recognition in complex scenes.

Summary updated

BibTeX
@inproceedings{li2005generative,
  author = {Yi Li and Linda G. Shapiro and Jeff A. Bilmes},
  title = {{A Generative/Discriminative Learning Algorithm for Image Classification}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2005},
  doi = {10.1109/iccv.2005.7},
}
Figure