Abstract
Compositional Zero-Shot Learning (CZSL) aims to recognize novel combinations of known states and objects. Existing vision-language models often struggle with the lack of diversity in standard prompts and the visual entanglement of primitives. We present Prompting Language-Informed Distribution (PLID), a framework that leverages Large Language Models (LLMs) to generate descriptive text distributions. By modeling class-specific Gaussian distributions and employing a primitive decomposition module, PLID captures fine-grained context and improves generalization. Our approach achieves state-of-the-art performance on MIT-States, UT-Zappos, and C-GQA benchmarks.
1. Introduction
The core challenge of CZSL is recognizing unseen compositions, such as "sliced tomatoes," by learning from disjoint examples like "sliced potatoes" and "red tomatoes." While models like CLIP provide a strong foundation, they are limited by static, simplistic prompts (e.g., "a photo of [state] [object]"). These prompts fail to account for the diverse contexts in which a concept appears or provide the necessary informativeness to distinguish between visually similar classes. Furthermore, the "state" and "object" are often entangled in image features, hindering the model's ability to generalize primitives to new combinations.
2. Methodology
PLID addresses these hurdles through three integrated components:
2.1 Language-Informed Distribution (LID)
Instead of relying on a single prompt, PLID utilizes LLMs (e.g., GPT-3.5, OPT) to generate multiple descriptive sentences for every composition. These descriptions are used to build a class-specific Gaussian distribution in the text embedding space. This captures both the informativeness (fine-grained details) and diversity (different contexts) of the class, allowing the model to optimize for intra-class variance and inter-class separability.
2.2 Visual-Language Primitive Decomposition (VLPD)
To handle entanglement, the model uses two parallel networks to decompose the image feature into a "state" feature and an "object" feature. It then compares these to the average embeddings of states and objects found in the training data, facilitating better generalization to novel pairs.
2.3 Stochastic Logit Mixup (SLM)
During training, the model makes two types of predictions: one directly for the composition (e.g., "sliced tomato") and one "recomposed" from the individual primitives ("sliced" + "tomato"). These are fused using a coefficient sampled from a Beta distribution, which acts as a regularizer and helps the model decide which path to trust more.
3. Experiments and Results
We evaluated PLID on three standard benchmarks: MIT-States (115 states, 245 objects), UT-Zappos (shoes), and the large-scale C-GQA dataset (413 states, 674 objects).
3.1 Performance
PLID achieved state-of-the-art (SOTA) results across all three datasets. On MIT-States, it reached a Harmonic Mean (H) of 39.0 in the closed-world setting, significantly outperforming previous methods. In Open-World settings, PLID showed superior generalization, particularly on the massive C-GQA dataset, where it achieved an AUC of 2.5 compared to the previous SOTA of 1.2.
3.2 Key Insights
- Informativeness > Diversity: While modeling prompt diversity is beneficial, the informativeness provided by LLM-generated descriptions is the primary driver for performance in fine-grained compositional tasks.
- Decomposition is Essential: Generalizing to unseen combinations requires the model to understand the parts, not just the whole. Fusing compositional and primitive logic leads to more robust performance.
- LLM Scaling: Switching from a basic LLM (T5) to a more powerful one (OPT-1.3B) consistently improved performance, proving that better "language intelligence" translates directly to better visual recognition.
4. Conclusion and Limitations
PLID demonstrates that prompting with language-informed distributions significantly enhances compositional reasoning. However, the model still occasionally confuses states and objects (e.g., predicting "cooked pasta" as "engraved floor") due to high inter-class correlation—where different concepts look visually similar or share a common context. Future work will involve better handling of these visual correlations and exploring how even larger LLMs could further refine the class distributions.
Summary updated