Source-Free Graph Foundation Model Adaptation via Pseudo-Source Reconstruction

Liang Yang, Hui Ning, Jiaming Zhuo, Ziyi Ma, Chuan Wang, WenNing Wu, Zhen WangAAAI 2026

Abstract

Aiming to overcome distribution shift and label sparsity that hinder cross-domain generalization of Graph Neural Networks (GNNs), Unsupervised Graph Domain Adaptation (UGDA) transfers knowledge from a label-rich source to an unlabeled target graph. Yet in practice, strict privacy protocols often withhold the source graph, reducing UGDA to the more constrained Source-Free UGDA (SFUGDA) where only a pre-trained source GNN remains. In this setting, the source GNN serves as a simple, task-specific graph foundation model. Despite recent progress, existing source-free UGDA methods remain hampered by source-knowledge absence: deprived of source graphs, they lose the reference distribution needed to gauge domain shift and must lean on noisy target cues, incurring biased adaptation and catastrophic forgetting. To overcome this drawback, this paper devises Source-Free Graph foundation model Adaptation via pseudo-source Reconstruction (SFGAR), a two-stage SFUGDA framework that first generates pseudo-source graphs to recover the source distribution encoded in a frozen pre-trained GNN, then adversarially aligns these synthetic graphs with the unlabeled target. Theoretical analysis shows that this proxy alignment tightly bounds the target-domain generalization error. Extensive experiments on public benchmarks validate the state-of-the-art performance of SFGAR.

Introduction

Graph Neural Networks (GNNs) are powerful tools for graph-structured data but are highly sensitive to distribution shift. A model trained on one graph (the source) often fails when applied to another (the target) due to variations in node attributes or topology. While Unsupervised Graph Domain Adaptation (UGDA) addresses this by aligning source and target distributions, real-world privacy constraints (e.g., GDPR) frequently restrict access to the original source data. This leads to the Source-Free UGDA (SFUGDA) challenge, where only a pre-trained "foundation" model is available. Existing SFUGDA methods often suffer from instability or "catastrophic forgetting" because they lack a stable reference for the source distribution.

Methodology: The SFGAR Framework

The proposed SFGAR (Source-Free Graph foundation model Adaptation via pseudo-source Reconstruction) addresses these issues through a two-stage process:

1. Graph Knowledge Transfer (GKT)

Instead of relying on noisy target-side heuristics, SFGAR reconstructs a pseudo-source graph that captures the knowledge embedded in the pre-trained GNN. Using two Multi-Layer Perceptrons (MLPs)—one for node attributes and one for graph topology—the framework transforms Gaussian noise into a synthetic graph. A frozen, pre-trained "Source Extractor" acts as a teacher, guiding the generator to match embedding statistics and topological distributions via Mean Squared Error and KL Divergence.

2. Model Adaptation (MA)

The reconstructed pseudo-source graph serves as a proxy for the missing source data. SFGAR employs adversarial alignment, where a domain discriminator attempts to distinguish between synthetic source embeddings and real target embeddings. This process forces the GNN to learn domain-invariant features, effectively bridging the gap between the recovered source distribution and the target domain.

Overview of the SFGAR framework showing pseudo-source reconstruction and adversarial alignment.

Experimental Evaluation

The authors evaluated SFGAR on two major benchmarks: Elliptic (Bitcoin transaction graphs) and Twitch (regional social networks). The tasks involved cross-temporal and cross-regional adaptation for node classification.

Key Results

  • Performance: SFGAR consistently outperformed state-of-the-art source-free baselines, such as SOGA and GraphCTA, across nine distinct adaptation tasks. Surprisingly, it often matched or exceeded the performance of models that had full access to source data.
  • Stability: Unlike competing methods that exhibit high variance during training, SFGAR demonstrates remarkable stability. The explicit reconstruction of the source distribution provides a "cleaner" anchor for adaptation, preventing the model from drifting too far from its original expertise.
  • Theoretical Soundness: The authors proved that the target-domain error is bounded by the pseudo-source error and the discrepancy between the pseudo-source and target, providing a mathematical justification for using synthetic data as a bridge.
Accuracy vs. Epoch for EN → DE and FR → DE tasks, demonstrating SFGAR's superior stability and performance.

Conclusion

SFGAR offers a robust solution for source-free graph domain adaptation by treating the pre-trained model as a repository of source data knowledge. By reconstructing and aligning a pseudo-source, it effectively mitigates the risks of biased adaptation and forgetting. Future work may explore scaling these techniques to larger graphs or extending the framework to heterogeneous and dynamic graph structures.

Summary updated

BibTeX
@inproceedings{yang2026source,
  author = {Liang Yang and Hui Ning and Jiaming Zhuo and Ziyi Ma and Chuan Wang and WenNing Wu and Zhen Wang},
  title = {{Source-Free Graph Foundation Model Adaptation via Pseudo-Source Reconstruction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i32.39975},
}
Figure