Abstract
Node classification is one of the hottest tasks in graph analysis. In this paper, we focus on the choices of node representations (aggregated features vs. adjacency lists) and the edge direction of an input graph (directed vs. undirected), which have a large influence on classification results. We address the first empirical study to benchmark the performance of various GNNs that use either combination of node representations and edge directions. Our experiments demonstrate that no single combination stably achieves state-of-the-art results across datasets, which indicates that we need to select appropriate combinations depending on the characteristics of datasets. In response, we propose a simple yet holistic classification method A2DUG which leverages all combinations of node representation variants in directed and undirected graphs. We demonstrate that A2DUG stably performs well on various datasets. Surprisingly, it largely outperforms the current state-of-the-art methods in several datasets. This result validates the importance of the adaptive effect control on the combinations of node representations and edge directions.
Introduction
Node classification in directed graphs presents unique challenges compared to undirected graphs. While most Graph Neural Networks (GNNs) are optimized for undirected structures, directed edges—such as citations or web links—carry directional information that is often critical for specific tasks. Researchers typically face two major dilemmas: choosing between feature aggregation (smoothing features across neighbors) and adjacency lists (using raw connection patterns), and deciding whether to treat the graph as directed, undirected, or transposed.
As illustrated in the figure above, nodes with identical aggregated features can often be distinguished by their adjacency lists. Conversely, in other scenarios, structural patterns might be noisy while feature smoothing provides the necessary signal. The optimal choice is highly dataset-dependent and task-dependent.
The A2DUG Framework
To address these challenges, we propose A2DUG (Aggregated features & Adjacency lists in Directed/Undirected Graphs). A2DUG avoids the need for manual selection by holistically combining multiple representation variants.
The architecture processes three primary types of information:
- Node Features ($H_X$): Raw attributes processed via a Multi-Layer Perceptron (MLP).
- Adjacency Lists ($H_A, H_{A^\top}, H_{A^{und}}$): Structural information from directed, transposed, and undirected graph views.
- Aggregated Features ($H_{GNN}, H_{GNN^\top}, H_{GNN^{und}}$): Features smoothed over $k$-hops using precomputation-based GNN architectures.
By using precomputation for neighbor-averaged features, A2DUG maintains high scalability. Training is performed using standard mini-batch MLPs, effectively bypassing the "neighbor explosion" problem common in traditional GNNs.
Empirical Insights
Our benchmarking across 13 datasets revealed that the "target" often dictates the required "direction." For instance, on the Arxiv citation graph, directed edges are crucial for predicting publication years (temporal flow), whereas undirected edges perform better for predicting research fields (community structure). Furthermore, transposed edges—representing descendants in a citation network—provide a distinct and valuable signal that complements standard directed edges.
Results and Scalability
A2DUG demonstrates superior accuracy and robustness. It achieved significant performance gains, such as an 11.29% increase on snap-patents and 5.47% on arxiv-year. Unlike specialized models that excel only on specific graph types, A2DUG consistently ranks among the top performers across all tested scales.
Notably, A2DUG's simplicity ensures it scales to massive graphs. While complex direction-aware models often fail on medium-sized datasets due to memory constraints, A2DUG successfully processed the wiki dataset, which contains 0.3 billion edges, with high efficiency.
Conclusion
A2DUG proves that a holistic approach to node representation and edge direction is more effective than attempting to find a single "best" configuration. By adaptively controlling the effects of aggregated features and adjacency lists across multiple graph views, A2DUG provides a scalable and state-of-the-art solution for node classification in large-scale directed graphs. Future work may explore automated architecture search to further optimize the selection of these representations for specific datasets.
Summary updated