Preprint
Review

This version is not peer-reviewed.

Are Graphs Useful for LLMs? A Comprehensive Survey of Graph-Enhanced Large Language Models

Submitted:

14 August 2026

Posted:

19 August 2026

You are already at the latest version

Abstract
Large language models (LLMs) have demonstrated strong capabilities across diverse tasks such as language understanding, reasoning, planning, and code generation. However, their sequence-based architectures limit their ability to capture complex relational structures, long-range dependencies, and multi-hop interactions. Graphs, which explicitly model entities and relationships, provide a natural complement to LLMs by enabling structured representation, multi-hop reasoning, and improved knowledge grounding. This synergy has led to a growing body of research on graph-enhanced LLMs, which we refer to as Graph4LLM. In this survey, we present a systematic, pipeline-oriented review of Graph4LLM methods, categorizing them into three stages of the LLM pipeline: (1) the input phase, where graphs structure prompts and incorporate external knowledge; (2) the model phase, where graphs guide word-level representations and agent-level coordination; and (3) the output phase, where graphs support structured reasoning, planning, and verification. For each phase, we provide a detailed review of the key methods and techniques. We further present a broad range of application scenarios, organizing them into general and domain-specific applications, and highlight how Graph4LLM methods demonstrate strong potential across diverse tasks and real-world settings. Finally, we outline the challenges and future research directions for developing more efficient and interpretable solutions. Resources for Graph4LLM are available at https://github.com/BUPT-GAMMA/Awesome-Graph4LLM.
Keywords: 
;  
CCS Concepts: Computing methodologies → Artificial intelligence; Computing methodologies → Natural language processing; Computing methodologies → Machine learning; Information systems → Data mining

1. Introduction

Large language models (LLMs) [1,2,3] are foundation models with billions of parameters, typically built on the Transformer architecture [4] and pretrained on massive corpora. Under this paradigm, LLMs show impressive capabilities in natural language understanding, generation, and reasoning, enabling them to generalize across diverse tasks with minimal task-specific adaptation.
In practice, LLMs operate within a pipeline that organizes information flow from input to output. (1) In the input phase, task specifications and external knowledge are introduced. This is done using techniques like few-shot prompting [1], retrieval-augmented generation (RAG) [5], or by feeding the model curated training data. These methods help shape how the raw information is presented to LLMs. (2) Next, the model focuses on processing these inputs. Transformer-based architectures use attention mechanisms and feedforward layers to process information sequentially. They can also be extended with multi-agent systems [6,7] to coordinate multiple models through interaction. (3) Finally, in the output phase, LLMs generate task-specific responses. These responses can include question answering, executable code, or decision support, serving as the interface between model predictions and downstream applications.
Despite their impressive performance, LLMs have inherent limitations, primarily due to their reliance on linear token sequences. Such sequential models struggle to capture complex relational structures, long-range dependencies, and multi-hop interactions, which are crucial for many knowledge-intensive tasks [8]. Moreover, reasoning and planning processes are often encoded implicitly in latent representations. This makes intermediate states difficult to interpret, control, or verify systematically [9]. LLMs are also vulnerable to factual inconsistencies and hallucinations, especially when tasks require precise relational reasoning or reliable knowledge grounding. These challenges highlight the limitations of sequence-centric models in tasks that require explicit structure, transparency, and robustness [10].
To address these limitations of LLMs, graphs provide complementary solutions. Graphs are non-Euclidean structures composed of nodes and edges that capture complex relationships. By explicitly encoding these relationships, they support multi-hop reasoning and represent non-linear structures effectively. Additionally, graphs offer transparent, structured intermediate states that improve interpretability and verification. By integrating external knowledge graphs (KGs) [11], they also enhance factual grounding, reducing hallucinations and improving reliability. According to the 2025 Gartner Data & Analytics Summit1, graph technologies are projected to drive 80% of data and analytics innovations by 2026, acting as a foundational enabler to provide structured contextual knowledge for LLMs and systematically enable data to become AI-ready.
Building on the potential of graphs to address LLM limitations, graph-enhanced LLMs, which we refer to as Graph4LLM, leverage relational structures to handle complex, interconnected data more effectively. As a result, a growing body of work has emerged exploring diverse Graph4LLM paradigms and architectures. Despite this rapid development, research on Graph4LLM remains fragmented across communities and applications, making it necessary to provide a comprehensive categorization.
To better understand this gap, it is useful to distinguish two main research directions at the intersection of graphs and LLMs. In the LLM4Graph paradigm, LLMs are applied to enhance graph learning tasks, bringing strong semantic understanding and generative capabilities to traditional graph mining. Correspondingly, the bulk of existing surveys [12,13,14,15,16,17,18,19] focus on this forward direction, systematically reviewing frameworks, methods, and applications of LLMs for graph tasks. In contrast, investigations into the reverse paradigm of graphs enhancing LLMs have received far less attention in existing surveys. Even the few surveys that cover Graph4LLM tend to focus on specific subareas rather than providing a unified view: some delve exclusively into KG-augmented LLMs [20,21,22,23,24], some concentrate on graph-based retrieval-augmented generation frameworks [5,25,26,27], and others deploy graphs as structural scaffolds for multi-agent coordination and long-term memory. This fragmented coverage leaves a gap in understanding how graph structures can broadly address the inherent limitations of LLMs.
In contrast, this paper significantly expands our previous study [28] to provide the first comprehensive, pipeline-oriented survey of Graph4LLM, introducing a more refined taxonomy and coverage of the latest papers. Specifically, we categorize existing works according to the three phases of the LLM pipeline (Figure 1): (1) In the input phase, graphs are used to transform complex and scattered information into structured prompts, enabling LLMs to clearly capture key entities and relations. (2) In the model phase, graphs shape the internal processing of a single model or organize interactions across multiple models, enabling controlled information flow and task coordination. (3) In the output phase, graphs reorganize LLM responses into structured representations, making intermediate steps and dependencies easy to inspect and verify. Based on this taxonomy, we further organize methods within each phase and analyze their key design choices and trade-offs.
The remainder of this paper is organized as follows. Section 2 presents the preliminaries related to Graph4LLM, including the relevant technologies of graphs and LLMs, as well as an overview of Graph4LLM. Section 3 reviews multi-granularity prompt construction and knowledge incorporation techniques in the input phase. Section 4 examines single- and multi-model graph-enhanced systems in the model phase. Section 5 focuses on graph-structured reasoning, planning, and evaluation techniques in the output phase. Section 6 surveys representative Graph4LLM applications, and Section 7 discusses open challenges and future research directions. Overall, this organization follows the LLM pipeline and enables a comprehensive review of Graph4LLM methods.

2. Preliminary

2.1. Graphs

Graphs effectively model complex interactions in real-world systems, including social networks [107], transportation networks [108], and biomedical networks [109]. Formally, a graph G = ( V , E ) consists of nodes V and edges E V × V encoding pairwise relations, which may be directed or undirected with associated attributes. Unlike sequential or grid data, graphs naturally capture non-Euclidean relational structures. Figure 2 illustrates the common graph structures used in Graph4LLM, including tree structures where reasoning thoughts are organized as nodes, directed acyclic graphs (DAG) that model multi-agent collaboration, and KGs that serve as external knowledge bases.
Graph formalization. Practically, graphs are represented via adjacency matrices, adjacency lists, or edge lists. For N = | V | nodes, the adjacency matrix A R N × N encodes connectivity ( A i j indicates the edge from i to j), while node features are stored in X R N × d . These representations underpin most graph learning algorithms.
Knowledge graphs. Knowledge graphs (KGs) [11] represent factual knowledge as structured triples ( h , r , t ) , where h , t are entities and r denotes the relation between them. By capturing semantic relationships, KGs are pivotal for reasoning and question answering. Common learning techniques include embedding methods that map entities and relations into continuous vector spaces while preserving relational constraints.
Graph neural networks. Graph neural networks (GNNs) [110] are a family of neural models designed to learn representations from graph-structured data. The core idea of GNNs is message passing, where each node iteratively aggregates information from its neighbors to update its representation [111]. A generic message-passing layer can be written as:
h v ( k ) = ϕ ( k ) h v ( k 1 ) , u N ( v ) ψ ( k ) h u ( k 1 ) , e u v .
Here, h v ( k ) is the representation of node v at layer k, and N ( v ) denotes its neighbors. e u v represents edge attributes. ψ ( k ) computes messages from neighbors, ϕ ( k ) updates the node by aggregating messages and its previous state, and ⨁ is a permutation-invariant aggregation (e.g., sum, mean, or max). Representative GNN architectures include GCNs [112], GATs [113], and GraphSAGE [114].

2.2. Large Language Models

Large language models (LLMs) [1,2,3] are a class of neural language models trained on massive text corpora to learn general-purpose linguistic and reasoning capabilities. Typically based on the Transformer [4] architecture, LLMs model token sequences via conditional probability and are trained with autoregressive objectives. Through large-scale pretraining, LLMs exhibit strong abilities in natural language understanding and generation. These capabilities are realized through various technologies at each phase of the LLM pipeline, as illustrated in Figure 3.
Input phase. The input phase acts as a bridge between raw task requirements, external knowledge, and the LLM’s sequential processing paradigm. Key techniques include prompt engineering [1], which designs prompts to guide in-context learning and align its behavior with specific task goals. Retrieval-augmented generation (RAG) [115] is another key technique. It retrieves task-relevant knowledge from external databases and incorporates it into the input prompt, reducing reliance on parametric memory and mitigating factual hallucinations. Additionally, instruction tuning [116] and supervised fine-tuning (SFT) [117] with curated datasets help LLMs capture the semantic and structural features of input information across downstream tasks.
Model phase. The underlying technologies in the model phase are mainly based on the Transformer architecture and its extended optimizations, as well as the collaborative mechanisms of multiple models. For an individual LLM, the focus lies on enhancing its parametric memory and structural adaptability. Techniques such as parameter-efficient fine-tuning (PEFT) techniques [118,119] can be viewed as lightweight modules that adapt internal representations without changing the weights of core models. For multiple LLM collaboration, LLM-based multi-agent systems (MAS) [6,7] have emerged as a key extension. They coordinate interactions between multiple LLMs through structured communication and enable task decomposition by defining agent roles and interaction rules.
Output phase. The output phase of LLMs focuses on generating coherent and task-relevant text from latent representations. Beyond simple next-token prediction, various techniques guide the generation process to improve reasoning quality. Reasoning methods [120], such as Chain-of-Thought (CoT) [121], encourage the model to generate explicit intermediate steps, improving performance on tasks requiring multi-step inference or logical deduction. These capabilities enable LLMs to handle complex tasks including multi-hop question answering, mathematical/logical reasoning, and causal inference. Building on this, planning techniques further extend generation from reasoning traces to structured action sequences. LLM planning methods [122] decompose goals into sequences of interdependent sub-tasks, allowing models to generate coherent plans rather than isolated responses. By decomposing complex tasks into manageable steps, planning supports tool use, workflow design, and strategic decision-making, leading to more accurate and executable results.

2.3. Graph4LLM

Graph4LLM refers to a class of methods that explicitly integrate graph structures into LLM–centric systems in order to enhance reasoning, knowledge utilization, and reliability. In this survey, we use Graph4LLM as an umbrella term to denote methods where graphs are not merely auxiliary data formats, but play a functional role in the overall system design and inference process.
At a high level, a Graph4LLM system consists of three core components: graph construction, graph–LLM interaction, and task execution. First, graph construction defines how structured representations are built. These graphs may encode entities and relations, intermediate reasoning states, agent interactions, or task dependencies. Second, graph–LLM interaction specifies how the graph is incorporated into the LLM workflow, including how graph information is queried, updated, or used to guide generation. Third, task execution describes how the combined system generates final outputs, potentially involving iterative reasoning, verification, or multi-step decision making.

3. Input Phase

The input phase of LLMs involves processing raw text, which is typically fed in a sequential manner. Graph4LLM input-phase methods extract knowledge from graphs or use them to index and organize text content. In this section, we categorize these methods based on the source of the graph structure (as shown in Figure 4): Prompt from Knowledge Graph, which utilizes pre-existing KGs; Prompt from Corpus-Level Graph, which constructs a global graph index from the text corpus; and Prompt from Instance-Level Graph, which induces ad-hoc structures based on specific input instances to guide generation.

3.1. Prompt from Knowledge Graph

Prompt from Knowledge Graph methods integrate existing KGs into LLM prompting pipelines to provide structured and reliable knowledge support. These methods rely on task-agnostic KGs and typically fall into two categories: Graph-Enhanced Instruction Tuning, which collects training data from KG facts and relations, and Graph-Retrieval Augmented Generation (Graph-RAG), which treats KGs as external knowledge databases for structured retrieval.

3.1.1. Graph-Enhanced Instruction Tuning

Graph-Enhanced Instruction Tuning modifies LLM parameters to better align internal representations with KG structures. This is achieved by constructing structure-aware instruction tuning data. Such data introduces explicit relational and logical information into training, enabling the model to generalize to more complex scenarios. Existing methods differ mainly in how training data are derived and formatted from KGs.
A line of work derives supervision signals from formal query languages (e.g., SPARQL), where KG reasoning processes are explicitly expressed as executable queries. To address low-resource knowledge graph question answering (KGQA), GAIL [103] employs Generative Adversarial Imitation Learning to fine-tune LLMs on synthetic data. This data is generated by translating sampled SPARQL queries into natural language to approximate real query distributions. ChatKBQA [102] reduces the syntactic complexity of graph query languages by fine-tuning LLMs to translate natural language questions into intermediate logical forms, rather than directly generating SPARQL queries. This semantic parsing paradigm effectively reduces syntax errors and improves query execution.
Another line of work avoids explicit query languages and instead constructs training data by directly traversing KG structures, such as subgraphs, neighborhoods, or paths, to capture relational patterns. GLaM [104] initiates this by transforming domain-specific KGs into text-based Q&A pairs. Graph neighborhoods are linearized into natural language to construct instruction tuning data. KG-SFT [105] uses subgraph extraction to identify relevant reasoning structures and generate explanations for each Q&A pair. It incorporates a knowledge conflict detector to filter unreliable paths, thus improving the model’s ability to handle complex relational knowledge during reasoning. Expanding from local subgraphs to global topology, CoFine [106] leverages KG community structures for fine-tuning. It partitions the graph into semantically homogeneous clusters using algorithms like Louvain [123]. Then, it utilizes random walks to capture relational chains within each community, converting these paths into chat-based interactions as training data that expose deep thematic patterns to the LLMs.

3.1.2. Graph-Retrieval Augmented Generation

Building on the same goal of leveraging KG structure, Graph-Retrieval Augmented Generation differs by keeping LLM parameters unchanged. It retrieves task-relevant subgraphs and leverages graph topology to support evidence-based reasoning in real time. Existing methods mainly differ in their retrieval and reasoning strategies to construct effective prompts.
One line of work treats the KG purely as a structured evidence source, focusing on retrieving relevant facts and feeding them to the LLMs while leaving all reasoning to the model itself. KAPING [95], for instance, retrieves relevant facts from KGs for the input question, prepends these facts to the question as a prompt, and feeds them to off-the-shelf LLMs for zero-shot KGQA. For unified reasoning over diverse structured data, StructGPT [96] designs specialized interfaces for KGs, tables and databases to extract evidence. It iterates an invoke-linearization-generation procedure, letting LLMs focus on reasoning to reach the answer. MindMap [97] retrieves multi-hop and neighborhood evidence from KGs, converts these subgraphs into natural language “mind maps”, and feeds them as prompts to guide inference. To address the trade-off between retrieval efficiency and effectiveness, SubgraphRAG [98] employs a lightweight multi-layer perceptron (MLP) with parallel triple-scoring to flexibly retrieve structure-aware subgraphs for zero-shot LLM reasoning.
In contrast, another line of work treats KGs not only as evidence but also as active guides that steer or constrain the reasoning process of LLMs. ToG [99] tightly couples LLMs with KGs by allowing the model to dynamically explore reasoning paths. It uses beam search over KG triples, enabling the LLMs to evaluate and prune paths in real time for optimal reasoning. RoG [100] frames reasoning as KG-grounded relation path planning: it first prompts the LLMs to generate relation-only templates, then retrieves matching entity paths from the KGs to ensure interpretable inference. To further enhance reliability, KGR [10] introduces iterative KG-based verification, treating KGs as an external fact checker that corrects LLM outputs across multiple rounds to reduce hallucinations. GNN-RAG [101] utilizes GNNs to process KG subgraphs, assigning relevance weights to nodes and extracting shortest paths to potential answer candidates. These paths are then verbalized as context for LLM RAG reasoning, with the system offering optional retrieval augmentation and routing.

3.1.3. Discussion

