Elamur Research

G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answering

Paper · 2024 · Xiaoxin He, Yijun Tian, Yifei Sun et al.

Summary

A graph can hold the information needed to answer a question even when the question names only part of it. In a graph describing a scene, for example, a question about what is in the bushes asks for an object by way of its relationship to another object. The answer depends on which animal the graph connects to the bushes. A system that looks only for similar words can miss that link. A system that reads the entire graph has a different problem. Once the graph grows large enough, its text can exceed the amount the system can read for a single answer. G-Retriever tackles both problems by finding a compact, connected piece of the graph for each question. It adapts an approach known as retrieval-augmented generation.

The authors introduce GraphQA to study this form of question answering. They convert existing data from ExplaGraphs, SceneGraphs, and WebQSP to a common format. A question might ask whether an argument supports a belief, what objects in a scene are doing, or which entity satisfies a chain of relations in a knowledge graph. The authors present G-Retriever as the first retrieval-augmented approach designed for general textual graphs. It uses SentenceBERT to rank the text on nodes and edges by its relevance to the question. A Prize-Collecting Steiner Tree procedure then decides which matches are worth keeping together and which additional edges are worth including to connect them.

The resulting subgraph reaches Llama2-7b in two forms. A Graph Transformer compresses its structure into a learned input vector, while a text representation supplies the actual labels and relationships. With Llama2-7b frozen, G-Retriever reaches mean accuracies of 0.8516 on ExplaGraphs and 0.8131 on SceneGraphs, and 70.49 Hit@1 on WebQSP. All three scores exceed those of ordinary prompt tuning and GraphToken. With LoRA fine-tuning, the respective scores rise to 0.8705, 0.8683, and 73.79, ahead of the standard LoRA baseline on each task.

With retrieval on WebQSP, the graph input averages 610 tokens and 18 nodes, down from 100,627 tokens and 1,371 nodes. The paper reports a 67% reduction in training time per epoch for that comparison. In a separate manual review of 100 SceneGraphs responses, 76% of the edge references from G-Retriever could be found in the source graph, compared with 12% for a graph-prompting baseline. The retrieved subgraph can also be shown alongside the answer, giving a reader something concrete to inspect. The authors identify a remaining constraint in the design. Answer training can improve how the system uses the retrieved evidence, while the procedure that chooses that evidence stays fixed.

Deep dive: G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answering

G-Retriever answers questions about text-rich graphs by selecting a connected subgraph and using its nodes and edges to ground the response. · about 35 minutes to read

The problem and its context

A question can depend on a connection

A textual graph records things as nodes, links them with edges, and attaches text to those elements. The text tells a reader what an object is, what property it has, or what a relationship means. The links tell the reader which things the relationship applies to. Those roles are easy to conflate if the graph is reduced to a collection of labels. A pair of objects can occur in the same scene without one being inside the other. A person and an award can both appear in a knowledge graph, while the graph records the person as connected to an award through a particular season or award event.

Consider the scene graph the paper uses to illustrate hallucination. Elephants, grass, bushes, and a river all occur in the graph. The question seeks the animal in the bushes. The relevant evidence is the relation connecting an elephant to the bushes. Information about eating grass may be accurate and still fail to settle that question. As the graph grows, the answer may depend on a chain of such links. An intermediate node can be essential to the chain while having a label that sounds unrelated to the wording of the question.

That makes natural-language questions a different test from several graph tasks the authors discuss. A graph classifier can assign a label to a whole structure, and a node classifier can assign categories to individual nodes. Other graph tests ask for an edge's existence, a node's degree, or a shortest path. These tasks help establish whether a system can use graph structure. In GraphQA, the question also determines which part of the structure matters and how to interpret its labels. A response can be a stance, the name of an object in a scene, or an entity reached through several knowledge-graph relations. The task therefore brings graph processing together with reasoning.

A shared representation gives the authors a way to study this combination across domains. In a stance example, a relation in an explanation graph connects ideas in an argument. In a scene example, a relation connects objects described by annotations. In a knowledge-graph question, a relation encodes a predicate from a database. The architecture can accept all of them as graphs with textual attributes. The content of those attributes and the meaning of a correct answer still depend on the dataset.

What would fit in a prompt?

One approach in the earlier work discussed by the authors is to write the graph out as text. The nodes and edges can be listed in a prompt, with identifiers preserving which ends of an edge are joined. This exposes labels and relations in a form a language system can read. A small graph may fit comfortably this way. A much larger graph can require a long list of records for a question whose answer depends on a small fraction of them. Truncating the list to fit the input budget can drop a necessary record wherever that record happens to occur in the sequence.

Another approach is to encode the graph as a continuous vector and feed that vector into the answer system as a soft prompt. A soft prompt consists of numerical inputs in the same space as embedded text tokens. Its values can be learned from examples. An architecture like GraphToken applies this idea to graphs. It offers a route for structural information to reach a frozen generator without spending a token sequence spelling out every edge. The authors raise the possibility that a single graph embedding can make exact node and edge details hard to recover. The difference matters when the response is expected to name its evidence as well as answer the question.

The analogy the authors draw is to systems that connect an encoder for another kind of input to a language generator. The graph supplies information through an encoder and a learned interface, much as an image can do in the multimodal design discussed in MiniGPT-4. Earlier work on adapting a frozen generator provides the separate idea of learning a continuous prompt. In the basic version, the prompt is tuned for a task and reused across inputs. A graph-conditioned prompt instead depends on the particular graph presented to the system. The paper traces the general adaptation technique to parameter-efficient prompt tuning.

Retrieval offers another way to decide what the generator sees. In the language tasks discussed by the authors, retrieval provides relevant material at answer time so the generator has a source beyond what it learned during pretraining. Earlier graph retrieval described in the paper often focuses on knowledge graphs and retrieves nodes, edges, or triples. A triple has a source entity, a relation, and a destination entity. KAPING, for instance, retrieves triples related to the question and includes them as text in the input. Such a ranking can surface a useful fact directly. The authors' concern is that separately ranked triples may leave gaps between facts needed for the same answer. The two precedents are retrieval-augmented generation for knowledge-intensive NLP and KAPING.

G-Retriever combines these approaches by making a connected subgraph the unit of evidence. Retrieval reduces the amount of material the answer system has to read. The graph encoder can operate on that smaller structure, and its text can accompany the resulting vector. Connectivity gives the selection procedure a reason to include an intermediate node or edge even when its wording earns a weak similarity score. Showing the selected graph to the user then makes the source material available for inspection. Whether the generated answer is supported by that material remains an empirical question.

The method, step by step

From a question to a connected selection

The pipeline begins with labels and relationships already recorded in a graph. Before answering a question, G-Retriever encodes the text attached to each node and edge so those elements can be searched by meaning. When a question arrives, it encodes the question the same way. It then ranks nodes and edges separately. The ranking produces candidates, and the graph determines how candidates can be joined.

A scene question about an animal in the bushes gives a concrete way to follow the procedure. A node mentioning bushes can be a good match to the question. An edge label expressing location can also be a good match. The animal's name could earn a weaker score because the question asks for the type of animal without specifying it. The connected selection can include that animal because it is an endpoint of a relevant relation. The generator receives both the names and the connection. This example explains why ranking and building a subgraph are separate operations. It does not require knowing the scores of the individual elements in the authors' demonstration.

How G-Retriever answers a graph question

The steps in order.

