Decoupling Primitive with Experts: Dynamic Feature Alignment for Compositional Zero-Shot Learning

Xiao Zhang, Haodong Jing, Yongqiang Ma, Nanning Zheng

TL;DR

The EVA framework tackles the "primitive polysemy" problem in Compositional Zero-Shot Learning (CZSL)—the phenomenon where a word like "old" looks drastically different when describing a man versus a street. By utilizing a Mixture-of-Experts (MoE) approach, EVA learns multiple semantic variants for each concept and dynamically aligns the most relevant visual features, setting new state-of-the-art records on major benchmarks.

What Problem Does This Paper Address?

Compositional Zero-Shot Learning (CZSL) is the art of teaching AI to recognize unseen combinations of known concepts. If a model knows what "red" looks like and what a "car" looks like, it should be able to identify a "red car" even if it has never seen that specific pair before.

The core challenge in this domain is primitive polysemy. Primitives—the building blocks of descriptions like "old," "wet," or "dog"—change their visual appearance based on their context. For instance, a "young dog" is small and furry, whereas a "young city" is full of modern glass skyscrapers.

Comparison of prior methods and the proposed EVA framework for handling primitive polysemy.

Most existing models attempt to map each primitive to a single, static "prototype" embedding. This "one-size-fits-all" approach leads to semantic entanglement, where the model struggles to distinguish the fine-grained details that make a specific state-object pair unique.

Methods

To overcome the limitations of static prototypes, the authors propose EVA (a Mixture-of-Experts Framework for Semantic Variant Alignment). EVA shifts the paradigm toward dynamic, context-aware representations.

Overview of the EVA framework, featuring Domain-Expert Adaption and Semantic Variant Alignment.
  1. Domain-Expert Adaption: Instead of relying on a standard feed-forward network, EVA inserts MoE adapters into the layers of frozen CLIP encoders (both image and text). These adapters utilize LoRA (Low-Rank Adaptation) to keep the model lightweight and efficient. A "router" directs different image or text tokens to specialized experts. One expert is designated as "shared" to capture general knowledge, while others specialize in specific semantic facets (such as color, shape, or texture).
  2. Semantic Variant Alignment: This module introduces a global-to-local matching strategy to handle the diverse visual manifestations of concepts:
  3. Text-to-Image: The model examines the distribution of all possible compositions to find the most relevant "individual" representation, rather than settling for a generic primitive.
  4. Image-to-Text: Because different experts "see" the image differently, they produce multiple "variants" of the image feature. EVA calculates the affinity between these variants and the text primitives, selecting the highest-scoring variant to perform the final alignment.

Datasets

The model was rigorously evaluated on three gold-standard CZSL benchmarks:

  • MIT-States: Contains 115 states and 245 objects across 53,753 images.
  • UT-Zappos: A specialized dataset of shoes featuring 16 states and 12 objects.
  • C-GQA: The largest and most complex dataset, encompassing 453 states and 870 objects.

The researchers tested EVA in both Closed-World (where the test combinations are known beforehand) and the significantly harder Open-World settings (where the model must search through all possible combinations).

Key Insights and Ideas

  • MoE as a Specialization Tool: While MoE is frequently used merely to scale up model parameters, this paper leverages it as a functional tool to solve polysemy. Different experts naturally learn to focus on distinct "variants" of a concept.
  • The "Aha" Moment in Visualization: Patch visualizations demonstrate that different experts attend to distinct regions of an image. For example, in an image of a bus near a tower, one expert might focus on the "bus" (object-level), while another focuses on the "weathered" texture of the road (state-level).
  • Dynamic Routing > Constant Collaboration: The authors discovered that having a few experts specialize (dynamic routing) is more effective than forcing all experts to work on everything simultaneously. This mimics how the human brain utilizes different functional areas for specific tasks.
  • Efficiency Matters: Despite the "Mixture-of-Experts" nomenclature, EVA is actually more efficient than many competitors. By employing LoRA-based adapters, it maintains fewer trainable parameters and achieves faster inference times than previous state-of-the-art models like RAPR.

Key Results

EVA achieved significant performance gains across the board:

  • Open-World SOTA: On the challenging C-GQA dataset, EVA achieved a +2.6% AUC gain over previous methods.
  • MIT-States: It reached a notable "Unseen" accuracy of 23.2% in the open-world setting, surpassing the previous high of 22.1%.
  • Balanced Generalization: The model demonstrated a strong Harmonic Mean (HM) score, indicating it does not just memorize "seen" pairs but truly generalizes to "unseen" combinations.

Limitations and Future Work

While EVA handles semantic ambiguity exceptionally well, the authors note it still struggles with complex visual scenes where multiple objects are present (e.g., misidentifying a "Modern House" as a "Huge Kitchen"). This suggests that the model currently lacks explicit supervision for distinguishing between multiple visual objects in a single, cluttered frame.

Future work will likely focus on strategies to enhance the model's understanding of abstract concepts and its ability to perform object-specific grounding in complex, multi-object environments.

Summary updated

BibTeX
@inproceedings{zhang2026decoupling,
  author = {Xiao Zhang and Haodong Jing and Yongqiang Ma and Nanning Zheng},
  title = {{Decoupling Primitive with Experts: Dynamic Feature Alignment for Compositional Zero-Shot Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=hUtTGobe1r},
}
Figure