Learning Hypergraph-regularized Attribute Predictors

Sheng Huang, Mohamed Elhoseiny, Ahmed M. Elgammal, Dan Yang

Abstract

We present a novel attribute learning framework named Hypergraph-based Attribute Predictor (HAP). In HAP, a hypergraph is leveraged to depict the attribute relations in the data. Then the attribute prediction problem is cast as a regularized hypergraph cut problem, in which a collection of attribute projections is jointly learned from the feature space to a hypergraph embedding space aligned with the attributes. The learned projections directly act as attribute classifiers. This formulation leads to a very efficient approach. By considering our model as a multi-graph cut task, our framework can flexibly incorporate other available information, in particular class labels. We apply our approach to attribute prediction, Zero-shot, and N-shot learning tasks. The results on AWA, USAA, and CUB databases demonstrate the value of our methods in comparison with state-of-the-art approaches.

Introduction: The Attribute Independence Problem

In computer vision, attributes (e.g., "has fur," "is yellow," "swims") serve as a semantic bridge between low-level pixels and high-level categories. However, traditional attribute learning suffers from two major flaws. First, most methods learn each attribute independently (one-vs-all), ignoring natural correlations—for instance, an animal that "swims" is highly likely to be associated with "water." Second, attribute predictors are often trained in a vacuum, ignoring available class labels that could help cluster similar samples.

Conceptual comparison of conventional independent classifiers vs. HAP's optimal cuts that respect attribute relations.

While some researchers try to "decorrelate" attributes to remove redundancy, this work argues that correlation is a feature, not a bug. Preserving the natural co-occurrence of attributes helps the model respect the underlying manifold of the data, leading to more discriminative decision boundaries.

Methodology: Hypergraph-based Attribute Predictor (HAP)

The core innovation is casting attribute prediction as a regularized hypergraph cut problem. Unlike a standard graph where an edge connects two nodes, a hyperedge connects a set of nodes. In HAP, each hyperedge represents a specific attribute, connecting all training samples that share that attribute. This captures high-order relationships better than pairwise graphs.

The HAP framework pipeline, illustrating the mapping from feature space to attribute prediction space via hypergraph regularization.

The HAP Framework

  1. Hypergraph Construction: Samples sharing attributes are linked via hyperedges.
  2. Joint Learning: Instead of training $M$ separate classifiers, HAP learns a single projection matrix $B$ that maps features into an "Attribute Prediction Space" (APS).
  3. Objective Function: The loss function penalizes predictors that "break" hyperedges (assigning different predictions to samples sharing an attribute) while minimizing standard prediction error.
  4. Class-Specific HAP (CSHAP): To leverage class labels, a second penalty graph ensures samples from the same class stay close in the embedding space, boosting discriminative power.

The optimization is formulated as a Regularized Least Squares (RLS) problem, which has a closed-form solution, making it significantly faster than iterative methods.

Experimental Evaluation

The authors evaluated HAP on three standard benchmarks: Animals with Attributes (AWA), CUB-200-2011 (Birds), and USAA (Social Activity), using DeCAF and Caffe deep features.

  • Attribute Prediction: HAP and CSHAP consistently outperformed baselines. On AWA, they achieved an 11% accuracy gain over Direct Attribute Prediction (DAP).
  • Zero-Shot Learning (ZSL): On AWA, CSHAP reached 45.6% accuracy, outperforming established methods like ALE (37.4%) and DAP (41.4%).
  • Efficiency: Training 312 attribute predictors on the CUB dataset (nearly 6,000 samples) took only 23.33 seconds on a standard quad-core CPU.
  • N-Shot Learning: As training samples increased, CSHAP models showed a steeper improvement curve than traditional linear embeddings, demonstrating superior utilization of new data.

Conclusion

HAP demonstrates that modeling complex attribute correlations through hypergraph regularization significantly improves prediction accuracy and efficiency. By bridging the gap between graph theory and supervised learning, the framework provides a robust solution for zero-shot and N-shot categorization tasks. Future work may explore refined hyperedge weighting schemes and the impact of attribute annotation quality.

Summary updated

BibTeX
@inproceedings{huang2015learning,
  author = {Sheng Huang and Mohamed Elhoseiny and Ahmed M. Elgammal and Dan Yang},
  title = {{Learning Hypergraph-regularized Attribute Predictors}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  url = {https://openreview.net/forum?id=SkZ3KpZu-B},
}
Figure