Abstract
Graph Neural Networks (GNNs) are increasingly utilized for text classification due to their ability to model complex, non-consecutive word relationships. However, traditional GNNs often suffer from restricted receptive fields and performance degradation in deeper architectures—a phenomenon known as over-smoothing. This paper introduces the Deep Attention Diffusion Graph Neural Network (DADGNN), which overcomes these limitations by decoupling feature transformation from graph propagation and employing an attention diffusion mechanism. Experimental results across ten benchmark datasets demonstrate that DADGNN consistently achieves state-of-the-art performance and remains robust even as network depth increases.
Introduction
Text classification is a fundamental task in Natural Language Processing. While traditional sequence models like LSTMs and CNNs excel at local context, GNNs offer a more flexible way to capture global word interactions. Despite their potential, current graph-based classifiers face several critical bottlenecks:
- Restricted Receptive Fields: Most models are limited to immediate neighbors, missing distant contextual cues.
- The Shallow Trap: Increasing layers leads to over-smoothing, where node features become indistinguishable.
- Suboptimal Pooling: Simple averaging for document representation ignores varying word importance.
- Fixed Filtering: Standard GNNs often act as low-pass filters, potentially losing high-frequency information essential for distinguishing categories.
The DADGNN Architecture
To address these challenges, DADGNN introduces a novel architecture that separates the learning of features from the propagation of information across the graph.
Decoupled Transformation and Propagation
Unlike standard GNNs that intertwine Multi-Layer Perceptrons (MLPs) and graph steps, DADGNN performs a deep feature transformation first. This separation allows the model to learn complex representations before the propagation phase, significantly easing the training of deep networks.
Attention Diffusion
To expand the receptive field without the need for excessive layers, DADGNN utilizes a diffusion process. By calculating an attention matrix and applying a polynomial power series, the model enables nodes to aggregate information from neighbors multiple hops away in a single step. This mechanism is mathematically equivalent to a polynomial graph filter, allowing the model to adaptively capture both global structure and local nuances.
Overcoming the Shallow Trap
A key contribution of DADGNN is its ability to maintain high performance at depth. In traditional models like TextGCN, accuracy typically plummets after just a few layers due to over-smoothing.
As shown in the figure above, DADGNN's accuracy remains stable even with 20 layers, whereas baselines like SGC and TextGCN experience a sharp decline. This robustness is attributed to the decoupled architecture and the learnable diffusion coefficients, which prevent the loss of high-frequency information.
Experimental Results
DADGNN was evaluated on 10 standard benchmarks, including both long-form corpora (e.g., IMDB, R52) and short-form corpora (e.g., TREC, MR).
- State-of-the-Art Performance: DADGNN outperformed all baselines across every dataset. Notably, on the TREC dataset, it achieved an accuracy of 97.99%, a significant improvement over previous methods.
- Efficiency: By transforming features into a lower-dimensional space before graph operations, DADGNN is more memory-efficient than transductive models, avoiding Out-of-Memory (OOM) errors on large-scale datasets.
Conclusion
The Deep Attention Diffusion Graph Neural Network represents a significant step forward for graph-based text classification. By addressing the fundamental bottlenecks of receptive field size and over-smoothing, DADGNN provides a robust and efficient framework for capturing the rich semantic structure of text. Future research will focus on dynamic graph construction and further optimizing computational complexity for extremely large-scale applications.
Summary updated