Introduction
Compositional Zero-Shot Learning (CZSL) aims to recognize novel concepts by combining known primitive states (e.g., rusty, wet) and objects (e.g., car, dog). While traditional CZSL operates within a closed set of test classes, the Open-World CZSL (OW-CZSL) setting requires models to evaluate all possible combinations of states and objects present in a dataset. This leads to a combinatorial explosion; for instance, a dataset with 400 states and 600 objects results in 240,000 potential classes.
The primary challenge in OW-CZSL is that the vast majority of these combinations are "infeasible" (e.g., "ripe dog" or "wet fire"). Without effective filtering, Vision-Language Models (VLMs) like CLIP often assign high scores to these nonsensical labels, degrading overall accuracy. This paper introduces Feasibility with Language Models (FLM), a method that leverages the common-sense reasoning of Large Language Models (LLMs) to filter the search space.
Methodology: The FLM Framework
The core of FLM is treating an LLM as a reasoning engine to assign a feasibility score to any state-object pair $(s, o)$. Unlike previous methods that relied on static word vectors (GloVe) or knowledge graphs (ConceptNet), FLM uses dynamic in-context learning to capture nuanced human labeling patterns.
Prompting and In-Context Learning
The authors employ a structured prompting strategy consisting of a system persona, the query pair, and in-context guidance. To prevent the LLM from being overly literal—such as rejecting "dark fire" because fire is physically bright—the prompt includes "guidance pairs." These are feasible examples from the training set that share a state or object with the query (e.g., "dark lightning" for the query "dark fire"). This context helps the LLM understand that "dark" can refer to a visual theme rather than literal light output.
Logit Extraction
Instead of relying on a binary "Yes/No" output, FLM extracts the output logit for the token "Yes." This provides a continuous feasibility score $g(s, o)$, allowing for more granular ranking and thresholding to prune the search space for the downstream vision model.
Experimental Evaluation
FLM was evaluated on three standard CZSL benchmarks:
- MIT-States: 115 states and 245 objects (~28k pairs).
- UT-Zappos: 16 states and 12 objects, focused on footwear.
- C-GQA: A large-scale dataset with 413 states and 674 objects (~278k pairs).
Key Results and Discussion
FLM consistently outperformed traditional baselines like GloVe and ConceptNet across all datasets. On the large-scale C-GQA benchmark, FLM significantly improved the Area Under the Curve (AUC) and Harmonic Mean (H) metrics.
Model Performance and Human Alignment
The study compared several LLMs, including GPT-4, LLaMA-2, and Vicuna. Vicuna-13B and ChatGPT emerged as top performers. Vicuna is particularly advantageous for research as its internal logits are directly accessible. Furthermore, FLM's feasibility scores showed a high correlation with human-annotated ground truth, demonstrating that LLMs can effectively mimic human "world logic."
Versatility
A key strength of FLM is its modularity. It acts as a filter that can be integrated with various VLMs. Tests with CLIP, CoOp, and CSP showed that FLM improved performance across the board, regardless of the underlying vision architecture.
Limitations and Future Work
Despite its success, FLM has limitations. It relies on "seen" classes for in-context guidance; if the training set is narrow, the LLM may struggle with diverse test states. Additionally, querying LLMs for hundreds of thousands of pairs can be computationally expensive. Future work may explore including "negative" (infeasible) examples in the prompt to further refine judgment, though identifying reliable negatives in an open-world setting remains a challenge.
Summary updated