Abstract
This paper introduces Task-Aware Deep Sampling (TDS), a novel generator architecture designed to synthesize visual features for "unseen" objects in zero-shot learning (ZSL). Unlike traditional generative models that rely on shallow sampling, TDS injects task-conditioned noise at every layer of the network. This approach allows the model to progressively refine feature distributions, achieving state-of-the-art results in compositional zero-shot learning and demonstrating significantly faster convergence than existing methods.
Introduction
While modern machine vision systems perform exceptionally well with abundant data, they often struggle with the "long tail" of rare or novel concepts. Zero-Shot Learning (ZSL) addresses this by enabling models to recognize categories never seen during training, typically by leveraging auxiliary information such as text descriptions or attributes.
A common strategy in ZSL involves using Generative Adversarial Networks (GANs) to "hallucinate" features for these unseen classes. However, most existing generators utilize Shallow Sampling (SS), where a single noise vector is transformed into a high-dimensional feature distribution in one step. This process is often difficult to optimize and fails to capture the multi-modal nature of real-world data, particularly in Compositional ZSL (CZSL).
The Challenge of Compositional Zero-Shot Learning
In CZSL, a model must understand how an attribute (e.g., "old") modifies an object (e.g., "cat" or "bear"). The difficulty lies in generalizing from seen pairs to unseen combinations.
As shown in the figures above, while a model may be trained on an "Old Cat," it must learn to synthesize the features of an "Old Bear" without ever having seen that specific combination. Shallow sampling often fails to capture the nuanced modifications attributes impose on different object categories.
Methodology: Task-Aware Deep Sampling
The authors propose a rethink of the generator's sampling procedure through two primary innovations:
- Deep Sampling: Inspired by Markov Chain Monte Carlo (MCMC) methods, the TDS generator injects new sets of random noise at every layer. This allows the network to progressively refine the data distribution level-by-level, simplifying the optimization landscape compared to global transformations.
- Multi-step Task Conditioning: TDS makes the noise task-aware. At each layer, the random noise is transformed and multiplied by a transformed version of the task description (e.g., the class label or attribute). This ensures the sampling process at every depth is directly guided by the specific category the model is attempting to generate.
To stabilize training, the pipeline includes a discriminator, a classifier, and a regression loss ($L_{mse}$). This loss forces generated features to remain near the centers of seen class clusters, acting as a "soft anchor" to the real data distribution.
Key Results and Insights
The TDS architecture was evaluated on several benchmarks, including MITStates, UT-Zappos, and Caltech-UCSD-Birds (CUB).
- State-of-the-Art Performance: TDS outperformed leading models like GenModel and TAFE-Net. On the MITStates dataset using a ResNet-18 backbone, TDS achieved 20.9% accuracy, a significant improvement over the previous best of 17.8%.
- Faster Convergence: On the CUB dataset, TDS reached its performance ceiling in approximately 15 epochs, whereas the standard CLSWGAN required roughly 40 epochs to reach a lower level of accuracy.
- Task-Adaptive Distributions: T-SNE visualizations confirm that task-aware noise successfully clusters by category, whereas unconditioned noise remains an unorganized distribution. This specialization is key to the model's superior hallucination capabilities.
Conclusion and Future Work
Task-Aware Deep Sampling represents a significant step forward in feature generation for ZSL. By moving from shallow to deep, task-conditioned sampling, the model achieves better generalization and efficiency. While currently focused on feature vectors rather than raw pixels, the authors suggest that TDS could be extended to raw image synthesis or few-shot learning, where initial tests on ImageNet already show a 5-point lead over previous hallucination-based methods.
Summary updated