Prompt from Knowledge Graph methods provide LLMs with explicit factual and relational knowledge from curated sources. This helps the model ground its reasoning on reliable facts, improves performance on knowledge-intensive tasks, and makes the reasoning process more interpretable by exposing entity–relation structures.
However, these methods face challenges that are closely tied to the nature of KGs. KGs are often incomplete, inconsistent, or outdated, which can directly mislead the model. Aligning KG structures with natural language inputs is also non-trivial, as symbolic relations do not always match how information is expressed in text. In addition, retrieving useful subgraphs requires understanding both the query intent and the graph structure, which is difficult when relations are complex or sparsely connected.
Future work should focus on improving the alignment between structured knowledge and natural language understanding. Developing methods that can automatically detect and resolve inconsistencies in KGs will be important for reliability. More intelligent retrieval mechanisms that consider both semantic meaning and graph structure could help select truly relevant knowledge. Another direction is to enable continuous updating of KGs so that models can stay consistent with evolving real-world information.

3.2. Prompt from Corpus-Level Graph

In contrast to Prompt from Knowledge Graph, Prompt from Corpus-Level Graph constructs corpus-specific graph indices over unstructured text collections rather than relying on existing KGs. In this setting, nodes correspond to documents, entities, or concepts extracted from the corpus, and edges encode semantic or structural relations. Such graph indices enable LLMs to efficiently locate the associated textual content.
Traditional RAG methods often struggle with queries that require global understanding of the corpus. To address this limitation, recent work explores hierarchical structures for global information aggregation. GraphRAG [86] targets query-specific summarization over massive private corpora by constructing an entity KG from source documents. Crucially, the graph is partitioned into groups of closely related entities (communities) via community detection. Hierarchical summaries are then generated through a two-stage process: the system first prompts the LLMs to generate partial responses for each community, and subsequently synthesizes these into a cohesive global answer. RAPTOR [87], on the other hand, constructs a bottom-up hierarchical tree by recursively embedding, clustering, and summarizing text chunks. During inference, it retrieves directly from multiple abstraction levels within this tree, enabling the seamless integration of global themes and local details for complex reasoning. Despite these advances, hierarchical aggregation may still introduce retrieval redundancy, increase token usage (longer reasoning chains), and reduce control over intermediate summarization errors.
Recent work has shifted the focus from merely organizing information to optimizing the specific pathways and efficiency of the retrieval process. These methods seek to progressively exploit and reuse graph structures to improve generation efficiency while substantially reducing retrieval noise. LightRAG [88] employs graph-enhanced indexing and a dual-level retrieval paradigm to capture complex entity dependencies, enabling simultaneous low-level local and high-level global queries. Its incremental update algorithm ensures seamless data integration without costly full-graph reconstruction. Similarly, G-Retriever [89] formulates retrieval as a Prize-Collecting Steiner Tree optimization. It extracts compact subgraphs to reduce context length and mitigate hallucinations. Drawing inspiration from mammalian memory, HippoRAG [90] and its successor HippoRAG 2 [91] employ a neuro-symbolic approach that combines LLM extraction with Personalized PageRank, propagating relevance to diffuse relevance signals across KGs. To overcome domain-specific constraints, GFM-RAG [92] trains a general graph foundation model (GFM) [124] through a two-stage process on massive datasets comprising 60 KGs and 700k documents to learn transferable topological representations. PathRAG [93] directly targets retrieval redundancy by using flow-based pruning to extract critical relational paths, converting them into structured prompts that enhance logical coherence.

3.2.1. Discussion

Prompt from Corpus-Level Graph methods organize large text collections into structured graphs, allowing LLMs to navigate information beyond linear context windows. By capturing both local connections and global structure, these methods help the model retrieve more coherent and relevant information for complex queries.
A key challenge in this setting lies in the construction and abstraction of graphs from raw text. Hierarchical structures often introduce redundant information across different levels, which increases token usage and slows down inference. Errors from intermediate steps such as clustering and summarization can also propagate and affect final outputs. At the same time, methods that aggressively optimize retrieval may simplify the graph too much, for example, through excessive pruning or compression, causing important context to be missed. Achieving a good balance between global coverage and local precision is difficult in practice.
Future work can focus on improving how corpus information is structured rather than simply making construction more efficient. Better methods are needed to preserve important details during abstraction while still enabling scalable retrieval. Designing adaptive graph structures that can reorganize based on query intent may also improve performance. Another promising direction is to jointly optimize graph construction and retrieval, so that the structure directly supports downstream usage instead of being built independently.

3.3. Prompt from Instance-Level Graph

Unlike the previous two paradigms, Prompt from Instance-Level Graph does not rely on pre-built KGs or corpus-level indices. Instead, it constructs graphs on the fly for each input instance, transforming a logically complex query into a structured representation. This graph is then linearized into semi-structured text, preserving structure while staying compatible with standard LLM inputs.
Basically, graph structures are used to improve how models select and organize in-context examples. For example, GRL-Prompt [84] constructs a task-specific KG to encode correlations between the query and candidate demonstrations. A policy network, trained via reinforcement learning with reward shaping, selects and orders in-context examples to construct optimal prompts. By leveraging this instance-driven, structured approach, the framework can identify informative examples and arrange them effectively.
Beyond example selection, graphs are further used to expose and guide the reasoning process. Instead of treating reasoning as implicit token generation, these methods explicitly organize intermediate logic. To address chronological confusion in narrative understanding, TG-LLM [82] converts textual narratives into temporal graphs to enhance the learning of temporal dependencies. This structured representation allows the model to reason over diverse temporal concepts through strategies such as CoT bootstrapping and graph data augmentation. Similarly, RwG [83] constructs explicit graphs directly from the context to bridge information gaps in logical reasoning tasks. By structuring implicit knowledge into pairwise entity relationships, the framework enhances the ability of LLMs to understand multi-hop dependencies and implicit connections.
At a larger scale, graph structures become a way to organize the entire reasoning workflow. Rather than optimizing individual prompts or reasoning steps, these approaches treat graphs as a global control mechanism. SGP [85] provides a task-agnostic three-stage prompting framework that directs models to convert unstructured text into graph representations, plan navigation strategies, and execute reasoning by traversing the graph step by step. This decomposition enables more controllable multi-step reasoning across diverse natural language scenarios. For extreme long-context challenges, GraphReader [81] structures extensive documents into navigable graphs to facilitate processing. Instead of feeding the entire document into the model, the framework deploys an autonomous agent that iteratively explores the graph in a query-guided manner. This mechanism allows the model to handle massive contexts up to 256k tokens while operating within a limited 4k context window, demonstrating superior performance on various long-text benchmarks.

3.3.1. Discussion

Prompt from Instance-Level Graph methods dynamically construct structured representations for each input, organizing complex relationships such as temporal, logical, or dependency connections. This helps the model better understand how different pieces of information are related, especially in long or interdependent inputs, leading to more informed decisions.
The main challenge here lies not only in efficiency but also in reasoning stability. Since the graph is built on the fly, small mistakes in early steps, such as missing nodes or incorrect relations, can quickly affect later decisions. This makes the overall process sensitive to noise and difficult to debug. In addition, different tasks may require very different graph structures, and there is no clear standard for how these graphs should be constructed, which limits generalization across tasks.
Future work should focus on making instance-level graph reasoning more stable and adaptive. Methods that can verify or refine intermediate graph structures during reasoning could help reduce error accumulation. It is also important to develop more unified frameworks that can flexibly adjust graph structures without heavy task-specific design. Finally, integrating lightweight feedback mechanisms into the reasoning loop may help the model actively correct itself and improve robustness.

4. Model Phase

The model phase of LLMs concerns both the internal architecture of the model and the way multiple agents collaborate. Graph4LLM model-phase methods introduce graph structures as explicit relational priors that complement the sequence-centric inductive bias of LLMs. Existing methods can be broadly categorized into two paradigms (as shown in Figure 5): Single Model, where graph modules are integrated into one LLM backbone with varying depth of fusion, and Multiple Models, where graphs specify or learn the communication topology and task dependencies among multiple models/agents.

4.1. Single Model

In the field of graph-enhanced single model, the core goal is to integrate structured graph signals within the LLM framework. This aims to improve the model’s ability to process relational and structural information within a unified architecture. Broadly, existing strategies can be grouped into two paradigms: External Graph Adapter, which adds graph encoders before LLMs to fuse graph features, and Internal Model Fusion, which embeds structural interactions deeply into the model’s layers for bidirectional influence.

4.1.1. External Graph Adapter

External Graph Adapter aims to inject structural signals through auxiliary graph encoding modules, while keeping the LLM backbone parameters (e.g., multi-head attention and feed-forward layers) largely frozen or only lightly fine-tuned. These methods typically employ dedicated graph encoders (e.g., GCNs, GATs) to encode graph topologies, and subsequently map the structured features into the natural language representation space of the LLM through lightweight projection or adaptation mechanisms. Existing works exhibit high diversity in specific feature alignment and projection mechanisms.
A dominant line of work encodes graphs into dense embeddings and injects them into LLMs through lightweight projection or adaptation modules, without explicitly preserving graph topology. KoPA [76] introduces a Knowledge Prefix Adapter that projects KG-derived embeddings into virtual tokens prepended to the prompt, enabling structure-aware reasoning through prefix conditioning. GraphAdapter [78] extends this strategy to text-vision settings by constructing a dual KG over textual and visual structures, and injecting cross-modal structural knowledge via a textual adapter to improve downstream classification. In domain-specific scenarios, MolCA [79] aligns molecular graphs with text via a cross-modal projector (e.g., Q-Former) and employs lightweight low-rank adaptation (LoRA) for model optimization.
In contrast, recent approaches aim to preserve graph topology more explicitly when interfacing with LLMs. To mitigate LLM hallucinations, FtG [77] adopts a filter-then-generate framework, formulating KG construction as a multiple-choice task. It further uses ego-graph serialization and a structure-text adapter to better align topology with text. Graph Tokenization [80] advances the interface to the vocabulary level by introducing reversible graph serialization and graph byte pair encoding (BPE), enabling the learning of structure-aware tokens without breaking subgraph connectivity. This allows standard Transformers to process graph structures similarly to text, without modifying the backbone model.

4.1.2. Internal Model Fusion

In contrast to External Graph Adapter that remains at shallow alignment, Internal Model Fusion advocates breaking the architectural boundary between LLMs and GNNs, embedding graph structure interaction mechanisms into the internal computational layers of the LLM. A common design interleaves Transformer layers with GNN-style message passing or introduces cross-stream modules for bidirectional exchange between token and graph layers.
A highly representative fusion strategy involves constructing explicit layer-wise interleaving and bidirectional interaction modules. GreaseLM [71] interleaves pretrained language model (PLM) and GNN layers to enable iterative exchange between token and graph representations, achieving bidirectional grounding between language context and structured knowledge. Similarly, GraphFormers [72] binds Transformer and GNN modules layer by layer, injecting neighborhood aggregation after each layer to progressively enhance structure awareness.
Beyond such layer-wise coupling, another line of work internalizes graph signals by modifying the self-attention mechanism. GIT [8] introduces a graph-induced attention mechanism that encodes graph connectivity and shortest-path distances as attention patterns. This injects structural inductive biases into the Transformer, encouraging the model to prioritize topologically closer entities during attention computation.
Furthermore, some works explore internal graph routing and fusion mechanisms within the model. GNNavi [73] adopts a lightweight yet effective strategy by inserting a small number of GNN navigation layers into a frozen LLM decoder, where prompt-induced temporary graphs act as routing signals to guide message passing and regulate information flow in few-shot scenarios. KG-Adapter [74] extends internal fusion to decoder-only LLMs by introducing a dedicated adapter that encodes both node-centric and relation-centric knowledge, performing structural integration before each attention computation. At the pre-training level, Patton [75] learns structure-aware representations by jointly modeling text and large-scale network links, implicitly encoding topology into the foundation model.

4.1.3. Discussion

Single-model methods directly integrate graph structure into the internal computation process of a model. This allows the model to learn structured representations together with language understanding in one unified system. As a result, the model can better capture relational information and improve reasoning on tasks that depend on structured inputs, without relying heavily on external retrieval or extra prompting.
At the same time, these methods face several practical challenges. External adapters often rely on projecting graph features into the text space, which can weaken structural signals when graph structures become complex. Internal fusion methods introduce additional components such as GNN layers or modified attention mechanisms, increasing model complexity and training cost. This makes them harder to scale and deploy. Compatibility is another concern, since different graph types and tasks may require different designs, limiting generalization. When graph and language representations are tightly coupled, it also becomes more difficult to identify and analyze errors.
Future work can focus on designing more efficient ways to integrate graph structure without adding significant computational overhead. Improving how structural information is preserved during alignment will help maintain important graph signals. More flexible model designs are needed so that a single framework can handle different graph types and tasks. It is also promising to explore hybrid strategies that combine lightweight adaptation with selective deeper integration. Finally, better pre-training approaches with diverse graph and text data may help models learn more general and robust structural patterns.

4.2. Multiple Models

Unlike single-model methods, graph-enhanced multiple models leverage graphs to coordinate interactions, communication flows, and task dependencies across multiple models or agents. These methods are categorized into Static and Dynamic Topology. Static Topology relies on predefined graph structures to ensure controllable orchestration and reduce redundant communication. Dynamic Topology, by contrast, adapts the graph at runtime through learning, pruning, or generation mechanisms, providing greater flexibility and responsiveness in multi-agent collaboration.

4.2.1. Static Topology

Static Topology uses a fixed collaboration graph to define communication links and artifact flows in multi-agent systems. The graph is predefined based on human priors or task logic (e.g., directed acyclic pipelines, hierarchical structures, or fixed role graphs), focusing on optimizing message passing and role execution. Within this paradigm, existing methods mainly differ in the source of the predefined collaboration graph.
Task-dependency graphs (TDGs) are a core application of static topology. In multi-step reasoning or code generation, tasks often follow a strict sequential order. FLORA [66] abstracts agent workflows into a DAG, using graph message passing to efficiently evaluate and predict multi-agent collaboration. To improve scalability, MACNET [67] organizes hundreds or thousands of LLM agents into a topologically sorted DAG, allowing unidirectional message passing to support asynchronous parallel collaboration and avoid the communication explosion of fully connected architectures. S-DAG [68] extends this to cross-disciplinary problem solving by pre-constructing a subject-based DAG across multiple knowledge bases and statically assigning expert models along with their derivation sequences.
Beyond task-flow-based partitions, static topologies also frequently manifest as predefined social role networks. CAMEL [69] adopts a hard-coded binary role interaction pattern, achieving highly enclosed autonomous exploration mechanisms through a pre-set “AI User” and “AI Assistant” role graph. TAPE [70] utilizes hierarchically structured preset collaboration trees, establishing strict top-down communication links between high-level planners and low-level executors.

4.2.2. Dynamic Topology

Addressing the rigidity of Static Topology in open-domain tasks, Dynamic Topology uses a variable collaboration graph that can be learned or generated at runtime. These methods allow agents to dynamically adjust connections based on current inputs, states, or feedback, offering greater flexibility in multi-agent coordination. Existing methods mainly differ in how and when the collaboration structure is adjusted or constructed.
One representative line of work focuses on graph topology sparsification and communication cost optimization. AgentPrune [59] learns to remove redundant edges from dense interaction graphs, showing that sparse topologies can reduce API costs while even improving decision accuracy by filtering noise. GPTSwarm [60] further treats agents and their connections as a differentiable system, jointly optimizing node prompts and edge-level data flow to discover task-specific graph structures during execution.
Another important line of work emphasizes instant graph generation and selection based on input sample features. AMAS [61] is based on the observation that there is no one-size-fits-all optimal communication topology for different input samples within the same dataset. Therefore, it constructs a dynamic graph selector that adaptively picks the most suitable collaboration graph structure from a pre-maintained pool of candidate topologies upon receiving a new input. DyLAN [62] focuses on evolution during the execution process, dynamically evaluating the current contribution scores of each agent across multiple rounds of reasoning, selectively culling marginal nodes and rewiring core nodes in real-time. In the domain of inference-time structure generation, Graph-of-Agents (GoA) [63] breaks the limitations of traditional single-thread dialogues by dynamically instantiating agents and establishing graph connections, achieving massive nonlinear context extension. Recent frameworks like CARD [64] and AgentNet [65] have also systematically explored how to leverage the LLMs’ own meta-reasoning capabilities to allocate role nodes and automatically construct interaction networks on the fly during runtime.

4.2.3. Discussion

