acceptodds
Published as a conference paper at NeurIPS 2026

Disentangling Homophilic and Heterophilic Patterns for Multi-Domain Graph Foundation Models

Ziyan Wang, Ruiyi Fang, Jingyu Zhao, Zhimin Mei, Charles Ling, Boyu Wang

Abstract

Graph Foundation Models (GFMs) have attracted growing attention for their ability to model multi-domain graphs universally and generalize to unseen downstream tasks. However, existing GFMs typically rely on a single domain-invariant representation space, which inevitably blurs two fundamental connectivity patterns, homophily and heterophily, that govern how nodes relate across domains. Additionally, hard-partitioning the graph into disjoint subgraphs discards edges that are essential for self-supervised pre-training. In this work, we introduce , a omophilic and eterophilic Pattern-Disentangled raph oundation odel that encodes homophily and heterophily separately while keeping the original edge structure intact. Specifically, we propose a node-level soft disentanglement mechanism that estimates each neighbor's homophilic and heterophilic contributions and uses them as edge weights, thereby preserving the original graph structure. Low-pass and high-pass filters then serve as dual backbones to align homophilic and heterophilic patterns separately, supported by our generalization analysis. Extensive experiments on a range of graph datasets validate the effectiveness of our method.

Keywords:
Sydney

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_XCV1OpenReview ↗
Rating
4
Clarity
2
Confidence
5
Originality
2
Quality
2
Significance
3
Read review
Summary

This paper aims to address the limitation that existing graph foundation models tend to conflate homophilic and heterophilic connection patterns during cross-domain transfer. To this end, the authors propose HHGFM, a graph foundation model that explicitly disentangles homophilic and heterophilic patterns. Specifically, HHGFM employs a node-level soft disentanglement mechanism to estimate the homophilic and heterophilic contributions of each edge, thereby constructing two types of weighted relations while preserving the original graph structure. It then adopts low-pass and high-pass filters to learn homophilic and heterophilic representations, respectively, and further adapts to target domains through graph prompt tuning. The authors conduct few-shot transfer experiments on multiple homophilic and heterophilic datasets, where the proposed method achieves promising performance.

Strengths and weaknesses

Strengths

S1. The authors propose a graph foundation model capable of separately handling homophilic and heterophilic patterns, thereby effectively mitigating the limitations imposed by the homophily assumption commonly adopted in graph neural networks.

S2. The authors conduct extensive experiments to validate the effectiveness of the proposed method.

S3. This paper is well-organised.

Weaknesses

W1. The motivation is not sufficiently clear. Many graph foundation models [1,2,3] have already been proposed to address both homophilic and heterophilic settings. Compared with these existing methods, it remains unclear what new problem the authors aim to solve.

W2. The methodological novelty appears limited. Most of the techniques presented in Section 4.2 can be found in prior work, such as SVD-based alignment, structural encoding, and the construction of homophilic and heterophilic views.

W3. The theoretical analysis is not sufficiently clear. In Line 147, does the distribution DD refer to the data distribution? The authors further divide it into homophilic and heterophilic distributions; however, homophily and heterophily should primarily be reflected in the link relationships. In addition, the theoretical analysis relies on the assumption that homophilic and heterophilic patterns can be accurately separated, which is often difficult to achieve in self-supervised settings.

[1] Topology-Aware Feature Sorting Enables Universal Modeling on Homophilic and Heterophilic Graphs, Proceedings of the ACM Web Conference 2026. [2] Samgpt: Text-free graph foundation model for multi-domain pre-training and cross-domain adaptation, Proceedings of the ACM on Web Conference 2025. [3] Multi-Domain Graph Foundation Models: Robust Knowledge Transfer via Topology Alignment, International Conference on Machine Learning 2025.

Questions

Q1. Why can Equation (9) serve as a valid basis for measuring node homophily scores? Moreover, since zvz_v and zuz_u are themselves trainable representations, it remains unclear whether this score can accurately reflect homophily.

Q2. In the few-shot setting, the accuracy can be highly sensitive to the random selection of nodes. The authors report results based on 20 independent runs. Would the results exhibit substantial fluctuations if 200 independent runs or more runs were conducted instead?

Q3. Why is MDGFM not included among the baseline methods in Table 1, given that the authors discuss this method extensively in the Introduction?

Limitations

N/A.

Paper formatting concerns

N/A.

Final justification

After carefully reading the full rebuttal, I believe that my concerns have been adequately addressed, and I am willing to raise my score. I also believe that the paper would benefit from a more thorough discussion of these related works [1,2,3] in a future revision, similar to the discussion included in the rebuttal.

[1] Topology-Aware Feature Sorting Enables Universal Modeling on Homophilic and Heterophilic Graphs, Proceedings of the ACM Web Conference 2026.

[2] Samgpt: Text-free graph foundation model for multi-domain pre-training and cross-domain adaptation, Proceedings of the ACM on Web Conference 2025.

