Multi-Domain Riemannian Graph Gluing for Building Graph Foundation Models
Li Sun, Zhenhao Huang, Silei Chen, Lanxu Yang, Junda Ye, Sen Su, Philip Yu
International Conference on Learning Representations 2026 · Oral
Overview
This talk introduces a novel, geometrically grounded perspective on the crucial problem of knowledge integration and transfer in Graph Foundation Models (GFMs). As GFMs are increasingly trained on diverse graph domains—ranging from citation networks and social graphs to molecular structures and knowledge graphs—the empirical observation is that multi-domain pre-training is beneficial. However, the underlying conceptual mechanisms of what is being integrated and how knowledge is transferred have remained largely underexplored. This paper addresses this gap by shifting from a purely representation learning viewpoint to a differential geometric view, conceptualizing the process as neural manifold gluing.

Key moments
- 0:00 Introduction: Problem and Neural Manifold Gluing Concept
- 2:00 GraphGlue Framework Overview: Pre-training, Adaptation, Transferability
- 3:15 Constructing Local Geometry: Perturbations and Orthogonal Frames
- 5:40 Gluing Local Patches: Holonomy Regularization and Smoothness
- 8:00 Scalable Pre-training with Riemannian Prototypes and Losses
- 9:00 Target Domain Adaptation: Prompting and Geometric Consistency
- 10:50 Quantifying Transferability with Geometric Transfer Matrix (GTM)
- 13:50 Q&A: Geometric Metric for Out-of-Distribution Detection
Multi-Domain Riemannian Graph Gluing for Building Graph Foundation Models
Speakers: Li Sun, Zhenhao Huang, Silei Chen, Lanxu Yang, Junda Ye, Sen Su, Philip Yu (presented by Jianan Zhao)
Conference: ICLR 2026
YouTube: https://slideslive.com/39062102
Overview
This talk introduces a novel, geometrically grounded perspective on the crucial problem of knowledge integration and transfer in Graph Foundation Models (GFMs). As GFMs are increasingly trained on diverse graph domains—ranging from citation networks and social graphs to molecular structures and knowledge graphs—the empirical observation is that multi-domain pre-training is beneficial. However, the underlying conceptual mechanisms of what is being integrated and how knowledge is transferred have remained largely underexplored. This paper addresses this gap by shifting from a purely representation learning viewpoint to a differential geometric view, conceptualizing the process as neural manifold gluing.
The core idea is to treat each distinct graph domain not merely as a set of data points in an embedding space, but as a local piece of a complex underlying manifold, each possessing its own unique local geometry. The central challenge then becomes not just embedding these domains into a common space, but meticulously "gluing" their disparate local geometries into a globally consistent and coherent structure. This geometric lens transforms the often-vague notion of "transfer difficulty" into a quantifiable geometric question: how much "twisting" or "bending" is required to seamlessly insert a new target domain into the pre-trained manifold? The paper formalizes this theory, introduces a practical framework called GraphGlue for multi-domain pre-training, and proposes the Geometric Transfer Matrix (GTM) to explicitly quantify transferability.
Background
▶ Watch: Introduction: Problem and Neural Manifold Gluing Concept (0:00)
The rise of foundation models has extended into the graph domain, leading to the development of Graph Foundation Models (GFMs). These models aim to learn generalizable representations from large, diverse collections of graphs that can then be adapted to various downstream tasks with minimal fine-tuning. A common strategy involves pre-training GFMs on multiple datasets spanning different types of graphs—such as social networks, biological graphs, or knowledge graphs—in the hope that the model will implicitly learn universal graph patterns and transfer knowledge across domains. While empirical evidence often supports the efficacy of multi-domain pre-training, the theoretical underpinnings of how and why this knowledge transfer occurs have been less clear.
Traditional approaches to multi-domain learning in the graph space often focus on aligning feature spaces or learning shared representations through techniques like adversarial training, domain adaptation, or meta-learning. These methods typically operate within a Euclidean or assumed latent space, aiming to minimize the discrepancy between domain-specific embeddings. However, graphs, by their very nature, possess rich relational structures and often exhibit non-Euclidean characteristics. Treating them merely as points in a flat embedding space might overlook crucial geometric information inherent in their local and global structures. The problem becomes particularly acute when domains have vastly different properties—e.g., the local connectivity patterns in a social network are fundamentally different from those in a molecular graph. Simply projecting them into a shared vector space might not preserve their intrinsic geometric relationships, potentially hindering effective knowledge transfer. This paper argues that a more profound understanding requires considering the intrinsic geometry of these domains and how they can be harmoniously integrated.
Key Findings
▶ Watch: Constructing Local Geometry: Perturbations and Orthogonal Frames (3:15)
The talk presents several significant contributions and findings that advance the understanding and practice of multi-domain GFM development:
- Formalization of Knowledge Integration: The paper provides a formal theoretical framework for understanding knowledge integration and transfer in multi-domain GFMs, moving beyond empirical observations.
- Neural Manifold Gluing Theory: It introduces Neural Manifold Gluing as a novel differential geometric theory. This theory posits that each graph domain is a local piece of an underlying manifold, and effective knowledge transfer involves gluing these local geometries into a coherent global structure.
- GraphGlue Practical Framework: Based on the theoretical insights, the paper proposes GraphGlue, a practical framework designed for mini-batch multi-domain pre-training. GraphGlue enables the construction of a unified, smooth manifold from diverse graph datasets.
- Geometric Transfer Matrix (GTM): A critical innovation is the introduction of the Geometric Transfer Matrix (GTM). Unlike reliance solely on downstream accuracy, GTM offers an explicit, quantifiable metric for measuring transferability by assessing the geometric "disagreement" or "deformation" required to integrate a target domain into the pre-trained manifold.
- Geometric Scaling Law: The research uncovers a geometric scaling law: as the quantity and diversity of pre-training datasets increase, the learned manifold becomes smoother, leading to improved transferability and downstream performance.
- Superior Performance and Validation: GraphGlue consistently outperforms strong graph foundation model baselines across various cross-domain few-shot settings, including node classification, link prediction, and graph classification tasks. Ablation studies further validate the essential role of GraphGlue's geometric regularization components, such as EMA-based prototyping and prototype-level supervision.
Technical Deep Dive
▶ Watch: Scalable Pre-training with Riemannian Prototypes and Losses (8:00)
GraphGlue's technical core revolves around constructing, gluing, and ensuring the smoothness of Riemannian manifolds representing diverse graph domains. The framework is structured into three stages: pre-training, adaptation (fine-tuning), and transferability estimation.
Local Geometry Construction
The foundation of GraphGlue is the ability to reconstruct the local geometry around each graph sample's embedding. In a Riemannian manifold, local geometry is defined by its tangent space and metric.
- Directional Derivatives Mimicry: To construct local directions around a graph embedding, GraphGlue introduces M virtual perturbation nodes. These nodes are shared across all domains and are strategically connected only to the top-K most relevant nodes within an input graph sample. This creates sparse, local perturbations rather than global noise.
- Tangent Direction Generation: The model encodes both the original graph and the perturbed graph. The difference between the original embedding and the embedding induced by these perturbations serves as a proxy for tangent directions, indicating how the representation changes under controlled local modifications.
- Adaptive Orthogonal Frame (AOF): These raw "tangent directions" may be redundant or correlated. To form a clean basis, GraphGlue normalizes them using Adaptive Orthogonal Frame (AOF). This involves QR decomposition to orthogonalize the directions, followed by length recovery to reintroduce magnitude information. Magnitude is crucial because local geometry depends not only on direction but also on the degree of spatial stretching along each direction.
- Riemannian Metric Tensor: Once the local frame is obtained, the model constructs a point-wise Riemannian metric tensor in matrix form. This tensor encapsulates the local geometry, which is reconstructed from the graph's response to learned perturbations, rather than being assumed a priori.
Gluing Local Patches into a Global Manifold
With local geometric patches defined, the next challenge is to connect them consistently to form a global manifold.
- Metric Compatibility along Edges: A fundamental requirement is that adjacent local pieces must have compatible "local rulers" or metrics along their shared boundaries. Without this, a consistent global metric cannot be defined. GraphGlue enforces this via Edge Tangent Translation. This is a linear map between neighboring tangent spaces, designed to transport local geometric information (lengths and angles) from one patch to another without distortion. It acts as a "best local change of coordinates."
- Holonomy Regularization (Global Consistency): Even with pairwise compatibility, global consistency is not guaranteed. Traversing a closed loop (e.g., A to B, B to C, then C back to A) might accumulate geometric offsets, leading to a mismatch upon returning to the starting point. This accumulated mismatch is known as holonomy. GraphGlue addresses this by introducing a holonomy map, which is a composition of transport maps around a cycle.
- The model focuses on triangles as the smallest and most informative cycles.
- By enforcing triangle trivial holonomy (i.e., the holonomy map around a triangle is the identity), the model removes round-trip inconsistencies and prevents global "twisting" of the manifold. This regularization ensures C1 continuity, meaning the manifold is locally smooth.
- Log-Determinant K-Order Smoothness (C-infinity Smoothness): While holonomy ensures C1 continuity, achieving C-infinity smoothness is essential for unimpeded and stable knowledge transport. A C1 manifold might still contain sharp folds or abrupt volume changes. GraphGlue introduces log-determinant K-order smoothness by regularizing the logarithmic volume density across geodesics. This ensures that volume elements vary softly and continuously throughout the manifold, preventing abrupt changes that would destabilize knowledge transfer.
Scalability with Riemannian Prototypes
Tracking and regularizing the local geometry of every single graph sample individually would be computationally prohibitive for large datasets.
- Riemannian Prototypes: To ensure scalability, GraphGlue introduces a Riemannian prototype for each domain. Each prototype serves as a compact summary, averaging a domain's characteristics using both its global location on the manifold and its typical local geometry (log-metric).
- Efficient Maintenance: These prototypes are updated efficiently using an Exponential Moving Average (EMA) during mini-batch training, allowing the framework to maintain representative geometric information for each domain without excessive overhead.
Pre-training Process
GraphGlue's pre-training follows a local-to-global and then global-to-local strategy:
- It first learns sample-level local semantics and geometry.
- After a warm-up phase, it stabilizes one Riemannian prototype per domain/dataset.
- Using local and prototype losses, it constructs a cross-dataset KNN graph.
- The holonomy and curvature losses are then applied to glue the different domains into a coarse global manifold.
- Finally, it refines the local structure within each dataset by applying the same geometric regularization internally, ensuring consistency inside the shared geometry.
Fine-tuning (Adaptation)
The fine-tuning stage aims to attach a target sample to the pre-trained manifold in a way that is both task-related and geometrically consistent.
- Prompt Adaptation: The pre-trained model provides an initial semantic position and local geometry for a target sample. A "prompt" is injected to make small, learnable adjustments to the target-specific representation. The key is to adapt the target to better fit the manifold without arbitrarily overwriting its intrinsic geometry.
- Geometric Consistency Regularization: The adapted target is connected to its nearest source prototypes. The same geometric constraints used in pre-training—topological consistency (preventing twisting) and geometric smoothness (preventing abrupt scale changes)—are applied. This ensures that adaptation is not just about fitting labels but also about seamlessly integrating the target into the learned manifold's geometry.
- Riemannian Mixture of Expert (MoE): This component summarizes the log-metric of each source prototype (acting as an expert) into a final aligned log-metric for the target. A gating function determines which source domains are most relevant to the target, and their geometric information is aggregated into a refined, aligned representation. This process considers the target graph's coordinates, its adapted metrics, and the aligned metrics derived from the various Riemannian prototypes.
Geometric Transfer Matrix (GTM)
The Geometric Transfer Matrix (GTM) provides a quantitative measure of transferability. It quantifies the amount of deformation required to merge a target domain into the pre-trained manifold while preserving its local geometry. The GTM consists of two interpretable terms:
- Holonomy disagreement: Captures topological twisting or mismatches in loop consistency, indicating how much the target "twists" the manifold.
- Curvature disagreement: Measures "bending," representing mismatches in local volume structure, indicating how much the target introduces abrupt changes in local scale.
Empirical results demonstrate that GTM is a meaningful metric, consistently decreasing as the test loss improves, thus providing a direct geometric proxy for transfer difficulty.
Experimental Setup & Results
▶ Watch: Target Domain Adaptation: Prompting and Geometric Consistency (9:00)
The evaluation of GraphGlue spanned six representative graph domains, encompassing a variety of downstream tasks including node classification, link prediction, and graph classification. The experiments were primarily conducted in cross-domain few-shot settings, which are particularly challenging and relevant for real-world applications where new domains often come with limited labeled data.
GraphGlue was benchmarked against strong graph foundation model baselines. Across all evaluated tasks and domains, GraphGlue consistently demonstrated superior performance, significantly outperforming these baselines. This indicates the effectiveness of its geometrically grounded approach in learning generalizable and transferable representations.
Ablation studies were performed to dissect the contributions of GraphGlue's individual components. These studies validated the critical importance of the geometric regularization terms, the EMA-based prototyping for scalability, and the prototype-level supervision in achieving the observed performance gains. The results confirmed that each geometric mechanism (metric compatibility, holonomy regularization, and smoothness) plays a vital role in constructing a robust and transferable manifold.
A key experimental finding was the observation of a geometric scaling law during pre-training. The research showed that as the diversity and quantity of the pre-training graph datasets increased, the learned manifold became progressively smoother. This enhanced smoothness directly correlated with improved transferability, as measured by downstream test set performance. This scaling law provides a clear incentive for leveraging larger and more diverse graph corpora for GFM pre-training when using GraphGlue.
To offer a more intuitive understanding of the learned geometry, the researchers also visualized the manifold constructed from the six evaluation datasets. The visualization revealed a unified yet non-collapsed structure. Notably, homophily graphs (e.g., citation networks, social graphs, e-commerce graphs, and knowledge graphs) appeared relatively close and partially overlapping within the learned manifold. This suggests that GraphGlue successfully captures and organizes intrinsic geometric similarities and differences between diverse graph types.
Practical Implications
▶ Watch: Q&A: Geometric Metric for Out-of-Distribution Detection (13:50)
The introduction of GraphGlue and its underlying Neural Manifold Gluing theory carries significant practical implications for various stakeholders in the ML ecosystem:
- For Practitioners and Model Builders: GraphGlue offers a principled and theoretically grounded approach to multi-domain graph pre-training. Instead of relying on ad-hoc representation alignment techniques, practitioners can leverage geometric regularization to explicitly construct a smooth, unified manifold. This can lead to more robust and generalizable GFMs, particularly for tasks involving transfer learning to new, unseen domains. It provides a deeper understanding of why multi-domain pre-training works, allowing for more informed model design choices.
- For Infrastructure Teams and Deployers: The Geometric Transfer Matrix (GTM) is a game-changer. It provides a quantifiable, interpretable metric for assessing the difficulty of transferring a model to a target domain, independent of downstream task accuracy. This allows infra teams to predict transferability, make better decisions about model selection, or even guide data collection efforts. For instance, if the GTM for a new domain is high, it signals that significant geometric "twisting" or "bending" is required, suggesting the need for more targeted fine-tuning, domain-specific data, or even a re-evaluation of the pre-trained model's suitability. This moves beyond black-box performance metrics to a more diagnostic understanding of model generalizability. The speaker also alluded to the potential for GTM as a signal for Out-of-Distribution (OOD) detection, which could be invaluable for deploying GFMs in critical, dynamic environments.
- Tradeoffs and Limitations: While powerful, GraphGlue introduces additional complexity. The construction of local geometries via virtual perturbation nodes and AOF, along with the computation of holonomy and curvature regularization terms, adds to the computational overhead during pre-training. Although the use of Riemannian prototypes and EMA helps with scalability, careful optimization of these geometric operations would be crucial for deploying GraphGlue on extremely large-scale datasets or in resource-constrained environments. The framework's reliance on differential geometry also implies a steeper learning curve for teams less familiar with these mathematical concepts. However, the benefits in terms of principled transfer learning and quantifiable insights may well outweigh these challenges for many applications.
Key Takeaways
- Geometric Framing of Transfer: Knowledge integration and transfer in Graph Foundation Models (GFMs) can be effectively understood through a differential geometric lens, treating graph domains as local pieces of an underlying manifold.
- Neural Manifold Gluing Theory: The proposed theory provides a formal foundation for building GFMs that learn to "glue" diverse local graph geometries into a globally coherent and smooth structure.
- GraphGlue Framework: This practical framework enables multi-domain pre-training by learning local geometry, enforcing metric compatibility, regularizing holonomy for global consistency, and ensuring smoothness across the learned manifold.
- Quantifiable Transferability with GTM: The Geometric Transfer Matrix (GTM) offers an explicit and interpretable measure of transfer difficulty, quantifying topological twisting and curvature disagreement, which correlates with downstream performance.
- Geometric Scaling Law: Pre-training GraphGlue on more diverse datasets leads to a smoother learned manifold and significantly improves transferability and downstream task performance.
- Enhanced GFM Performance: GraphGlue consistently outperforms strong baselines across various cross-domain few-shot tasks, demonstrating the efficacy of its geometric approach in learning robust and generalizable graph representations.
About the Speaker(s)
The research presented in this talk, "Multi-Domain Riemannian Graph Gluing for Building Graph Foundation Models," was authored by Li Sun, Zhenhao Huang, Silei Chen, Lanxu Yang, Junda Ye, Sen Su, and Philip Yu. The presentation at ICLR was delivered by Jianan Zhao, a PhD candidate at Mila and the University of Montreal, who presented the work on behalf of the authors as they could not attend in person.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026