How G-Retriever answers a graph questionStep 1: Encode and index node and edge text1. Encode and index node and edge textStep 2: Embed the question in the same space2. Embed the question in the same spaceStep 3: Rank nodes and edges by similarity3. Rank nodes and edges by similarityStep 4: Select a connected subgraph using prizes and costs4. Select a connected subgraph using prizes and costsStep 5: Encode its structure and write out its records5. Encode its structure and write out its recordsStep 6: Combine the graph vector, text, and question6. Combine the graph vector, text, and questionStep 7: Generate an answer and return the retrieved subgraph7. Generate an answer and return the retrieved subgraph

Representing and indexing the graph

The paper's formal definition includes the graph structure and the words attached to it. The same definition covers an explanation graph whose nodes are concepts and a scene graph whose nodes are objects with multiple attributes.

G = (V, E, {xₙ : n ∈ V}, {xₑ : e ∈ E})

Here G is the input graph. V is its node set and E is its edge set. The braces collect the text associated with elements of each set. The symbol n denotes a node in V, and xₙ is its text. The symbol e denotes an edge in E, and xₑ is its text. The symbol ∈ means membership. The paper uses D for the vocabulary and Lₙ and Lₑ for the lengths of the respective text sequences.

GraphQA represents nodes and edges as records resembling rows in a CSV file. The node records pair identifiers with their attributes. Edge records specify a source identifier, the relation text, and a destination identifier. The identifiers keep the graph navigable if several nodes have the same wording. In the paper's scene example, different objects can both have the name banana, while their identifiers, positions, or relationships distinguish them. The edge list can connect the intended object to the straw without relying on the name alone.

Retrieval uses a different representation of those same attributes. The indexing encoder maps node text to a vector. A d-dimensional space gives each encoded item the same number of numerical coordinates, regardless of the length of the text from which it was made.

zₙ = LM(xₙ) ∈ ℝᵈ

The vector zₙ represents the text of node n. LM is the pretrained text encoder, xₙ is the node's text, and ℝᵈ is the space of real-valued vectors with d coordinates. The paper applies the same operation to xₑ to obtain an edge vector zₑ. The experimental encoder is Sentence-BERT.

The vectors are stored for nearest-neighbor search. At this point the node and edge vectors encode their respective text attributes. The graph's links are still available as graph records and serve their own purpose in subgraph construction. Separating the index from the later graph encoder matters for training. The retrieval index can be prepared using the pretrained text encoder, while the graph encoder used for answer generation learns from the task.

Scoring the question against nodes and edges

G-Retriever applies the indexing encoder to the incoming question. This places the question in the same vector space as the attributes it will be compared with.

z_q = LM(x_q) ∈ ℝᵈ

The subscript q identifies the question. The input x_q is its text, and z_q is its vector. LM is the same encoder used at indexing time. As before, ℝᵈ denotes the real vector space and d is the vector dimension.

The comparison uses cosine similarity, which measures how closely two vectors point in the same direction. The paper ranks nodes by comparing each node vector to the question vector.

Vₖ = argtopₖ[n ∈ V] cos(z_q, zₙ)

Vₖ is the set of selected nodes. The operation argtopₖ returns the k elements with the highest scores. Here the candidates are nodes n in V, and cos is the cosine similarity function. Its inputs are the question vector z_q and the node vector zₙ. The parameter k determines how many nodes get through this ranking stage.

Edges receive their own ranking.

Eₖ = argtopₖ[e ∈ E] cos(z_q, zₑ)

Eₖ is the set of selected edges. The operation argtopₖ again returns the k best-scoring elements, here from edges e in E. The same cosine function, cos, compares the question vector z_q with the edge vector zₑ. The experiments can set k independently for nodes and edges. A relation label can therefore qualify as a useful match even when its endpoints have less similar wording.

The ranks matter more directly than the raw cosine scores in the next step. A high position earns a high prize. This converts comparisons based on text into incentives for graph selection. It also means the size of a gap between successive cosine scores does not itself determine the gap between their prizes. Two close matches receive consecutive ranks, as do two whose cosine scores are farther apart.

Trading prizes against connecting edges

The graph selection is a Prize-Collecting Steiner Tree problem, abbreviated PCST. The idea is to collect the rewards attached to useful graph elements while paying for the links needed to keep the result connected. A part of the graph that earns little reward can still be worth keeping if it connects parts with larger prizes. A promising-looking match can be left out when the path needed to reach it would cost too much. The price of an edge thus helps decide how far the retrieval should extend from its best candidates.

The paper assigns descending prizes from k to 1 to ranked candidates. Its node-prize expression uses a rank offset i, starting at zero for the highest-ranked node.

prize(n) = { k − i   if n ∈ Vₖ at rank offset i
             0       otherwise }

The function prize(n) gives the reward for including node n. The set Vₖ contains the top k node candidates. The symbol i gives the node's position under the rank-offset convention, and k − i is its assigned reward. A node outside Vₖ receives 0. The paper applies the same scheme to edges in Eₖ. A zero prize leaves an element available for use as a connection.

The paper writes the target as a maximization over connected parts of the input graph.

S* = argmax[S ⊆ G, S connected] (Σ[n ∈ Vₛ] prize(n) + Σ[e ∈ Eₛ] prize(e) − cost(S))

S is a candidate subgraph of G, and ⊆ denotes inclusion in the original graph. Vₛ and Eₛ are the nodes and edges in S. The two sums, marked by Σ, add the prizes for its nodes n and its edges e. The function cost(S) charges for the edges included in the subgraph. The operation argmax specifies the choice with the largest objective, with S restricted to connected candidates. S* denotes the selected or target subgraph, with node and edge sets V* and E*. The expression defines what the procedure is seeking. The paper uses a near-linear-time PCST approach to carry out the optimization.

The cost term uses the number of edges as its measure of size.

cost(S) = |Eₛ| × Cₑ

The bars in |Eₛ| denote the number of elements in the edge set of S. Cₑ is the pre-defined charge per edge, and × multiplies that charge by the edge count. Varying Cₑ changes how expensive it is to join distant pieces of evidence. The objective places a cost on edges, so its control of the eventual number of text tokens is indirect. Graph records with the same number of edges can still contain different amounts of text.

The standard solver used by the paper expresses prizes on nodes. G-Retriever also has edge prizes, because an edge label can carry much of the meaning of a question. The authors translate those prizes into a form the solver can use. If an edge costs more than it earns, its reward is subtracted from its cost. In the following expression, C_eff denotes the resulting effective cost.

C_eff = Cₑ − Pₑ

Cₑ is the edge cost, and Pₑ is the prize for edge e. For the case the authors describe here, Cₑ exceeds Pₑ, so the effective cost C_eff stays positive.

If the edge's prize exceeds its cost, the same subtraction would lead to a negative edge cost. The paper handles this case by replacing the edge with a virtual node connected to its original endpoints by zero-cost edges. The excess reward becomes the virtual node's prize.

prize(vₑ) = Pₑ − Cₑ

The symbol vₑ denotes the virtual node standing for edge e. Pₑ is the original edge prize and Cₑ is its cost. The positive difference becomes the reward for selecting vₑ in the transformed problem. The virtual node is an optimization device. The evidence supplied for answering is expressed in terms of the original graph's elements.

The benchmark settings illustrate the different roles of k and Cₑ. SceneGraphs uses k equal to 3 for both node and edge candidates, with an edge cost of 1. WebQSP uses k equal to 3 for nodes and 5 for edges, with an edge cost of 0.5. ExplaGraphs has an average of 5.17 nodes and 4.25 edges per graph. The authors set k to 0 there as a special configuration that passes through the original graph. For ExplaGraphs, the architecture uses the complete graph in both of its representations.

Giving the generator structure and readable records