[3] Multi-Domain Graph Foundation Models: Robust Knowledge Transfer via Topology Alignment, International Conference on Machine Learning 2025.

1 comment

Dear Reviewer XCV1,

We deeply appreciate your thoughtful feedback on our work. Your comments have been very helpful in improving our work. Please find our point-by-point responses below.

To weakness 1

Thank you for pointing out the connection to the paper [1][2][3]. Our work is substantially different from [1][2][3].

  • [2,3] do not explicitly address homophily and heterophily, only report results under both settings. Both align the graph structure, which inevitably entangles homophilic and heterophilic representations.

  • [1] characterizes homophily/heterophily in a fundamentally different way from ours: [1] defines them over node features, while we define them over topological structure.

    • Accordingly, [1] splits features into homophilic and heterophilic ones, and puts heterophilic features into a GNN based on KNN-constructed graph.
    • The design of [1] suffers from the limitation: it overlooks the two underlying connectivity patterns, homophilic and heterophilic patterns, and thus loses part of the heterophilic information.

In contrast, Our work identifies and preserves the connectivity patterns inherent in graphs, while modeling and aligning them separately. To further clarify the difference between our work and [1][2][3], we show table 1. Compared with [1][2][3], our method achieves significant performance under homophilic and heterophilic settings, as shown in Table 2.

Table 1: difference between our work and existing works.