Multi-model methods use graph structures to coordinate multiple agents, where the graph defines how agents communicate, share information, and split tasks. This turns the system into a collaborative network rather than a single-model reasoning system. Such designs are effective for complex problems because they allow parallel processing, flexible role assignment, and better handling of long or multi-step workflows. They are especially useful when different subtasks require different expertise.
However, this setting also introduces new challenges. Designing an effective collaboration structure is not straightforward, as static graphs may be too rigid for open-ended tasks, while dynamic graphs can be unstable and harder to control. Communication overhead becomes a key issue when many agents are involved, especially if messages are not well filtered. Coordination errors may arise when agents have inconsistent views or produce conflicting outputs. In addition, dynamically adjusting the graph requires extra computation and reliable signals for decision-making, which is still difficult in practice. Evaluating these systems is also challenging, since performance depends not only on individual agents but also on their interactions.
Future work can focus on improving the balance between structure and flexibility, so that systems remain stable while adapting to different tasks. More efficient communication strategies are needed to reduce unnecessary message passing. Better mechanisms for conflict resolution and coordination will help maintain consistency across agents. It is also promising to explore learning-based approaches that can automatically design and refine collaboration graphs over time. Finally, developing clearer evaluation frameworks may provide better insights into how multi-agent interactions contribute to overall performance.

5. Output Phase

The output phase of LLMs generates text sequences based on the internal representation and the received context. Graph4LLM output-phase methods represent LLM responses as graphs to clarify the thinking process, enabling more structured and verifiable outputs. We categorize existing methods into three directions based on the function of the graphs (as shown in Figure 6): Reasoning, which represents and traverses intermediate inference states; Planning, which organizes multi-step decision making and action sequences; and Evaluation, where graphs serve as structured references for verifying and scoring generated content.

5.1. Reasoning

Graph-based reasoning uses graph structures to organize reasoning thoughts as relationships and dependencies between entities, improving the clarity and interpretability of model outputs. Methods in this category fall into two primary categories: Reasoning Based on Node Summarization, which consolidates information around key nodes to guide reasoning, and Reasoning Based on Path Exploration, which performs reasoning by selecting and traversing paths in a structured space.

5.1.1. Reasoning Based on Node Summarization

Reasoning Based on Node Summarization organizes the reasoning process around central nodes that aggregate information from multiple steps. Each node acts as an information hub, condensing partial conclusions. The reasoning process converges to a final node where relevant information is summarized and synthesized into the output. Existing methods differ mainly in how reasoning nodes are structured and updated.
At the structured reasoning level, several methods adopt hierarchical or tree-based organizations to iteratively refine node summaries. THOUGHTSCULPT [54] adopts a search-driven formulation within a Monte Carlo tree search (MCTS) framework. It integrates a thought generator, an evaluator, and a decision simulator, while iteratively revising node-level summaries. RATT [55] similarly leverages tree-structured reasoning, but emphasizes path evaluation and branch selection, using node representations to identify promising reasoning trajectories.
Beyond explicit tree structures, node summarization can be extended to more flexible graph-based or compositional reasoning paradigms. CR [58] organizes intermediate propositions into a dynamically constructed DAG, where nodes represent verified reasoning units. Through a proposer, a verifier, and reporter roles, it incrementally validates and aggregates node-level conclusions, enabling reliable accumulation of evidence toward the final output. GoL [57] further enhances this paradigm by incorporating symbolic logic, with nodes encoding logical statements and edges capturing formal inference relations. By enforcing precise logical rules during updates, it improves faithfulness and supports systematic hallucination detection while remaining scalable. GoT [56] generalizes this paradigm by modeling dependencies among thoughts, organizing reasoning as a graph where nodes represent units of information and edges encode inter-thought relations. This enables flexible thought transformations, including aggregation of multiple reasoning paths, refinement via feedback loops, and distillation of key insights from interconnected thought networks.

5.1.2. Reasoning Based on Path Exploration

By comparison, Reasoning Based on Path Exploration frames reasoning as a traversal over multiple candidate paths. Information is not centralized at a single node but distributed along a path. Each node on the path corresponds to an independent action or intermediate decision. The final output is constructed by accumulating information along the selected path. Existing methods mainly differ in how paths are generated and selected during exploration.
A line of existing methods instantiates path exploration over tree-structured spaces, where reasoning proceeds by branching and selecting among alternative trajectories. ToT [9] models reasoning as a tree, exploring branches and selecting promising trajectories. SoT [48] improves efficiency with a skeleton-first strategy, generating concise outlines that are later expanded in parallel. LATS [49] incorporates MCTS to support long-horizon decision making, enabling systematic exploration of combinatorial reasoning–action spaces and unifying reasoning, acting, and planning. XoT [50] augments MCTS with pretraining signals and external knowledge, allowing more informed traversal of reasoning paths. PGTS [51] integrates reinforcement learning with tree search, learning to balance exploration and exploitation via reward optimization instead of relying on hand-crafted heuristics or costly self-evaluation.
In contrast, recent methods move beyond the tree-structure constraint and generalize path exploration to graph-structured spaces, enabling richer dependencies beyond single trajectories. SaGoT [52] constructs a thought graph during decoding via a graph-structured self-attention mechanism, allowing reasoning steps to form flexible interconnections rather than being restricted to a single path, thus implicitly guiding exploration through inter-step dependencies. DAG-Math [53] instead imposes a directed acyclic graph structure over reasoning trajectories, where nodes represent intermediate states and edges encode rule-based transitions, constraining valid paths to follow structured derivations and enabling more faithful and controllable reasoning.

5.1.3. Discussion

Graph-based reasoning introduces structure into the reasoning process, making intermediate steps more organized and easier to track. This structured organization helps models handle multi-step problems more reliably, as information can be accumulated, compared, or refined in a controlled way. It also makes the reasoning process more transparent, which is useful for understanding model behavior and diagnosing errors.
At the same time, several challenges limit its effectiveness. Node-based methods rely heavily on accurate summarization, and early mistakes can affect all later steps. Path-based methods face a large search space, which can lead to high computational cost or inefficient exploration. Controlling the trade-off between exploration and correctness is still difficult, especially when many possible reasoning paths exist. In more flexible graph settings, dependencies between steps can become complex, making it harder to maintain consistency. Another issue is that structured reasoning often requires additional design choices, such as how to define nodes, edges, or update rules, which may not generalize well across tasks.
Future work can explore more efficient ways to manage the reasoning process, such as reducing unnecessary paths or improving the quality of intermediate summaries. Better strategies for guiding exploration may help models focus on more promising reasoning directions. It is also important to design more general frameworks that can adapt to different tasks without heavy manual design. Combining node-based and path-based reasoning in a unified approach may further improve flexibility and performance. Finally, improving how reasoning structures are aligned with model outputs could make results both more accurate and easier to interpret.

5.2. Planning

Building on reasoning capabilities, graph-based planning focuses on task organization rather than performing step-by-step inference. It leverages graphs to organize and manage interdependent goals, tasks and actions, enabling LLMs to handle complex multi-step tasks through plan executions. Existing methods mainly differ in how they use graphs for task decomposition and execution.
A common perspective models planning as a hierarchical structure, starting with methods that emphasize structural decomposition. In these approaches, high-level goals are decomposed into sub-tasks represented as graph nodes, where edges explicitly capture logical and temporal dependencies. Typically, RAP [43] treats graphs as task decomposition tools, with nodes as sub-tasks and edges encoding dependencies. GNNs support sub-task retrieval and execution, while the same LLM serves dual roles: generating potential actions and predicting resulting states to evaluate progress through reward functions. GNN4TaskPlan [44] formulates task planning as a graph-based decision-making problem, using learned representations to guide sub-task selection and execution. Following this line of work, ControlLLM [45] introduces the Thoughts-on-Graph paradigm, which searches for optimal paths on tool graphs modeling parameter and dependency relations, while supporting the decomposition of complex tasks for multimodal execution.
While the aforementioned methods focus on establishing a blueprint, a more adaptive paradigm has emerged that treats graphs as active feedback structures. Rather than relying on static representations, these approaches emphasize the model’s ability to revise, backtrack, or expand plans based on real-time environmental feedback. PoG [46] uses graphs as feedback structures during planning. Unlike conventional approaches that rely on fixed exploration breadth or unidirectional reasoning, PoG adopts a self-correcting planning mechanism. It incrementally constructs and updates multi-level sub-goal graphs to detect deviations and enable correction through three components: Guidance, Memory, and Reflection. In robotic task planning, recent work by Sakib and Sun [47] utilizes graphs as execution-oriented interfaces. Multiple GPT-4–generated task trees are consolidated into a unified plan, which is then converted into executable low-level actions through cost-aware selection and symbolic planning.

5.2.1. Discussion

Graph-based planning organizes goals, sub-tasks, and their dependencies into structured plans, helping models manage complex workflows in a more systematic way. This structure supports clear task decomposition, explicit dependency management, and coordinated execution across multiple steps. It is particularly useful for long-horizon tasks, where maintaining a consistent execution order and adapting plans based on feedback are critical.
Several challenges remain in practice. Designing a good task structure is difficult, as an incorrect decomposition can lead to inefficient or even failed execution. Plans that rely on fixed structures may lack flexibility when the environment changes, while adaptive methods introduce additional complexity and may become unstable. Keeping track of dependencies across many sub-tasks can also be challenging, especially when tasks interact in non-trivial ways. In addition, planning often depends on accurate predictions of future outcomes, and errors in these predictions can lead to poor decisions during execution.
Future work can focus on making planning more robust and adaptive without adding too much computational overhead. Better methods for automatic task decomposition could reduce the need for manual design. Improving how models update plans based on feedback will help them recover from mistakes more effectively. It is also promising to explore tighter connections between planning and execution, so that plans remain aligned with real outcomes. Finally, combining planning with stronger reasoning and memory mechanisms may further improve performance on complex, long-term tasks.

5.3. Evaluation

Unlike reasoning and planning, graph-based evaluation focuses on assessing LLM outputs. It uses graph structures to capture richer associations among entities, facts, and sentences. Specifically, evaluation methods can be categorized into two main types: Factuality Evaluation, which assesses the accuracy and reliability of generated content through explicit entity and relation modeling; Logicality Evaluation, which measures logical coherence and reasoning consistency using graph-based relational representations.

5.3.1. Factuality Evaluation

Factuality Evaluation assesses whether LLM outputs are correct by modeling content as structured graphs to verify dependencies, propagate uncertainty, and detect inconsistencies. Existing methods mainly differ in the form of evidence they construct and how it is aligned with model outputs.
Some works focus on leveraging graph structures to model and reason about uncertainty for factuality evaluation. BTProp [34] formulates hallucination detection as probabilistic inference over a belief tree, jointly estimating latent claim truth via a hidden Markov tree conditioned on logical relations and confidence signals. Chen et al. [35] model uncertainty propagation using entity- and sentence-level graphs, calibrating uncertainty through semantic dependencies and contradiction probabilities. From a global perspective, Jiang et al. [36] estimate claim uncertainty via graph centrality over bipartite generation–claim graphs, showing that higher-order metrics better capture global support than simple self-consistency. Similarly, Li et al. [37] construct consistency graphs over sampled outputs and apply GNNs to map uncertainty to correctness probabilities for robust factuality estimation.
Another line of work converts generated text into structured knowledge for fine-grained verification: GraphEval [38] represents responses as KG triples and evaluates them via graph traversal and natural language inference (NLI)-based reasoning, enabling interpretable localization of hallucinated facts. FactAlign [39] formulates hallucination detection as a KG alignment problem, supporting fact-level detection and intrinsic–extrinsic error classification without additional training. Domain-specific extensions such as FAITH [40] show that KG-based evaluation is particularly effective in high-stakes domains like healthcare, where interpretability and expert alignment are essential.
Graph structures are also leveraged for sample-based evaluation. GCA [41] constructs contextual KGs over multiple sampled outputs, modeling fact dependencies via relational graph convolution to improve alignment and consistency in long-form generation. FactSelfCheck [42] similarly represents responses as fact-level graphs and detects hallucinations through cross-sample inconsistency analysis, enabling more fine-grained and effective correction than sentence-level self-consistency.

5.3.2. Logicality Evaluation

At a higher level, Logicality Evaluation assesses the quality of reasoning in LLM outputs. It goes beyond factual correctness to examine semantic coherence, inferential structure, and the organization of logical transitions using explicit relational representations. Existing methods mainly differ in the stage and granularity of the structures they target.
Semantic-Eval [29] is a training-free framework for assessing reasoning quality via semantic comprehension rather than surface matching. It constructs semantic graphs from pairwise similarity and uses a graph-based weighting scheme (SemanticRank) to capture sentence-level contributions. A pretrained NLI model refines relations, producing scores better aligned with semantic coherence and human judgments. In a different modality, DiagramEval [30] abstracts LLM-generated diagrams into directed graphs, with elements as nodes and connections as edges. It evaluates logical soundness via node and path alignment, measuring whether relational structures preserve intended reasoning flow and dependencies.
Another line of work targets the explicit verification of reasoning processes. GraphReason [31] aggregates multiple reasoning paths produced by an LLM into a unified reasoning graph, merging shared intermediate steps across solutions. By applying a graph neural verifier over this merged structure, the method evaluates logical consistency across reasoning trajectories and selects solutions that exhibit stronger structural support, leading to improved reasoning accuracy without additional model training.
Beyond direct verification, graph-based representations are also employed to analyze and characterize reasoning behavior. Xiong et al. [32] cluster chain-of-thought outputs into semantic steps and construct directed graphs to analyze structural properties, showing that features like branching and convergence correlate with reasoning performance and prompting strategies. At a finer granularity, Minegishi et al. [33] propose Circuit-based Reasoning Verification. This method extracts attribution-based computational graphs from hidden states, revealing distinct structural patterns for correct versus incorrect reasoning and linking graph topology to reasoning outcomes.
Figure 7. A taxonomy of Graph4LLM Application.
Figure 7. A taxonomy of Graph4LLM Application.
Preprints 228372 g007

5.3.3. Discussion

Graph-based evaluation provides a structured way to assess LLM outputs by explicitly modeling facts, relationships, and reasoning processes. This makes evaluation more fine-grained, as it can check not only whether an answer is correct, but also where errors occur and how they propagate. Such structured analysis improves interpretability, supports more reliable hallucination detection, and allows evaluation to move beyond surface-level matching toward deeper semantic and logical assessment.
However, this line of work still faces several challenges. Constructing accurate graphs from generated text is not trivial, and errors in extraction can affect the reliability of evaluation results. Different methods rely on different forms of structure, such as triples, graphs over samples, or reasoning paths, which makes it hard to compare results across approaches. Modeling uncertainty and consistency across multiple outputs can also be computationally expensive. For logicality evaluation, capturing complex reasoning patterns in a clean and consistent structure is difficult, especially when reasoning steps are implicit or loosely expressed. In addition, many methods depend on external components such as NLI models or GNNs, which introduces extra complexity and potential sources of error.
Future work can focus on improving the robustness of graph construction from text, so that evaluation is less sensitive to extraction errors. More unified evaluation frameworks may help compare different methods and provide clearer benchmarks. Reducing computational cost while maintaining fine-grained analysis is another important direction. It is also promising to design evaluation methods that better align with human judgment, especially for complex reasoning tasks. Finally, combining factuality and logicality evaluation into a single framework may provide a more complete view of model performance.

6. Applications

Graph4LLM methods has been widely applied across diverse domains, substantially improving performance on both general and domain-specific tasks.

6.1. General Applications

6.1.1. Classic Natural Language Processing

