Abstract
Generalized Zero-Shot Learning (GZSL) typically relies on generative models to synthesize features for unseen classes. However, these synthetic features often suffer from domain shift and lack diversity, leading to biased classifiers. We propose Zero-Shot Logit Adjustment (ZLA), a method that shifts the focus from improving generators to refining the classifier's loss function. By mathematically deriving an adjustment based on seen-unseen priors, ZLA achieves state-of-the-art performance with significantly fewer synthetic samples, effectively mitigating the classifier's inherent bias toward seen classes.
Introduction
In Generalized Zero-Shot Learning (GZSL), models must recognize both "seen" classes encountered during training and "unseen" classes known only through semantic attributes. The current gold standard is a two-stage approach: first, a generator creates synthetic visual features for unseen classes; second, a classifier is trained on a mixture of real seen data and synthetic unseen data.
However, this approach faces a significant hurdle: synthetic data is not real data. It suffers from "domain shift" and "homogeneity," meaning synthetic samples lack the natural diversity of real-world objects. Traditional methods attempt to "brute-force" the classifier by generating thousands of samples, but this often leads to overfitting on biased synthetic patterns.
Zero-Shot Logit Adjustment (ZLA)
The authors argue that the real bottleneck is the classifier's loss function. They introduce Zero-Shot Logit Adjustment (ZLA), derived from variational Bayesian inference. ZLA treats the imbalance between seen and unseen domains as a prior probability problem.
Instead of simply increasing data volume, ZLA modifies the softmax cross-entropy loss with an adjustment weight ($\delta$). This weight penalizes or boosts specific class logits based on "seen-unseen priors," forcing the model to learn more equitable decision boundaries.
As illustrated above, the adjustment shifts the probability distribution from seen classes ($s$) to unseen classes ($u$), correcting the inherent bias of the base model.
Key Results and Efficiency
The ZLA method was integrated into existing frameworks like WGAN and CE-GZSL, yielding consistent improvements across standard benchmarks such as AWA2, CUB, and SUN. On the AWA2 dataset, ZLA achieved a Harmonic Mean ($A^H$) of 72.8%, a substantial leap from the 63.7% baseline.
A striking finding of this research is that more data does not necessarily lead to better results. While traditional GZSL models might generate 4,000 samples per unseen class, ZLA achieves peak performance with as few as 10 samples.
The figure above demonstrates that generating 10 samples (black line) combined with optimal logit adjustment ($\log \sigma$) outperforms configurations using 1,000 samples (red line). This 400x reduction in required synthetic data significantly lowers computational overhead while improving generalization.
Conclusion
Zero-Shot Logit Adjustment demonstrates that acknowledging and mathematically compensating for synthetic data bias is more effective than attempting to eliminate it through sheer volume. By focusing on the classifier bottleneck, ZLA sets a new standard for efficiency and accuracy in Generalized Zero-Shot Learning.
Summary updated