[Paper Review] Attentive Graph Neural Networks for Few-Shot Learning
This paper proposes Attentive Graph Neural Networks (Attentive GNN) with a triple-attention mechanism—node self-attention, neighborhood attention, and layer memory attention—to mitigate over-smoothing and over-fitting in few-shot learning. The method achieves state-of-the-art performance on mini-ImageNet and tiered-ImageNet benchmarks under both inductive and transductive settings, with theoretical and empirical validation of improved generalization and scalability.
Graph Neural Networks (GNN) has demonstrated the superior performance in many challenging applications, including the few-shot learning tasks. Despite its powerful capacity to learn and generalize the model from few samples, GNN usually suffers from severe over-fitting and over-smoothing as the model becomes deep, which limit the scalability. In this work, we propose a novel Attentive GNN to tackle these challenges, by incorporating a triple-attention mechanism, i.e. node self-attention, neighborhood attention, and layer memory attention. We explain why the proposed attentive modules can improve GNN for few-shot learning with theoretical analysis and illustrations. Extensive experiments show that the proposed Attentive GNN model achieves the promising results, comparing to the state-of-the-art GNN- and CNN-based methods for few-shot learning tasks, over the mini-ImageNet and tiered-ImageNet benchmarks, under ConvNet-4 and ResNet-based backbone with both inductive and transductive settings. The codes will be made publicly available.
Motivation & Objective
- To address over-smoothing and over-fitting in deep Graph Neural Networks (GNNs) for few-shot learning.
- To improve model scalability and generalization in low-data regimes by incorporating attention mechanisms.
- To develop a GNN architecture that effectively captures intra- and inter-class relationships using graph-structured support sets.
- To theoretically and empirically validate the effectiveness of attention modules in preserving feature discriminability and reducing dimensionality loss.
- To achieve state-of-the-art performance on standard few-shot learning benchmarks, including mini-ImageNet and tiered-ImageNet.
Proposed method
- Introduces a triple-attention mechanism: node self-attention to model inter-node and inter-class correlations beyond CNN features.
- Applies neighborhood attention to learn sparse adjacency matrices by retaining only the most relevant neighbor nodes via a top-βV selection based on feature similarity.
- Employs layer memory attention with dense skip connections to preserve and aggregate features from earlier layers, mitigating information loss.
- Uses a differentiable optimization formulation to learn attention weights: $\hat{\mathbf{A}}^{(k)} = \arg\min_{\mathbf{A}^{(k)}} \|\mathbf{A}^{(k)} - \mathbf{U}^{(k)}\|_F$ subject to $\|\mathbf{A}^{(k)}_i\|_0 \leq \beta V$, where $\mathbf{U}^{(k)}$ is computed via an MLP on feature differences.
- Theoretical analysis shows that neighborhood attention reduces over-smoothing by increasing the number of layers before $\epsilon$-smoothing occurs or decreasing dimensionality reduction in feature space.
- The model is trained under episodic meta-learning, using ConvNet-4 and ResNet backbones in both inductive and transductive settings.
Experimental results
Research questions
- RQ1Can a triple-attention mechanism effectively reduce over-smoothing and over-fitting in deep GNNs for few-shot learning?
- RQ2How does neighborhood attention with sparsity constraints improve GNN generalization in low-shot scenarios?
- RQ3To what extent does layer memory attention preserve discriminative features across deeper architectures?
- RQ4Does the proposed Attentive GNN outperform existing GNN- and CNN-based methods on standard few-shot benchmarks?
- RQ5What is the theoretical justification for the improved robustness and scalability of the proposed attention modules?
Key findings
- The Attentive GNN achieves state-of-the-art performance on mini-ImageNet and tiered-ImageNet benchmarks, outperforming existing GNN- and CNN-based methods.
- The model demonstrates improved robustness to over-smoothing, with theoretical analysis confirming that neighborhood attention increases the number of layers before $\epsilon$-smoothing occurs.
- The dimensionality reduction in feature space is significantly reduced when using the proposed attention modules, as shown by $\Theta_{T(\tilde{\mathbf{G}},\epsilon),\tilde{\mathbf{G}}} < \Theta_{T(\mathbf{G},\epsilon),\mathbf{G}}$ under the same $\epsilon$ threshold.
- Extensive ablation studies confirm that each component of the triple-attention mechanism contributes to performance gains, especially neighborhood attention in sparsifying graph connections.
- The model generalizes well across both inductive and transductive settings, with consistent improvements over baseline GNNs and meta-learning models.
- The authors provide theoretical justification and visualization that the attention mechanisms enhance feature discriminability and reduce feature collapse.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.