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

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

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155780) · [Open on the map](../papers.html#p155780)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Graph Representation Learning for Heterophilic Structures](../pgroup/21.md) · Type: new method · Keywords: graph foundation models, homophily, heterophily, node-level disentanglement, multi-domain graphs

Areas: [Graph Learning](../areas/graph-learning.md) › Graph Analysis Methods › Graph Neural Network Architectures

## Summary
HHGFM disentangles homophilic and heterophilic patterns in multi-domain graphs using a node-level soft disentanglement mechanism and dual backbones.

## Explained to a 5-year-old
In some networks, friends like to be similar, and in others, they like to be different. The new model knows both kinds of connections and keeps them separate. It looks at each friend and decides how much they belong to each type of connection. Then it uses two simple filters to learn from each type. This helps the model understand many kinds of networks better.

## Explained to a 5-year-old, longer
In some networks, people or things that are similar tend to connect with each other. That's called homophily. In other networks, things that are different also connect, which is called heterophily. Existing models treat all connections the same, which can make them miss important patterns. The new idea is to separate these two kinds of connections so each can be learned separately. It looks at each connection and decides how much it belongs to the similar type and how much to the different type. This keeps all the original connections intact, unlike older methods that split the network into pieces. Then two simple filters are used: one for the similar connections and one for the different connections. These filters help the model learn the patterns without mixing them up. The approach also includes a theoretical analysis that explains why separating the patterns helps. Experiments on many different networks show that the method works better than previous ones. Overall, the method makes graph models more flexible and able to handle a wider variety of real-world networks.

## For a technical reader
The paper addresses a limitation in graph foundation models where a single representation space conflates two fundamental connectivity patterns: homophily (similar nodes connect) and heterophily (different nodes connect). It proposes a node-level soft disentanglement that estimates each neighbor’s contribution to these patterns and uses them as edge weights, preserving the original graph structure. Two complementary backbones-low-pass and high-pass filters-then align homophilic and heterophilic patterns separately. A theoretical generalization analysis supports the design, and experiments on diverse graph datasets demonstrate improved performance. The result is a more flexible foundation model that can capture both types of relationships without discarding edges.

## Problem
Graph foundation models often use a single representation space that conflates homophilic and heterophilic connectivity patterns, making it difficult to capture both types of relationships across domains. Additionally, partitioning graphs into disjoint subgraphs loses edges essential for self-supervised pre-training.

## Method
The approach employs a node-level soft disentanglement mechanism that estimates each neighbor's homophilic and heterophilic contributions and uses them as edge weights, preserving the original graph structure. Low-pass and high-pass filters then serve as dual backbones to align homophilic and heterophilic patterns separately.

## Contributions
The work introduces a node-level soft disentanglement mechanism that separates homophilic and heterophilic patterns while preserving graph edges, and proposes dual low-pass/high-pass backbones for pattern alignment, along with a generalization analysis.

## Research questions this paper is counted under

- [How can graph foundation models learn representations that generalize across graphs of varying size and structure?](../q/398.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155780)
