[Paper Review] RAG-GFM: Overcoming In-Memory Bottlenecks in Graph Foundation Models via Retrieval-Augmented Generation
RAG-GFM externalizes graph knowledge via a dual-modal retrieval store and cross-view pre-training, then uses in-context retrieval augmentation for efficient, few-shot adaptation of Graph Foundation Models.
Graph Foundation Models (GFMs) have emerged as a frontier in graph learning, which are expected to deliver transferable representations across diverse tasks. However, GFMs remain constrained by in-memory bottlenecks: they attempt to encode knowledge into model parameters, which limits semantic capacity, introduces heavy lossy compression with conflicts, and entangles graph representation with the knowledge in ways that hinder efficient adaptation, undermining scalability and interpretability. In this work,we propose RAG-GFM, a Retrieval-Augmented Generation aided Graph Foundation Model that offloads knowledge from parameters and complements parameterized learning. To externalize graph knowledge, we build a dual-modal unified retrieval module, where a semantic store from prefix-structured text and a structural store from centrality-based motif. To preserve heterogeneous information, we design a dual-view alignment objective that contrasts both modalities to capture both content and relational patterns. To enable efficient downstream adaptation, we perform in-context augmentation to enrich supporting instances with retrieved texts and motifs as contextual evidence. Extensive experiments on five benchmark graph datasets demonstrate that RAG-GFM consistently outperforms 13 state-of-the-art baselines in both cross-domain node and graph classification, achieving superior effectiveness and efficiency.
Motivation & Objective
- Motivate the limitations of parameter-centric graph foundation models due to in-memory bottlenecks in storing rich graph knowledge.
- Propose a retrieval-augmented framework to externalize semantic and structural knowledge for graphs.
- Enable efficient cross-domain pre-training and few-shot adaptation with externalized evidence and domain priors.
Proposed method
- Introduce a unified bi-modal retrieval database with a semantic store (node text embeddings) and a structural store (Walk-Spectrum Encoding of motifs).
- Develop a dual-view alignment objective to learn complementary semantic and structural representations without collapse.
- Use domain tokens to inject domain priors and enable domain-aware adaptation.
- Apply in-context retrieval augmentation during few-shot fine-tuning to enrich support instances with retrieved texts and motifs.
- Implement domain-gated fusion to route external evidence during retrieval, and prompt-based adaptation to update only lightweight graph prompts rather than full model parameters.
Experimental results
Research questions
- RQ1How does RAG-GFM perform in cross-domain and cross-dataset few-shot node and graph classification?
- RQ2Which components of RAG-GFM contribute most to its performance gains?
- RQ3Can retrieval augmentation improve efficiency and effectiveness of Graph Foundation Models during pre-training and fine-tuning?
- RQ4How does RAG-GFM balance representation learning across semantic and structural modalities?
- RQ5What is the computational efficiency and scalability of the proposed approach in practice?
Key findings
- RAG-GFM consistently outperforms 13 state-of-the-art baselines on five benchmark graph datasets in cross-domain few-shot tasks.
- The model achieves superior effectiveness and efficiency for both node and graph classification.
- The dual-store retrieval module and dual-view alignment enable robust cross-domain knowledge grounding.
- In-context retrieval augmentation and domain-gated prompts enable efficient adaptation without full parameter updates.
- Extensive experiments demonstrate favorable cross-domain transfer and scalability across diverse domains.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.