arXiv:2611.00670cs.LGOct 2026

Manuscript Offprint

arXiv:2611.00670

Versatile Graph Foundation Models from Frozen Time-Series Foundation Models via Parallel Flows

Jielong Yang, Feng Ji

Jielong Yang and Feng Ji

Abstract—Graph foundation models aim to serve unseen graphs across tasks, feature spaces, and label sets. Most current models learn how to represent a new graph by pre-training on other graphs. Because graph data are scarce and differ across domains in features and structures, what they learn may not transfer to a graph from an unseen domain. We show that a frozen time-series foundation model, pre-trained on abundant time series, can instead serve as a graph foundation model without graph pre-training and without any gradient update on the target graph. Such a model reads ordered multivariate sequences, but a graph has no time axis, and covering all its edges with sequences is nontrivial because a node can have many neighbors. We therefore propose GraphFlowFM, which decomposes a graph into parallel flows, sets of vertex-disjoint paths that jointly cover every edge, and reads each path as a multivariate time series with the nodes as time steps. A frozen TimesFM encodes the paths with causal attention, which gives each node a self token and a context token, and a closed-form ridge readout weighs these tokens by their alignment with the labels. In node classification, GraphFlowFM attains the best average rank on 21 datasets among graph foundation models published in 2025 and 2026, ranks first on 17 datasets, and leads on six of the seven heterophilous datasets. It also exceeds pre-trained graph foundation models in link prediction on all six datasets and ranks second in molecule classification, behind only a model fine-tuned after pre-training on molecules.

Index Terms—Graph foundation models, time-series foundation models, parallel flows, node classification, link prediction, graph classification.

1 INTRODUCTION

A graph foundation model is a single model that serves unseen graphs across tasks, feature spaces, and label sets [1, 2]. The prevailing assumption is that such a model can be applied to a new graph only after it has been pre-trained on graph data, real or synthetic [2–4].

Three families of graph foundation models follow this assumption, and each has a specific gap. The first family pre-trains on corpora of many graphs and adapts to a new graph by prompt tuning or fine-tuning [3, 5–11]. These models need text attributes or feature alignment to bridge feature spaces, and they still update parameters on the target graph. The second family trains a model once on a single graph and applies it to new graphs without retraining it [2, 12, 13]. These models still learn their weights from graph data, and their representations aggregate neighbors. On the heterophilous Roman-empire graph, where only 5% of edges join nodes of the same class, the second family reaches 64.1% to 70.5% accuracy [2, 12, 13]. The third family pre-trains on synthetic graphs drawn from a designed prior [4, 14], which moves pre-training from real graphs to generated data, but the graph prior must still be designed and trained. All three families therefore learn from other graphs how to represent a new graph. Because graph data are scarce and differ across domains in feature spaces and structures, what is learned from a limited set of pre-training graphs may not transfer to a graph from an unseen domain.

Figure

Fig. 1. Average rank of every compared method on three tasks, one panel per task with its own rank scale. Node classification covers the 21 datasets of Table 1 and every reported variant, link prediction six datasets, and graph classification five molecule benchmarks. Lower is better. Our method GraphFlowFM ranks first on node classification and link prediction. On graph classification it ranks second (3.00) behind GIT-S (2.20), but GIT-S is pre-trained on molecules and fine-tuned on each task, while the encoder of GraphFlowFM has never seen a molecule and makes no gradient update.

These challenges motivate an alternative: reusing knowledge learned from abundant non-graph data, without requiring graph-specific pre-training. A recent method follows this route with a tabular foundation model [15] applied to node features aggregated over neighbors [16, 17]. However, the graph

  • J. Yang and F. Ji are with Nanyang Technological University, Singapore. E-mail: jyang022@e.ntu.edu.sg, jifeng@ntu.edu.sg
  • J. Yang and F. Ji contributed equally. Corresponding author: J. Yang.

enters only through neighborhood averages and structural encodings computed before the model, so the neighborhood of a node reaches the model as a fixed summary. Such averages can obscure differences among neighbors, for example on heterophilous graphs, where neighbors often belong to different classes. The approach also addresses node property prediction only.

Time-series foundation models have properties that could mitigate both the dependence on graph pre-training and the limits of the tabular approach. They need no graph data, since they are pre-trained on billions of time points from many domains [18–22]. Some of them also attend jointly across a varying number of variates whose meaning is not fixed in advance [19, 23, 24], so graphs with different feature spaces can be given to one encoder once their features are converted to a common number of variates. Unlike a tabular model, they read ordered sequences and give a token to every position, so the context of a node is encoded by the model rather than reduced to a fixed summary before it. However, a graph cannot be fed to a time-series foundation model directly, since it has no time axis. A path through a graph is an ordered sequence of nodes, but a single path or a set of random walks may miss edges, because a node can have many neighbors. The parallel flows that we proposed in [25] decompose any graph without training into sets of vertex-disjoint paths that jointly cover every edge. This observation leads to the question of this paper. Can a frozen time-series foundation model serve as a graph foundation model once the graph is decomposed into parallel flows?

We answer this question with GraphFlowFM, shown in Figure 2. GraphFlowFM decomposes a graph into parallel flows, sets of vertex-disjoint paths taken from depth-first search forests that together cover every edge. Each path becomes two multivariate time series. In the feature series, the 32 variates are the node features compressed to 32 dimensions. In the structure series, the eight variates are the node degree and random-walk return probabilities. A frozen TimesFM-3 [24] encodes every series, and causal attention gives each node a self token and a context token that depends only on the part of the path before the node. GraphFlowFM averages these tokens over all flows. A closed-form ridge readout weighs the feature and structure tokens by their alignment with the training labels and combines kernel candidates by validation accuracy. No parameter is pre-trained on graphs. On the target graph, the encoder stays frozen, and only the readout is fitted to the labels, in closed form without any gradient update.

Our contributions are as follows.

  • Graph foundation models from time-series foundation models. Most graph foundation models are pre-trained on graphs or retrained on each target graph, and many are designed for a single task. We show that a frozen time-series foundation model can serve as a graph foundation model for node classification, link prediction, and graph classification, without graph pre-training and without any gradient update.

  • Parallel flows as a sequence view of graphs. A time-series model reads ordered sequences, whereas a graph has no time axis. We therefore decompose each graph into parallel flows, vertex-disjoint paths that

jointly cover every edge, so that every path becomes a multivariate time series and causal attention keeps the ordered context of a node instead of averaging its neighbors. The decomposition needs no labels and no learnable parameters, so it applies unchanged to any graph.

  • State of the art on three tasks. With one frozen encoder for every dataset and task, GraphFlowFM attains the best average rank among 2025 and 2026 graph foundation models on 21 node classification datasets and the highest ROC-AUC on five of six link prediction datasets, and it ranks second in molecule classification behind a model pre-trained on molecules.

Figure 1 summarizes these results by the average rank of every compared method on each task.

References (40)