Classic natural language processing (NLP) tasks provide a natural testbed for studying how graph structures can enhance LLMs. These tasks cover multiple linguistic levels, ranging from word-level semantics to sentence-level representations and sequence-level predictions [199]. In these scenarios, Graph4LLM methods leverage graph structures to encode domain knowledge and provide explicit guidance for model reasoning.
Word-level tasks. Word-level tasks focus on modeling token semantics and relationships, such as word sense disambiguation and lexical analysis. In these tasks, graphs encode lexical relations, co-occurrence structures, or KG connections, grounding token representations in explicit relational structures to enhance contextual understanding. Pons et al. [185] improve zero-shot entity disambiguation by leveraging KG hierarchies and entity descriptions to prune candidates and enrich prompts, reducing ambiguity while maintaining cross-domain adaptability. Similarly, Salman et al. [186] integrate LLMs with Wikidata, retrieving candidates via SPARQL and selecting the most appropriate entity through generative matching, combining symbolic retrieval with contextual reasoning for strong disambiguation without task-specific training.
Sentence-level tasks. Sentence-level tasks aim to capture holistic semantics, including classification, similarity, and entailment. By constructing graphs over syntactic or inter-sentence relations, these methods provide a structured context that enriches sentence-level embeddings. For example, Zou and Markov [187] combine BERT [200] embeddings with GNNs and augment node features using GPT-generated emotion descriptions, leveraging both contextual encoding and structural modeling for improved emotion recognition. SKG-LLM [188] injects sentiment KG priors by constructing graphs over product features and emotion categories, integrating graph-derived signals into prompt optimization with adaptive weighting, enabling more fine-grained sentiment classification.
Sequence tagging. Sequence tagging tasks require assigning labels to each token in a sequence, such as named entity recognition and part-of-speech tagging. Graphs model dependencies beyond linear order, such as syntactic or long-range relations, to enable more globally consistent predictions. GNN-SL [189] addresses long-tail labeling by constructing a heterogeneous graph that links input sequences with similar annotated examples, using GNNs to propagate label information for token-level prediction. For cross-domain settings, Zheng et al. [190] model label relationships as graphs in both source and target domains and integrate them into BERT representations, improving named entity recognition (NER) under label mismatch and data scarcity.
Information extraction. Information extraction aims to identify structured elements such as entities, relations, and events. Graphs represent elements and their interactions, enabling structured reasoning over complex text. GLiM [191] constructs dynamic entity-pair graphs to constrain the search space of potential entities and uses LLMs to recover missing relations under incomplete labeling. RePooL [192] models tokens, spans, and relations in a dual-view graph, supporting relation-aware composition and hierarchical validation. Extending to event-level extraction, GDLLM [193] introduces distance-aware event graphs to capture long-range temporal dependencies. Beyond text, Iranmanesh et al. [194] apply graph-based retrieval to structured industry foundation classes (IFC) data, enabling graph-guided extraction of object properties and relations.
Text generation. Text generation tasks include summarization, data-to-text generation, and question answering. Graphs act as planning or control structures to organize content, guide decoding, and enforce structural constraints. GRAFT [195] models discourse units as a DAG to maintain cross-sentence consistency in document-level translation. POMP [196] builds a dynamic meta-graph over auxiliary languages to guide prompting in low-resource translation. For long-context summarization, GoR [197] links retrieved chunks with historical responses to jointly refine retrieval and generation. HeterMDS [198] further constructs a heterogeneous graph over sentences, paragraphs, and documents to capture hierarchical structure for coherent multi-document summarization.

6.1.2. Code

Code-related applications focus on understanding, generating, and reasoning over program structures, where syntax, control flow, and semantic dependencies play a central role. Unlike natural language, source code exhibits structures such as abstract syntax trees, control-flow graphs, and call graphs. Graph4LLM methods leverage these structures to complement token-level representations, enabling more precise and context-aware code understanding and generation.
Function-level tasks. These tasks operate at the level of individual functions or snippets, including code summarization, completion, and defect detection. Graphs typically model intra-function structures such as syntax trees, data-flow, and control-flow dependencies, exposing execution logic and variable interactions. SCoT [176] introduces structure-aware reasoning by aligning chains of thought with program constructs (e.g., branches and loops), improving generation accuracy. GRACE [177] enhances vulnerability detection by injecting code graph structures into in-context learning, while GALLa [178] aligns LLM representations with graph-based semantics during training, incorporating structural information without inference-time overhead.
Repository-level tasks. These tasks consider entire codebases and model cross-file and cross-module relationships through graphs such as call graphs, dependency graphs, and module interaction graphs. CodePlan [179] treats large-scale code editing as a planning problem, constructing dependency-aware edit sequences across files. RepoGraph [180] builds a unified code graph to support repository-level reasoning, while RepoHyper [181] performs graph-based search and expansion to retrieve relevant code beyond local scopes. CodexGraph [182] enables explicit structure-aware querying via a graph database interface, and LocAgent [183] applies multi-hop reasoning over heterogeneous graphs to align queries with code entities. Finally, CGM [184] injects graph structures into the attention mechanism, enabling holistic reasoning without relying on agent-based interaction.

6.1.3. Table

Table-related applications focus on understanding and reasoning over structured data, including table interpretation, table question answering, and synthetic data generation. Unlike unstructured text, tabular inputs encode meaning through rows, columns, cells, and schema relations, and prior table-specific models such as TaBERT [201] have shown the importance of modeling such structures. Graph4LLM methods extend this line of research by converting tables and their associated schemas or evidence into graphs, enabling LLMs to better capture structural dependencies that are easily lost in naive row-wise serialization.
Table understanding and representation. These approaches aim to enable LLMs to capture the semantic and structural properties of tables through explicit graph-based encoding. In this setting, graphs represent relationships among cells, headers, and rows. HeGTa [168] uses a heterogeneous graph with multi-grained self-supervised objectives to align tabular structure with LLM parametric knowledge for few-shot table understanding. TabGLM [169] combines graph-encoded structural embeddings with text-based semantic features to learn transferable table representations across datasets. For metadata-oriented tasks, RACOON [170] injects triples from external KGs into the LLM context to improve column type annotation.
Table-based question answering and reasoning. These tasks require navigating complex schemas or multimodal contexts, where answers are often distributed across tables and external evidence. Graphs typically serve as reasoning scaffolds or unified indices for cross-table dependencies. GraphOTTER [171] structures LLM reasoning over tabular graphs via a “Thought-Action-Update” loop. For joint table-text reasoning, Hybrid-QA [172] constructs a unified graph linking cells and passages for subgraph-based answer discovery. In large-scale databases, SGAM [173] encodes schema-level relations such as foreign keys and derivation paths, while TUNES [174] integrates entity-oriented search to enable graph-based reasoning over complex tables.
Synthetic tabular data generation. These tasks explore how graph-guided constraints can improve the fidelity and downstream utility of generated records. KGSynX [175] models attribute dependencies with a KG and feeds graph-derived structure into the LLM during synthesis. It further uses explainable feedback to iteratively refine generated samples, helping preserve relational consistency and task-relevant utility in low-data settings.

6.2. Domain-Specific Applications

6.2.1. E-Commerce

E-commerce applications primarily rely on recommendation systems to match users with relevant products, making recommendation a central task in this domain. These systems model user preferences from historical interactions between users and items, where collaborative signals, high-order connectivity, and semantic contexts play a key role. Unlike free-form text, e-commerce data is naturally organized as bipartite or heterogeneous graphs that encode user behaviors, product attributes, and relational signals such as co-purchase or co-view patterns [202]. Graph4LLM methods leverage these structures to integrate graph-based interaction modeling with the semantic understanding of LLMs, yielding more accurate, explainable, and context-aware product recommendations.
Collaboration and behavior. These applications operate on user-item interaction graphs to capture community patterns and high-order collaborative filtering signals in e-commerce platforms. In this setting, methods align structural graph representations with LLM representations to address challenges such as data sparsity and weak ID semantics. ELMRec [161] uses graph-aware whole-word embeddings and propagated structural positions to improve high-order interaction modeling. GAL-Rec [162] strengthens collaborative semantics through graph-aware learning, while LLMRec [163] and LLM-AGR [164] use LLMs to supervise graph augmentation or restructuring before recommendation. Beyond representation learning, graph topology can also reshape the computational space. CORONA [165] constructs a structured retrieval space from user–item graphs with coarse-to-fine filtering, narrowing the search space and aligning generation with high-order collaborative signals.
Knowledge and reasoning. These applications incorporate structured knowledge and reasoning to support more interpretable and domain-aware recommendations in e-commerce. Graphs in this category encode explicit relations such as product attributes, category hierarchies, and user preferences, allowing LLMs to reason beyond interaction history. In conversational recommendation, COMPASS [166] uses knowledge-graph-augmented LLMs to perform explainable reasoning over user preferences by extracting and aligning preference subgraphs. For domain-specific scenarios, GLRec [167] combines heterogeneous graphs with LLM prompting to improve zero-shot understanding of structured signals.

6.2.2. Medicine

Medical applications require knowledge-intensive tasks like clinical question answering, drug discovery, and diagnosis support, where factual accuracy and multi-step reasoning are critical. Biomedical data is structured, including molecular networks, clinical records, and medical ontologies [156,158]. Graph4LLM methods leverage biomedical KGs for question answering and grounding [155,157], and multiscale molecular graphs for drug development. By incorporating structured knowledge into retrieval, reasoning, and generation, they mitigate factual drift, enhance interpretability, and improve the reliability of medical decision support.
Medical question answering and reasoning. Methods in this category focus on retrieving and reasoning over biomedical literature and knowledge bases to support reliable answer generation. Medical Graph RAG [155] uses graph-based retrieval to anchor LLM outputs in verified medical evidence and reduce hallucinations. KG-RAG [156] further incorporates graph structure into prompt construction to better align model responses with clinical knowledge. LLM-KGMQA [157] tackles this by augmenting LLMs with a medical KG for multi-hop question answering.
Drug discovery and molecular design. These applications focus on generating or reasoning over candidate molecules under biochemical and synthesis constraints. Llamole [158] incorporates retrosynthetic planning into multimodal LLMs for inverse molecular design, where chemical synthesis pathways serve as graph-structured constraints during generation.
Clinical diagnosis and healthcare analytics. These applications use patient data and clinical graphs to support diagnosis and healthcare analytics. Magic [159] activates graph reasoning in a multi-agent diagnostic workflow, allowing LLM agents to navigate structured disease evidence for liver disease diagnosis. Diet-ODIN [160] models dietary patterns and patient behaviors as interpretable graphs, showing how graph-enhanced LLM pipelines can support public health monitoring tasks such as opioid misuse detection.

6.2.3. Education

Education-related applications focus on tasks such as resource discovery, intelligent tutoring, and personalized learning path planning. Unlike general information retrieval, educational settings are structured by prerequisite relations, curriculum constraints, and heterogeneous learning resources [149,153]. Recent Graph4LLM methods use course KGs, learner knowledge component graphs, and graph-induced learning paths to support tutoring and recommendation [148,150]. When operating without explicit structure, standalone LLMs may produce responses that are pedagogically inconsistent or weakly aligned with curriculum requirements. By grounding tutoring and recommendation in educational graphs, Graph4LLM methods improve coherence, interpretability, and personalization.
Educational knowledge discovery and question answering. These tasks aim to provide students with curriculum-aligned answers by retrieving relevant structural context. In MOOCs, Abdelmagied et al. [148] navigate course-specific KGs in GraphRAG-based tutoring to keep LLM explanations consistent with the syllabus. In institutional settings, cross-data KG construction [149] unifies heterogeneous educational resources for question answering, while KG-CQ [150] uses educational KGs to support self-directed tutoring. AcademicRAG [151] further treats academic resources as a graph-enhanced retrieval problem, enabling multi-hop access to learning materials.
Personalized learning and cognitive modeling. These applications tailor educational content by modeling the structure of knowledge components and learner states. FOKE [152] integrates foundation models with KGs to provide explainable feedback aligned with a student’s cognitive profile. MAS-KCL [153] uses an agentic workflow to learn latent knowledge component graphs, and Wasnik and Shrivastava [154] integrate LLMs and KGs to build adaptive educational frameworks that adjust difficulty and content distribution based on the learner’s graph-encoded proficiency profile.

6.2.4. Finance

Financial applications focus on tasks such as market trend analysis, financial question answering, fraud or risk detection, and personalized financial services. Unlike standalone document analysis, financial settings rely on transaction graphs, inter-corporate relation graphs, event propagation structures, and dynamic market knowledge [141,142]. Recent Graph4LLM methods use these structures for market trend detection, financial retrieval, and graph-based risk analysis [144,145]. When processing financial data without explicit relational structure, standalone LLMs often miss systemic dependencies and weakly capture temporal propagation patterns. By combining graph-based market structure with LLM semantic reasoning, Graph4LLM methods provide more structured support for financial analysis and services.
Market trend analysis and event ripple effects. These tasks focus on modeling how market signals propagate across related entities and events. FinRipple [141] aligns LLMs with financial market structure to improve awareness of event ripple effects across equities. FinDKG [142] combines dynamic KGs with LLMs for global trend detection, while FinCARE [143] uses graph-enhanced reasoning to analyze causal relations behind market movements.
Financial question answering and document intelligence. These tasks require LLMs to navigate financial documents and dynamic market knowledge under factual constraints. Barry et al. [144] use graph-based indices in GraphRAG for finance to improve retrieval efficiency and factual grounding over financial data. FinQA [145] treats financial question answering as navigation over dynamic KGs and uses LLM-based revision to refine responses without task-specific fine-tuning.
Risk management and financial services. These applications use transaction graphs, behavioral relations, and user profiles to support risk detection and personalized services. For financial risk governance, Li et al. [146] present an end-to-end risk assessment model. By integrating text mining and financial risk KGs into an LLM with RAG and multi-feature fusion, the model enables precise credit risk prediction and rational default probability estimation for effective risk quantification. On the consumer-facing side, Zhao et al. [147] combine LLMs with GNNs for personalized financial product recommendation by integrating user-item interaction structure with semantic profiles.

6.2.5. Law

Applications in the legal domain focus on tasks such as legal consulting, statutory question answering, judgment prediction, and legal article recommendation. Unlike general text, legal data is governed by statutory hierarchies, precedent relations, temporal validity, and normative constraints [135]. Recent Graph4LLM systems construct legal KGs, citation graphs, and graph-based legal indices to support retrieval and analysis [136]. When processing such data, standalone LLMs are prone to hallucinations, weak temporal grounding, and unreliable alignment with formal legal constraints. By integrating legal graphs with LLM reasoning, Graph4LLM methods provide more structured support for legal retrieval, analysis, and decision assistance.
Legal consulting and question answering. These tasks aim to provide legally grounded answers under current rules and precedents. Legal-LM [135] integrates legal KGs with language models for legal consulting. Law GraphRAG [136] and Dang et al. [137] construct structured graph indices for multi-hop legal retrieval.
Judgment prediction and judicial recommendation. These applications use case graphs and statutory relations to predict outcomes or recommend legal provisions. LLG-Judger [138] combines LLMs with graph contrastive learning over similar-case structures for legal judgment prediction. For law article recommendation, JKEM [139] builds a case-enhanced legal KG that links case facts with criminal law statutes for graph-guided retrieval and recommendation. LegisSearch [140] further combines legislative KGs with LLMs and text embeddings for graph-aware legislative retrieval.

6.2.6. EDA

Electronic design automation (EDA) applications leverage circuit topology to enhance hardware design and analysis with LLMs. Unlike natural language, hardware description languages (HDL) and circuit netlists exhibit strict interconnectivity [203], fan-in/fan-out constraints [204], and hierarchical dependencies [205], forming rich multi-source structural data [206,207]. Early works [208,209] primarily used GNNs to model circuit topology, but overlooked textual semantics in design documents and comments. Standalone LLMs struggle with long-range dependencies and may generate hallucinations that violate syntax or logic. By introducing structure-aware graphs, Graph4LLM integrates circuit topology with LLM reasoning, improving code generation, power-performance-area (PPA) prediction, and automated optimization.
Multimodal circuit modelling and performance analysis. By aligning structural features from graph encoders with the semantic understanding of LLMs, these applications enable early prediction of circuit performance metrics such as timing and power. NetTAG [125] represents netlists as text-attributed graphs, using LLMs to encode gate-level logic semantics and graph Transformers to capture global structure, resulting in a universal netlist foundation model. CircuitFusion [126] further fuses hardware code, structure graphs, and functional summaries via multimodal alignment, improving the generalization of PPA prediction. For timing analysis, GT-LLM [127] uses an LLM as a parser to convert register-transfer level (RTL) into graph structures, paired with a graph learning engine for early timing prediction. MOSS [128] targets sequential circuits, integrating GNNs and LLMs to resolve long-range information dependencies and strengthen modeling of complex logical behaviors.
Structure-enhanced hardware code generation. These applications use the syntactic and logical graph structures of circuits to guide LLMs in generating high-quality hardware description code. Given the stringent requirements for logical correctness in hardware design, SAGE-HLS [129] introduces a syntax-aware, abstract syntax tree (AST)-guided framework that improves the quality of high-level synthesis (HLS) code generation via structured prompting. For RTL modeling, RTL++ [130] converts code into control flow graphs (CFGs) and data flow graphs (DFGs) with textual encoding, capturing internal hierarchies and dependencies to substantially boost the RTL generation quality of open-source models. SynC-LLM [131] further breaks through the limitations of LLMs in circuit generation scale, and proposes a hierarchical synthetic circuit code generation framework: first, the global structure is generated through the graph diffusion model, and then the LLMs are guided to fill the code layer by layer with hierarchical controllable prompts.
Graph-guided design optimization. These applications harness LLM reasoning to guide sophisticated graph transformations or provide generic graph enhancement across tasks. For datapath optimization, ASPEN [132] uses LLMs to direct E-Graph rewriting in equality saturation, automatically searching for optimal area-performance trade-offs along the Pareto frontier. In logic synthesis, CircuitEvo [133] innovatively employs LLMs to iteratively evolve graph-structured programs, automating circuit compactness optimization while preserving functional correctness. To address the difficulty of integrating graph modalities in EDA tasks, BRIDGES [134] constructs a large-scale multimodal dataset and generic framework. It connects DFGs and netlist graphs to LLMs via lightweight cross-modal projectors, providing a standardized graph-enhanced foundation for diverse EDA workflows.