The first route from the selected subgraph to the answer goes through a graph neural network, or GNN. A GNN produces representations using the connections between graph elements. G-Retriever averages the resulting node representations to obtain a vector for the subgraph. The paper describes this operation using graph attention and uses a Graph Transformer as its main experimental encoder. An appendix compares that encoder with alternatives, including Graph Attention Networks.

h_g = POOL(GNN_ϕ₁(S*)) ∈ ℝᵈᵍ

The symbol h_g is the pooled graph vector. GNN_ϕ₁ is the graph encoder with learned parameters ϕ₁, and S* is the selected subgraph. POOL averages the node representations produced by the encoder. The dimension of the resulting vector is d_g, and ℝᵈᵍ denotes the corresponding space of real-valued vectors. By the time the average is taken, the encoder has already processed the graph's connections.

The graph vector needs to have the same width as the vectors the generator receives for text tokens. A multilayer perceptron, or MLP, performs that projection.

ĥ_g = MLP_ϕ₂(h_g) ∈ ℝᵈˡ

The symbol ĥ_g denotes the projected graph vector, also called the graph token. MLP_ϕ₂ is the projection network with parameters ϕ₂. Its input is h_g, and its output has dimension d_l, the generator's embedding width. The space ℝᵈˡ contains real vectors of that width. The projection makes it possible for the graph token to occupy an input position alongside vectors that come from actual words and other text tokens.

The other route uses the specific text records in the subgraph. The procedure called textualize writes the retained nodes and edges as text. The system appends the question and passes the sequence through the generator's text-embedding layer.

h_t = TextEmbedder([textualize(S*) ; x_q]) ∈ ℝ^(L×d_l)

Here h_t is a matrix of text embeddings. TextEmbedder is the embedding layer, textualize converts S* to text, and x_q is the question. The brackets and separating symbol indicate concatenation in sequence order. L is the number of text tokens, and d_l is the number of coordinates in each token embedding. The symbol × describes the shape of the real-valued matrix, with L rows of width d_l.

This route retains details a reader can also see in the graph records. A WebQSP relation may have a long database label. A SceneGraphs record may distinguish objects with the same name by an identifier and attributes. Those details reach the generator as text. The graph token provides an additional representation calculated from the connections, and the question tells the generator what to do with the combined input. The answer generator in the main experiments is Llama 2.

Training the answer system

The paper first describes ordinary prompted generation. The probability of an answer sequence is built from the probabilities of its successive tokens. Each prediction is conditioned on the prompt, the input, and the answer tokens already generated.

p_θ(Y | [P ; X]) = ∏[i=1…r] p_θ(yᵢ | y_<i, [P ; X])

The symbol p_θ denotes probabilities given the generator's parameters θ. Y is the output sequence, P is the prompt, and X is the input token sequence. The bracketed expression joins the prompt and input. The vertical bar means that the probability is conditional on what follows it. The symbol ∏ multiplies terms over positions i, beginning with the first answer token and ending at position r, the answer length. At a given position, yᵢ is the token being predicted and y_<i is the preceding answer sequence.

In ordinary soft prompt tuning, the system embeds the text and puts a trainable prompt matrix before it.

[Pₑ ; Xₑ] ∈ ℝ^((q+p)×d_l)

Xₑ is the embedded text sequence, which has p input positions. Pₑ here denotes the learned prompt matrix, with q positions. These symbols refer to embeddings in this formula. The subscript e here is distinct from the edge index used in the retrieval formulas. Each position has width d_l, and concatenation yields q+p positions. Training increases the likelihood of the target output by updating the prompt embeddings while leaving θ fixed.

In G-Retriever, the projected graph vector serves as a soft prompt produced from the particular question's subgraph. The answer probability can then be written as follows.

p_{θ,ϕ₁,ϕ₂}(Y | S*, x_q) = ∏[i=1…r] p_{θ,ϕ₁,ϕ₂}(yᵢ | y_<i, [ĥ_g ; h_t])

The parameters are θ for the generator, ϕ₁ for the graph encoder, and ϕ₂ for the projection. Y is the answer sequence, S* is the retrieved graph, and x_q is the question. The product ∏ ranges over answer positions i through the final position r. Each next token yᵢ depends on the preceding tokens y_<i and on the concatenation of the projected graph token ĥ_g with the text matrix h_t. In the frozen configuration, backpropagation through this calculation updates ϕ₁ and ϕ₂. This makes the graph prompt task-adapted even though the generator's original weights and the retrieval procedure stay fixed.

The main Graph Transformer has 4 layers, with 4 attention heads at each layer and a hidden dimension of 1024. The implementation settings list a maximum text length of 512 and a maximum of 32 newly generated tokens. They also specify 10 virtual tokens for standard prompt tuning. In the tuned-generator configuration, the paper applies low-rank adaptation, which learns restricted updates to the generator's weights. The LoRA update dimension is 8, its scaling parameter is 16, and the dropout rate is 0.05. This configuration tests the contribution of graph retrieval and representation when the generator itself can also adapt through LoRA.

The main implementation settings specify a batch size of 4 and a training schedule of 10 epochs, with early stopping patience of 2 epochs. The initial learning rate is 1e-5 and weight decay is 0.05. The learning rate follows a half-cycle cosine decay after warm-up. The optimizer is AdamW. The authors make their code and datasets available in the G-Retriever repository.

Experiments and results

What GraphQA asks the system to answer

Every GraphQA example contains a graph, a question about it, and at least one answer. Standardizing the node and edge records lets the authors apply the same architecture across the constituent datasets. The graphs and questions still differ in where their evidence comes from, how much of it is available, and what counts as a successful response.

ExplaGraphs supplies explanation graphs for arguments about beliefs. The benchmark uses the graphs to assess whether an argument supports its associated belief or contradicts it. The original records contain triples. In the conversion, the head and tail become nodes and the relation becomes an edge. The original test labels were unavailable, so the authors use the original training and validation material and split it into new training, validation, and test subsets in a 6:2:2 ratio. The metric is accuracy on the stance decision. Here a correct answer can depend on how successive relations bear on the argument as a whole.

SceneGraphs uses structured descriptions of images from GQA. The original collection has 108k images with corresponding scene graphs, and the authors report randomly sampling 100k examples and splitting them in a 6:2:2 ratio for training, validation, and test. They simplify the object identifiers in the original JSON records. Attributes can include object names, descriptive properties, and bounding-box information, and edges record relations between objects. The experiment supplies the scene graphs. The images themselves are outside the input. SceneGraphs measures accuracy of answers to open-ended questions grounded in those records. Its source is the GQA dataset.

WebQSP is described as a collection of 4,737 knowledge-graph questions. Following the processing used by RoG, G-Retriever works with part of Freebase containing facts within 2-hops of question entities. A hop is a move along a graph edge. The authors turn the supplied triples into node and edge records and lower-case the text. They retain the original split. Since a question can have several acceptable answers, they use Hit@1 to check whether the top returned answer is among them. The benchmark therefore gives credit for finding a valid answer at the top. Recovering every possible answer is a different objective. The source dataset comes from WebQSP's semantic-parse labeling work.

One of the paper's WebQSP records illustrates how much extra graph material can accompany evidence for a question. Its sports-award example contains a result node connected to the award, the winner, and the season. Other edges lead to topic metadata or to types and properties of awards. Those edges can be accurate records in the source while contributing little to the question at hand. Compared with the compact explanation graphs, this format puts more of the burden on identifying and joining a few relevant pieces of evidence.

Which comparisons are reported