\hline & \text{Transfer} & \text{Homo/Hetero handling} & \text{Reserve Edges?} &\text{Problem}\\\\ \hline \text{SAMGPT[2]} & \text{Unified structure} & \text{N/A}& \text{Yes} & \text{Ho/He patterns entangled}\\\\ \text{MDGFM[3]} &\text{Unified structure}&\text{N/A} & \text{No} & \text{Ho/He patterns entangled}\\\\ \text{TFSGFM[1]} &\text{Homo-ranked feature order}& \text{Feature level } &\text{No}& \text{Incomplete heterophilic representation}\\\\ \text{HHGFM(ours)} &\text{Connectivity patterns} &\text{Topology level} &\text{Yes} & -\\\\ \hline \end{matrix}$$ **Table 2: Node classification results on homophilic and heterophilic settings.** $$\begin{matrix} \hline \text{Source} & \text{Cora \\& Citeseer } & \text{Cornell \\&Texas} & \text{Cornell \\& Texas}\\\\ \text{Model/Target} & \text{Cornell} & \text{Photo} & \text{Cora} \\\\ \hline \text{SAMGPT[2]} &35.5\pm8.2& 61.1\pm9.5& 44.9\pm7.9 \\\\ \text{MDGFM[3]} &31.0\pm9.4& 61.0\pm 8.9 & 40.7\pm 8.5\\\\ \text{TFSGFM[1]} &37.1\pm 9.8& 64.3\pm 8.6 &45.1\pm9.6 \\\\ \text{HHGFM(ours)}&\bf39.0\pm8.7& \bf65.8\pm9.5&\bf46.5\pm9.7 \\\\ \hline \end{matrix}$$ # To Weakness 2 Our methodological contribution consists of two new designs: 1. **Soft disentanglement**. We separate the two patterns by enforcing $W^{ho} + W^{he} = A$, which preserves the original graph structure and thus does not lose any structural information. 2. **Low-/high-pass dual backbones**. The dual backbones produce homophilic and heterophilic representations separately, allowing the two patterns to be aligned independently, so that the same pattern is directly comparable across domains. Empirically, this framework achieves strong cross-domain performance, as shown in Tables 1, 4 and 5 of our submission. We further provide an ablation study in the table below, which shows that both soft disentanglement and the high-pass backbone contribute to our framework. **Table 3: Ablation study on soft disentanglement and the high-pass backbone.** $$\begin{matrix} \hline \text{Source} & \text{Cora \\& Citeseer } & \text{Cornell \\&Texas} & \text{Cornell \\& Texas}\\\\ \text{Model/Target} & \text{Cornell} & \text{Photo} & \text{Cora} \\\\ \hline \text{HHGFM(ours)} &\bf39.0\pm8.7& \bf65.8\pm9.5&\bf46.5\pm9.7 \\\\ \text{HHGFM-Hard}&33.2\pm8.5&53.1\pm11.0&31.3\pm9.3 \\\\ \text{HHGFM}\\, \\, w/o \\, \\,\mathcal{L}_{he} &37.0\pm7.0&64.3\pm9.3&42.6\pm6.8 \\\\ \hline \end{matrix}$$ # To Weakness 3 Thanks for your insightful comment. We would like to take this opportunity to clarify a few points. * $D_i^{\mathcal{S}}$ denotes the distribution over **the node-level instances** of domain i, where each instance consists not only of the node itself but also its neighborhood structure. We adopt this because $\boldsymbol{\Phi}$, when instantiated as a GNN, takes both node features and neighborhood information as input. In other words, an instance naturally carries link information. * We agree that, according to Definition 1, homophily and heterophily are reflected in the relationship between the node and its neighbors. It is precisely because of this link-based relationship that each node can be assigned a pattern via partition rule $c(v) \in \\{\text{ho}, \text{he}\\}$. Given this partition rule, and letting $\alpha_i = P_{D_i^{\mathcal{S}}}[c(v) = \text{ho}]$ and $D_{i,\text{ho}}^{\mathcal{S}}(v) := D_i^{\mathcal{S}}(v | c(v) = \text{ho})$, the decomposition $$D_i^S = \alpha_i D_{i,\text{ho}}^S + (1-\alpha_i)D_{i,\text{he}}^S$$ holds by the law of total probability for any such partition. Since $c$ is itself derived from link relationships, the distributional decomposition is **not in conflict** with the view that homophily and heterophily should primarily be reflected in link relationships. * Theorem 1 explicitly introduces a residual term $\epsilon_{\text{dis}}$ that accounts for the error casused by imperfect pattern disentanglement. **We did not assume that homophilic and heterophilic patterns can be accurately separated.** Additionally, $\epsilon_{\text{dis}}$ in fact motivated our methodological design: we propose a soft, learnable disentanglement mechanism that aims to minimize $\epsilon_{\text{dis}}$ under unsupervised conditions. # To Question 1 Firstly, we clarify a naming imprecision: $\mathbf{s}_{u,v} = \|z_v - z_u\|_2^2$ in Eq.(9) is dissimilarity score and the homophilic contribution is derived via $\alpha_v^{ho} = \exp(-t \mathbf{s}_v)$. * The reason why attribute and structural similarity are effective measures of homophily is as follows: * Intuitively , node attributes and structural patterns are correlated with labels and it is natural to use node similarity to estimate homophily. [5] notes graph homophily as the phenomenon that connected nodes tend to share similar characteristics, and **divides homophily into label, feature, and structural aspects**; similarly, [4] proposes feature-based similarity as a complement to label homophily. * Empirically, Figure 1(b) shows that our approach meaningfully separates homophilic and heterophilic signal and yields better performance, demonstrating that node similarity is feasible for homophily in practice. Additionally, following Table 4 illustrates this score can reflect homophily. **Table 4: Accuracy of the learned decomposition against label-based edge partitions.** $$\begin{matrix} \hline \text{Source} & \text{Cora \\& CiteSeer} & \text{Cornell \\& Texas} \\\\ \text{Metric/Target} & \text{Texas} & \text{Cora} \\\\ \hline \text{acc}_{ho} & 88.80 & 73.26 \\\\ \text{acc}_{he} & 67.89 & 71.91 \\\\ \text{Homophily ratio} & 11 & 81 \\\\ \hline \end{matrix}$$ # To Question 2 We report the mean accuracy and standard deviation over 200 runs for three experiments, as shown in table below. The three results are very close, with fluctuations of around 1 percentage point; increasing the number of runs to 200 does not lead to any substantive change. **Table 5: Comparison of results over 20 runs vs. 200 runs.** $$\begin{matrix} \hline \text{Source} & \text{Cora \\& Citeseer } & \text{Cornell \\&Texas} & \text{Cornell \\& Texas}\\\\ \text{Model/Target} & \text{Cornell} & \text{Photo} & \text{Cora} \\\\ \hline \text{HHGFM-20 runs}&39.0\pm8.7& 65.8\pm9.5&46.5\pm9.7 \\\\ \text{HHGFM-200 runs}&38.1\pm8.8& 66.3\pm8.5&47.2\pm9.6 \\\\ \hline \end{matrix}$$ # To Question 3 MDGFM adopts a different setting, so we did not report the results of MDGFM. For a fair comparison, we re-ran MDGFM under our setting using its official code, and HHGFM consistently outperforms it (Table 2 in Weakness 1). We will include MDGFM as a baseline in the revision. --- [1] Topology-Aware Feature Sorting Enables Universal Modeling on Homophilic and Heterophilic Graphs, Proceedings of the ACM Web Conference 2026. \ [2] Samgpt: Text-free graph foundation model for multi-domain pre-training and cross-domain adaptation, Proceedings of the ACM on Web Conference 2025. \ [3] Multi-Domain Graph Foundation Models: Robust Knowledge Transfer via Topology Alignment, International Conference on Machine Learning 2025.\ [4] Diverse Message Passing for Attribute with Heterophily. NeurIPS 2021.\ [5]What Is Missing In Homophily? Disentangling Graph Homophily For Graph Neural Networks. NeurIPS 2026. **Thank you again for your comments in our submission. Please do not hesitate to let us know if any of your concerns hasn't been resolved correctly.**
Reviewer_Ez1sOpenReview ↗
Rating
4
Clarity
2
Confidence
2
Originality
3
Quality
3
Significance
3
Read review
Summary

