mlsanityData to 7 Oct 2026

Efficient Graph Understanding with LLMs via Structured Context Injection

arXiv 2509.00740 ↗First posted 31 Aug 2025cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have shown strong capabilities in solving problems across domains, including graph-related tasks traditionally addressed by symbolic or algorithmic methods. In this work, we present a framework for structured context injection, where task-specific information is systematically embedded in the input to guide LLMs in solving a wide range of graph problems. Our method does not require fine-tuning of LLMs, making it cost-efficient and lightweight. We observe that certain graph reasoning tasks remain challenging for LLMs unless they are mapped to conceptually grounded representations. However, achieving such mappings through fine-tuning or repeated multi-step querying can be expensive and inefficient. Our approach offers a practical alternative by injecting structured context directly into the input, enabling the LLM to implicitly align the task with grounded conceptual spaces. We evaluate the approach on multiple graph tasks using both lightweight and large models, highlighting the trade-offs between accuracy and computational cost. The results demonstrate consistent performance improvements, showing that structured input context can rival or surpass more complex approaches. Our findings underscore the value of structured context injection as an effective and scalable strategy for graph understanding with LLMs.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 15 of its 23 references that are in the map. First posted on arXiv 31 Aug 2025.

Builds on

15 of 23 references.

References · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2022Selection-Inference: Exploiting Large Language Models for Interpretable Logical Reasoningcited by 331
  5. 2023Exploring the Potential of Large Language Models (LLMs) in Learning on Graphscited by 271
  6. 2020Transformers as Soft Reasoners over Languagecited by 265
  7. 2023Can Language Models Solve Graph Problems in Natural Language?cited by 249
  8. 2023Language is All a Graph Needscited by 219
  9. 2024Accessing GPT-4 level Mathematical Olympiad Solutions via Monte Carlo Tree Self-refine with LLaMa-3 8Bcited by 156
  10. 2024Let Your Graph Do the Talking: Encoding Structured Data for LLMscited by 112
  11. 2022CREPE: Open-Domain Question Answering with False Presuppositionscited by 70
  12. 2021ExplaGraphs: An Explanation Graph Generation Task for Structured Commonsense Reasoningcited by 58
3 more
  1. 2020Learning Dynamic Belief Graphs to Generalize on Text-Based Gamescited by 49
  2. 2024Graph-enhanced Large Language Models in Asynchronous Plan Reasoningcited by 37
  3. 2021Learning Knowledge Graph-based World Models of Textual Environmentscited by 31

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.