Mutual Balancing in State-Object Components for Compositional Zero-Shot Learning

Chenyi Jiang, Dubing Chen, Shidong Wang, Yuming Shen, Haofeng Zhang, Ling Shao

TL;DR

Compositional Zero-Shot Learning (CZSL) struggles because combining a "state" (like mashed) with an "object" (like banana) can drastically and inconsistently alter visual features. This paper introduces MUST (MUtual balancing in STate-object components), a framework that quantifies these "visual deviations" to re-weight training and refine predictions, achieving new state-of-the-art results across major benchmarks.

What Problem Does This Paper Address?

Humans are naturally good at compositionality; if you know what a "red tomato" and a "green apple" look like, you can easily imagine a "red apple." For computers, this is Compositional Zero-Shot Learning (CZSL).

The core challenge is that the visual appearance of a component is often "entangled" with its counterpart. As shown in Figure 1, the state "mashed" completely transforms the shape and texture of a "banana," whereas the state "ripe" might only change its color. Existing methods often ignore this component imbalance—the fact that some states or objects dominate the visual representation more than others, or that the same component looks vastly different in different pairings. This leads to fuzzy classification boundaries and poor generalization to unseen combinations.

Figure 1. Motivation for our method. (a) “Mashed” significantly changes the appearance of the visual features of the “banana”. (b) Compositionality allows the visual features of “ripe” to appear in various compositions in different colors.

Methods

The authors propose treating CZSL as an unbalanced multi-label classification task. Their method, MUST, introduces a balancing inductive bias through two main stages:

  1. Quantifying Visual Deviation: The model deconstructs visual features into separate "object" and "state" spaces. It then calculates the visual deviation ($d_o$ and $d_s$) by measuring the cosine similarity between these extracted features and their corresponding semantic class prototypes (word embeddings).
  2. Mutual Balancing:
    • Training: These deviation scores are used to re-weight a modified cross-entropy loss. The model is forced to focus more on samples where one component significantly "distorts" the other, helping it learn sharper, more distinct class borders.
  3. Inference: During testing, the model doesn't just rely on a joint embedding. It uses the learned deviation knowledge to dynamically adjust the weights of the state and object predictions, effectively "balancing" their influence on the final result.
Figure 4. Illustration of the proposed framework. Eo and Es are two embedding functions used for extracting features of objects and states. Once the visual features pass Eo and Es, calculate the cosine similarities with the word vectors [23] to generate ds and do, where ds and do are used to estimate the amount of visual deviations involved in training through re-weighting the vanilla cross-entropy loss. Noteworthy, ds, do also provide additional information for the final classification results according to Eq. 7; During inference, the visual features are processed via the embedding function E(s,o), and only the cosine similarity of d(s,o) needs to be calculated with the word vector. The objective function Ls,o can selectively adjust the weights of each sample according to ds and do, which will be discussed in Sec. 3.3.

Datasets

The authors evaluated MUST on three standard CZSL benchmarks:

  • MIT-States: A challenging, noisy dataset with 115 states and 245 objects (~53k images).
  • UT-Zappos: A fine-grained dataset of shoes with 16 states and 12 objects (~50k images).
  • C-GQA: The largest and most complex dataset, featuring over 9,000 compositions across 413 states and 674 objects.

Key Insights and Ideas

  • Inconsistent Deviations: Visual features are not equally representative of their labels. A t-SNE visualization (Figure 2) reveals that while some components have clear boundaries, many are overlapping and inseparable due to compositional effects.
  • Deviation as Knowledge: Instead of trying to "fix" the distortion caused by compositionality, MUST treats the degree of distortion as a useful signal to guide the learning process.
  • Plug-and-Play Compatibility: MUST isn't a standalone architecture but a strategy that can be integrated into existing CZSL frameworks (like CGE or CompCos) to boost their performance.
Figure 3. Illustration of the core idea. Visual features are de- constructed and projected into the corresponding space, i.e., the object space and state space, and then their visual deviations are computed accordingly based on their similarities to the class pro- totypes. We use the visual deviations to roughly quantify the bal- ance between the components, insert them as adjustable weights into subsequent classifiers, and output them as extra adjustments to the final result.

Key Results

MUST consistently outperformed previous state-of-the-art (SOTA) methods across all metrics, particularly in Area Under the Curve (AUC) and Harmonic Mean ($A^H$), which measure the balance between recognizing seen and unseen compositions:

  • MIT-States: Improved AUC from 5.1% to 6.0%.
  • UT-Zappos: Saw a significant jump in AUC from 26.4% to 32.8%.
  • C-GQA: Achieved a new SOTA AUC of 2.9% (up from 2.3%).

Qualitative results show that even when the model "fails," it often predicts semantically plausible alternatives (e.g., predicting "toasted food" instead of "toasted bread"), suggesting it has learned genuine visual-semantic relationships rather than just memorizing labels.

Limitations and Future Work

  • The C-GQA Gap: Despite improvements, the performance gap between seen and unseen compositions on the massive C-GQA dataset remains large, highlighting the extreme difficulty of complex compositionality.
  • Label Subjectivity: The model is sometimes penalized for correct but "non-ground-truth" labels (e.g., a "black keyboard" image that also contains a "cat"). Future work could explore more flexible evaluation metrics that account for multi-object scenes.
  • Backbone Dependency: While MUST is robust, its performance is still tied to the discriminative power of the underlying backbone (e.g., ResNet), suggesting that better feature extractors could further unlock its potential.

Summary updated

Abstract

Compositional Zero-Shot Learning (CZSL) aims to recognize unseen compositions from seen states and objects. The disparity between the manually labeled semantic information and its actual visual features causes a significant imbalance of visual deviation in the distribution of various object classes and state classes, which is ignored by existing methods. To ameliorate these issues, we consider the CZSL task as an unbalanced multi-label classification task and propose a novel method called MUtual balancing in STate-object components (MUST) for CZSL, which provides a balancing inductive bias for the model. In particular, we split the classification of the composition classes into two consecutive processes to analyze the entanglement of the two components to get additional knowledge in advance, which reflects the degree of visual deviation between the two components. We use the knowledge gained to modify the model's training process in order to generate more distinct class borders for classes with significant visual deviations. Extensive experiments demonstrate that our approach significantly outperforms the state-of-the-art on MIT-States, UT-Zappos, and C-GQA when combined with the basic CZSL frameworks, and it can improve various CZSL frameworks. Our codes are available on https://anonymous.4open.science/r/MUST_CGE/.
BibTeX
@article{jiang2022mutual,
  author = {Chenyi Jiang and Dubing Chen and Shidong Wang and Yuming Shen and Haofeng Zhang and Ling Shao},
  title = {{Mutual Balancing in State-Object Components for Compositional Zero-Shot Learning}},
  journal = {Pattern Recognition},
  year = {2022},
  url = {https://openreview.net/forum?id=yTS3VXX9Ce},
}
Figure