The work proposes a method, HHGFM, for training graph foundation models (GFMs) that accounts for both homophilous and heterophilous patterns. After feature alignment, HHGFM (softly) separates graphs into homophilic and heterophilic subgraphs and computes an embedding for each. The measure of homophily is based on structural information. The homophilic and heterophilic subgraphs are trained separately. Low- and high-pass filters align these two learned representations. The authors show that their method achieves good performance, especially in contexts where the training data have different domains (some homophilic, some heterophilic).

Strengths and weaknesses

I am not very familiar with GFMs, so my review will be somewhat brief.

Strengths:

  1. The motivation -- to separate homophilic and heterophilic components of graphs -- is clear and understandable. Given homophily scores sv\mathbb s_v, separating the adjacency matrix into the sum of a homophilic and heterophilic component makes sense as a target for separate training/embedding.
  2. I am not an expert, but the empirical results seem good, particularly the cross-domain cases.

Weaknesses:

  1. I find the assumption that the target distribution lies in the convex hull of the source-domain distributions to be quite strong, and also somewhat definitionally unclear. How is the "space of domain distributions" defined? Are these distributions not over the (very complex) joint generative process of nodes, edges, features, and labels? Is the assumption that the target is exactly a mixture of sources? Or is this a statement about the learned Phi of the target (in G\mathbb G) being in the convex hull?
  2. I find it strange that homophily (and heterophily) are measured by differences in spectral, random-walk, and degree-based embeddings, NOT ground truth labels. In e.g. social networks, demographically heterophilic edges often connect nodes with similar structural positions in the graph. The way you describe "heterophily" seems to describe "edges connecting nodes that play different structural roles", which occur in all graphs (including graphs we traditionally call "homophilic" like citation networks), no?

Smaller suggestions:

  • line 139: typo: "minimize"
  • Figure 2 would benefit from an explanatory caption and perhaps more labels. Even after reading the description of the algorithm, I have a hard time telling which aspects of the image correspond to which parts of the algorithm. In particular, it would be good to distinguish visual shorthand for a graph vs a representation/embedding of a graph.
  • Table 1: you incorrectly bold your result as the best, when BRIDGE outperforms it.
Questions
  1. Does the loss (based on sampled tuples of neighbors) implicitly never sample nodes with a single neighbor or with only neighbors of one type? This seems like a large class of vertices to exclude.
  2. Did the homophily/heterophily decomposition of the adjacency matrix based on structural features correspond closely to true graph labels?
  3. Could you classify homophily via the graph's features, rather than labels, since those are available for the unsupervised learner?
Limitations

yes

Paper formatting concerns

N/A

Final justification

The authors addressed my concerns regarding the theoretical justifications.

1 comment

Dear Reviewer Ez1s,

We sincerely appreciate your comments, which have been invaluable in helping us improve our work. Please find our point-by-point responses below.

To Weakness 1

We would like to first clarify a potential misunderstanding. Our assumption, as stated in line 147, is that the target distribution is approximated by a mixture within the convex hull, i.e., DT≈D^πSD^T \approx \hat{D}^S_\pi. We do not require the target distribution to lie exactly in the convex hull.

  • We further note that our approximation assumption is reasonable in practice.

    • It reflects an underlying commonality shared across domains. Across diverse domains such as citation and co-purchase networks, nodes can be divided into homophilic/heterophilic patterns, which provides a shared structural basis that makes the approximation plausible.
    • This assumption is necessary for generalization to the target domain to be possible at all. This is because there is no information regarding test distributions during training. If the target domain were completely unrelated, transferring knowledge from the source domains would be infeasible.
  • Domain distributions are over the node-level instances in the original graph data in our work not the learned representations after Φ\Phi. As mentioned earlier, we require there to be connection between the target domains and the source domains to ensure generalization.

To Weakness 2 and Question 3

We first clarify that our disentanglement mechanism is not based solely on structural encoding, but also a joint embedding zvz_v that concatenates structural information and node attribute(Eq.(8)). Nonetheless, we address your underlying concern below:

  1. This is a known, shared challenge in unsupervised homophily/heterophily disentanglement. In the pre-training stage, ground-truth labels are unavailable, and accurately identifying node-level homophily or heterophily without supervision remains an open challenge across the field, which acknowledged in some works that construct homophilic/heterophilic subgraphs from node similarity in unsupervised settings, such as [1], [2] and [3].

  2. We do not pursue a perfect partition. we propose a soft disentanglement mechanism that, without disrupting the original graph structure, separates the homophilic and heterophilic information as much as possible. Noise is further suppressed through the dual encoders and the loss, allowing the model to learn useful homophilic and heterophilic representations.

  3. Attribute and structure similarity are effective for measuring homophily.

    • Intuitively, node attributes and structural patterns are correlated with labels and it is natural to use node similarity to estimate homophily. [5] notes graph homophily as the phenomenon that connected nodes tend to share similar characteristics, and divides homophily into label, feature, and structural aspects; similarly, [4] proposes feature-based similarity as a complement to label homophily.
    • Empirically, Figure 1(b) shows that our approach meaningfully separates homophilic and heterophilic signal and yields better performance, demonstrating that node similarity is feasible for homophily in practice.

