Rethinking Message Passing as Retrieval for Text-Attributed Graph Learning
Organizations: School of Computer Science and Engineering of Central South University, Changsha 410000, China
Abstract
Graph neural networks (GNNs) are typically conceptualized as message-passing neural networks, yet it remains unclear why neighborhood aggregation reliably outperforms node-wise multilayer perceptrons (MLPs). Despite its empirical success, this paradigm can be computationally expensive and sensitive to imperfect graph structures. In this work, we present a retrieval-augmented view of GNNs: each layer makes predictions by applying an MLP to a node representation together with a permutation-invariant summary of retrieved graph context. Motivated by this perspective, we propose RTA, a simple MLP-based framework that replaces structural message passing with label-aware retrieval and propagation. We provide theoretical insights that (i) connect retrieval-based aggregation to softmax-attention message passing, and (ii) establish the robustness of retrieved-context supervision to mis-retrieved outliers. Experiments on multiple text-attributed graph benchmarks show that RTA matches or even outperforms strong GNN and graph LLM baselines while improving efficiency and robustness across diverse scenarios.
Figures & tables
| Dataset | #Nodes | #Edges | #Classes | Type |
| Children | 76,875 | 1,554,578 | 24 | Homophilic |
| History | 41,551 | 358,574 | 12 | Homophilic |
| Computers | 87,229 | 721,081 | 10 | Homophilic |
| Photo | 48,362 | 500,928 | 12 | Homophilic |
| Fitness | 173,055 | 1,773,500 | 13 | Homophilic |
| Arxiv | 169,343 | 1,166,243 | 40 | Homophilic |
| Children | History | Photo | Computers | Fitness | Arxiv | Cornell | Texas | Wisc. | Wash. | |
| MLP | 51.2 ±0.2 | 82.0 ±0.9 | 60.7 ±0.9 | 65.3 ±0.4 | 87.2 ±0.3 | 46.5 ±0.8 | 49.5 ±0.7 | 62.0 ±1.8 | 46.5 ±1.5 | 66.0 ±0.9 |
| GCN | 56.3 ±0.3 | 84.4 ±0.3 | 84.0 ±0.9 | 87.6 ±0.4 | 92.1 ±0.7 | 72.5 ±0.6 | 52.6 ±0.4 | 64.8 ±1.5 | 49.0 ±0.7 | 69.5 ±0.5 |
| GAT | 56.4 ±0.8 | 84.0 ±0.6 | 85.3 ±0.5 | 88.6 ±0.2 | 92.5 ±0.5 | 72.7 ±0.8 | 53.2 ±0.6 | 65.9 ±1.4 | 52.3 ±0.4 | 73.1 ±0.7 |
| GraphSAGE | 58.5 ±0.1 | 86.1 ±0.8 | 82.9 ±0.7 | 87.9 ±0.8 | 92.8 ±0.5 | 72.9 ±0.8 | 54.8 ±0.5 | 64.2 ±1.3 | 50.1 ±1.0 | 71.4 ±0.6 |
| DGT | 57.4 ±0.7 | 86.2 ±0.3 | 85.1 ±0.5 | 87.3 ±0.3 | 92.0 ±0.5 | 74.6 ±0.4 | 54.5 ±0.3 | 67.3 ±1.0 | 51.4 ±1.2 | 71.5 ±0.5 |
| DGI | 54.9 ±0.5 | 84.9 ±0.3 | 82.7 ±0.6 | 86.9 ±0.4 | 92.9 ±0.7 | 72.1 ±0.5 | 14.7 ±0.9 | 11.2 ±1.4 | 12.1 ±0.7 | 21.0 ±1.2 |
| Children | History | Photo | Computers | Cornell | Texas | Wisc. | Wash. | |
| RTA (L-I) | 56.6 ±0.3 | 85.4 ±0.9 | 86.2 ±0.8 | 86.9 ±0.6 | 85.4 ±0.4 | 95.1 ±0.7 | 90.2 ±0.6 | 80.7 ±0.9 |
| RTA (L-II) | 58.3 ±0.6 | 86.6 ±0.7 | 85.4 ±0.5 | 88.8 ±0.3 | 79.4 ±1.1 | 86.1 ±1.5 | 83.3 ±1.6 | 74.6 ±1.4 |
| RTA (L-I&II) | 55.9 ±0.7 | 84.7 ±0.4 | 83.2 ±0.3 | 85.4 ±0.4 | 76.6 ±1.4 | 68.6 ±0.9 | 80.6 ±0.8 | 69.6 ±1.2 |
| RTA (semantic retrieval) | 57.8 ±0.7 | 84.9 ±0.8 | 84.6 ±0.7 | 87.1 ±0.6 | 78.8 ±1.3 | 84.7 ±1.6 | 82.1 ±1.5 | 73.8 ±1.4 |
| RTA (structural retrieval) | 59.9 ±0.6 | 85.9 ±0.6 | 87.1 ±0.6 | 89.8 ±0.5 | 85.6 ±0.9 | 93.2 ±1.0 | 91.5 ±1.1 | 79.8 ±1.0 |
| RTA | 61.9 ±0.7 | 87.0 ±0.5 | 88.7 ±0.4 | 91.2 ±0.3 | 89.9 ±0.2 | 97.4 ±0.4 | 96.3 ±0.3 | 82.6 ±0.2 |
| Retriever backbone | Children | History | Photo | Computers | Cornell | Texas | Wisc. | Wash. |
| bert-base-uncased | 60.1 ±0.4 | 85.7 ±0.8 | 87.6 ±0.6 | 90.3 ±0.2 | 81.4 ±1.6 | 80.4 ±0.6 | 77.8 ±2.0 | 68.6 ±1.6 |
| all-mpnet-base-v2 | 60.6 ±0.3 | 86.2 ±0.3 | 88.2 ±0.3 | 90.8 ±0.3 | 82.6 ±1.2 | 84.9 ±0.8 | 79.1 ±1.4 | 69.6 ±1.5 |
| bge-en-icl | 61.9 ±0.7 | 87.0 ±0.5 | 88.7 ±0.4 | 91.2 ±0.3 | 89.9 ±0.2 | 97.4 ±0.4 | 96.3 ±0.3 | 82.6 ±0.2 |