This paper proposes OFAG, a foundation model for attributed graph clustering that learns a reusable clustering inference strategy from synthetic attributed graphs generated under broad priors over latent clusters, node attributes, and graph structures.
Abstract
Attributed graph clustering aims to discover node groups by jointly exploiting node attributes and graph topology, yet its unsupervised nature makes model selection and adaptation inherently difficult. Existing methods typically train and tune a separate model for each input graph, leading to costly and fragile pipelines that often fail to transfer across graphs with different feature spaces, structural patterns, and attribute-structure correlations. In this paper, we study a one-for-all alternative: can a single model be trained once and directly applied to diverse attributed graphs without graph-specific training, fine-tuning, or hyperparameter search? We propose OFAG, a foundation model for attributed graph clustering. Building upon Prior-data Fitted Networks, OFAG learns a reusable clustering inference strategy from synthetic attributed graphs generated under broad priors over latent clusters, node attributes, and graph structures. To handle incompatible feature spaces across graphs, OFAG adopts a dimension-agnostic signal-wise graph encoder that treats each feature channel as a graph signal and models its response to shared graph filters. The model is trained with a hyperspherical clustering objective, producing clustering-friendly node representations in a single forward pass at inference time. On ten datasets, one frozen OFAG model achieves the best mean performance and average rank across NMI, ACC, ARI, and F1, while completing all ten datasets in 12.43 minutes total---over 6* faster than the second-fastest baseline and nearly 28* faster than the second-best on clustering quality. Our code and pretrained checkpoint are available at https://github.com/Cloudy1225/OFAG, allowing practitioners to directly apply OFAG to their own attributed graph datasets without additional training or tuning.
Graph clustering is a fundamental task in data analysis, aiming at grouping nodes with similar characteristics in the graph into clusters. This problem has been widely explored using graph neural networks (GNNs) due to their ability to leverage node attributes and graph topology for effective cluster assignments. Howev...
Wei Ju, Si-Yu Yi, Kang-Jie Zheng et al.· International Conference on...· 4 citations
Graph learning aims to recover latent topological structures from noisy graphs and auxiliary data. Existing attributed graph models typically learn hidden representations by integrating the node connections in graphs with the node attributes in auxiliary data, but their effectiveness is limited by heavy noise, which ob...
Relative Contexts for Graphs (ReCoG) is introduced, which first construct attribute contexts to provide a comparison rule independent of the raw graph structure, and construct structural contexts based on common neighbors and semantic contexts based on neighborhood attribute summaries to retain the topological and neig...
Yu-Peng Tong, Lianze Shan, Ji-Tao Zhao et al.· 0 citations
Clustering attributed graphs can help organize unlabeled data, such as document collections described by text features and citation links. When independently acquired feature modalities are unavailable, transformations of the same attributes provide several representations to combine with the graph. We propose a Multi-...
Machine-learning networks can learn without detailed instructions from a designer. Those that do may offer insight into how the brain reorganizes itself during learning.
MIT News · Artificial Intelligence· news.mit.eduSep 29, 2026
Professor Sherry Turkle’s new book, “Artificial Intimacy,” offers a withering critique of chatbots and the antisocial dynamics she believes they encourage.