Manuscript Offprint

arXiv:2610.33511

Towards a Learnable Retriever for Textual Graph Question Answering

Kaifeng Jin, Yuchen Yan, Zhichen Zeng, Xiao Lin, Lihui Liu, Yinglong Xia, Hanghang Tong

Abstract

Textual graph question answering (GraphQA) and graph-based retrieval-augmented generation (GraphRAG) have gained increasing attention as a way to ground large language models (LLMs) on structured knowledge. Despite extensive efforts, existing methods still face two key gaps. The first is an architectural gap: existing methods typically fine-tune an LLM-based generator, but do not also make the retriever itself a learnable LLM for graph evidence selection within one end-to-end retrieve-then-generate pipeline. The second is a retrieval-supervision gap: existing retrievers rarely use gold answer signals to supervise evidence selection. As a result, they may fail to recall evidence nodes required for reasoning, resulting in insufficient coverage of the gold answer set; meanwhile, naive attempts to boost recall often introduce excessive irrelevant information that compromises compactness and overwhelms the LLM. To address these gaps, we propose TALENT, an LLM-based end-to-end retriever-generator framework for textual GraphQA. To bridge the architectural gap, TALENT pairs a learnable LLM-based retriever for evidence selection with a fine-tuned LLM-based generator within one unified retrieve-then-generate pipeline. To bridge the retrieval-supervision gap, we leverage gold answer signals as retriever supervision. Specifically, we stratify graph nodes into gold answers, answer-related nodes, and irrelevant noise. We then adopt a weighted pseudo-label loss to prioritize gold answers and preserve answer-related nodes for coverage, while discarding irrelevant noise for compactness. Experimental results across three GraphQA datasets demonstrate that TALENT consistently improves downstream performance.

1 Introduction

Large language models (LLMs) have achieved impressive progress in general-purpose generation and reasoning (Thoppilan et al. 2022; Bang et al. 2023), but their outputs are bounded by what is encoded in model parameters. Trained on large-scale open-domain corpora collected before a fixed cutoff date, LLMs may hallucinate or omit critical evidence when a query requires precise, up-to-date, or domain-specific knowledge (Zhao et al. 2026; Wang et al. 2023b).

To mitigate these limitations, Retrieval-Augmented Generation (RAG) has emerged as a dominant paradigm that grounds LLM outputs in external evidence by dynamically retrieving relevant knowledge snippets for context-aware generation (Lewis et al. 2020; Shi et al. 2024; Gao et al. 2023). While conventional RAG methods (Lewis et al. 2020; Shi et al. 2024) mainly retrieve evidence from unstructured text corpora, recent work has shifted toward textual graphs as a more expressive and structured knowledge source. This trend has spurred the development of Graph-based RAG (GraphRAG) and Graph Question Answering (GraphQA). By exploiting the explicit semantics and relational structure of textual graphs, graph-based RAG methods support more grounded reasoning and complex information synthesis (IV et al. 2019; Luo et al. 2025; He et al. 2024).

A graph-based RAG pipeline generally consists of two stages: graph evidence retrieval and answer generation. On the generation side, existing methods often use an LLM-based generator and fine-tune it over retrieved graph contexts. This makes graph evidence retrieval a critical step, since the generator can only reason over the evidence selected for it.

Conventional retrieval methods in GraphRAG can be categorized into non-parametric, graph neural network (GNN)-based, and LM-based approaches. Non-parametric retrievers construct subgraphs using graph search algorithms or predefined rules (Taunk et al. 2023; Yasunaga et al. 2021). GNN-based methods encode graph structure with GNNs and identify task-relevant components to form the retrieved subgraph (Mavromatis and Karypis 2024). LM-based methods often use LMs to assist graph retrieval, for example by reading structured data, generating retrieval cues, or using LM reasoning to guide evidence selection (Baek, Aji, and Saffari 2023; Jiang et al. 2023).

However, with these retrieval designs, existing graph-based RAG pipelines still leave an architectural gap. While the generator is often fine-tuned as an LLM-based module, the retriever itself is usually not made a learnable LLM for graph evidence selection. Instead, evidence selection is still handled by non-parametric, GNN-based, or LM-assisted procedures. As a result, the retriever and generator are not both trained as LLM modules within one end-to-end retrieve-then-generate pipeline.

Beyond this architectural gap, these conventional retrievers also face a retrieval-supervision gap. They rely primarily on query similarity while rarely using gold answers to supervise evidence selection. Query similarity can favor nodes matching query terms over answer-critical evidence, leading to two limitations: coverage, where a query-based retriever may fail to cover the gold answer set in the retrieved subgraph, and

Figure

Figure 1: An illustrative example of two limitations of query-based graph retrieval. For the query “What was Isaac Newton’s profession?”, a query-similarity retriever returns a Newton-centric subgraph (blue circle). We partition the nodes into three groups: Gold answers (only a small subset of the gold answer set is retrieved by the subgraph in the blue circle, showing limited coverage), Answer-related nodes (topically relevant but not exact gold answers), and Irrelevant noise (nodes that match the query tokens such as “Newton” yet are not answer-related). The presence of substantial noise alongside partial gold coverage highlights the compactness issue: improving recall by expanding query-similar candidates can inflate the subgraph with distractors.

compactness, where it may introduce excessive irrelevant noise. An illustrative example is shown in Figure 1. A key observation is that the gold answer set provides precisely the missing supervision for retrieval. Gold answers specify what should be covered and also help distinguish answer-related evidence from irrelevant noise, and can therefore help alleviate these two limitations. However, such gold signals are rarely exploited to guide or train graph retrievers.

In this work, we address both gaps by proposing TALENT, an LLM-based end-to-end retriever-generator framework for textual GraphQA. To bridge the architectural gap, TALENT makes the retriever itself a learnable LLM for graph evidence selection, and pairs it with a fine-tuned LLM-based generator within one unified retrieve-then-generate pipeline. Within the full pipeline, we first apply a rule-based preprocessing step to construct a candidate subgraph, providing a high-recall pool of nodes under the LLM context budget. The learnable LLM-based retriever is then trained to select relevant evidence nodes, and the generator is fine-tuned on contexts constructed from the trained retriever's outputs. To bridge the retrieval-supervision gap, we use gold answer signals as retriever supervision to improve both retrieval coverage and compactness. To improve retrieval coverage, we train a retriever based on a weighted pseudo-label objective, incorporating gold answer signals to guide the retrieval process. To promote answer-critical evidence, we prioritize gold answer and down-weight other rest signals to improve retrieval compactness. Intuitively, the loss assigns the highest weight to gold answers to ensure coverage, assigns a much smaller weight to answer-related nodes to retain useful context, and ignores irrelevant noise to enforce compactness. In this way, TALENT improves evidence selection before generation, leading to better downstream QA performance. Our contributions are summarized as follows:

• Idea. We introduce an LLM-based end-to-end retriever-generator framework for textual GraphQA, where a learnable LLM-based retriever and a fine-tuned LLM-based generator are placed within one unified retrieve-then-generate pipeline. This design fills the architectural gap by making the retriever itself a learnable LLM for graph evidence selection, rather than only fine-tuning the downstream generator.

• Method. We train the learnable LLM-based retriever with a weighted pseudo-label objective that leverages gold answer signals. By prioritizing gold answer nodes and down-weighting weakly related nodes, the objective fills the retrieval-supervision gap and leads to better downstream QA performance.

• Evaluation. We conduct extensive experiments on three GraphQA benchmarks to validate both retrieval effectiveness and end-task QA performance. Our method outperforms the best competitor by at least 3.18%.

References (70)