7. Challenges and Future Directions

Graph construction quality and robustness. The effectiveness of Graph4LLM methods critically depends on the quality and robustness of the constructed graphs. In practice, graphs are often derived from noisy corpora or imperfect knowledge bases, making them prone to incompleteness, spurious relations, and structural bias. These imperfections can propagate through downstream components, leading to misleading retrieval results and distorted reasoning trajectories. Future work should therefore prioritize reliable and adaptive graph construction, capable of handling varying data quality and uncertainty. This can be achieved, for instance, by incorporating uncertainty quantification methods applied to graph nodes and edges, enabling LLMs to reason over probabilistic or graded relations. Additionally, iterative refinement mechanisms that leverage feedback from LLM outputs to revise or prune unreliable structures represent a promising direction.
Complexity challenges from explicit structural expansion. Larger graphs can capture more entities and relations, but increasing size, density, and diversity also brings higher computational cost and reasoning difficulty. In practice, large or highly connected graphs can lead to a combinatorial explosion of paths, making search inefficient and sometimes unstable. Future work should therefore focus on complexity-aware graph design, such as pruning and hierarchical structures, to better match graph granularity with task requirements. This allows the model to focus on the most relevant parts of the graph at each stage. A key challenge is to determine how much structure to expose to the model and when to use it, which is critical for scalable and reliable reasoning. Ultimately, the goal is to make graph structure not just richer, but more useful.
Scaling laws for structural information. While scaling laws for model size and training data are well understood, it remains unclear how performance scales with different graph structures in Graph4LLM systems. In this context, scaling involves graph size, the number of agents, and the expansion of intermediate reasoning steps during inference. Increasing these factors can improve reasoning depth, but may also introduce noise and degrade overall efficiency. A key challenge is to understand how structural properties such as graph density and reasoning depth affect performance. In particular, it remains unclear whether increasing structure leads to consistent gains or quickly reaches saturation due to redundancy and error propagation. Future work should aim to characterize these scaling trends and identify efficient regimes, enabling better control over graph expansion and more reliable reasoning.
Towards self-improving Graph4LLM: distillation, feedback, and co-evolution. Despite their effectiveness, most existing Graph4LLM methods use a unidirectional process, where graphs assist LLMs at specific stages but remain external to the model. The information in these graphs is consumed only during generation and not retained afterward. As a result, valuable structural signals must be repeatedly reconstructed, which limits efficiency and long-term knowledge transfer. To address these limitations, future work should focus on self-improving Graph4LLM systems. One promising method is graph-to-model distillation, where useful relational patterns from the Graph4LLM process are integrated into the model’s representations through fine-tuning or knowledge distillation. This would allow the model to internalize structural priors and reduce reliance on explicit graphs during inference. Model-to-graph feedback can also refine graph construction, enabling representations to evolve based on utility and support more robust, reusable structures.

8. Conclusions

This paper presents a comprehensive survey of Graph4LLM, categorizing existing graph-enhanced LLM methods in the input, model, and output phases. It covers representative methods across different paradigms and their diverse application scenarios. Specifically, it also introduces both general and domain-specific applications of Graph4LLM, illustrating its wide applicability in universal scenarios. Additionally, the paper summarizes key challenges facing current Graph4LLM research and outlines future directions. By providing a coherent structural perspective on the integration of graphs and LLMs, this survey offers a concise overview of the field, facilitating a clear understanding of how graphs enhance the capabilities of LLMs.