The inference-only baselines use a frozen generator without task training. The basic zero-shot setup presents a graph description and a task and asks for the answer without demonstrations. Zero-CoT adds an instruction encouraging intermediate reasoning. CoT-BAG asks the system to construct the graph from the supplied node and edge description before answering. KAPING performs a different kind of intervention by fetching relevant triples and placing them before the question. These comparisons span direct answering, changes to the reasoning prompt, and simple graph-derived retrieval. The reasoning prompt variants draw on zero-shot reasoning and chain-of-thought prompting.

The frozen-generator training comparison includes ordinary prompt tuning, GraphToken, and G-Retriever. Ordinary prompt tuning trains reusable continuous prompts. GraphToken supplies a learned graph-dependent prompt. G-Retriever uses its own graph-conditioned prompt together with the written graph records. The tuned-generator comparison applies LoRA in both the standard baseline and G-Retriever. These settings matter to interpreting the scores. A useful comparison of graph inputs can hold the generator's adaptation regime fixed, while the best overall scores combine G-Retriever with generator adaptation.

The authors report using 2 NVIDIA A100-80G GPUs and repeating each experiment four times with different seeds. The trained configurations in the main results table give means and standard deviations. The chart uses the mean WebQSP scores. The inference-only entries in that table appear as individual scores.

WebQSP Hit@1 across prompt-tuned and LoRA-tuned systems

G-Retriever leads within each training regime, and its LoRA configuration has the highest score shown.

WebQSP Hit@1 across prompt-tuned and LoRA-tuned systemsPrompt tuning: 48.34Prompt tuning48.34GraphToken: 57.05GraphToken57.05G-Retriever with frozen generator (this paper): 70.49G-Retriever with frozen generator (thispaper)70.49LoRA: 66.03LoRA66.03G-Retriever with LoRA: 73.79G-Retriever with LoRA73.79
The numbers
System or settingHit@1
Prompt tuning48.34
GraphToken57.05
G-Retriever with frozen generator (this paper)70.49
LoRA66.03
G-Retriever with LoRA73.79

Task accuracy and top-answer performance

On ExplaGraphs, the plain prompt tuning baseline has mean accuracy 0.5763 with standard deviation 0.0243. GraphToken reaches 0.8508 with standard deviation 0.0551, and frozen-generator G-Retriever reaches 0.8516 with standard deviation 0.0092. The closeness of the two graph-conditioned means is worth keeping in view. It gives a different picture from an average across the benchmark. The setup also passes through the entire graph for ExplaGraphs, so the comparison concerns the use of the graph in answering when retrieval has no filtering role.

On SceneGraphs, the frozen-generator G-Retriever accuracy is 0.8131 with standard deviation 0.0162. Plain prompt tuning reaches 0.6341 with standard deviation 0.0024. GraphToken reaches 0.4903 with standard deviation 0.0105. Here the graph-token baseline by itself trails ordinary prompt tuning, while the architecture that supplies both the retrieved graph vector and explicit text leads the group. This result concerns the full configurations. The comparison changes multiple aspects of the graph input together.

For WebQSP, standard deviations of the frozen-generator Hit@1 scores are 0.64 for prompt tuning, 0.74 for GraphToken, and 1.21 for G-Retriever. On that task the authors report a 45.81% increase relative to plain prompt tuning. Across the three datasets they report average performance increases of 40.6% relative to ordinary prompt tuning and 30.8% relative to GraphToken. These reported across-task figures combine results from tasks that use different metric scales. The separate scores describe where the gains are large and where the graph-prompt approaches have similar means.

Within the LoRA comparison, mean ExplaGraphs accuracy is 0.8538 with standard deviation 0.0353 for the baseline and 0.8705 with standard deviation 0.0329 for G-Retriever. SceneGraphs mean accuracy is 0.7862 with standard deviation 0.0031 for the baseline and 0.8683 with standard deviation 0.0072 for G-Retriever. On WebQSP, Hit@1 has standard deviation 0.47 for ordinary LoRA and 0.70 for G-Retriever with LoRA. The paper reports improvements over standard LoRA of 1.95% on ExplaGraphs, 11.74% on SceneGraphs, and 10.44% on WebQSP. In the main comparison, G-Retriever with LoRA has the highest mean on every dataset.

The best inference-only entries shown in the main table depend on the task. KAPING obtains 0.6227 accuracy on ExplaGraphs and 52.64 Hit@1 on WebQSP. CoT-BAG obtains 0.5680 accuracy on SceneGraphs. The results narrative also credits G-Retriever with an inference-only lead. The table shows G-Retriever scores in its two trained configurations, so the reported numerical comparisons within inference-only concern the baselines. The appendix gives a separate WebQSP result that helps explain the interest in selective retrieval. A question-only input reaches 61.16 Hit@1, while the input containing the textual graph and question scores 41.06. The authors suggest that complex or noisy graph content may be responsible. That comparison shows that access to graph text, by itself, can coincide with worse answers.

How much graph the system reads

For SceneGraphs, the average textual graph size goes from 1,396 tokens before retrieval to 235 after it. The average node count goes from 19 to 5. Minutes per training epoch fall from 123.1 to 86.8. The paper gives the corresponding reductions as 83% for tokens, 74% for nodes, and 29% for time. The smaller graph reduces the amount of text to process and the amount of graph structure sent to the encoder. Training time includes other work as well, so the timing and input-size changes describe different quantities.

For WebQSP, the average textual graph is 100,627 tokens before retrieval and 610 tokens afterwards. The corresponding average graph sizes are 1,371 nodes and 18 nodes. The table reports 99% reductions in both quantities. The training time per epoch changes from 18.7 minutes to 6.2 minutes, a 67% reduction according to the paper. These counts describe the graph material before and after the retrieval operation. In particular, the average length of the textualized subgraph is a different reported quantity from the maximum text length listed in the implementation settings.

A WebQSP appendix comparison pairs the timing with answer scores under specific resource settings. For those tests, it uses A100 GPUs with 80GB of memory each and specifies batch sizes of 16 for training and 32 for evaluation. In the tuned-generator setting, standard LoRA takes 19 min/epoch and G-Retriever with LoRA takes 6.9 min/epoch. For the two inference-only inputs in that comparison, the question-only run takes 31 min and the graph-and-question run takes 40 min. The inference figures are reported as elapsed minutes, while the training figures are minutes per epoch. The paper also notes that the fixed retrieval stage can be run during preprocessing or at query time, a choice that affects where its cost is paid.

Checking the evidence named in responses

The authors use a separate assessment for hallucination on SceneGraphs. They ask the system for an answer and for supporting nodes or edges. A human reviewer can then check whether each named element appears in the actual graph. The baseline, adapted from a multimodal soft-prompt design, uses a trainable graph encoder with a frozen generator. The authors use this comparison to test a way of giving the system graph information even where a complete textual representation is too long.

The paper reports manually examining 100 responses from the comparison. Its node metric counts the fraction of referenced nodes that are valid. Its edge metric does the same for edges. Its strictest metric checks whether the entire set of referenced graph elements is valid. The distinction is important for multi-element explanations. Several accurate references can coexist with an invented link, which matters if that link is what makes the answer follow.

SceneGraphs validity of the complete set of cited graph elements

G-Retriever more often cites a set in which every referenced node and edge exists in the source graph.

SceneGraphs validity of the complete set of cited graph elementsGraph prompt tuning baseline: 8Graph prompt tuning baseline8G-Retriever (this paper): 62G-Retriever (this paper)62
The numbers
System or settingFully valid graphs %
Graph prompt tuning baseline8
G-Retriever (this paper)62

