Abstract
Graph convolutional neural networks have recently shown great potential for the task of zero-shot learning. These models are highly sample efficient as related concepts in the graph structure share statistical strength allowing generalization to new classes when faced with a lack of data. However, multi-layer architectures, which are required to propagate knowledge to distant nodes in the graph, dilute the knowledge by performing extensive Laplacian smoothing at each layer and thereby consequently decrease performance. In order to still enjoy the benefit brought by the graph structure while preventing dilution of knowledge from distant nodes, we propose a Dense Graph Propagation (DGP) module with carefully designed direct links among distant nodes. DGP allows us to exploit the hierarchical graph structure of the knowledge graph through additional connections. These connections are added based on a node's relationship to its ancestors and descendants. A weighting scheme is further used to weigh their contribution depending on the distance to the node to improve information propagation in the graph. Combined with finetuning of the representations in a two-stage training approach our method outperforms state-of-the-art zero-shot learning approaches.
Introduction
Zero-Shot Learning (ZSL) aims to classify images from categories that were never seen during training. To bridge the gap between "seen" and "unseen" classes, models rely on prior knowledge, such as semantic word embeddings or hierarchical relationships in a Knowledge Graph (KG) like WordNet.
Recent state-of-the-art methods utilized Graph Convolutional Networks (GCNs) to regress classifier weights for unseen classes based on their position in the KG. However, GCNs are susceptible to Laplacian smoothing: as more layers are added to reach distant nodes, the features of all nodes become increasingly similar. This "washes out" the distinct information needed to predict precise classifier weights for thousands of different classes. The authors identify a fundamental tension: depth is required to propagate knowledge across the graph, but depth simultaneously destroys the specific information being propagated.
Dense Graph Propagation (DGP)
The proposed Dense Graph Propagation (DGP) module resolves this tension by using a shallow (typically two-layer) structure with several key innovations:
- Dense Connectivity: Instead of passing messages only to immediate neighbors, DGP adds direct links between a node and all its ancestors and descendants. This allows knowledge to travel long distances without passing through multiple smoothing layers.
- Two-Phase Propagation: The model processes the graph in two distinct stages: a descendant phase (receiving info from children) and an ancestor phase (receiving info from parents), explicitly exploiting the hierarchical nature of knowledge graphs.
- Distance Weighting Scheme: DGP learns a weighting scheme where the contribution of a neighbor is determined by its graph distance (number of hops) from the target node, providing a flexible "soft" prior.
- Two-Stage Training: First, the DGP is trained to predict weights for a CNN's final classification layer. Second, the CNN's feature extractor is finetuned while keeping these predicted weights fixed, aligning visual representations with the graph-informed semantic space.
Experimental Results
The model was evaluated on the massive 21K-class ImageNet benchmark and the AWA2 (Animals with Attributes 2) dataset. The results demonstrate a significant leap over previous methods:
- ImageNet "All" Split: DGP achieved 3.0% Top-1 accuracy, a massive relative improvement over the previous state-of-the-art (GCNZ) at 1.8%.
- ImageNet "2-hops": Accuracy jumped from 19.8% (GCNZ) to 26.6%.
- Qualitative Coherence: As shown in the qualitative results, DGP produces much more semantically sensible "top-5" predictions. For example, when shown a "penguin," DGP's top guesses are all different types of penguins or related sea birds, whereas baselines often mix in unrelated training classes like "tree squirrel."
Conclusion
DGP demonstrates that shallow architectures are superior for regressing continuous values like weight vectors because they preserve local node identity. By providing "express lanes" to distant ancestors and descendants, the model prevents the dilution of structural information. While highly effective, DGP currently relies on high-quality knowledge graphs like WordNet. Future work may explore graph attention mechanisms or hybrid models that combine KGs with fine-grained visual attributes.
Summary updated