Introduction
Multi-label classification involves assigning a set of labels to a single instance, a task common in image tagging and document categorization. Traditional approaches, such as One-vs-All (OvA), often ignore the inherent dependencies between labels. For instance, in a scene recognition task, the presence of a "sunset" label significantly increases the probability of a "beach" label. This paper introduces CCA-OC (Canonical Correlation Analysis Output Codes), a framework that leverages Error-Correcting Output Codes (ECOCs) and Canonical Correlation Analysis (CCA) to exploit these label dependencies, improving prediction accuracy and exact match rates.
Methodology
The core innovation of CCA-OC lies in identifying "predictable" label combinations to create a redundant codeword. Unlike standard ECOCs that might use random projections, CCA-OC uses CCA to find projection vectors that maximize the correlation between input features and label combinations. These "canonical variates" represent the most predictable directions in the label space.
Encoding and Training
The codeword is constructed by concatenating the original labels with these highly predictable canonical variates. For training, standard binary classifiers are used for the labels, while regression models predict the continuous values of the canonical variates. This ensures that the added "check bits" are specifically chosen to be learnable from the input features.
Decoding via Graphical Models
To recover the final labels from the predicted codeword, the authors employ a factor graph approach. This graph integrates Bernoulli potentials (from label classifiers) and Gaussian potentials (from variate regressions).
Because exact inference on this graph is NP-hard, a mean-field approximation is used. This iterative method finds a tractable distribution that approximates the complex joint probability of the labels, allowing for efficient decoding.
Experimental Setup
The framework was evaluated on two benchmark datasets:
- Emotions: 593 songs labeled with six emotions, using rhythmic and timbre features.
- Scene: 2,407 outdoor images categorized into six classes (e.g., beach, mountain) using color statistics.
The performance was compared against several baselines, including One-vs-All, Pairwise ranking, and Compressed Sensing.
Results and Discussion
CCA-OC consistently outperformed the baseline methods across various metrics, with the most significant improvements observed in "Exact Match" rates—the ability to correctly predict the entire set of labels for an instance.
Key findings include:
- Superior Exact Match Rates: On the Scene dataset, CCA-OC significantly improved exact match performance over the One-vs-All baseline. The method's ability to capture conditional dependencies between labels proves crucial for holistic prediction.
- Ensemble Synergy: Combining CCA-OC with Random Forests (CCA-OC-Forest) yielded the best results, demonstrating that the "outer code" of CCA-OC complements the "inner code" of ensemble methods.
- Data Efficiency: The method showed robust performance even with limited training data, often matching full-dataset baseline performance with only a fraction of the samples (e.g., 200-400 samples).
Conclusion
By focusing on the predictability of label combinations conditioned on input features, CCA-OC provides a principled way to incorporate label dependencies into the ECOC framework. The results demonstrate that exploiting these dependencies leads to more accurate and robust multi-label classification. Future work may explore non-linear extensions via Kernel CCA or more advanced variational inference techniques to further refine decoding accuracy.
Summary updated