The node validity rate is 31% for the baseline and 77% for G-Retriever. The edge validity rate is 12% and 76%, respectively. The scene with the elephant illustrates the kind of error the review captures. The baseline names a deer and supplies links involving it, while G-Retriever identifies the elephant and points to the location relation present in the graph. The aggregate validity scores establish how frequently references can be checked against the graph. They cover a narrower question than whether every claim in a response is true or every cited edge is necessary to the answer.

What the ablations show

The two representations contribute different evidence

The paper's main ablation uses WebQSP and compares modifications of the frozen-generator architecture with its full 70.49 Hit@1 result. Each modification asks how the pipeline performs when a particular route for graph information or a particular processing stage is altered.

WebQSP Hit@1 after removing parts of frozen-generator G-Retriever

Removing the graph encoder or the textualized graph produces the largest declines among the tested changes.

WebQSP Hit@1 after removing parts of frozen-generator G-RetrieverWithout graph encoder: 54.62Without graph encoder54.62Without projection layer: 69.70Without projection layer69.70Without textualized graph: 56.96Without textualized graph56.96Without retrieval: 63.84Without retrieval63.84Full G-Retriever (this paper): 70.49Full G-Retriever (this paper)70.49
The numbers
System or settingHit@1
Without graph encoder54.62
Without projection layer69.70
Without textualized graph56.96
Without retrieval63.84
Full G-Retriever (this paper)70.49

In the graph-encoder ablation, the authors substitute 10 trainable soft tokens for the graph encoder. The resulting system still has a learned prompt, but that part of the input no longer derives its content from the particular graph. The standard deviation of WebQSP Hit@1 is 0.78 in this setting, and the paper reports a decline of 22.51% relative to the full configuration. The comparison supports the value of a graph-conditioned vector when the text path remains available. It also changes the kind and number of prompt positions, so the measured effect is for the stated replacement.

For the textualized-graph ablation, the authors retain the graph prompt and leave only the question in the textual input. The standard deviation of WebQSP Hit@1 is 1.83, and the reported decline is 19.19%. The graph encoder can still deliver a compressed representation of the graph. The loss of the text path removes direct access to exact node names and edge labels in the input sequence. Together, these two ablations support the authors' view that the representations complement each other on WebQSP.

In the projection ablation, the authors change the graph encoder's output dimension to 4,096, matching the hidden embedding width of Llama2-7b. This lets them supply the graph vector directly. It preserves the ability to pass a graph-dependent prompt and tests a design in which the encoder itself supplies the required output width. The WebQSP score has a standard deviation of 0.68, with a reported decline of 1.11% from the full setup. The result leaves room for a capable graph encoder to provide a compatible prompt without a separate projection layer.

Dropping retrieval yields a WebQSP Hit@1 standard deviation of 0.41, with a reported decline of 9.43%. This is evidence that the tested retrieval component contributes to answer performance as well as reducing input size. The ablation covers the removal of retrieval as a component. Individual choices inside the retrieval stage, such as rank weighting and the handling of edge prizes, have separate effects that this comparison does not resolve.

Connectivity and the size of the candidate pool

The authors also evaluate what the retriever returns before assessing the prose answer. They count a retrieval as successful when the target label appears in the retrieved material. On WebQSP they report retrieval accuracy of 60.81 for KAPING's top-k triple retrieval and 70.49 for G-Retriever's subgraph retrieval. Although the latter value matches the headline frozen-generator Hit@1 value, the two rows are labeled as different measurements in the paper. The retrieval comparison concerns presence of a target label in the selected evidence. The answer comparison concerns the top returned answer.

The paper explains the retrieval result in terms of bridge nodes and edges, which can join matches that a triple ranking treats separately. The comparison is between complete retrieval methods. It tests a practical distinction between the selected subgraph and the triple list, while leaving open the effect of holding every other retrieval choice fixed and changing only connectivity. Similarly, the metric can count a target label as present while leaving unanswered whether every relation needed to justify that label was retrieved.

A separate WebQSP sweep varies k. The reported Hit@1 values are 0.6977 at k equal to 3, 0.7063 at 5, 0.7248 at 10, and 0.7039 at 20. Those values are printed on the fractional scale in the sweep. The best result among those tested values occurs at 10. A larger candidate set can put additional useful material in contention for selection, and it can also offer more distracting material. The authors suggest using validation data to choose k. The sweep provides evidence for that tuning decision on WebQSP under the tested conditions.

Swapping encoders and changing generator size

With the Graph Transformer replaced by a graph convolutional network, WebQSP Hit@1 is 70.70. The graph attention network obtains 70.27, and the Graph Transformer obtains 70.49. Those values are close, and the Graph Transformer is the middle result on this dataset. For ExplaGraphs, accuracies are 0.8394 with the graph convolutional network, 0.8430 with the graph attention network, and 0.8516 with the Graph Transformer. The useful conclusion from these comparisons is that the architecture works with the tested alternatives, with the ranking of encoders depending on the task.

The authors also change the generator from Llama2-7b to Llama2-13b on WebQSP. The reported Hit@1 rises from 70.49 to 75.58. This establishes a benefit in the reported comparison for that pair of generators on that particular benchmark. It also clarifies the scope of the headline LoRA result. The 73.79 score leads the main table with its shared backbone, while the generator-size study reports a higher value under a different backbone choice.

Limitations

Limits the authors identify

The authors' stated limitation is fixed retrieval. Training can change the graph encoder and projection, and the LoRA configuration can also adapt the generator. The selection stage still uses the pretrained similarity representation, candidate ranks, and prescribed costs. If the scoring stage overlooks a relation that matters to many questions, answer supervision has no direct route to change those scores. A trainable retriever is the extension the authors propose investigating.

The paper treats its text representation as a straightforward design choice. The node and edge lists supply a common input format across the benchmark. They leave open how a different serialization might affect retrieval, context use, or answer generation. The authors also treat cosine similarity as a practical choice for comparing embeddings. The k sweep studies candidate counts under their selected approach. It leaves the comparative merits of other similarity functions open.

Limits of the evidence

The benchmark starts from graphs that have already been assembled. For SceneGraphs, the answer system receives object and relation records derived from annotation, and the source images are outside the input. The knowledge-graph setup uses a portion of Freebase prepared around entities present in the questions. The WebQSP efficiency result is therefore about selecting from these question-associated graphs. An end-to-end setting where the system must discover the appropriate source graph or identify the topic entity would add a separate retrieval problem.

Graph size also has several meanings in these experiments. Before retrieval, the paper counts the textual length of the available graph. After retrieval, it counts the text that describes the selected subgraph. The generator then operates under the implementation's own text-length setting. WebQSP's after-retrieval mean of 610 graph tokens and the stated maximum text length of 512 are distinct quantities. The paper does not detail how that difference was handled for every input. The result supports a substantial reduction in material for the generator. It leaves the amount of retained graph text actually seen in each example uncertain.

Connectivity is a preference imposed by the design. It benefits a question whose evidence passes through related entities, and it makes context useful when a bridge has little textual resemblance to the question. It can also make a set of evidence expensive when useful pieces sit in distant regions of the graph. The cost term controls edges rather than token length, and the objective rewards relevance ranks rather than the presence of a complete logical proof. As the WebQSP retrieval study illustrates, finding the answer label and finding all the relations needed to prove the answer are separate standards.

The hallucination assessment checks membership in the graph. A node can exist, and the edge linked to it can be valid, while those facts still fail to justify the proposed answer. The study's rates therefore address reference accuracy. The authors explain that their flexible questions lack standard answers, which is why the manual review checks named evidence. Its result supports a claim about fewer invented graph elements on SceneGraphs. The corresponding rates for other graph domains and the truth of all the surrounding prose remain open.