References

  1. Brown, T.; Mann, B.; Ryder, N.; Subbiah, M.; Kaplan, J.D.; Dhariwal, P.; Neelakantan, A.; Shyam, P.; Sastry, G.; Askell, A.; et al. Language models are few-shot learners. Adv. Neural Inf. Process. Syst. 2020, 33, 1877–1901. [Google Scholar]
  2. Touvron, H.; Lavril, T.; Izacard, G.; Martinet, X.; Lachaux, M.A.; Lacroix, T.; Rozière, B.; Goyal, N.; Hambro, E.; Azhar, F.; et al. Llama: Open and efficient foundation language models. arXiv 2023, arXiv:2302.13971. [Google Scholar]
  3. Chowdhery, A.; Narang, S.; Devlin, J.; Bosma, M.; Mishra, G.; Roberts, A.; Barham, P.; Chung, H.W.; Sutton, C.; Gehrmann, S.; et al. Palm: Scaling language modeling with pathways. J. Mach. Learn. Res. 2023, 24, 1–113. [Google Scholar]
  4. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser; Polosukhin, I. Attention is all you need. Adv. Neural Inf. Process. Syst. 2017, 30. [Google Scholar]
  5. Peng, B.; Zhu, Y.; Liu, Y.; Bo, X.; Shi, H.; Hong, C.; Zhang, Y.; Tang, S. Graph retrieval-augmented generation: A survey. ACM Transactions on Information Systems, 2024. [Google Scholar]
  6. Li, X.; Wang, S.; Zeng, S.; Wu, Y.; Yang, Y. A survey on LLM-based multi-agent systems: workflow, infrastructure, and challenges. Vicinagearth 2024, 1, 9. [Google Scholar] [CrossRef]
  7. He, J.; Treude, C.; Lo, D. Llm-based multi-agent systems for software engineering: Literature review, vision, and the road ahead. ACM Trans. Softw. Eng. Methodol. 2025, 34, 1–30. [Google Scholar] [CrossRef]
  8. Hong, G.; Kim, J.; Kang, J.; Myaeng, S.H. Graph-induced transformers for efficient multi-hop question answering. In Proceedings of the Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, 2022; pp. 10288–10294. [Google Scholar]
  9. Yao, S.; Yu, D.; Zhao, J.; Shafran, I.; Griffiths, T.; Cao, Y.; Narasimhan, K. Tree of thoughts: Deliberate problem solving with large language models. Adv. Neural Inf. Process. Syst. 2023, 36, 11809–11822. [Google Scholar] [CrossRef]
  10. Guan, X.; Liu, Y.; Lin, H.; Lu, Y.; He, B.; Han, X.; Sun, L. Mitigating large language model hallucinations via autonomous knowledge graph-based retrofitting. Proc. Proc. AAAI Conf. Artif. Intell. 2024, Vol. 38, 18126–18134. [Google Scholar] [CrossRef]
  11. Hogan, A.; Blomqvist, E.; Cochez, M.; d’Amato, C.; Melo, G.D.; Gutierrez, C.; Kirrane, S.; Gayo, J.E.L.; Navigli, R.; Neumaier, S.; et al. Knowledge graphs. ACM Comput. Surv. (Csur) 2021, 54, 1–37. [Google Scholar] [CrossRef]
  12. Li, Y.; Li, Z.; Wang, P.; Li, J.; Sun, X.; Cheng, H.; Yu, J.X. A survey of graph meets large language model: progress and future directions. In Proceedings of the Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, 2024; pp. 8123–8131. [Google Scholar]
  13. Jin, B.; Liu, G.; Han, C.; Jiang, M.; Ji, H.; Han, J. Large language models on graphs: A comprehensive survey. IEEE Transactions on Knowledge and Data Engineering, 2024. [Google Scholar]
  14. Ren, X.; Tang, J.; Yin, D.; Chawla, N.; Huang, C. A survey of large language models for graphs. In Proceedings of the Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, 2024; pp. 6616–6626. [Google Scholar]
  15. Shang, W.; Huang, X. A survey of large language models on generative graph analytics: Query, learning, and applications. IEEE Transactions on Knowledge and Data Engineering, 2025. [Google Scholar]
  16. Liang, X.; Wang, Z.; Li, M.; Yan, Z. A survey of LLM-augmented knowledge graph construction and application in complex product design. Procedia CIRP 2024, 128, 870–875. [Google Scholar] [CrossRef]
  17. Liu, B.; Fang, Y.; Xu, N.; Hou, S.; Li, X.; Li, Q. Large language models for knowledge graph embedding: A survey. Mathematics 2025, 13, 2244. [Google Scholar] [CrossRef]
  18. You, Y.; Liu, Z.; Wen, X.; Zhang, Y.; Ai, W. Large language models meet graph neural networks: a perspective of graph mining. Mathematics 2025, 13, 1147. [Google Scholar] [CrossRef]
  19. Wang, Z.; Zhang, C.; Li, J.; Chawla, N.; Ye, Y. Graph Foundation Models: Challenges, Methods, and Open Questions. Proceedings of the Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining 2025, V. 2, 6184–6194. [Google Scholar] [CrossRef]
  20. Pan, S.; Luo, L.; Wang, Y.; Chen, C.; Wang, J.; Wu, X. Unifying large language models and knowledge graphs: A roadmap. IEEE Trans. Knowl. Data Eng. 2024, 36, 3580–3599. [Google Scholar] [CrossRef]
  21. Ibrahim, N.; Aboulela, S.; Ibrahim, A.; Kashef, R. A survey on augmenting knowledge graphs (KGs) with large language models (LLMs): models, evaluation metrics, benchmarks, and challenges. Discov. Artif. Intell. 2024, 4, 76. [Google Scholar] [CrossRef]
  22. Cai, L.; Yu, C.; Kang, Y.; Fu, Y.; Zhang, H.; Zhao, Y. Practices, opportunities and challenges in the fusion of knowledge graphs and large language models. Front. Comput. Sci. 2025, 7, 1590632. [Google Scholar] [CrossRef]
  23. Agrawal, G.; Kumarage, T.; Alghamdi, Z.; Liu, H. Can knowledge graphs reduce hallucinations in llms?: A survey. Proceedings of the Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies 2024, Volume 1, 3947–3960. [Google Scholar] [CrossRef]
  24. Xu, R.; Jiang, P.; Luo, L.; Xiao, C.; Cross, A.; Pan, S.; Sun, J.; Yang, C. A survey on unifying large language models and knowledge graphs for biomedicine and healthcare. Proceedings of the Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining 2025, V. 2, 6195–6205. [Google Scholar] [CrossRef] [PubMed]
  25. Zhu, Z.; Huang, T.; Wang, K.; Ye, J.; Chen, X.; Luo, S. Graph-based approaches and functionalities in retrieval-augmented generation: A comprehensive survey. ACM Computing Surveys, 2025. [Google Scholar]
  26. Procko, T.T.; Ochoa, O. Graph retrieval-augmented generation for large language models: A survey. In Proceedings of the 2024 Conference on AI, science, engineering, and technology (AIxSET); IEEE, 2024; pp. 166–169. [Google Scholar]
  27. Ma, Y.; Nie, H.; Chen, C.; Zhang, J.; Jiang, J.; Wang, B.; Xia, Y. A Survey of Retrieval-Augmented Generation (RAG) for Large Language Models. In Proceedings of the 2025 International Conference on Trustworthy Big Data and Artificial Intelligence (ICTBAI); IEEE, 2025; pp. 7–13. [Google Scholar]
  28. Zhu, X.; Yang, C.; Wang, Q.; Guo, Z.; Wang, Y.; Liu, Z.; Wang, C.; Shi, C. Graph4LLM: A Systematic Survey of Graph-Enhanced Large Language Models. In Authorea; 2026. [Google Scholar]
  29. Li, S.; Li, J.; Qu, Y.; Shi, X.; Guo, Y.; He, Z.; Wang, Y.; Tan, W. Semantic-Eval: A Semantic Comprehension Evaluation Framework for Large Language Models Generation without Training. Proceedings of the Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics 2025, Volume 1, 9675–9690. [Google Scholar] [CrossRef]
  30. Liang, C.; You, J. Evaluating LLM-Generated Diagrams as Graphs. In Proceedings of the Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing; Christodoulopoulos, C., Chakraborty, T., Rose, C., Peng, V., Eds.; 2025; pp. 12678–12690. [Google Scholar]
  31. Cao, L. Graphreason: Enhancing reasoning capabilities of large language models through a graph-based verification approach. In Proceedings of the Proceedings of the 2nd Workshop on Natural Language Reasoning and Structured Explanations (@ ACL 2024), 2024; pp. 1–12. [Google Scholar]
  32. Xiong, Z.; Cai, Y.; Li, Z.; Wang, Y. Mapping the Minds of LLMs: A Graph-Based Analysis of Reasoning LLMs. In Proceedings of the Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, 2025; pp. 17762–17774. [Google Scholar]
  33. Minegishi, G.; Furuta, H.; Kojima, T.; Iwasawa, Y.; Matsuo, Y. Topology of Reasoning: Understanding Large Reasoning Models through Reasoning Graph Properties. In Proceedings of the The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. [Google Scholar]
  34. Hou, B.; Zhang, Y.; Andreas, J.; Chang, S. A probabilistic framework for llm hallucination detection via belief tree propagation. Proceedings of the Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies 2025, Volume 1, 3076–3099. [Google Scholar] [CrossRef]
  35. Chen, K.; Chen, Q.; Zhou, J.; Tao, X.; Ding, B.; Xie, J.; Xie, M.; Li, P.; Feng, Z. Enhancing uncertainty modeling with semantic graph for hallucination detection. Proc. Proc. AAAI Conf. Artif. Intell. 2025, Vol. 39, 23586–23594. [Google Scholar] [CrossRef]
  36. Jiang, M.; Ruan, Y.; Sattigeri, P.; Roukos, S.; Hashimoto, T. Graph-based uncertainty metrics for long-form language model generations. Adv. Neural Inf. Process. Syst. 2024, 37, 32980–33006. [Google Scholar] [CrossRef]
  37. Li, Y.; Wang, S.; Huang, L.; Liu, L. Graph-based Confidence Calibration for Large Language Models. Transactions on Machine Learning Research, 2025. [Google Scholar]
  38. Sansford, H.J.; Richardson, N.; Maretic, H.P.; Saada, J.N. GraphEval: A Knowledge-Graph Based LLM Hallucination Evaluation Framework. In Proceedings of the Fourth Workshop on Knowledge-infused Learning, 2024. [Google Scholar]
  39. Rashad, M.; Zahran, A.; Amin, A.; Abdelaal, A.; AlTantawy, M. FactAlign: Fact-level hallucination detection and classification through knowledge graph alignment. In Proceedings of the Proceedings of the 4th Workshop on Trustworthy Natural Language Processing (TrustNLP 2024), 2024; pp. 79–84. [Google Scholar]
  40. Zhou, S.; Huang, M.; Cole, J.; Britton, C.; Yin, M.; Wolber, J.; Li, K. Assessing Automated Fact-Checking for Medical LLM Responses with Knowledge Graphs. In Proceedings of the Proceedings of the AAAI conference on artificial intelligence, 2026. [Google Scholar]
  41. Fang, X.; Huang, Z.; Tian, Z.; Fang, M.; Pan, Z.; Fang, Q.; Wen, Z.; Pan, H.; Li, D. Zero-resource hallucination detection for text generation via graph-based contextual knowledge triples modeling. Proc. Proc. AAAI Conf. Artif. Intell. 2025, Vol. 39, 23868–23877. [Google Scholar] [CrossRef]
  42. Sawczyn, A.; Binkowski, J.; Janiak, D.; Gabrys, B.; Kajdanowicz, T. FactSelfCheck: Fact-Level Black-Box Hallucination Detection for LLMs. In Proceedings of the Findings of the Association for Computational Linguistics: EACL 2026, 2026. [Google Scholar]
  43. Hao, S.; Gu, Y.; Ma, H.; Hong, J.; Wang, Z.; Wang, D.; Hu, Z. Reasoning with language model is planning with world model. In Proceedings of the Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 2023; pp. 8154–8173. [Google Scholar]
  44. Wu, X.; Shen, Y.; Shan, C.; Song, K.; Wang, S.; Zhang, B.; Feng, J.; Cheng, H.; Chen, W.; Xiong, Y.; et al. Can graph learning improve planning in LLM-based agents? Adv. Neural Inf. Process. Syst. 2024, 37, 5338–5383. [Google Scholar] [CrossRef]
  45. Liu, Z.; Lai, Z.; Gao, Z.; Cui, E.; Li, Z.; Zhu, X.; Lu, L.; Chen, Q.; Qiao, Y.; Dai, J.; et al. Controlllm: Augment language models with tools by searching on graphs. In Proceedings of the European Conference on Computer Vision, 2024; Springer; pp. 89–105. [Google Scholar]
  46. Chen, L.; Tong, P.; Jin, Z.; Sun, Y.; Ye, J.; Xiong, H. Plan-on-graph: Self-correcting adaptive planning of large language model on knowledge graphs. Adv. Neural Inf. Process. Syst. 2024, 37, 37665–37691. [Google Scholar] [CrossRef]
  47. Sakib, M.S.; Sun, Y. Consolidating trees of robotic plans generated using large language models to improve reliability. Int. J. Artif. Intell. Robot. Res. 2024, 1, 2450002. [Google Scholar] [CrossRef]
  48. Ning, X.; Lin, Z.; Zhou, Z.; Wang, Z.; Yang, H.; Wang, Y. Skeleton-of-thought: Prompting LLMs for efficient parallel generation. In Proceedings of the Proceedings 12th international conference on learning representations-ICLR 2024. openreview. net, 2024. [Google Scholar]
  49. Zhou, A.; Yan, K.; Shlapentokh-Rothman, M.; Wang, H.; Wang, Y.X. Language agent tree search unifies reasoning, acting, and planning in language models. In Proceedings of the Proceedings of the 41st International Conference on Machine Learning, 2024; pp. 62138–62160. [Google Scholar]
  50. Ding, R.; Zhang, C.; Wang, L.; Xu, Y.; Ma, M.; Zhang, W.; Qin, S.; Rajmohan, S.; Lin, Q.; Zhang, D. Everything of thoughts: Defying the law of penrose triangle for thought generation. Proc. Find. Assoc. Comput. Linguist. ACL 2024, 2024, 1638–1662. [Google Scholar] [CrossRef]
  51. Li, Y. Policy Guided Tree Search for Enhanced LLM Reasoning. In Proceedings of the Forty-second International Conference on Machine Learning, 2025. [Google Scholar]
  52. Bai, R.; Han, X.; Lei, S.; Feng, J.; Luo, Y.; Deng, C. Self-attention-based Graph-of-Thought for Math Problem Solving. Proc. Find. Assoc. Comput. Linguist. ACL 2025, 2025, 6112–6125. [Google Scholar] [CrossRef]
  53. Zhang, Y.; Kuzborskij, I.; Lee, J.D.; Leng, C.; Liu, F. DAG-Math: Graph-Guided Mathematical Reasoning in LLMs. In Proceedings of the The Fourteenth International Conference on Learning Representations, 2026. [Google Scholar]
  54. Chi, Y.; Yang, K.; Klein, D. Thoughtsculpt: Reasoning with intermediate revision and search. Proc. Find. Assoc. Comput. Linguist. NAACL 2025, 2025, 7685–7711. [Google Scholar] [CrossRef]
  55. Zhang, J.; Wang, X.; Ren, W.; Jiang, L.; Wang, D.; Liu, K. Ratt: A thought structure for coherent and correct llm reasoning. Proc. Proc. AAAI Conf. Artif. Intell. 2025, Vol. 39, 26733–26741. [Google Scholar] [CrossRef]
  56. Besta, M.; Blach, N.; Kubicek, A.; Gerstenberger, R.; Podstawski, M.; Gianinazzi, L.; Gajda, J.; Lehmann, T.; Niewiadomski, H.; Nyczyk, P.; et al. Graph of thoughts: Solving elaborate problems with large language models. Proc. Proc. AAAI Conf. Artif. Intell. 2024, Vol. 38, 17682–17690. [Google Scholar] [CrossRef]
  57. Alotaibi, F.; Kulkarni, A.; Zhou, D. Graph of logic: Enhancing llm reasoning with graphs and symbolic logic. In Proceedings of the 2024 IEEE International Conference on Big Data (BigData); IEEE, 2024; pp. 5926–5935. [Google Scholar]
  58. Zhang, Y.; Yang, J.; Yuan, Y.; Yao, A.C. Cumulative Reasoning with Large Language Models. Transactions on Machine Learning Research, 2025. [Google Scholar]
  59. Zhang, G.; Yue, Y.; Li, Z.; Yun, S.; Wan, G.; Wang, K.; Cheng, D.; Yu, J.X.; Chen, T. Cut the Crap: An Economical Communication Pipeline for LLM-based Multi-Agent Systems. In Proceedings of the The Thirteenth International Conference on Learning Representations, 2024. [Google Scholar]
  60. Zhuge, M.; Wang, W.; Kirsch, L.; Faccio, F.; Khizbullin, D.; Schmidhuber, J. Gptswarm: Language agents as optimizable graphs. In Proceedings of the Forty-first International Conference on Machine Learning, 2024. [Google Scholar]
  61. Leong, H.Y.; Li, Y.; Wu, Y.; Ouyang, W.; Zhu, W.; Gao, J.; Han, W. Amas: Adaptively determining communication topology for llm-based multi-agent system. In Proceedings of the Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing: Industry Track, 2025; pp. 2061–2070. [Google Scholar]
  62. Liu, Z.; Zhang, Y.; Li, P.; Liu, Y.; Yang, D. A dynamic llm-powered agent network for task-oriented agent collaboration. In Proceedings of the First Conference on Language Modeling, 2024. [Google Scholar]
  63. Joo, T.; Ishida, S.; Sosnovik, I.; Lim, B.; Rezaei-Shoshtari, S.; Gaier, A.; Giaquinto, R. Graph of Agents: Principled Long Context Modeling by Emergent Multi-Agent Collaboration. In Proceedings of the The Thirteenth International Conference on Learning Representations (ICLR), 2026. [Google Scholar]
  64. Wu, T.; Li, Y.; Tang, Z.; Jiang, C.; Luo, L.; Qi, G.; Pan, S.; Haffari, G. CARD: Towards Conditional Design of Multi-agent Topological Structures. In Proceedings of the The Fourteenth International Conference on Learning Representations, 2026. [Google Scholar]
  65. Yang, Y.; Chai, H.; Shao, S.; Song, Y.; Qi, S.; Rui, R.; Zhang, W. AgentNet: Decentralized Evolutionary Coordination for LLM-based Multi-Agent Systems. In Proceedings of the The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. [Google Scholar]
  66. Zhang, Y.; Hou, Y.; Tang, B.; Chen, S.; Zhang, M.; Dong, X.; Chen, S. FLORA: GNNs as Predictors of Agentic Workflow Performances. In Proceedings of the The Fourth Learning on Graphs Conference, 2025. [Google Scholar]
  67. Qian, C.; Xie, Z.; Wang, Y.; Liu, W.; Zhu, K.; Xia, H.; Dang, Y.; Du, Z.; Chen, W.; Yang, C.; et al. Scaling Large Language Model-based Multi-Agent Collaboration. In Proceedings of the The Thirteenth International Conference on Learning Representations, 2024. [Google Scholar]
  68. Dong, J.; Lin, Z.; Lin, W.; Zhang, M. S-DAG: A Subject-Based Directed Acyclic Graph for Multi-Agent Heterogeneous Reasoning. In Proceedings of the Proceedings of the AAAI Conference on Artificial Intelligence, 2026. [Google Scholar]
  69. Li, G.; Hammoud, H.; Itani, H.; Khizbullin, D.; Ghanem, B. Camel: Communicative agents for" mind" exploration of large language model society. Adv. Neural Inf. Process. Syst. 2023, 36, 51991–52008. [Google Scholar] [CrossRef]
  70. Lou, X.; Zhang, J.; Norman, T.J.; Huang, K.; Du, Y. TAPE: leveraging agent topology for cooperative multi-agent policy gradient. Proc. Proc. AAAI Conf. Artif. Intell. 2024, Vol. 38, 17496–17504. [Google Scholar] [CrossRef]
  71. Zhang, X.; Bosselut, A.; Yasunaga, M.; Ren, H.; Liang, P.; Manning, C.D.; Leskovec, J. GreaseLM: Graph REASoning Enhanced Language Models. In Proceedings of the International Conference on Learning Representations, 2022. [Google Scholar]
  72. Yang, J.; Liu, Z.; Xiao, S.; Li, C.; Lian, D.; Agrawal, S.; Singh, A.; Sun, G.; Xie, X. Graphformers: Gnn-nested transformers for representation learning on textual graph. Adv. Neural Inf. Process. Syst. 2021, 34, 28798–28810. [Google Scholar]
  73. Yuan, S.; Nie, E.; Färber, M.; Schmid, H.; Schütze, H. Gnnavi: Navigating the information flow in large language models by graph neural network. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2024, 2024; pp. 3987–4001. [Google Scholar]
  74. Tian, S.; Luo, Y.; Xu, T.; Yuan, C.; Jiang, H.; Wei, C.; Wang, X. KG-adapter: Enabling knowledge graph integration in large language models through parameter-efficient fine-tuning. Proc. Find. Assoc. Comput. Linguist. ACL 2024, 2024, 3813–3828. [Google Scholar] [CrossRef]
  75. Jin, B.; Zhang, W.; Zhang, Y.; Meng, Y.; Zhang, X.; Zhu, Q.; Han, J. Patton: Language model pretraining on text-rich networks. Proceedings of the Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics 2023, Volume 1, 7005–7020. [Google Scholar] [CrossRef]
  76. Zhang, Y.; Chen, Z.; Guo, L.; Xu, Y.; Zhang, W.; Chen, H. Making large language models perform better in knowledge graph completion. In Proceedings of the Proceedings of the 32nd ACM international conference on multimedia, 2024; pp. 233–242. [Google Scholar]
  77. Liu, B.; Zhang, J.; Lin, F.; Yang, C.; Peng, M. Filter-then-generate: Large language models with structure-text adapter for knowledge graph completion. In Proceedings of the Proceedings of the 31st International Conference on Computational Linguistics, 2025; pp. 11181–11195. [Google Scholar]
  78. Li, X.; Lian, D.; Lu, Z.; Bai, J.; Chen, Z.; Wang, X. Graphadapter: Tuning vision-language models with dual knowledge graph. Adv. Neural Inf. Process. Syst. 2023, 36, 13448–13466. [Google Scholar] [CrossRef]
  79. Liu, Z.; Li, S.; Luo, Y.; Fei, H.; Cao, Y.; Kawaguchi, K.; Wang, X.; Chua, T.S. Molca: Molecular graph-language modeling with cross-modal projector and uni-modal adapter. In Proceedings of the Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 2023; pp. 15623–15638. [Google Scholar]
  80. Guo, Z.; Diao, E.; Yang, C.; Shi, C. Graph Tokenization for Bridging Graphs and Transformers. In Proceedings of the The Fourteenth International Conference on Learning Representations, 2026. [Google Scholar]
  81. Li, S.; He, Y.; Guo, H.; Bu, X.; Bai, G.; Liu, J.; Liu, J.; Qu, X.; Li, Y.; Ouyang, W.; et al. Graphreader: Building graph-based agent to enhance long-context abilities of large language models. Proc. Find. Assoc. Comput. Linguist. EMNLP 2024, 2024, 12758–12786. [Google Scholar] [CrossRef]
  82. Xiong, S.; Payani, A.; Kompella, R.; Fekri, F. Large language models can learn temporal reasoning. Proceedings of the Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics 2024, Volume 1, 10452–10470. [Google Scholar] [CrossRef]
  83. Han, H.; Xie, Y.; Liu, H.; Tang, X.; Nag, S.; Headden, W.; Li, Y.; Luo, C.; Ji, S.; He, Q.; et al. Reasoning with graphs: Structuring implicit knowledge to enhance llms reasoning. Proc. Find. Assoc. Comput. Linguist. ACL 2025, 2025, 25698–25714. [Google Scholar] [CrossRef]
  84. Liu, Y.; Liu, T.; Zhang, T.; Xia, Y.; Wang, J.; Shen, Z.; Jin, J.; Ding, Z.; Yu, F.R. GRL-Prompt: Towards Prompts Optimization via Graph-Empowered Reinforcement Learning Using LLMs’ Feedback. In Proceedings of the Pacific-Asia Conference on Knowledge Discovery and Data Mining, 2025; Springer; pp. 426–438. [Google Scholar]
  85. Cheng, K.; Ahmed, N.K.; Willke, T.L.; Sun, Y. Structure guided prompt: Instructing large language model in multi-step reasoning by exploring graph structure of the text. In Proceedings of the Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, 2024; pp. 9407–9430. [Google Scholar]
  86. Edge, D.; Trinh, H.; Cheng, N.; Bradley, J.; Chao, A.; Mody, A.; Truitt, S.; Metropolitansky, D.; Ness, R.O.; Larson, J. From local to global: A graph rag approach to query-focused summarization. arXiv 2024, arXiv:2404.16130. [Google Scholar]
  87. Sarthi, P.; Abdullah, S.; Tuli, A.; Khanna, S.; Goldie, A.; Manning, C.D. Raptor: Recursive abstractive processing for tree-organized retrieval. In Proceedings of the The Twelfth International Conference on Learning Representations, 2024. [Google Scholar]
  88. Guo, Z.; Xia, L.; Yu, Y.; Ao, T.; Huang, C. LightRAG: Simple and Fast Retrieval-Augmented Generation. Proc. Find. Assoc. Comput. Linguist. EMNLP 2025, 2025, 10746–10761. [Google Scholar] [CrossRef]
  89. He, X.; Tian, Y.; Sun, Y.; Chawla, N.V.; Laurent, T.; LeCun, Y.; Bresson, X.; Hooi, B. G-retriever: Retrieval-augmented generation for textual graph understanding and question answering. Adv. Neural Inf. Process. Syst. 2024, 37, 132876–132907. [Google Scholar] [CrossRef]
  90. Gutiérrez, B.J.; Shu, Y.; Gu, Y.; Yasunaga, M.; Su, Y. Hipporag: Neurobiologically inspired long-term memory for large language models. Adv. Neural Inf. Process. Syst. 2024, 37, 59532–59569. [Google Scholar] [CrossRef]
  91. Gutiérrez, B.J.; Shu, Y.; Qi, W.; Zhou, S.; Su, Y. From RAG to Memory: Non-Parametric Continual Learning for Large Language Models. In Proceedings of the Forty-second International Conference on Machine Learning, 2025. [Google Scholar]
  92. Luo, L.; Zhao, Z.; Haffari, G.; Phung, D.; Gong, C.; Pan, S. GFM-RAG: Graph Foundation Model for Retrieval Augmented Generation. In Proceedings of the The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. [Google Scholar]
  93. Chen, B.; Guo, Z.; Yang, Z.; Chen, Y.; Chen, J.; Liu, Z.; Shi, C.; Yang, C. Pathrag: Pruning graph-based retrieval augmented generation with relational paths. In Proceedings of the Proceedings of the AAAI conference on artificial intelligence, 2026. [Google Scholar]
  94. Zhuang, L.; Chen, S.; Xiao, Y.; Zhou, H.; Zhang, Y.; Chen, H.; Zhang, Q.; Huang, X. LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora. In Proceedings of the The Fourteenth International Conference on Learning Representations, 2026. [Google Scholar]
  95. Baek, J.; Aji, A.F.; Saffari, A. Knowledge-augmented language model prompting for zero-shot knowledge graph question answering. In Proceedings of the Proceedings of the 1st Workshop on Natural Language Reasoning and Structured Explanations (NLRSE), 2023; pp. 78–106. [Google Scholar]
  96. Jiang, J.; Zhou, K.; Dong, Z.; Ye, K.; Zhao, W.X.; Wen, J.R. Structgpt: A general framework for large language model to reason over structured data. In Proceedings of the Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 2023; pp. 9237–9251. [Google Scholar]
  97. Wen, Y.; Wang, Z.; Sun, J. Mindmap: Knowledge graph prompting sparks graph of thoughts in large language models. Proceedings of the Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics 2024, Volume 1, 10370–10388. [Google Scholar] [CrossRef]
  98. Li, M.; Miao, S.; Li, P. Simple is Effective: The Roles of Graphs and Large Language Models in Knowledge-Graph-Based Retrieval-Augmented Generation. In Proceedings of the The Thirteenth International Conference on Learning Representations, 2025. [Google Scholar]
  99. Sun, J.; Xu, C.; Tang, L.; Wang, S.; Lin, C.; Gong, Y.; Ni, L.; Shum, H.Y.; Guo, J. Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph. In Proceedings of the The Twelfth International Conference on Learning Representations, 2024. [Google Scholar]
  100. Luo, L.; Li, Y.F.; Haffari, G.; Pan, S. Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning. In Proceedings of the International Conference on Learning Representations 2024, 2024; International Conference on Learning Representations (ICLR). [Google Scholar]
  101. Mavromatis, C.; Karypis, G. GNN-RAG: Graph neural retrieval for efficient large language model reasoning on knowledge graphs. Proc. Find. Assoc. Comput. Linguist. ACL 2025, 2025, 16682–16699. [Google Scholar] [CrossRef]
  102. Luo, H.; Haihong, E.; Tang, Z.; Peng, S.; Guo, Y.; Zhang, W.; Ma, C.; Dong, G.; Song, M.; Lin, W.; et al. Chatkbqa: A generate-then-retrieve framework for knowledge base question answering with fine-tuned large language models. Proc. Find. Assoc. Comput. Linguist. ACL 2024, 2024, 2039–2056. [Google Scholar] [CrossRef]
  103. Zhang, Z.; Wen, L.; Zhao, W. A gail fine-tuned llm enhanced framework for low-resource knowledge graph question answering. In Proceedings of the Proceedings of the 33rd ACM International Conference on Information and Knowledge Management, 2024; pp. 3300–3309. [Google Scholar]
  104. Dernbach, S.; Agarwal, K.; Zuniga, A.; Henry, M.; Choudhury, S. Glam: Fine-tuning large language models for domain knowledge graph alignment via neighborhood partitioning and generative subgraph encoding. Proc. Proc. AAAI Symp. Ser. 2024, Vol. 3, 82–89. [Google Scholar] [CrossRef]
  105. Chen, H.; Shen, X.; Wang, J.; Wang, Z.; Lv, Q.; He, J.; Wu, R.; Wu, F.; Ye, J. Knowledge graph finetuning enhances knowledge manipulation in large language models. In Proceedings of the The Thirteenth International Conference on Learning Representations, 2025. [Google Scholar]
  106. Amelio, A.; Buratti, C.; Marchetti, M.; Traini, D.; Ursino, D.; Virgili, L. Exploiting knowledge graph communities to fine-tune large language models. Expert Syst. With Appl. 2025, 129816. [Google Scholar]
  107. Wasserman, S.; Faust, K. Social network analysis: Methods and applications. 1994. [Google Scholar] [CrossRef]
  108. Bell, M.G.; Iida, Y. Transp. Netw. Anal. 1997. [CrossRef]
  109. Barabasi, A.L.; Oltvai, Z.N. Network biology: understanding the cell’s functional organization. Nat. Rev. Genet. 2004, 5, 101–113. [Google Scholar] [CrossRef] [PubMed]
  110. Scarselli, F.; Gori, M.; Tsoi, A.C.; Hagenbuchner, M.; Monfardini, G. The graph neural network model. IEEE Trans. Neural Netw. 2008, 20, 61–80. [Google Scholar] [CrossRef] [PubMed]
  111. Yang, C.; Liu, J.; Shi, C. Extract the knowledge of graph neural networks and go beyond it: An effective knowledge distillation framework. Proc. Proc. Web Conf. 2021, 2021, 1227–1237. [Google Scholar] [CrossRef]
  112. Kipf, T.N.; Welling, M. Semi-Supervised Classification with Graph Convolutional Networks. In Proceedings of the International Conference on Learning Representations, 2017. [Google Scholar]
  113. Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Liò, P.; Bengio, Y. Graph Attention Networks. In Proceedings of the International Conference on Learning Representations, 2018. [Google Scholar]
  114. Hamilton, W.; Ying, Z.; Leskovec, J. Inductive representation learning on large graphs. Adv. Neural Inf. Process. Syst. 2017, 30. [Google Scholar]
  115. Lewis, P.; Perez, E.; Piktus, A.; Petroni, F.; Karpukhin, V.; Goyal, N.; Küttler, H.; Lewis, M.; Yih, W.t.; Rocktäschel, T.; et al. Retrieval-augmented generation for knowledge-intensive nlp tasks. Adv. Neural Inf. Process. Syst. 2020, 33, 9459–9474. [Google Scholar]
  116. Wei, J.; Bosma, M.; Zhao, V.; Guu, K.; Yu, A.W.; Lester, B.; Du, N.; Dai, A.M.; Le, Q.V. Finetuned Language Models are Zero-Shot Learners. In Proceedings of the International Conference on Learning Representations, 2022. [Google Scholar]
  117. Ouyang, L.; Wu, J.; Jiang, X.; Almeida, D.; Wainwright, C.; Mishkin, P.; Zhang, C.; Agarwal, S.; Slama, K.; Ray, A.; et al. Training language models to follow instructions with human feedback. Adv. Neural Inf. Process. Syst. 2022, 35, 27730–27744. [Google Scholar] [CrossRef]
  118. Houlsby, N.; Giurgiu, A.; Jastrzebski, S.; Morrone, B.; De Laroussilhe, Q.; Gesmundo, A.; Attariyan, M.; Gelly, S. Parameter-efficient transfer learning for NLP. In Proceedings of the International conference on machine learning. PMLR, 2019; pp. 2790–2799. [Google Scholar]
  119. Hu, E.J.; shen, yelong; Wallis, P.; Allen-Zhu, Z.; Li, Y.; Wang, S.; Wang, L.; Chen, W. LoRA: Low-Rank Adaptation of Large Language Models. In Proceedings of the International Conference on Learning Representations, 2022. [Google Scholar]
  120. Huang, J.; Chang, K.C.C. Towards reasoning in large language models: A survey. In Proceedings of the Findings of the association for computational linguistics: ACL 2023, 2023; pp. 1049–1065. [Google Scholar]
  121. Wei, J.; Wang, X.; Schuurmans, D.; Bosma, M.; Xia, F.; Chi, E.; Le, Q.V.; Zhou, D.; et al. Chain-of-thought prompting elicits reasoning in large language models. Adv. Neural Inf. Process. Syst. 2022, 35, 24824–24837. [Google Scholar] [CrossRef]
  122. Wei, H.; Zhang, Z.; He, S.; Xia, T.; Pan, S.; Liu, F. Plangenllms: A modern survey of llm planning capabilities. Proceedings of the Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics 2025, Volume 1, 19497–19521. [Google Scholar] [CrossRef]
  123. Blondel, V.D.; Guillaume, J.L.; Lambiotte, R.; Lefebvre, E. Fast unfolding of communities in large networks. J. Stat. Mech. Theory Exp. 2008, 2008, P10008. [Google Scholar] [CrossRef]
  124. Liu, J.; Yang, C.; Lu, Z.; Chen, J.; Li, Y.; Zhang, M.; Bai, T.; Fang, Y.; Sun, L.; Yu, P.S.; et al. Graph foundation models: Concepts, opportunities and challenges. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2025. [Google Scholar]
  125. Fang, W.; Li, W.; Liu, S.; Lu, Y.; Zhang, H.; Xie, Z. Nettag: A multimodal rtl-and-layout-aligned netlist foundation model via text-attributed graph. In Proceedings of the 2025 62nd ACM/IEEE Design Automation Conference (DAC); IEEE, 2025; pp. 1–7. [Google Scholar]
  126. Fang, W.; Liu, S.; Wang, J.; Xie, Z. CircuitFusion: Multimodal Circuit Representation Learning for Agile Chip Design. In Proceedings of the The Thirteenth International Conference on Learning Representations (ICLR), 2025. [Google Scholar]
  127. Amik, F.R.; Safari, Y.; Zhang, Z.; Vaisband, B. Graph-based timing prediction at early-stage RTL using large language model. In Proceedings of the Proceedings of the 30th Asia and South Pacific Design Automation Conference (ASP-DAC), 2025; pp. 393–400. [Google Scholar]
  128. Wang, M.; Sun, B.; Mu, J.; Gu, F.; Han, B.; Yang, T.; Zhang, X.; Liu, S.; Wen, Y.; Wang, H.; et al. MOSS: Multi-Modal Representation Learning on Sequential Circuits. In Proceedings of the 2025 62nd ACM/IEEE Design Automation Conference (DAC); IEEE, 2025; pp. 1–7. [Google Scholar]
  129. Khan, M.Z.S.; Mashnoor, N.; Akyash, M.; Azar, K.; Kamali, H. Sage-hls: Syntax-aware ast-guided llm for high-level synthesis code generation. In Proceedings of the 2025 IEEE 43rd International Conference on Computer Design (ICCD); IEEE, 2025; pp. 574–581. [Google Scholar]
  130. Akyash, M.; Azar, K.; Kamali, H. Rtl++: Graph-enhanced llm for rtl code generation. In Proceedings of the 2025 IEEE International Conference on LLM-Aided Design (ICLAD); IEEE, 2025; pp. 44–50. [Google Scholar]
  131. Liu, S.; Lu, Y.; Fang, W.; Wang, J.; Xie, Z. Sync-llm: Generation of large-scale synthetic circuit code with hierarchical language models. In Proceedings of the Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2025; pp. 17361–17376. [Google Scholar]
  132. Zhang, N.; Deng, C.; Kuehn, J.M.; Ho, C.T.; Yu, C.; Zhang, Z.; Ren, H. ASPEN: LLM-Guided E-Graph Rewriting for RTL Datapath Optimization. In Proceedings of the 2025 ACM/IEEE 7th Symposium on Machine Learning for CAD (MLCAD); IEEE, 2025; pp. 1–9. [Google Scholar]
  133. Bai, Y.; Wang, J.; Chen, L.; Wang, Z.; Li, Y.; Yuan, M.; HAO, J.; Lian, D.; Chen, E. Evolving Graph Structured Programs for Circuit Generation with Large Language Models. In Proceedings of the The Fourteenth International Conference on Learning Representations (ICLR), 2026. [Google Scholar]
  134. Li, W.; Zou, Y.; Ellis, C.; Purdy, R.; Blanton, S.; Moura, J.M. BRIDGES: bridging graph modality and large language models within EDA tasks. In Proceedings of the 2025 IEEE International Conference on LLM-Aided Design (ICLAD); IEEE, 2025; pp. 77–84. [Google Scholar]
  135. Shi, J.; Guo, Q.; Liao, Y.; Wang, Y.; Chen, S.; Liang, S. Legal-lm: Knowledge graph enhanced large language models for law consulting. In Proceedings of the International conference on intelligent computing, 2024; Springer; pp. 175–186. [Google Scholar]
  136. Zhai, H. Law GraphRAG: An Advanced Legal Question-Answering System. In Proceedings of the 2025 5th International Conference on Artificial Intelligence and Industrial Technology Applications (AIITA); IEEE, 2025; pp. 1407–1410. [Google Scholar]
  137. Dang, D.V.; Nguyen, H.; Le, T.T.; Do, H.; Nguyen, H.; Ngo, H.Q.; Nguyen, H.D. Knowledge graph-based legal query system with llm and retrieval augmented generation. In Proceedings of the Asian Conference on Intelligent Information and Database Systems, 2025; Springer; pp. 161–172. [Google Scholar]
  138. Xia, Y.; Luo, X. Legal Judgment Prediction with LLM and Graph Contrastive Learning Networks. In Proceedings of the Proceedings of the 2024 8th International Conference on Computer Science and Artificial Intelligence, 2024; pp. 424–432. [Google Scholar]
  139. Li, J.; Qian, L.; Liu, P.; Liu, T. Construction of legal knowledge graph based on knowledge-enhanced large language models. Information 2024, 15, 666. [Google Scholar] [CrossRef]
  140. Colombo, A.; Bernasconi, A.; Bellomarini, L.; Guiso, L.; Michelacci, C.; Ceri, S. LegisSearch: navigating legislation with graphs and large language models. Artif. Intell. Law. 2025, 1–27. [Google Scholar] [CrossRef]
  141. Xu, Y.; Hao, J.; Tang, K.; Chen, J.; Liu, A.; Liu, P.; Zhang, G. Finripple: Aligning large language models with financial market for event ripple effect awareness. Proc. Find. Assoc. Comput. Linguist. ACL 2025, 2025, 9377–9398. [Google Scholar] [CrossRef]
  142. Li, X.V.; Sanna Passino, F. Findkg: Dynamic knowledge graphs with large language models for detecting global trends in financial markets. In Proceedings of the Proceedings of the 5th ACM International Conference on AI in Finance, 2024; pp. 573–581. [Google Scholar]
  143. Zuniga, A.M.; Arun, A.; Sarmah, B.; Pasquali, S. FinCARE: Financial Causal Analysis with Reasoning & Evidence. In Proceedings of the NeurIPS 2025 Workshop: Generative AI in Finance, 2026. [Google Scholar]
  144. Barry, M.; Caillaut, G.; Halftermeyer, P.; Qader, R.; Mouayad, M.; Le Deit, F.; Cariolaro, D.; Gesnouin, J. GraphRAG: leveraging graph-based efficiency to minimize hallucinations in LLM-driven RAG for finance data. In Proceedings of the Proceedings of the Workshop on Generative AI and Knowledge Graphs (GenAIK), 2025; pp. 54–65. [Google Scholar]
  145. Tao, W.; Zhu, H.; Tan, K.; Wang, J.; Liang, Y.; Jiang, H.; Yuan, P.; Lan, Y. Finqa: A training-free dynamic knowledge graph question answering system in finance with llm-based revision. In Proceedings of the Joint European Conference on Machine Learning and Knowledge Discovery in Databases, 2024; Springer; pp. 418–423. [Google Scholar]
  146. Li, Z.; Sui, M.; Yang, C.; Liu, S.; Guan, B.; Li, X. Construction of Financial Risk Assessment Model Based on Text Mining and LLM Architecture. In Proceedings of the Proceedings of the 2025 2nd International Conference on Digital Economy and Computer Science, 2025; pp. 152–158. [Google Scholar]
  147. Zhao, Y.; Peng, Y.; Li, D.; Yang, Y.; Zhou, C.; Dong, J. Research on Personalized Financial Product Recommendation by Integrating Large Language Models and Graph Neural Networks. In Proceedings of the Proceedings of the 2025 International Conference on Software Engineering and Computer Applications, 2025; pp. 53–59. [Google Scholar]
  148. Abdelmagied, M.; Chatti, M.A.; Joarder, S.; Ain, Q.U.; Alatrash, R. Leveraging graph retrieval-augmented generation to support learners’ understanding of knowledge concepts in MOOCs. In European MOOCs Stakeholders Summit; Springer, 2025; pp. 108–118. [Google Scholar]
  149. Bui, T.; Tran, O.; Nguyen, P.; Ho, B.; Nguyen, L.; Bui, T.; Quan, T. Cross-data knowledge graph construction for LLM-enabled educational question-answering system: A case study at HCMUT. In Proceedings of the Proceedings of the 1st ACM Workshop on AI-Powered Q&A Systems for Multimedia, 2024; pp. 36–43. [Google Scholar]
  150. Wang, G.; Zhan, Z.; Qin, S. Synergizing Knowledge Graphs and LLMs: An Intelligent Tutoring Model for Self-Directed Learning. Educ. Sci. 2025, 15, 1102. [Google Scholar] [CrossRef]
  151. Liu, Z. AcademicRAG: Knowledge Graph Enhanced Retrieval-Augmented Generation for Academic Resource Discovery. 2025. [Google Scholar] [PubMed]
  152. Hu, S.; Wang, X. Foke: A personalized and explainable education framework integrating foundation models, knowledge graphs, and prompt engineering. In Proceedings of the China national conference on big data and social computing, 2024; Springer; pp. 399–411. [Google Scholar]
  153. Jiang, Y.H.; Tang, K.; Chen, Z.W.; Wei, Y.; Liu, T.Y.; Wu, J. MAS-KCL: Knowledge component graph structure learning with large language model-based agentic workflow. Vis. Comput. 2025, 41, 6453–6464. [Google Scholar] [CrossRef]
  154. Wasnik, H.H.; Shrivastava, T. Adaptive Machine Learning Frameworks Integrating LLMs and Knowledge Graphs for Tailored Education. In Proceedings of the 2025 8th International Conference on Circuit, Power & Computing Technologies (ICCPCT); IEEE, 2025; pp. 1509–1514. [Google Scholar]
  155. Wu, J.; Zhu, J.; Qi, Y.; Chen, J.; Xu, M.; Menolascina, F.; Jin, Y.; Grau, V. Medical graph rag: Evidence-based medical large language model via graph retrieval-augmented generation. Proceedings of the Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics 2025, Volume 1, 28443–28467. [Google Scholar] [CrossRef]
  156. Soman, K.; Rose, P.W.; Morris, J.H.; Akbas, R.E.; Smith, B.; Peetoom, B.; Villouta-Reyes, C.; Cerono, G.; Shi, Y.; Rizk-Jackson, A.; et al. Biomedical knowledge graph-optimized prompt generation for large language models. Bioinformatics 2024, 40, btae560. [Google Scholar] [CrossRef] [PubMed]
  157. Wang, F.; Shi, D.; Aguilar, J.; Cui, X.; Jiang, J.; Shen, L.; Li, M. LLM-KGMQA: large language model-augmented multi-hop question-answering system based on knowledge graph in medical field. Knowl. Inf. Syst. 2025, 67, 6461–6503. [Google Scholar] [CrossRef]
  158. Liu, G.; Sun, M.; Matusik, W.; Jiang, M.; Chen, J. Multimodal Large Language Models for Inverse Molecular Design with Retrosynthetic Planning. In Proceedings of the The Thirteenth International Conference on Learning Representations, 2025. [Google Scholar]
  159. Liu, B.; Nie, Y.; Song, H.; Lin, Y.; Li, J.; Weng, X.; Su, Z.; Suo, Y.; Lv, T.; Zhao, X.; et al. Magic: AN LLM-based multi-agent activated graph-reasoning intelligent collaboration model for liver disease diagnosis. Inf. Fusion 2025, 103557. [Google Scholar] [CrossRef]
  160. Zhang, Z.; Wang, Z.; Hou, S.; Hall, E.; Bachman, L.; White, J.; Galassi, V.; Chawla, N.V.; Zhang, C.; Ye, Y. Diet-odin: A novel framework for opioid misuse detection with interpretable dietary patterns. In Proceedings of the Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, 2024; pp. 6312–6323. [Google Scholar]
  161. Wang, X.; Cui, J.; Fukumoto, F.; Suzuki, Y. Enhancing high-order interaction awareness in llm-based recommender model. In Proceedings of the Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, 2024; pp. 11696–11711. [Google Scholar]
  162. Guan, Z.; Wu, L.; Zhao, H.; He, M.; Fan, J. Enhancing collaborative semantics of language model-driven recommendations via graph-aware learning. IEEE Transactions on Knowledge and Data Engineering, 2025. [Google Scholar]
  163. Wei, W.; Ren, X.; Tang, J.; Wang, Q.; Su, L.; Cheng, S.; Wang, J.; Yin, D.; Huang, C. Llmrec: Large language models with graph augmentation for recommendation. In Proceedings of the Proceedings of the 17th ACM international conference on web search and data mining, 2024; pp. 806–815. [Google Scholar]
  164. Zha, X.; Dong, Y.; Jiang, H.; Xu, Z.; Wang, C. LLM-AGR: Large Language Model Augmented Graph Representation Learning for Recommendation. Knowl.-Based Syst. 2025, 114791. [Google Scholar]
  165. Chen, J.; Yang, X.; Yang, C.; Bao, J.; Guo, Z.; Li, Y.; Shi, C. Corona: A coarse-to-fine framework for graph-based recommendation with large language models. In Proceedings of the Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval, 2025; pp. 2048–2058. [Google Scholar]
  166. Qiu, Z.; Luo, L.; Pan, S.; Liew, A.W.C. Reasoning Over User Preferences: Knowledge Graph-Augmented LLMs for Explainable Conversational Recommendations. In Proceedings of the 2025 IEEE International Conference on Data Mining (ICDM); IEEE, 2025; pp. 1495–1504. [Google Scholar]
  167. Wu, L.; Qiu, Z.; Zheng, Z.; Zhu, H.; Chen, E. Exploring large language model for graph data understanding in online job recommendations. Proc. Proc. AAAI Conf. Artif. Intell. 2024, Vol. 38, 9178–9186. [Google Scholar] [CrossRef]
  168. Jin, R.; Li, Y.; Qi, G.; Hu, N.; Li, Y.F.; Chen, J.; Wang, J.; Chen, Y.; Min, D.; Bi, S. Hegta: Leveraging heterogeneous graph-enhanced large language models for few-shot complex table understanding. Proc. Proc. AAAI Conf. Artif. Intell. 2025, Vol. 39, 24294–24302. [Google Scholar] [CrossRef]
  169. Majee, A.; Xenochristou, M.; Chen, W.P. Tabglm: Tabular graph language model for learning transferable representations through multi-modal consistency minimization. Proc. Proc. AAAI Conf. Artif. Intell. 2025, Vol. 39, 19387–19395. [Google Scholar] [CrossRef]
  170. Wei, L.L.; Xiao, G.; Balazinska, M. RACOON: An LLM-based Framework for Retrieval-Augmented Column Type Annotation with a Knowledge Graph. In Proceedings of the NeurIPS 2024 Third Table Representation Learning Workshop, 2024. [Google Scholar]
  171. Li, Q.; Huang, C.; Li, S.; Xiang, Y.; Xiong, D.; Lei, W. Graphotter: Evolving llm-based graph reasoning for complex table question answering. In Proceedings of the Proceedings of the 31st International Conference on Computational Linguistics, 2025; pp. 5486–5506. [Google Scholar]
  172. Agarwal, A.; Devaguptapu, C.; et al. Hybrid graphs for table-and-text based question answering using llms. Proceedings of the Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies 2025, Volume 1, 858–875. [Google Scholar] [CrossRef]
  173. Wang, X.; Costa, M.; Kovaceva, J.; Wang, S.; Pereira, F.C. Plugging schema graph into multi-table qa: A human-guided framework for reducing llm reliance. Proc. Find. Assoc. Comput. Linguist. EMNLP 2025, 2025, 5829–5842. [Google Scholar] [CrossRef]
  174. Nguyen, T.N.; Ngo, H.; Phung, D.; Vu, T.T.; Nguyen, D.Q. Improving Table Understanding with LLMs and Entity-Oriented Search. In Proceedings of the Second Conference on Language Modeling, 2025. [Google Scholar]
  175. Yu, K.; Ishikura, S.; Usukura, Y.; Shigoku, Y.; Hayashi, T. KGSynX: Knowledge Graph and Explainable Feedback Guided LLMs for Synthetic Tabular Data Generation. ISWC 2025. [Google Scholar]
  176. Li, J.; Li, G.; Li, Y.; Jin, Z. Structured chain-of-thought prompting for code generation. ACM Trans. Softw. Eng. Methodol. 2025, 34, 1–23. [Google Scholar] [CrossRef]
  177. Lu, G.; Ju, X.; Chen, X.; Pei, W.; Cai, Z. GRACE: Empowering LLM-based software vulnerability detection with graph structure and in-context learning. J. Syst. Softw. 2024, 212, 112031. [Google Scholar] [CrossRef]
  178. Zhang, Z.; Yu, H.; Lee, S.; Di, P.; Li, J.; Wang, R. Galla: Graph aligned large language models for improved source code understanding. Proceedings of the Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics 2025, Volume 1, 13784–13802. [Google Scholar] [CrossRef]
  179. Bairi, R.; Sonwane, A.; Kanade, A.; C, V.D.; Iyer, A.; Parthasarathy, S.; Rajamani, S.; Ashok, B.; Shet, S. Codeplan: Repository-level coding using llms and planning. Proc. ACM Softw. Eng. 2024, 1, 675–698. [Google Scholar] [CrossRef]
  180. Ouyang, S.; Yu, W.; Ma, K.; Xiao, Z.; Zhang, Z.; Jia, M.; Han, J.; Zhang, H.; Yu, D. RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graph. In Proceedings of the The Thirteenth International Conference on Learning Representations, 2025. [Google Scholar]
  181. Phan, H.N.; Phan, H.N.; Nguyen, T.N.; Bui, N.D. Repohyper: Search-expand-refine on semantic graphs for repository-level code completion. In Proceedings of the 2025 IEEE/ACM Second International Conference on AI Foundation Models and Software Engineering (Forge); IEEE, 2025; pp. 14–25. [Google Scholar]
  182. Liu, X.; Lan, B.; Hu, Z.; Liu, Y.; Zhang, Z.; Wang, F.; Shieh, M.Q.; Zhou, W. Codexgraph: Bridging large language models and code repositories via code graph databases. Proceedings of the Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies 2025, Volume 1, 142–160. [Google Scholar] [CrossRef]
  183. Chen, Z.; Tang, R.; Deng, G.; Wu, F.; Wu, J.; Jiang, Z.; Prasanna, V.; Cohan, A.; Wang, X. Locagent: Graph-guided llm agents for code localization. Proceedings of the Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics 2025, Volume 1, 8697–8727. [Google Scholar] [CrossRef]
  184. Tao, H.; Zhang, Y.; Tang, Z.; Peng, H.; Zhu, X.; Liu, B.; Yang, Y.; Zhang, Z.; Xu, Z.; Zhang, H.; et al. Code Graph Model (CGM): A Graph-Integrated Large Language Model for Repository-Level Software Engineering Tasks. Adv. Neural Inf. Process. Syst. 2025. [Google Scholar] [CrossRef]
  185. Pons, G.; Bilalli, B.; Queralt, A. Knowledge graphs for enhancing large language models in entity disambiguation. In Proceedings of the International Semantic Web Conference, 2024; Springer; pp. 162–179. [Google Scholar]
  186. Salman, M.; Chen, H.; Rodríguez Méndez, S.J.; Haller, A. An LLM-SPARQL Hybrid Framework for Named Entity Linking and Disambiguation to Wikidata. In Proceedings of the China Conference on Knowledge Graph and Semantic Computing, 2024; Springer; pp. 210–226. [Google Scholar]
  187. Zou, X.; Markov, K. Combining Graph NN and LLM for Improved Text-Based Emotion Recognition. In Proceedings of the International Conference on Artificial Intelligence: Methodology, Systems, and Applications, 2024; Springer; pp. 143–154. [Google Scholar]
  188. Yuan, Y.; Li, B. SKG-LLM: Enhancing Large Language Models with Sentiment Knowledge Graphs for Fine-Grained Sentiment Analysis. In Proceedings of the International Conference on Knowledge Science, Engineering and Management, 2025; Springer; pp. 282–290. [Google Scholar]
  189. Wang, S.; Meng, Y.; Ouyang, R.; Li, J.; Zhang, T.; Lyu, L.; Wang, G. GNN-SL: Sequence labeling based on nearest examples via GNN. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2023, 2023; pp. 12679–12692. [Google Scholar]
  190. Zheng, J.; Chen, H.; Ma, Q. Cross-domain named entity recognition via graph matching. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2022, 2022; pp. 2670–2680. [Google Scholar]
  191. Fang, H.; Zhang, Y.; Feng, R.; Wang, Y.; Wang, Q.; He, W.; Zhang, X.; Zhang, T.; Gao, S. GLiM: integrating graph transformer and LLM for document-level biomedical relation extraction with incomplete labeling. Proc. Find. Assoc. Comput. Linguist. ACL 2025, 2025, 14131–14146. [Google Scholar] [CrossRef]
  192. Baek, H.Y.; Choi, J.; Seo, J.; Jin, X.; Lee, D.; Oh, B. Relation-Faceted Graph Pooling with LLM Guidance for Dynamic Span-Aware Information Extraction. In Proceedings of the Proceedings of the 34th ACM International Conference on Information and Knowledge Management, 2025; pp. 109–118. [Google Scholar]
  193. Zhao, J.; Ning, W.; Fei, Y.; Feng, Y.; Li, L. Gdllm: A global distance-aware modeling approach based on large language models for event temporal relation extraction. In Proceedings of the Findings of the Association for Computational Linguistics: EMNLP, 2025, 2025. [Google Scholar]
  194. Iranmanesh, S.; Saadany, H.; Vakaj, E. LLM-assisted Graph-RAG Information Extraction from IFC Data. In Proceedings of the Proceedings of the 2025 European Conference on Computing in Construction, 2025; Vol. 6. [Google Scholar]
  195. Dutta, H.; Manchanda, S.; Bapat, P.; Gurjar, M.R.; Bhattacharyya, P. GRAFT: A Graph-based Flow-aware Agentic Framework for Document-level Machine Translation. In Proceedings of the Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing: Industry Track, 2025; pp. 2405–2428. [Google Scholar]
  196. Pan, S.; Tian, Z.; Ding, L.; Zheng, H.; Huang, Z.; Wen, Z.; Li, D. POMP: Probability-driven meta-graph prompter for LLMs in low-resource unsupervised neural machine translation. Proceedings of the Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics 2024, Volume 1, 9976–9992. [Google Scholar] [CrossRef]
  197. Zhang, H.; Feng, T.; You, J. Graph of records: Boosting retrieval augmented generation for long-context summarization with graphs. Proceedings of the Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics 2025, Volume 1, 23780–23799. [Google Scholar] [CrossRef]
  198. Zeng, G.H.; Liu, Y.Q.; Zhang, C.Y.; Cai, H.C.; Chen, C.P. Adaptive Multi-Document Summarization Via Graph Representation Learning. IEEE Transactions on Cognitive and Developmental Systems, 2024. [Google Scholar]
  199. Zhao, W.X.; Zhou, K.; Li, J.; Tang, T.; Wang, X.; Hou, Y.; Min, Y.; Zhang, B.; Zhang, J.; Dong, Z.; et al. A survey of large language models. arXiv 2023, arXiv:2303.182231, 1–124. [Google Scholar]
  200. Devlin, J.; Chang, M.W.; Lee, K.; Toutanova, K. Bert: Pre-training of deep bidirectional transformers for language understanding. Proceedings of the Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies 2019, volume 1 (long and short papers), 4171–4186. [Google Scholar] [CrossRef]
  201. Yin, P.; Neubig, G.; Yih, W.t.; Riedel, S. TaBERT: Pretraining for joint understanding of textual and tabular data. In Proceedings of the Proceedings of the 58th annual meeting of the association for computational linguistics, 2020; pp. 8413–8426. [Google Scholar]
  202. Liu, J.; Shi, C.; Yang, C.; Lu, Z.; Yu, P.S. A survey on heterogeneous information network based recommender systems: Concepts, methods, applications and resources. AI Open 2022, 3, 40–57. [Google Scholar] [CrossRef]
  203. Liu, J.; Zhai, J.; Zhao, M.; Lin, Z.; Yu, B.; Shi, C. Polargate: Breaking the functionality representation bottleneck of and-inverter graph neural network. In Proceedings of the Proceedings of the 43rd IEEE/ACM International Conference on Computer-Aided Design, 2024; pp. 1–9. [Google Scholar]
  204. Liu, J.; Liu, Z.; He, X.; Zhai, J.; Shi, Z.; Xu, Q.; Yu, B.; Shi, C. WideGate: Beyond Directed Acyclic Graph Learning in Subcircuit Boundary Prediction. In Proceedings of the 2025 Design, Automation & Test in Europe Conference (DATE); IEEE, 2025; pp. 1–7. [Google Scholar]
  205. Zhao, M.; He, X.; Liu, J.; Zhai, J.; Shi, C. Topology Matters in RTL Circuit Representation Learning. In Proceedings of the The Fourteenth International Conference on Learning Representations (ICLR), 2026. [Google Scholar]
  206. Zhao, M.; Liu, J.; Zhai, J.; Shi, C. MILS: Modality Interaction Driven Learning for Logic Synthesis. In Proceedings of the Proceedings of the Great Lakes Symposium on VLSI 2025 (GLSVLSI), 2025; pp. 64–70. [Google Scholar]
  207. Guo, F.; Xi, Y.; Zhai, J.; Jia, J.; Liu, J.; Zhao, K.; Shi, C. IRGNN: A Graph-based Framework Integrating Numerical Solution and Point Cloud for Static IR Drop Prediction. In Proceedings of the 2025 62nd ACM/IEEE Design Automation Conference (DAC); IEEE, 2025; pp. 1–7. [Google Scholar]
  208. Cheng, H.; Liu, J.; Zhai, J.; Zhao, M.; Yang, C.; Shi, C. SATGL: An Open-Source Graph Learning Toolkit for Boolean Satisfiability. In Proceedings of the 2024 2nd International Symposium of Electronics Design Automation (ISEDA); IEEE, 2024; pp. 746–751. [Google Scholar]
  209. Shen, S.; Hua, S.; Zou, J.; Liu, J.; Zhai, J.; Shi, C.; Yu, W. Transferable Parasitic Estimation via Graph Contrastive Learning and Label Rebalancing in AMS Circuits. In Proceedings of the 2025 IEEE/ACM International Conference On Computer Aided Design (ICCAD); IEEE, 2025; pp. 1–9. [Google Scholar]
