Mixture of Demonstrations for Textual Graph Understanding and Question Answering

Yukun Wu, Lihui Liu
3/23/2026
cs.IRcs.AI

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wu2026mixture,
  title  = {Mixture of Demonstrations for Textual Graph Understanding and Question Answering},
  author = {Yukun Wu and Lihui Liu},
  year   = {2026},
  eprint = {2603.23554},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.23554v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.23554.svg)](https://codeofpaper.com/paper/2603.23554)

Discussion