Scaling Graph Reasoning in Language Models with Learnable Graph Positional Encodings
On the map: LLM reasoning → Knowledge- and tool-augmented reasoning also fits: Test-time compute and efficient thinking
Abstract (arXiv)
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 O(N). 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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 19 of its 23 references that are in the map. Submitted 20 Oct 2026.
Builds on
19 of 23 references.
Closest ancestors · 5
Same direction, newest first
- 2025G-reasoner: Foundation Models for Unified Reasoning over Graph-structured Knowledge29 Sep
- 2025G1: Teaching LLMs to Reason on Graphs with Reinforcement Learning24 May
- 2024GraphWiz: An Instruction-Following Language Model for Graph Problems25 Feb
- 2023GraphLLM: Boosting Graph Reasoning Ability of Large Language Model9 Oct
- 2022GreaseLM: Graph REASoning Enhanced Language Models for Question Answering21 Jan
Other references · 14
- 2023Language is All a Graph Needscited by 226
- 2021Identity-aware Graph Neural Networkscited by 200
- 2024LLaGA: Large Language and Graph Assistantcited by 192
- 2023Talk like a Graph: Encoding Graphs for Large Language Modelscited by 190
- 2024Let Your Graph Do the Talking: Encoding Structured Data for LLMscited by 131
- 2023Graph Neural Prompting with Large Language Modelscited by 67
- 2024LLMs as Zero-shot Graph Learners: Alignment of GNN Representations with LLM Token Embeddingscited by 63
- 2024Can we Soft Prompt LLMs for Graph Learning Tasks?cited by 54
- 2024GraphArena: Evaluating and Exploring Large Language Models on Graph Computationcited by 54
- 2023On the Stability of Expressive Positional Encodings for Graphscited by 38
- 2025Learning Efficient Positional Encodings with Graph Neural Networkscited by 25
- 2025GraphICL: Unlocking Graph Learning Potential in LLMs through Structured Prompt Designcited by 23
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capability
- 2025UniGTE: Unified Graph-Text Encoding for Zero-Shot Generalization across Graph Tasks and Domains
- 2025Rethinking and Benchmarking Large Language Models for Graph Reasoning
- 2024From Anchors to Answers: A Novel Node Tokenizer for Integrating Graph Structure into Large Language Models
- 2024Can LLM Graph Reasoning Generalize beyond Pattern Memorization?
- 2025A Graph Talks, But Who's Listening? Rethinking Evaluations for Graph-Language Models
- 2026Formalizing and Mitigating Structural Distortion in LLM Attention for Graph Reasoning
- 2026Teaching LLMs to See Graphs: Unifying Text and Structural Reasoning