GNNMerge: Merging of GNN Models Without Accessing Training Data

Vipul Garg, Ishita Thakre, Sayan Ranu
3/5/2025
cs.LG

No official code found. Best implementation: idea-iitd/GNNMerge (2 stars, last commit 2025-03-03).

Abstract

Model merging has gained prominence in machine learning as a method to integrate multiple trained models into a single model without accessing the original training data. While existing approaches have demonstrated success in domains such as computer vision and NLP, their application to Graph Neural Networks (GNNs) remains unexplored. These methods often rely on the assumption of shared initialization, which is seldom applicable to GNNs. In this work, we undertake the first benchmarking study of model merging algorithms for GNNs, revealing their limited effectiveness in this context. To address these challenges, we propose GNNMerge, which utilizes a task-agnostic node embedding alignment strategy to merge GNNs. Furthermore, we establish that under a mild relaxation, the proposed optimization objective admits direct analytical solutions for widely used GNN architectures, significantly enhancing its computational efficiency. Empirical evaluations across diverse datasets, tasks, and architectures establish GNNMerge to be up to 24% more accurate than existing methods while delivering over 2 orders of magnitude speed-up compared to training from scratch.

View on arXivView PDF

Code Implementations(1)

idea-iitd/GNNMergeCommunity100%
20PythonMar 3, 20251 years ago

Similar Papers

Cite this paper

@article{garg2025gnnmerge,
  title  = {GNNMerge: Merging of GNN Models Without Accessing Training Data},
  author = {Vipul Garg and Ishita Thakre and Sayan Ranu},
  year   = {2025},
  eprint = {2503.03384},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.03384v2}
}

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/2503.03384.svg)](https://codeofpaper.com/paper/2503.03384)

Discussion