THETA: Heat Diffusion as a Structural Prior for Cross-Domain Transfer in Graph Foundation Models
Abstract
Graph foundation models (GFMs) aim to learn transferable representations across domains with heterogeneous node attributes and graph structures. However, relations inferred from node attributes can rely on domain-specific feature semantics, limiting their transferability to unseen graphs, particularly in low-label regimes. We propose THETA (Topology-aware HEat-based TrAnsfer), a graph foundation model that leverages Heat Kernel Signatures (HKS) as a topology-based structural prior for cross-domain transfer. By characterizing nodes' heat-return behavior across diffusion scales, HKS provides a common structural descriptor across graphs without requiring aligned attribute semantics, complementing feature-based relations with information about local and multiscale connectivity. THETA incorporates this prior into both pre-training and few-shot adaptation. During pre-training, it combines HKS with node attributes to construct refined graph views and trains a shared encoder via contrastive learning. During adaptation, it uses HKS to guide edge-weight adjustment and prototype refinement while keeping the encoder frozen and retaining the contribution of labeled support nodes. Through HKS, THETA uses structural information from heat diffusion to guide both representation learning and few-shot adaptation with unlabeled target-domain data. Extensive experiments across diverse graph domains demonstrate that THETA consistently outperforms existing baselines on downstream tasks, highlighting the value of heat diffusion as a structural prior for transferable graph representations.