The demonstrations of conversation make that distinction concrete. The paper shows a stance-graph essay, a scene-based advertisement, and an educational tour built around a knowledge graph about Benjamin Franklin. The tour adds claims about collaboration and historical influence beyond the relations shown in its graph records. The graph can support an invention link and separately mention a connection to another person, while a sentence assigning that person a role in developing the invention requires further evidence. The examples show which kinds of requests the interface accepts and how it can respond. The benchmarked accuracy and reference-validity results cover narrower tasks than the creative demonstrations.

Finally, the largest graph-size and timing reductions concern the reported configurations and hardware. The experiments establish that the authors can avoid presenting the entirety of a large WebQSP graph as a generator input and that training is faster in the stated comparisons. A deployment that builds the index at query time, handles graph updates, or measures interactive latency has a different accounting problem. The paper identifies preprocessing and on-the-fly retrieval as options. Its per-epoch measurements leave those deployment tradeoffs open.

What came after

From earlier surveys to graph-specific accounts

An earlier survey in the citation record provides context for the design. Its 2023 date precedes G-Retriever, and G-Retriever cites it in discussing the motives for retrieval, including the possibility of grounding generated responses in inspectable sources. Its scope is retrieval-augmented generation across language tasks, which frames the question G-Retriever takes up for connected data. Retrieval-Augmented Generation for Large Language Models: A Survey

The associated surveys place that question in several broader settings. The survey on AI-generated content takes retrieval as a way to supply information for generation across its stated scope. The survey devoted to graph retrieval makes the graph itself the organizing subject. Retrieval Augmented Generation with Graphs likewise treats graphs as a setting for retrieval and generation. These titles establish the topics the surveys cover. The precise classifications they give G-Retriever, or how they compare its solver with other methods, are outside that evidence. Retrieval-Augmented Generation for AI-Generated Content: A Survey · Graph Retrieval-Augmented Generation: A Survey · Retrieval Augmented Generation with Graphs (GraphRAG)

A survey of agentic RAG and deep reasoning takes up the relationship between retrieving evidence and working through a problem. That emphasis connects to a choice G-Retriever makes clear. Its retriever finishes selecting a subgraph before the generator answers. Agentic retrieval and reasoning form a broader subject in which the role of retrieval can itself be part of the reasoning process. Towards Agentic RAG with Deep Reasoning

Changing how graph evidence is selected

GNN-RAG puts graph neural retrieval at the center of its approach to language reasoning. Its stated focus connects directly to the fixed stage in G-Retriever. In G-Retriever, a GNN encodes the selected subgraph for the generator, while the selection procedure uses text similarity and graph optimization. GNN-RAG makes graph neural retrieval the subject of the method itself. A separate work, COSMOS, frames connected subgraph retrieval as a submodular maximization problem. It retains the emphasis on connectivity while putting a different optimization formulation in the foreground. GNN-RAG · COSMOS

Other work changes the role the graph plays before or during selection. Adaptive Reasoning Structures asks how RAG can use structure without starting from a pre-built graph, whereas the G-Retriever pipeline begins with supplied graph records. Autonomous Knowledge Graph Exploration emphasizes adapting the breadth and depth of retrieval, two aspects of exploration relevant to how much graph material a question calls for. TopoRAG brings topology into approximate nearest-neighbor search, placing the relationship between similarity search and graph structure at the center of its stated method. You Don't Need Pre-built Graphs for RAG · Autonomous Knowledge Graph Exploration with Adaptive Breadth-Depth Retrieval · TopoRAG

OG-RAG puts ontologies in the grounding role. An ontology supplies a structured description of relevant concepts and relations, so the focus is on how that organization can guide retrieval. Knowledge Filtering and Integration emphasizes what should be kept and how selected knowledge should be brought together. Think Parallax puts multiple views of knowledge-graph evidence at the service of multi-hop problems. Each takes up a different part of the question G-Retriever posed when it decided to give the generator a structured selection of evidence. OG-RAG · Empowering GraphRAG with Knowledge Filtering and Integration · Think Parallax

Path-oriented work narrows the unit of interest. Follow the Path focuses on reasoning over knowledge-graph paths to improve factuality. G-Retriever returns a connected subgraph that can contain several possible lines of evidence, and a path gives a more specific sequence of relations to reason over. Subgraph-Guided Executable Logical Form Generation gives the retrieved structure another role. It guides the construction of a logical form that can be executed for knowledge-base question answering. Interactive Semantic Parsing places reinforcement learning and interaction in the semantic parsing process for knowledge-graph reasoning. Together these directions broaden the range of outputs graph evidence can support, from prose to structured expressions. Follow the Path · Subgraph-Guided Executable Logical Form Generation · Interactive Semantic Parsing with Reinforcement Learning for Knowledge Graph Reasoning

Testing reliability and moving to other tasks

Later evaluation work gives separate attention to questions that G-Retriever's experiments bring together. What Breaks Knowledge Graph based RAG? studies reasoning under incomplete knowledge, where available graph content can limit the answer even before ranking. Quantifying Retrieval Quality in GraphRAG makes quality assessment itself the object of a schema-agnostic approach. The Structure-Content Trade-off uses question decomposition as the focus of a diagnostic study. These works address different sources of retrieval failure, including missing evidence, how evidence quality is measured, and how the wording of a decomposed question relates to graph structure. What Breaks Knowledge Graph based RAG? · Quantifying Retrieval Quality in GraphRAG · The Structure-Content Trade-off in Knowledge Graph Retrieval

The study of trustworthiness over open-ended question answering asks about an outcome broader than whether a graph reference exists. Work on graph extraction attacks asks what a GraphRAG interface may reveal through its responses. G-Retriever intentionally makes selected evidence visible to help the reader check an answer. The extraction study addresses a separate question about what someone can learn through queries to such a system. Can Knowledge Graphs Make Large Language Models More Trustworthy? · Query-Efficient Agentic Graph Extraction Attacks on GraphRAG Systems

Several citing works apply retrieval or graph-guided answering to more specific tasks. Knowledge Graph Retrieval-Augmented Generation for LLM-based Recommendation takes recommendation as its application. Spatial-RAG targets geospatial reasoning questions. QuALA-NL studies Dutch legal questions with attribution, a setting where the relationship between an answer and its source matters directly. NG-Router applies graph supervision to collaboration among agents for nutrition question answering. These topics show how the question of which evidence to supply can change with the task, from finding relations relevant to a recommendation to attributing a legal answer. Knowledge Graph Retrieval-Augmented Generation for LLM-based Recommendation · Spatial-RAG · QuALA-NL · NG-Router

Document work expands the kind of material under retrieval. MoLoRAG connects document understanding with multimodal, logic-aware retrieval. HiKEY focuses on hierarchical multimodal retrieval for open-domain document questions. G-Retriever's scene experiment uses textual records of visual content, which gives a point of comparison for work whose stated retrieval setting explicitly spans modalities. MoLoRAG · HiKEY

Reinforcement-learning work moves the learning objective to other parts of graph construction and reasoning. AutoGraph-R1 addresses end-to-end reinforcement learning for constructing a knowledge graph. TRN-R1-Zero focuses on reasoning over text-rich networks through reinforcement learning alone, while AgentGL uses reinforcement learning for agentic graph learning. G-Retriever separates a fixed graph retrieval procedure from supervised answer training. These later topics make the placement of learning a question in its own right, extending it to how a graph is built or how a system reasons over one. AutoGraph-R1 · TRN-R1-Zero · AgentGL

 Fields, topics and concepts