Figure 1. A taxonomy of Graph4LLM with representative examples.
Figure 1. A taxonomy of Graph4LLM with representative examples.
Preprints 228372 g001
Figure 2. Examples of various types of graphs used in Graph4LLM. (a) depicts a tree structure that hierarchically arranges the sequential reasoning trajectories of LLMs for sorting tasks. (b) presents a directed acyclic graph to simulate the collaborative workflow of multi-agent systems. (c) shows a knowledge graph that captures structured factual relations involving the United States.
Figure 2. Examples of various types of graphs used in Graph4LLM. (a) depicts a tree structure that hierarchically arranges the sequential reasoning trajectories of LLMs for sorting tasks. (b) presents a directed acyclic graph to simulate the collaborative workflow of multi-agent systems. (c) shows a knowledge graph that captures structured factual relations involving the United States.
Preprints 228372 g002
Figure 3. The overall pipeline of LLM (input phase, model phase, and output phase).
Figure 3. The overall pipeline of LLM (input phase, model phase, and output phase).
Preprints 228372 g003
Figure 4. Different frameworks of Graph4LLM in the input phase.
Figure 4. Different frameworks of Graph4LLM in the input phase.
Preprints 228372 g004
Figure 5. Different frameworks of Graph4LLM in the model phase.
Figure 5. Different frameworks of Graph4LLM in the model phase.
Preprints 228372 g005
Figure 6. Different frameworks of Graph4LLM in the output phase.
Figure 6. Different frameworks of Graph4LLM in the output phase.
Preprints 228372 g006
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.