To Weakness 3

We thank the reviewer for these careful observations and will address all in the revision: we will carefully review the manuscript to fix all typos, add a clearer caption and legend to Figure 2, and correct the bolding error in Table 1.

To Question 1

We clarify that u−u^{-} is a randomly sampled unlinked node (i.e., any node outside N(v)N(v)), not another neighbor of vv; only u+u^{+} is a neighbor. Every node with deg⁡(v)≥1\deg(v)\ge 1 therefore forms valid tuples, and no class of vertices is excluded. This form of contrastive loss is also used in [6] and [7].

To Question 2

To demonstrate the effectiveness of feature-based partitioning, we design the following experiment: EhoE_{ho} and EheE_{he} denote the ground-truth partition induced by node labels. We define accuracy on homophilic and heterophilic contribution:

\qquad \text{acc}_{he}=\frac{1}{|E_{he}|}\sum_{(v,u)\in E_{ho}}1[\alpha^{ho}_{v,u}\le 0.5].$$ we report results of two experments: homophilic sources $\rightarrow$ heterophilic target(Texas), and heterophilic sources $\rightarrow$ homophilic target(Cora), as shown in Table 1. In both, the transferred $\mathbf{W}^{ho}$ and $\mathbf{W}^{he}$ recover thetrue homophilic and heterophilic patterns well, with acc\$\_{ho}$/acc$\_{he}\$ of 88.80/67.89 and 73.26/71.91 respectively, far above the 50 of an uninformative decomposition. **Table 1: Accuracy of the learned decomposition against label-based edge partitions.** $$\begin{matrix} \hline \text{Source} & \text{Cora \\& CiteSeer} & \text{Cornell \\& Texas} \\\\ \text{Metric/Target} & \text{Texas} & \text{Cora} \\\\ \hline \text{acc}_{ho} & 88.80 & 73.26 \\\\ \text{acc}_{he} & 67.89 & 71.91 \\\\ \text{Homophily ratio} & 11 & 81 \\\\ \hline \end{matrix}$$ ---- [1]Graph Domain Adaptation via Homophily-Agnostic Reconstructing Structure. AAAI 2026. [2]Beyond Homophily: Reconstructing Structure for Graph-agnostic Clustering. ICML 2023. [3] Beyond Smoothing: Unsupervised Graph Representation Learning with Edge Heterophily Discriminating. AAAI 2023. [4] Diverse Message Passing for Attribute with Heterophily. NeurIPS 2021. [5]What Is Missing In Homophily? Disentangling Graph Homophily For Graph Neural Networks. NeurIPS 2026. [6] Samgpt: Text-free graph foundation model for multi-domain pre-training and cross-domain adaptation, Proceedings of the ACM on Web Conference 2025. [7] GRAVER: Generative Graph Vocabularies for Robust Graph Foundation Models Fine-tuning. NeurIPS 2025. **Once again, thanks for your time and feedback. Please feel free to let us know if there is still anything unclear or if you have further questions.**
Reviewer_gcYrOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
3
Quality
4
Significance
4
Read review
Summary

This paper proposes HHGFM, a graph foundation model for multi-domain pre-training that disentangles homophilic and heterophilic connectivity instead of mapping all source domains into a single domain invariant space. HHGFM proposes a node-level mechanism that estimates each neighbor's homophilic contribution from learned structural and semantic embedding. Low-pass and high-pass filters are trained with a separate contrastive objective, and the target graph is adapted via prompt tuning together with a learnable pattern-mixing vector. A generalization bound is provided as theoretical support. Experiments achieve SOTA across different domains under 1/5/10-shot node and graph classification, including both cross-dataset and cross-domain settings.

Strengths and weaknesses

S:

  1. The paper try to aligning all domains into a single invariant space, entangling homophilic and heterophilic patterns, and the homophily-ratio comparison.
  2. The soft disentanglement provide the main supervision signal in self-supervised pre-training. Reweighting edges rather than hard partitioning the graph avoids discarding the training signal.
  3. The empirical result includes both node and graph-level classification across different settings.

W:

  1. Legend in Figure 3 and the surrounding text in Section 5.2 refer to it as "FFGFN(ours)," which is different from the abstract name HHGFM.
  2. Theorem 1 applies the single-encoder bound separately to each pattern while comparing the result against the single-encoder bound. The "tighter upper bound" is asserted rather than proven. The disentanglement-error term εdis\varepsilon_{\mathrm{dis}} is introduced but not bounded, which means the whole argument relies on it being small and uncontrolled εdis\varepsilon_{\mathrm{dis}} could dominate and reverse the comparison.
  3. The paper's claim is that soft, edge-preserving disentanglement beats hard partitioning. However, no hard-partition variant of the same pipeline is compared. There is also no ablation to discuss the high-pass branch.
