Skip to main content
QUICK REVIEW

[论文解读] Mixture of Demonstrations for Textual Graph Understanding and Question Answering

Yukun Wu, Lihui Liu|arXiv (Cornell University)|Mar 23, 2026
Topic ModelingComputer Science被引用 0
一句话总结

MixDemo 引入混合专家演示选择器和面向查询的图编码器,改善 GraphRAG 的推理并降低噪声,在 GraphQA 基准上实现最先进的结果。

ABSTRACT

Textual graph-based retrieval-augmented generation (GraphRAG) has emerged as a powerful paradigm for enhancing large language models (LLMs) in domain-specific question answering. While existing approaches primarily focus on zero-shot GraphRAG, selecting high-quality demonstrations is crucial for improving reasoning and answer accuracy. Furthermore, recent studies have shown that retrieved subgraphs often contain irrelevant information, which can degrade reasoning performance. In this paper, we propose MixDemo, a novel GraphRAG framework enhanced with a Mixture-of-Experts (MoE) mechanism for selecting the most informative demonstrations under diverse question contexts. To further reduce noise in the retrieved subgraphs, we introduce a query-specific graph encoder that selectively attends to information most relevant to the query. Extensive experiments across multiple textual graph benchmarks show that MixDemo significantly outperforms existing methods.

研究动机与目标

  • 通过根据查询选择性关注相关节点和边来解决检索文本图中的噪声问题。
  • 通过混合专家方法自适应选择高质量演示来提升 GraphRAG 的上下文学习。
  • 开发一个面向查询的图编码器,以将结构信息融入到大型语言模型的图提示中。
  • 在 GraphQA 基准上评估 MixDemo,以展示相对于现有基线的提升。

提出的方法

  • 使用图检索器及基于 PCST 的子图提取,从给定查询 q 中从文本图 G 检索子图 S。
  • 将检索得到的子图转换为文本,并对增强提示进行 K-means 聚类,以从每个簇中选择多样化的示例演示(每簇一个)。
  • 构建一个带有查询感知注意力权重的图编码器,进行信息传递以降低噪声并保持关系模式,从而生成图提示 p_graph。
  • 通过对所选演示中的若干 z_d 表示进行相关性加权,得到最终的演示加权图提示。
  • 将 p_demo、p_graph、p_text-graph 以及 q 作为输入输入固定参数的 LLM,以生成 a_gen。
  • 在 GraphQA 数据集(ExplaGraphs、SceneGraphs、WebQSP)上对 MixDemo 进行实证验证,并对演示数量和编码层数进行消融分析。

实验结果

研究问题

  • RQ1混合专家演示选择器是否能在文本图QA中的在-context 学习相对于零-shot 基线有所提升?
  • RQ2面向查询的图编码器是否能够有效降低检索子图中的噪声并保留任务相关信息?
  • RQ3演示数量和编码器深度对问答性能的影响如何?
  • RQ4与强基线相比,MixDemo 在不同 GraphQA 基准上的表现如何?

主要发现

  • MixDemo 在 ExplaGraphs、SceneGraphs 和 WebQSP 上持续优于基线。
  • 在 ExplaGraphs 上,MixDemo 的准确率为 87.31%,G-Retriever 为 86.19%,GraphToken 为 85.08%。
  • 在 SceneGraphs 上,MixDemo 的准确率为 82.32%,G-Retriever 为 80.86%,GraphToken 为 49.03%。
  • 在 WebQSP 上,MixDemo 的准确率为 71.36%,G-Retriever 为 70.02%,GraphToken 为 57.05%。
  • 2 次示例演示在 ExplaGraphs 的多种设定中表现最佳。
  • 三层图编码器达到最佳精度,超过该深度的收益递减。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。