Abstract
Open-vocabulary learning (OVL) requires modeling data distributions in open environments containing both seen and unseen classes. Traditional methods often fail because they estimate these distributions using only seen-class data, leading to inherently unidentifiable estimation errors. This paper proposes a novel framework that generates synthetic unseen-class data to theoretically bound the estimation error. By utilizing a class-domain-wise data generation pipeline and a distribution alignment algorithm, the proposed method achieves significant performance gains, outperforming existing baselines by up to 14% across 11 diverse datasets.
Introduction
In open-vocabulary learning, models are trained on a specific set of "seen" classes but are expected to generalize to "unseen" classes at test time. The fundamental challenge lies in accurately estimating the data distribution of the entire open environment. Most current approaches rely solely on seen data, which the authors argue is mathematically insufficient; without samples from unseen classes, the estimation error cannot be properly identified or bounded.
This research addresses this gap by proving that "learning beyond the seen"—specifically through the generation of synthetic unseen-class data—can provide a theoretical upper bound on distribution estimation error. This insight leads to a practical framework that bridges the gap between seen and unseen class distributions.
Methodology: Class-Domain-Wise Data Generation
The proposed framework consists of two primary components: a data generation pipeline and a distribution alignment algorithm.
Data Generation Pipeline
The pipeline is designed to generate semantically relevant and domain-consistent synthetic data for unseen classes.
- Hierarchy-Guided Unseen Class Predictor: To avoid generating irrelevant classes, the model uses WordNet and Large Language Models (LLMs) to construct a hierarchical semantic tree. It identifies "sibling" classes—unseen classes that share a common parent with seen ones—ensuring the synthetic data is closely related to the training distribution.
- Caption-Based Domain Information Generator: Generalizing a class is not enough; the domain (style, background, lighting) must also match. Vision-Language Models (VLMs) are used to extract domain descriptions from seen-class images.
- Text-to-Image Generation: These predicted classes and domain-specific captions are fed into a Stable Diffusion model to produce high-quality synthetic images for the unseen classes.
Distribution Alignment Algorithm
Once the synthetic data is generated, the model must align its internal representations.
- ELBO Optimization: The authors derive an Evidence Lower Bound (ELBO) to maximize the posterior probability of the model's outputs.
- Alignment Losses: Kullback–Leibler (KL) divergence and Maximum Mean Discrepancy (MMD) are employed to align output and feature-space distributions between real and synthetic data.
- Sparse Loss Strategy: To mitigate noise from small mini-batches, the alignment loss is applied periodically (sparsely) rather than at every iteration, leading to more stable training.
Experimental Evaluation
The method was evaluated on 11 image recognition datasets spanning various domains, including general objects (ImageNet, Caltech101), specialized categories (OxfordPets, StanfordCars, Flowers102, Food101, FGVCAircraft), scenes (SUN397), textures (DTD), satellite imagery (EuroSAT), and actions (UCF101).
Testing focused on two key benchmarks:
- Base-to-New Generalization: Training on half the classes and testing on the remaining unseen classes.
- Cross-Dataset Evaluation: Training on ImageNet and testing on the other 10 datasets.
Results and Discussion
The proposed method consistently outperformed state-of-the-art baselines like PromptSRC. Notable improvements include a 14% gain on the EuroSAT dataset in the base-to-new setting and a 9.48% improvement in cross-dataset evaluation.
Key Insights
- Theoretical Grounding: Mathematical proofs in the paper demonstrate that estimation error is bounded by the distance between seen data and generated unseen data, justifying the use of synthetic samples.
- Importance of Domain Alignment: Simply generating class-correct images is insufficient; aligning the background and style (domain) is critical for tightening the error bound.
- Hierarchical Guidance: Using "sibling" classes from a semantic tree significantly reduces distribution distance compared to random class selection.
Conclusion
This work demonstrates that generating synthetic data for unseen classes is not merely a heuristic but a theoretically sound method for bounding estimation error in open-vocabulary learning. While the method currently relies on the external knowledge of LLMs and WordNet, future work could explore Retrieval-Augmented Generation (RAG) to handle truly novel or emerging classes dynamically.
Summary updated