Cite

Cite as Xiaoxin He, Yijun Tian, Yifei Sun, Nitesh V. Chawla, Thomas Laurent, Yann LeCun, Xavier Bresson and Bryan Hooi. 2024. G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answering. arXiv:2402.07630.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2402.07630 · arXiv 2402.07630

@misc{he2024g,
  title = {{G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answering}},
  author = {Xiaoxin He, Yijun Tian, Yifei Sun, Nitesh V. Chawla, Thomas Laurent, Yann LeCun, Xavier Bresson and Bryan Hooi},
  year = {2024},
  doi = {10.48550/arxiv.2402.07630},
  eprint = {2402.07630},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2402.07630}
}

References

57 references, 24 of them with a card of ours. Each entry links to our card when we hold the work, else to OpenAlex and Google Scholar searches for it.

  1. Jinheon Baek, Alham Fikri Aji, and Amir Saffari. Knowledge-augmented language model prompting for zero-shot knowledge graph question answering. In Bhavana Dalvi Mishra, Greg Durrett, Peter Jansen, Danilo Neves Ribeiro, and Jason Wei, editors, Proceedings of the 1st Workshop on Natural Language Reaso…
  2. Daniel Bienstock, Michel X Goemans, David Simchi-Levi, and David Williamson. A note on the prize collecting traveling salesman problem. Mathematical programming, 59(1-3):413–420, 1993. OpenAlex ↗ · Scholar ↗
  3. Ziwei Chai, Tianjie Zhang, Liang Wu, Kaiqiao Han, Xiaohai Hu, Xuanwen Huang, and Yang Yang. Graphllm: Boosting graph reasoning ability of large language model. arXiv preprint arXiv:2310.05845, 2023. — arXiv:2310.05845 OpenAlex ↗ · Scholar ↗
  4. Zhikai Chen, Haitao Mao, Hang Li, Wei Jin, Hongzhi Wen, Xiaochi Wei, Shuaiqiang Wang, Dawei Yin, Wenqi Fan, Hui Liu, et al. Exploring the potential of large language models (llms) in learning on graphs. arXiv preprint arXiv:2307.03393, 2023. — arXiv:2307.03393 OpenAlex ↗ · Scholar ↗
  5. Zhikai Chen, Haitao Mao, Hongzhi Wen, Haoyu Han, Wei Jin, Haiyang Zhang, Hui Liu, and Jiliang Tang. Label-free node classification on graphs with large language models (llms). arXiv preprint arXiv:2310.04668, 2023. — arXiv:2310.04668 OpenAlex ↗ · Scholar ↗
  6. Bahare Fatemi, Jonathan Halcrow, and Bryan Perozzi. Talk like a graph: Encoding graphs for large language models. arXiv preprint arXiv:2310.04560, 2023.
  7. Yunfan Gao, Yun Xiong, Xinyu Gao, Kangxiang Jia, Jinliu Pan, Yuxi Bi, Yi Dai, Jiawei Sun, and Haofen Wang. Retrieval-augmented generation for large language models: A survey. arXiv preprint arXiv:2312.10997, 2023.
  8. Xiaoxin He, Xavier Bresson, Thomas Laurent, Adam Perold, Yann LeCun, and Bryan Hooi. Harnessing explanations: Llm-to-lm interpreter for enhanced text-attributed graph representation learning. arXiv preprint arXiv:2305.19523, 2023.
  9. Chinmay Hegde, Piotr Indyk, and Ludwig Schmidt. A nearly-linear time framework for graph-structured sparsity. In International Conference on Machine Learning, pages 928–937. PMLR, 2015. OpenAlex ↗ · Scholar ↗
  10. Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. Lora: Low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685, 2021.
  11. Jin Huang, Xingjian Zhang, Qiaozhu Mei, and Jiaqi Ma. Can llms effectively leverage graph structural information: when and why. arXiv preprint arXiv:2309.16595, 2023. — arXiv:2309.16595 OpenAlex ↗ · Scholar ↗
  12. Lei Huang, Weijiang Yu, Weitao Ma, Weihong Zhong, Zhangyin Feng, Haotian Wang, Qianglong Chen, Weihua Peng, Xiaocheng Feng, Bing Qin, and Ting Liu. A survey on hallucination in large language models: Principles, taxonomy, challenges, and open questions, 2023.
  13. Drew A Hudson and Christopher D Manning. Gqa: A new dataset for real-world visual reasoning and compositional question answering. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6700–6709, 2019.
  14. Jinhao Jiang, Kun Zhou, Zican Dong, Keming Ye, Wayne Xin Zhao, and Ji-Rong Wen. Structgpt: A general framework for large language model to reason over structured data. arXiv preprint arXiv:2305.09645, 2023. OpenAlex ↗ · Scholar ↗
  15. Bowen Jin, Gang Liu, Chi Han, Meng Jiang, Heng Ji, and Jiawei Han. Large language models on graphs: A comprehensive survey. arXiv preprint arXiv:2312.02783, 2023. OpenAlex ↗ · Scholar ↗
  16. Minki Kang, Jin Myung Kwak, Jinheon Baek, and Sung Ju Hwang. Knowledge graph-augmented language models for knowledge-grounded dialogue generation, 2023.
  17. Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016.
  18. Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large language models are zero-shot reasoners. Advances in neural information processing systems, 35:22199–22213, 2022.
  19. Bin Lei, Chunhua Liao, Caiwen Ding, et al. Boosting logical reasoning in large language models through a new framework: The graph of thought. arXiv preprint arXiv:2308.08614, 2023. — arXiv:2308.08614 OpenAlex ↗ · Scholar ↗
  20. Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt tuning. arXiv preprint arXiv:2104.08691, 2021.
  21. Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, et al. Retrieval-augmented generation for knowledge-intensive nlp tasks. Advances in Neural Information Processing Systems, 33:9459–9474, 2020.
  22. Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. arXiv preprint arXiv:2101.00190, 2021. OpenAlex ↗ · Scholar ↗
  23. Xin Li, Dongze Lian, Zhihe Lu, Jiawang Bai, Zhibo Chen, and Xinchao Wang. Graphadapter: Tuning vision-language models with dual knowledge graph. arXiv preprint arXiv:2309.13625, 2023. — arXiv:2309.13625 OpenAlex ↗ · Scholar ↗
  24. Yuhan Li, Zhixun Li, Peisong Wang, Jia Li, Xiangguo Sun, Hong Cheng, and Jeffrey Xu Yu. A survey of graph meets large language model: Progress and future directions. arXiv preprint arXiv:2311.12399, 2023. — arXiv:2311.12399 OpenAlex ↗ · Scholar ↗
  25. Hao Liu, Jiarui Feng, Lecheng Kong, Ningyue Liang, Dacheng Tao, Yixin Chen, and Muhan Zhang. One for all: Towards training one graph model for all classification tasks. arXiv preprint arXiv:2310.00149, 2023. — arXiv:2310.00149 OpenAlex ↗ · Scholar ↗
  26. Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. arXiv preprint arXiv:2304.08485, 2023.
  27. Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017. OpenAlex ↗ · Scholar ↗
  28. Linhao Luo, Yuan-Fang Li, Gholamreza Haffari, and Shirui Pan. Reasoning on graphs: Faithful and interpretable large language model reasoning. arXiv preprint arXiv:2310.01061, 2023. OpenAlex ↗ · Scholar ↗
  29. Linhao Luo, Yuan-Fang Li, Gholamreza Haffari, and Shirui Pan. Reasoning on graphs: Faithful and interpretable large language model reasoning. arXiv preprint arXiv:2310.01061, 2023. OpenAlex ↗ · Scholar ↗
  30. Shirui Pan, Yizhen Zheng, and Yixin Liu. Integrating graphs with large language models: Methods and prospects. arXiv preprint arXiv:2310.05499, 2023. — arXiv:2310.05499 OpenAlex ↗ · Scholar ↗
  31. Bryan Perozzi, Bahare Fatemi, Dustin Zelle, Anton Tsitsulin, Mehran Kazemi, Rami Al-Rfou, and Jonathan Halcrow. Let your graph do the talking: Encoding structured data for llms. arXiv preprint arXiv:2402.05862, 2024. — arXiv:2402.05862 OpenAlex ↗ · Scholar ↗
  32. Chen Qian, Huayi Tang, Zhirui Yang, Hong Liang, and Yong Liu. Can large language models empower molecular property prediction? arXiv preprint arXiv:2307.07443, 2023. — arXiv:2307.07443 OpenAlex ↗ · Scholar ↗
  33. Yijian Qin, Xin Wang, Ziwei Zhang, and Wenwu Zhu. Disentangled representation learning with large language models for text-attributed graphs. arXiv preprint arXiv:2310.18152, 2023. — arXiv:2310.18152 OpenAlex ↗ · Scholar ↗
  34. Nils Reimers and Iryna Gurevych. Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv preprint arXiv:1908.10084, 2019.
  35. Swarnadeep Saha, Prateek Yadav, Lisa Bauer, and Mohit Bansal. Explagraphs: An explanation graph generation task for structured commonsense reasoning. arXiv preprint arXiv:2104.07644, 2021. OpenAlex ↗ · Scholar ↗
  36. Priyanka Sen, Sandeep Mavadia, and Amir Saffari. Knowledge graph-augmented language models for complex question answering. In Bhavana Dalvi Mishra, Greg Durrett, Peter Jansen, Danilo Neves Ribeiro, and Jason Wei, editors, Proceedings of the 1st Workshop on Natural Language Reasoning and Structured E… OpenAlex ↗ · Scholar ↗
  37. Yunsheng Shi, Zhengjie Huang, Shikun Feng, Hui Zhong, Wenjin Wang, and Yu Sun. Masked label prediction: Unified message passing model for semi-supervised classification. arXiv preprint arXiv:2009.03509, 2020. — arXiv:2009.03509 OpenAlex ↗ · Scholar ↗
  38. Jiashuo Sun, Chengjin Xu, Lumingyuan Tang, Saizhuo Wang, Chen Lin, Yeyun Gong, Lionel Ni, Heung-Yeung Shum, and Jian Guo. Think-on-graph: Deep and responsible reasoning of large language model on knowledge graph. In The Twelfth International Conference on Learning Representations, 2024. URL https://… OpenAlex ↗ · Scholar ↗
  39. Shengyin Sun, Yuxiang Ren, Chen Ma, and Xuecang Zhang. Large language models as topological structure enhancers for text-attributed graphs. arXiv preprint arXiv:2311.14324, 2023. — arXiv:2311.14324 OpenAlex ↗ · Scholar ↗
  40. Jiabin Tang, Yuhao Yang, Wei Wei, Lei Shi, Lixin Su, Suqi Cheng, Dawei Yin, and Chao Huang. Graphgpt: Graph instruction tuning for large language models. arXiv preprint arXiv:2310.13023, 2023.
  41. Yijun Tian, Huan Song, Zichen Wang, Haozhu Wang, Ziqing Hu, Fang Wang, Nitesh V Chawla, and Panpan Xu. Graph neural prompting with large language models. arXiv preprint arXiv:2309.15427, 2023. — arXiv:2309.15427 OpenAlex ↗ · Scholar ↗
  42. Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023.
  43. Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua Bengio. Graph attention networks. arXiv preprint arXiv:1710.10903, 2017.
  44. Heng Wang, Shangbin Feng, Tianxing He, Zhaoxuan Tan, Xiaochuang Han, and Yulia Tsvetkov. Can language models solve graph problems in natural language? arXiv preprint arXiv:2305.10037, 2023.
  45. Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V Le, Denny Zhou, et al. Chain-of-thought prompting elicits reasoning in large language models. Advances in neural information processing systems, 35:24824–24837, 2022.
  46. Shengqiong Wu, Hao Fei, Leigang Qu, Wei Ji, and Tat-Seng Chua. Next-gpt: Any-to-any multimodal llm. arXiv preprint arXiv:2309.05519, 2023.
  47. Ruosong Ye, Caiqi Zhang, Runhui Wang, Shuyuan Xu, and Yongfeng Zhang. Natural language is all a graph needs. arXiv preprint arXiv:2308.07134, 2023. OpenAlex ↗ · Scholar ↗
  48. Wen-tau Yih, Matthew Richardson, Christopher Meek, Ming-Wei Chang, and Jina Suh. The value of semantic parse labeling for knowledge base question answering. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 201–206, 2016.
  49. Minji Yoon, Jing Yu Koh, Bryan Hooi, and Ruslan Salakhutdinov. Multimodal graph learning for generative tasks. arXiv preprint arXiv:2310.07478, 2023. OpenAlex ↗ · Scholar ↗
  50. Jianxiang Yu, Yuxiang Ren, Chenghua Gong, Jiaqi Tan, Xiang Li, and Xuecang Zhang. Empower text-attributed graphs learning with large language models (llms). arXiv preprint arXiv:2310.09872, 2023. — arXiv:2310.09872 OpenAlex ↗ · Scholar ↗
  51. Junchi Yu, Ran He, and Rex Ying. Thought propagation: An analogical approach to complex reasoning with large language models. arXiv preprint arXiv:2310.03965, 2023. — arXiv:2310.03965 OpenAlex ↗ · Scholar ↗
  52. Jiawei Zhang. Graph-toolformer: To empower llms with graph reasoning ability via prompt augmented by chatgpt. arXiv preprint arXiv:2304.11116, 2023.
  53. Renrui Zhang, Jiaming Han, Aojun Zhou, Xiangfei Hu, Shilin Yan, Pan Lu, Hongsheng Li, Peng Gao, and Yu Qiao. Llama-adapter: Efficient fine-tuning of language models with zero-init attention. arXiv preprint arXiv:2303.16199, 2023.
  54. Ziwei Zhang, Haoyang Li, Zeyang Zhang, Yijian Qin, Xin Wang, and Wenwu Zhu. Graph meets llms: Towards large graph models, 2023. OpenAlex ↗ · Scholar ↗
  55. Haiteng Zhao, Shengchao Liu, Chang Ma, Hannan Xu, Jie Fu, Zhi-Hong Deng, Lingpeng Kong, and Qi Liu. Gimlet: A unified graph-text model for instruction-based molecule zero-shot learning. bioRxiv, pages 2023–05, 2023. OpenAlex ↗ · Scholar ↗
  56. Jianan Zhao, Le Zhuo, Yikang Shen, Meng Qu, Kai Liu, Michael Bronstein, Zhaocheng Zhu, and Jian Tang. Graphtext: Graph reasoning in text space. arXiv preprint arXiv:2310.01089, 2023. — arXiv:2310.01089 OpenAlex ↗ · Scholar ↗
  57. Deyao Zhu, Jun Chen, Xiaoqian Shen, Xiang Li, and Mohamed Elhoseiny. Minigpt-4: Enhancing vision-language understanding with advanced large language models. arXiv preprint arXiv:2304.10592, 2023.

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/he-2024-g-retriever-retrieval-augmented-generation/