Questions
  1. Why does the method appear as “FFGFN(ours)” in Figure 3 and the accompanying text? Are those the same experiments as HHGFM?
  2. In Eq.(9), ∥zv−zu∥22\lVert z_v - z_u \rVert_2^2 is called a homophily score but is actually a dissimilarity, and early in pre-training the embeddings are close to random. How stable is the induced homophilic/heterophilic partition across epochs?
  3. Could you add a zero-shot (m=0m=0) transfer comparison against SAMGPTand other baseline? It would isolate the pre-trained representation quality from the few labeled shots.
  4. Could you provide t-SNE visualizations of the learned embeddings on a homophilic vs. a heterophilic target (e.g., Cora vs. Cornell), contrasting a single-invariant baseline with HHGFM's two spaces?
  5. Please add an efficiency comparison (training time, memory, and parameter count) against the multi-domain baselines, since the dual-backbone design roughly doubles the encoder cost.
Limitations
  1. The generalization argument depends on the disentanglement error εdis\varepsilon_{\mathrm{dis}} being small. However, this term is never bounded or characterized, which means conditions under which the disentangled bound is provably tighter than the single-encoder bound would strengthen the theory.
  2. In Eq.(9), sv,u=∥zv−zu∥22s_{v,u}=\lVert z_v - z_u\rVert_2^2 is an embedding dissimilarity, while Definition 1 defines homophily by label agreement yv=yuy_v=y_u. Why is embedding proximity a faithful proxy, especially when zvz_v is bootstrapped from near-random embeddings early in training?
  3. Please clarify the high-pass branch in Eq.(12): since it retains the identity term H(l−1)H^{(l-1)}, add a spectral analysis (e.g., the filter's frequency response) demonstrating that it indeed attenuates low-frequency components rather than acting as another smoother. In addition, please correct or justify the numerator of Lhe\mathcal{L}_{he} in Eq.(13), which currently uses the negative sample v−v^-, and report an ablation isolating the contribution of the high-pass branch.
  4. Disentanglement quality is only shown indirectly via downstream accuracy; there is no direct measurement of how well the learned weights Who/WheW^{ho}/W^{he} recover true label-based homophily.
Paper formatting concerns

none

Final justification

see official comment

1 comment

Dear Reviewer gcYr

We are very grateful for your positive assessment on our work. Your kind comments have further improved the quality of our paper. Our responses to your questions are as follows.

To Weakness 1 and Question 1

Thank you for pointing out this inconsistency. The legend in Figure 3 and the corresponding description in Section 5.2 should be "HHGFM(ours)". All experiments shown in Figure 3 were conducted using HHGFM, and this naming error does not affect the implementation or experimental results. We will correct it in the revision.

To Weakness 2 and Limitation 1

We appreciate the insightful comment and clarify our theoretical analysis here.

  • Our theoretical analysis formalizes the intuition that motivated our methodological design. Here we give the key insight to support our work. ρ\rho denotes the diameter of the source domains and measures the distributional discrepancy among source domains, forming a key term in the bound. We define Δα:=max⁡iαi−min⁡iαi\Delta_\alpha := \max_i \alpha_i - \min_i \alpha_i to quantify the difference in homophily across domains, and introduce δho\delta_{ho}, δhe\delta_{he} as the error rates of a discriminator separating homophilic and heterophilic patterns. We give the following lower bound: ρ≥2(1−δho−δhe)Δα.\rho\ge2(1-\delta_{ho}-\delta_{he})\Delta_\alpha. This shows that as the homophily discrepancy Δα\Delta_\alpha increases, the diameter ρ\rho for a single invariant encoder is higher, which motivated us to disentangle each domain's nodes into homophilic and heterophilic patterns and yields smaller ρho\rho_{ho} and ρhe\rho_{he}.

  • Under the bounded-loss condition l∈[0,B]l \in [0,B], we provide an upper bound: ϵdis≤B⋅PDT[c^(x)≠c(x)],\epsilon_{dis} \leq B \cdot P_{D^T}[\hat{c}(x) \neq c(x)], where cc denotes the ideal discriminator separating homophilic and heterophilic patterns, and c^\hat{c} denotes the pratical discriminator. This shows that ϵdis\epsilon_{dis} decreases as c^\hat{c} becomes closer to cc, as PDT[c^(x)≠c(x)]P_{D^T}[\hat{c}(x) \neq c(x)] decreases. Therefore, ϵdis\epsilon_{dis} is not uncontrolled and minimizing this error rate is exactly what our method is trained to do, so ϵdis\epsilon_{dis} remains small rather than dominating the comparison.

To weakness 3

  • We analyze the effect of λ\lambda in L=Lho+λLheL = L_{\mathrm{ho}} + \lambda L_{\mathrm{he}} in Figure 4 in our submission. When λ=0\lambda = 0, the high-pass branch is removed. Table below reports the results with and without the high-pass branch.

  • To construct the hard-partition variant, we binarize the homophilic contribution with a threshold of 0.50.5: an edge is assigned to the homophilic channel if αv,uho>0.5\alpha^{ho}_{v,u}>0.5, i.e., mv,u=1[αv,uho>0.5]m_{v,u}=1[\alpha^{ho}_{v,u}>0.5]. The two channels then receive the disjoint adjacency matrices

\qquad \mathbf{W}^{he}_{\text{hard}}=(1-m)\odot A,$$ Result are show in Table 1, which shows that both soft disentanglement and the high-pass backbone contribute to our framework **Table 1: Ablation study on soft disentanglement and the high-pass backbone.** $$\begin{matrix} \hline \text{Source} & \text{Cora \\& Citeseer } & \text{Cornell \\&Texas} & \text{Cornell \\& Texas}\\\\ \text{Model/Target} & \text{Cornell} & \text{Photo} & \text{Cora} \\\\ \hline \text{HHGFM(ours)} &\bf39.0\pm8.7& \bf65.8\pm9.5&\bf46.5\pm9.7 \\\\ \text{HHGFM-Hard}&33.2\pm8.5&53.1\pm11.0&31.3\pm9.3 \\\\ \text{HHGFM}\\, \\, w/o \\, \\,\mathcal{L}_{he} &37.0\pm7.0&64.3\pm9.3&42.6\pm6.8 \\\\ \hline \end{matrix}$$ # To Question 2 and Limitation 2 Firstly, we clarify a naming imprecision: $\mathbf{s}_{u,v} = \|z_v - z_u\|_2^2$ in Eq.(9) is dissimilarity score and the homophilic contribution is derived via $\alpha_v^{ho} = \exp(-t \mathbf{s}_v)$. The scores are not free-floating: $\phi$ is trained jointly with $\mathcal{L}_{ho}$ and $\mathcal{L}_{ho}$(Eq. 13), which pull connected nodes together in one channel and push them apart in the other. A wrongly weighted edge is routed into the channel whose objective it contradicts, raising that loss and prompting gradients to correct the weight. The two opposing objectives thus act as an implicit supervision signal. To quantify the stability of the induced decomposition, we record the edge-level contribution vector $\boldsymbol{\alpha}^{(t)}=(\alpha^{ho,(t)}_{v,u})_{(v,u)\in E}$ at every epoch during pre-training and report two measures: $$\Delta^{(t)}=\frac{1}{|\mathcal{E}|}\big\|\boldsymbol{\alpha}^{(t)}-\boldsymbol{\alpha}^{(t-1)}\big\|_1,$$ $\Delta^{(t)}$ measures the per-edge change between consecutive epochs. As shown in Table 2 , the decomposition will gradually stabilize despite the randomly initialized embeddings at the beginning. **Table 2: Convergence of the learned soft decomposition.** $$\begin{matrix} \hline & \text{epoch} =1&\text{epoch} =200&\text{epoch} =400& \text{epoch} =600&\text{epoch} =800 &\text{epoch} =1800\\\\ \hline \text{Cornell\\& Texas} &1.29e-2&3.01e-4& 1.54e-4&1.38e-4&8.15e-5&1.01e-5& \\\\ \text{Cora \\& Citeseer}&1.56e-2&6.67e-4&1.64e-4&1.18e-4&9.32e-5&1.15e-5 \\\\ \hline \end{matrix}$$ # To Question 3 We follow the zero-shot paradigm in [1], and report the results as shown in Table 3. Our method outperform the other two baselines on homophilic and heterophilic settings. **Table 3: Accuracy of zero-shot node classification.** $$\begin{matrix} \hline \text{Source} & \text{Cora \\& Citeseer } & \text{Cornell \\&Texas} & \text{Cornell \\& Texas}\\\\ \text{Model/Target} & \text{Cornell} & \text{Photo} & \text{Cora} \\\\ \hline \text{SAMGPT} &19.3& 37.8&22.7\\\\ \text{MDGPT}&20.8&40.3&23.6 \\\\ \text{HHGFM} &\bf23.1&\bf42.7&\bf28.9 \\\\ \hline \end{matrix}$$ # To Question 4 Thank you for the suggestion. Since we cannot include the figure, we will address both possible goals of this experiment in the revision. If the aim is to compare class separability against a single-encoder baseline, we will provide t-SNE plots on Cora and Cornell colored by ground-truth labels. If the aim is to verify that our method separates the two representations on the target dataset, we will visualize $H^{ho}$ and $H^{he}$ separately, similar to Figure 1(b). # To Question 5 During pretraining, the time costs and and memory costs of our methods against SAMGPT and BRIDGE are as follows. These costs are not high. **Table 4: Runtime per epoch and memory during pretraining.** $$\begin{matrix} \hline &\text{Source data} & \text{Cora \\& Citeseer } & \text{Cornell \\&Texas} & \text{Citeseer \\& Photo}\\\\ % \text{Model/Target} & \text{Cornell} & \text{Photo} & \text{Cora} \\\\ \hline \text{Times(ms)}&\text{SAMGPT} &49& 23&33 \\\\ &\text{BRIDGE}&148&41&257 \\\\ &\text{HHGFM} &130&38&225 \\\\ \hline \text{Memory(MB)}&\text{SAMGPT} &2091& 129&129 \\\\ &\text{BRIDGE}&6033&553&9352 \\\\ &\text{HHGFM}&5351&307&9159 \\\\ \hline \end{matrix}$$ # To Limitation 3 * Let the Laplacian of the heterophilic weighted graph be $\mathbf{L}_i^{he} = \mathbf{D}_i^{he}-\mathbf{W}_i^{he} = U\Lambda U^\top$. Ignoring the activation and the feature transformation, Eq. (12) becomes $(I+L^{he}_i)H=U(I+\Lambda)U^\top H,$which corresponds to the frequency response $g_{he}(\lambda)=1+\lambda.$ Since $g'_{he}(\lambda)=1 >0$, the response is strictly increasing in frequency. A smoother (low-pass filter), by definition, requires $g$ to be decreasing. Retaining $\mathbf{H}^{l-1}$ is equivalent to adding a constant, which shifts the curve and higher frequencies always receive larger gains. $\mathbf{H}^{l-1}$ thus cannot make the branch a smoother. * $L_{ho}$ and $L_{he}$ are exact mirrors: the former pulls linked nodes together, the latter pushes them apart. In the heterophilic channel, the edges that dominate $W^{he}$ are those estimated as heterophilic, whose endpoints are likely to belong to different classes, so their representations should be pushed apart; a randomly sampled unlinked node, in contrast, is more likely to share the same class in strongly heterophilic graphs. * Regarding ablation of the high-pass branch, please refer to Weakness 3. # To Limitation 4 $E_{ho}$ and $E_{he}$ denote the ground-truth partition induced by node labels. We define accuracy on homophilic and heterophilic contribution: $$\text{acc}_{ho}=\frac{1}{|E_{ho}|}\sum_{(v,u)\in E_{ho}}1[\alpha^{ho}_{v,u}>0.5], \qquad \text{acc}_{he}=\frac{1}{|E_{he}|}\sum_{(v,u)\in E_{ho}}1[\alpha^{ho}_{v,u}\le 0.5].$$ we report results of two experments: homophilic sources $\rightarrow$ heterophilic target(Texas), and heterophilic sources $\rightarrow$ homophilic target(Cora), as shown in Table 1. In both, the transferred $\mathbf{W}^{ho}$ and $\mathbf{W}^{he}$ recover thetrue homophilic and heterophilic patterns well, with acc\$\_{ho}$/acc$\_{he}\$ of 88.80/67.89 and 73.26/71.91 respectively, far above the 50 of an uninformative decomposition. **Table 5: Accuracy of the learned decomposition against label-based edge partitions.** $$\begin{matrix} \hline \text{Source} & \text{Cora \\& CiteSeer} & \text{Cornell \\& Texas} \\\\ \text{Metric/Target} & \text{Texas} & \text{Cora} \\\\ \hline \text{acc}_{ho} & 88.80 & 73.26 \\\\ \text{acc}_{he} & 67.89 & 71.91 \\\\ \text{Homophily ratio} & 11 & 81 \\\\ \hline \end{matrix}$$ ---- [1] Zerog: Investigating cross-dataset zero-shot transferability in graphs. KDD 2024. **Once again, thank you for recognizing our work. We hope the responses above have addressed your questions properly. We look forward to your feedback.**

Comments on the paper

1 comment
Meta-review

This paper proposes HHGFM, a multi-domain graph foundation model that softly disentangles homophilic and heterophilic connectivity at the node level, encodes the two patterns with low- and high-pass backbones, and adapts to target domains via graph prompt tuning. Reviewers found the motivation clear and well grounded, and commended the extensive few-shot evaluation across node- and graph-level tasks in both cross-dataset and cross-domain settings. Their initial reservations concerned the rigour of the generalization bound, notably the unbounded disentanglement-error term, the embedding-based score as a proxy for label homophily, and the positioning with respect to related multi-domain GFMs. The rebuttal supplied additional theoretical clarification, further ablations, and a direct comparison with MDGFM, after which all three reviewers supported acceptance and two raised their scores. I recommend acceptance, and ask the authors to incorporate the rebuttal results and the expanded related-work discussion into the camera-ready version.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.