NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Conditional Probability Framework for Compositional Zero-shot Learning

Peng Wu, Qiuxia Lai, Hao Fang, Guo-Sen Xie, Yilong Yin, Xiankai Lu, Wenguan Wang

TL;DR

This paper introduces a Conditional Probability Framework (CPF) to better understand how attributes and objects combine to form visual concepts, especially for unseen combinations. By explicitly modeling the dependencies between attributes and objects using a novel text-enhanced object learning module and an object-guided attribute learning module, CPF significantly improves performance on compositional zero-shot learning tasks.

What Problem Does This Paper Address?

Compositional Zero-Shot Learning (CZSL) aims to recognize novel combinations of objects and their attributes (e.g., a "striped shirt" when only "striped" and "shirt" have been seen separately or in other combinations). Traditional methods often treat attributes and objects as independent entities, which fails to capture crucial semantic constraints (e.g., "striped" applies to "zebra" but not "sky") and contextual dependencies (e.g., "young" looks different on a "tree" versus a "dog"). This oversight leads to poor generalization to unseen compositions. This paper tackles this challenge by proposing a framework that explicitly models these attribute-object interdependencies.

Methods

The core of the proposed method is a Conditional Probability Framework (CPF). It decomposes the probability of a composition into two parts: the likelihood of the object given an image, and the conditional likelihood of an attribute given both the object and the image.

  1. Text-Enhanced Object Learning: To improve object recognition, the framework integrates textual descriptions of objects. It uses these descriptions to highlight semantically relevant regions in the image, creating enhanced object features. This helps the model understand which parts of the image are most important for identifying the object, considering its attributes.
  2. Object-Guided Attribute Learning: This module uses the enhanced object features from the previous step to guide the learning of attribute representations. A cross-attention mechanism is employed, allowing the object features to "attend" to the most relevant parts of the image for attribute recognition. This ensures that attribute learning is contextually aligned with the specific object.
  3. Joint Optimization: The framework is trained by jointly optimizing losses for object classification, attribute classification, and composition matching. This holistic approach encourages the model to learn robust, interdependent representations.

Datasets

The proposed CPF is evaluated on three widely-used CZSL benchmarks:

  • UT-Zappos50K: Focuses on shoe types and material properties.
  • MIT-States: Features a broader range of attributes and objects.
  • C-GQA: The most extensive dataset, with a large number of states, objects, and state-object combinations.

The paper also mentions evaluating their approach with a CLIP backbone, demonstrating its adaptability.

Key Insights and Ideas

  • Interdependence is Key: The most significant insight is that treating attributes and objects as independent is a fundamental limitation in CZSL. Explicitly modeling their interdependence is crucial for accurate generalization.
  • Textual Cues for Visual Understanding: Leveraging textual descriptions not just for attributes but also to guide object feature extraction (by highlighting relevant image regions) proves highly effective. This bridges the gap between language and vision more deeply.
  • Cross-Attention for Context: The use of cross-attention between object and attribute features is vital for aligning visual and semantic information, ensuring that attributes are interpreted in the correct context.
  • Conditional Probability as a Natural Fit: Framing the problem probabilistically, specifically with conditional probabilities, provides a principled way to decompose and model the complex relationships involved.

Key Results

The CPF demonstrates state-of-the-art performance across all three datasets in both Closed-World (CW) and Open-World (OW) settings.

  • Significant Improvements: In the CW setting, CPF achieved notable improvements in AUC (Area Under the Curve) and HM (Harmonic Mean), for example, +17.9% AUC on UT-Zappos50K and +8.1% HM on C-GQA compared to previous methods.
  • Robustness in Open-World: The OW setting, which is significantly more challenging, also saw substantial gains, with CPF outperforming others by up to +47.9% AUC on C-GQA.
  • CLIP Integration: When integrated with the CLIP backbone, CPF continued to show strong performance, outperforming other CLIP-based CZSL methods on C-GQA.
  • Efficiency: The method is noted for its efficiency, achieving high inference speeds comparable to other advanced models.

Limitations and Future Work

  • Ambiguous Scenes: The paper acknowledges that CPF, like other methods, can struggle with semantically ambiguous scenes or visually confusing targets. For instance, distinguishing between "highway" and "road" or visually similar food items can be challenging.
  • Future Directions: The authors suggest leveraging large language models to generate more discriminative textual descriptions for semantically similar classes. This could help disambiguate challenging cases and further improve performance. The adaptability of CPF to other CZSL methods via its cross-attention mechanism also points to its potential for broader integration.

Summary updated

BibTeX
@inproceedings{wu2025conditional,
  author = {Peng Wu and Qiuxia Lai and Hao Fang and Guo-Sen Xie and Yilong Yin and Xiankai Lu and Wenguan Wang},
  title = {{A Conditional Probability Framework for Compositional Zero-shot Learning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure