Manuscript Offprint
arXiv:2611.00670Versatile Graph Foundation Models from Frozen Time-Series Foundation Models via Parallel Flows
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.

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.
Time-series foundation models and frozen transfer. TimesFM [18], Moirai [19], Chronos [20], Time-MoE [21], Moirai-MoE [23], and Sundial [22] are pre-trained on large forecasting corpora and transfer without fine-tuning across domains and frequencies. Moirai, Moirai-MoE, and TimesFM-3 [24] attend across variates, while the others forecast each variate separately. Their predictions are also better calibrated than those of baseline models [31], and in-context examples adapt them without gradient updates [32]. Frozen pretrained language transformers transfer to other modalities when only their input, output, positional-embedding, and layer-normalization parameters are fitted [33], and tabular foundation models have recently been turned into graph foundation

Fig. 2. Prior graph foundation models (left) learn graph knowledge from real or synthetic graphs before they are applied to a target graph. GraphFlowFM (right) decomposes the target graph into parallel flows, vertex-disjoint paths that jointly cover every edge (1), writes each path as a multivariate time series with one node per patch (2), and encodes it with a frozen time-series foundation model whose causal attention gives each node a self token and a context token (3). Since a node lies on paths of several flows, its tokens are averaged over all of its occurrences (4), and a closed-form ridge readout predicts node labels, links, or graph labels (5). The node features and the structural descriptors are encoded as two separate groups of variates, and no parameter is pre-trained on graphs or updated by gradient.
models [16, 17]. GraphFlowFM is, to our knowledge, the first to use a time-series foundation model as a graph foundation model, and it keeps the model entirely frozen and fits only a closed-form readout.
Sequence views of graphs and heterophily. GFCN [25] introduced parallel flows and bounded their number by the maximum degree, then applied a one-dimensional convolutional network along the paths, trained on each graph. GraphFlowFM keeps the decomposition and replaces the trained convolution with a frozen time-series foundation model. Propagation-based models such as APPNP [34] and GPR-GNN [35] average neighbor features with fixed or learned weights. On heterophilous graphs, such as the Roman-empire and Amazon-ratings benchmarks of [36], this averaging mixes the features of nodes from different classes. Ordered paths keep the position of each neighbor in the sequence, so GraphFlowFM does not need to average the neighbors of a node. Its readout averages over neighbors only where this raises validation accuracy, and on Roman-empire it mostly does not (Section 6.2).
3 METHOD
Figure 2 provides an overview of the GraphFlowFM model. The remainder of this section is organized as follows: Section 3.1 defines the problem setting, Section 3.2 introduces the decomposition into parallel flows, and Section 3.3 describes path encoding via a frozen time-series foundation model. We then detail the fusion of tokens across flows (Section 3.4) and the closed-form readout (Section 3.5), followed by theoretical discussions in Section 4.
3.1 Setting
We consider undirected graphs. Such a graph with nodes has adjacency matrix , and node features , where denotes feature of node . The feature dimension and feature semantics may vary across graphs, and node features may be absent. Let denote the degree of node and the degree matrix.
We consider three prediction tasks, each formulated as assigning a label from classes to a prediction target. For node classification, each target is a node and its label is the node's class. For link prediction, each target is a node pair and its binary label indicates whether the pair forms an edge. For graph classification, each target is a graph in a collection, and its label describes a graph-level property, such as a molecule's biological activity. Given a labeled training set of targets and a labeled validation set, the goal is to predict the labels of test targets.
Our central idea is to represent a graph as a collection of ordered sequences by partitioning its edges into edge-disjoint paths. Each path preserves adjacency along the sequence, and the paths collectively cover every edge, while allowing a node to appear in multiple paths. We treat node features and structural descriptors along each path as multivariate time series and encode them using a frozen pretrained time-series foundation model. Parallel flows thus provide an interface between graph-structured data and pretrained sequence models.
Our model, GraphFlowFM, uses the same frozen time-series foundation model across all datasets and tasks, without graph-specific pretraining. We also use a common set of hyperparameter settings throughout. Dataset-specific adaptation is confined to the downstream readout, which is fitted using the training labels and selected using the validation labels. No model parameter is updated by gradient descent.
3.2 Parallel Flows
Definition 1 (Parallel flows [25]). A path is a connected acyclic subgraph in which every node has degree at most two. A parallel flow is a collection of pairwise vertex-disjoint paths. A collection of parallel flows covers G if every edge of G belongs to a path in at least one flow.
Each path can be represented as an ordered sequence of nodes. A parallel-flow cover therefore represents all edges of G through sequences, while allowing paths in different flows to share nodes. The following result bounds the number of flows required solely in terms of the maximum degree.
Proposition 1 (Number of flows [25, Theorem 1 and Corollary 1]). Let be the maximum degree of and . If is a tree, the minimum number of parallel flows needed to cover is . For a general graph, possibly disconnected, at most flows suffice.
To understand the tree case, pair incident edges at each node and follow these pairs to form edge-disjoint paths. A node of degree belongs to at most such paths. These paths can be assigned to flows so that paths sharing a node belong to different flows. Conversely, each flow covers at most two edges incident to any node, so the maximum-degree node requires at least flows. For a general graph, repeatedly extract and remove a spanning forest. Each extraction reduces the maximum degree of the remaining graph by at least one, since every non-isolated node contributes at least one incident edge to the forest. Applying the tree bound to each forest gives
Following this forest-based construction, GraphFlowFM computes a parallel-flow decomposition using Algorithm 1. At each iteration, we extract a depth-first search (DFS) forest from the remaining edges and remove its edges. We partition each forest into edge-disjoint paths by pairing incident tree edges at each node. The resulting paths are grouped into flows by greedy coloring: paths that share a node must receive different colors, and each color defines a flow. The process continues until every edge has been assigned to a path.
The DFS uses a fixed traversal order: roots are considered in decreasing order of degree, and neighbors are visited in increasing order of degree. This ordering favors exploration along low-degree chains. Together with a fixed rule for breaking degree ties, it makes the traversal deterministic.
Within each forest, a node belongs to at most paths, and it may occur in paths from multiple forests. A node can therefore appear in several sequences, with different neighbors preceding or following it. We encode every path in both directions to capture context from either end. Nodes not included in any path, including isolated nodes, are represented by singleton sequences. Paths exceeding the encoder's context length are divided into windows of 480 nodes, with an overlap of 64 nodes between consecutive windows.
3.3 Paths as Multivariate Time Series
Two complementary views of each node. To turn a path into a multivariate time series, we treat its nodes as successive positions and their attributes as signal channels, or variates. We construct two complementary groups of signals: a feature group that describes what each node contains, and a structure group that describes its local connectivity. We encode the two groups separately, keeping each within the encoder's limit of 32 variates.
For the feature group, we normalize the available node features and project them onto their leading singular-vector directions, obtaining 32 channels. This label-independent
Algorithm 1 Parallel flow decomposition
1: Input: Graph 2: Initialize the uncovered edges and the paths 3: while do 4: Build a DFS forest of , with roots by decreasing degree and neighbors by increasing degree 5: Pair the edges of at each node, and follow the pairs into edge-disjoint paths 6: Add the paths to , and 7: end while 8: Group into flows by greedy vertex-disjoint coloring 9: Output: Parallel flows that cover
transformation accommodates differences in feature dimension and semantics across graphs. We denote the resulting signal matrix by , where .
For the structure group, we use 8 channels: the log-transformed degree and the probabilities that a random walk starting at returns to after one through seven steps. The return probability after steps is . Together, these signals characterize local connectivity at several walk lengths and remain available when node features are absent. We collect them in , where . Each column of both signal matrices is standardized. The feature preprocessing rules are specified in Appendix B.
From paths to encoder patches. We encode these signals using the frozen multivariate time-series foundation model TimesFM-3 [24], the successor of TimesFM [18]. The path determines the sequence order; no temporal interpretation of the graph is required. The encoder processes sequences in patches of time points, so we assign one patch to each node. Within that patch, we repeat each signal value across all positions. Thus, a path becomes a multivariate series of length , with one channel for each column of the chosen signal matrix.
We disable the encoder's built-in input normalization, replacing it with the identity transformation. This normalization rescales each input series using its own running mean and scale, in the spirit of reversible instance normalization [37], and can obscure signal levels needed for node prediction. In a reconstruction check on Cora, ridge regression from the hidden states to the node's input signal achieves with this normalization and without it. We therefore retain the globally standardized signals without further input normalization.
At each node position, the encoder produces a hidden state for every variate. For signal group , we concatenate these states into , where is the hidden width. Causal attention gives two useful views of node : summarizes the path prefix including , whereas summarizes only the preceding nodes. These provide the basis for the self and context representations introduced next.
3.4 Fusion Across Flows
Combining multiple views of a node. A node can appear in several sequences, each exposing a different ordered context. We propose to average its hidden states across these occurrences to obtain a single node representation, while also retaining a complementary representation by averaging the hidden states immediately preceding the node. These two representations capture the path context after and before the encoder reads the node's signal, respectively. Keeping them separate allows the downstream readout to determine their relative usefulness for prediction. Each occurrence presents the encoder with a different ordered context. GraphFlowFM combines these views into two representations per signal group: a self token, which includes the node's own signal, and a context token, which summarizes the sequence preceding it.
Specifically, for an occurrence of node v at position i in sequence q, the hidden state includes both v and its preceding path context. The previous hidden state, , summarizes that context before the encoder reads v's patch. We average these states separately across occurrences, allowing each node to gather information from the different paths through it.
Formally, let contain all occurrences of v across flows, paths, windows, and traversal directions. Let contain those occurrences with a predecessor, namely . For each signal group , we define
(1)
Here, the hidden states are computed from signal group g. We set the context token to zero when is empty.
Because the paths collectively cover every edge and are encoded in both directions, each neighbor can contribute to the context preceding v in at least one sequence. Averaging brings these path-based views together, while keeping the self and context information in separate tokens. The resulting representations summarize the contexts exposed by the chosen decomposition; they need not be invariant to the decomposition itself.
Stacking the tokens as rows, one per node, gives four representation blocks: , , , and . This fusion step introduces no learned parameters.
3.5 Closed-Form Readout
The frozen encoder provides several views of each node, but their usefulness depends on the task. Our readout combines these views with different amounts of graph propagation and uses labeled examples to identify useful similarities between prediction targets. A closed-form predictor and validation-selected ensemble provide this adaptation without updating the encoder.
Blocks and propagation. The readout combines five complementary views of each node: the four token blocks , , , and , together with the input feature signals . Each block is standardized columnwise. To supplement path context with graph connectivity, we consider no propagation, one- and two-step propagation, and personalized PageRank propagation. With , where is the degree matrix of , these are for and
with restart probability and T = 10 [34]. Keeping all four versions allows the readout to accommodate different amounts of neighborhood mixing.
Target representations. We adapt the node representations to each task through a simple aggregation. For a block and propagation , define
Thus, node classification uses individual rows, link prediction uses an order-independent elementwise product, and graph classification uses mean pooling. We suppress the dependence on and write for the rows corresponding to training targets.
Kernels and block combinations. We compare targets using either inner-product similarity or Gaussian distance similarity:
The linear kernel is normalized by its mean training diagonal, and is the median squared distance between training targets.
Because feature and structural information may differ in usefulness, we consider six kernel combinations: all four token blocks; feature self only; feature self plus context; structure self only; structure self plus context; and a weighted sum over all five blocks. For the weighted sum, each weight is the nonnegative part of the centered kernel-target alignment with the training label kernel [38], normalized across blocks. Each combination uses either linear or Gaussian kernels throughout. Without node features, only the two structure-based combinations are used.
Closed-form readout. We fit a kernel ridge predictor for each combination, adapting to the labels without updating the encoder. For a combined kernel K, the class scores are
where is the training kernel, contains one-hot training labels, contains training class proportions, is the mean diagonal of , and . The class proportions provide a baseline prediction, while the dual formulation requires solving a system.
Scores become probabilities through the rowwise transformation , where is the standard deviation of the entries of . For node classification, we also retain a smoothed prediction obtained from ten iterations of , starting from , followed by row normalization.
Ensemble selection. The six combinations, two kernels, four propagations, and three ridge strengths yield 144 candidates, or 288 for node classification with smoothing; fewer are used without node features. Greedy ensemble selection with replacement [39] selects one candidate at each of 30 steps to maximize the validation score of the running average: accuracy for node classification and ROC-AUC otherwise. The final prediction averages the selected candidates. The candidate settings and selection procedure are shared across datasets, while validation labels determine the ensemble.
4 THEORETICAL ANALYSIS: CONSISTENCY OF SINGLE-DECOMPOSITION EMPIRICAL RISK
A graph generally admits many parallel-flow decompositions, and the output of Algorithm 1 can depend on its vertex order (Section 6.3). This raises a natural question: must we average over multiple decompositions of every graph to obtain a meaningful population-level evaluation? We show that, for a fixed predictor and independently sampled graphs, one decomposition per graph consistently estimates the risk averaged over a specified decomposition distribution. The key idea is to average jointly over graph examples and decomposition choices, rather than exhaustively over the decompositions of each graph. This result provides a statistical rationale for single-decomposition processing; its broader relevance to the transferable design of GraphFlowFM is discussed below.
Setting. Let denote a graph, including its observed attributes, and its prediction target or collection of targets. For node-level tasks, the loss of a graph can be an average over its target nodes; the graph remains the sampling unit. Let be the set of parallel-flow decompositions of , and let be a probability distribution on this set that depends measurably on . For Algorithm 1 applied after a uniformly random vertex relabeling, is the distribution of the resulting decomposition, mapped back to the original vertices. For the deterministic procedure using the original vertex identifiers, is the point mass at its output . Thus, the analysis covers both randomized and deterministic procedures, but always estimates the risk induced by the specified procedure.
Write the predictor as , where includes signal construction, the frozen TimesFM encoder, and token fusion and propagation, while denotes a fixed readout, including its ridge coefficients and selected ensemble. For a measurable loss , define the graph loss, its decomposition average, and the population risk as
Here is the expected loss when each graph is processed using one decomposition drawn from ; it is not the loss of an ensemble that averages predictions over decompositions. Given one decomposition for each of N graph examples, the empirical risk is
We assume:
(A1) The examples are independent and identically distributed with law .
(A2) Conditional on all graph examples , the decompositions are independent, with . The same label-independent decomposition procedure is used for every graph.
(A3) The predictor parameter is fixed independently of the sampled examples and decompositions, and under .
Proposition 2 (Consistency of single-decomposition empirical risk). Under (A1)–(A3), and almost surely as . If, in addition, almost surely for some , then, for every ,
Consequently, with probability at least , where ,
Proof. Let and define the joint law . We first verify that the are independent and identically distributed with law . For measurable sets , let . Conditional independence in (A2), followed by independence in (A1), gives
For fixed , the losses are therefore also i.i.d., and (A3) ensures integrability. By (A2) and the tower property,
Linearity of expectation proves unbiasedness, and the strong law of large numbers gives almost surely. Neither boundedness nor a finite second moment is required for these conclusions.
If , Hoeffding's inequality bounds each tail of at by . Adding the two tail bounds proves (9). Setting its right-hand side to yields the confidence bound.
Thus, independent graph examples suffice for the stated accuracy and confidence. The bounded-loss condition holds with for graph-level classification error or an average of node-level classification errors.
Why one decomposition can suffice. When the loss has finite variance, the law of total variance gives
The two terms reflect variation between graph examples and variation between decompositions of the same graph. Since , averaging over more independent graphs reduces both contributions. Averaging the losses of conditionally independent decompositions per graph reduces only the second contribution by a further factor of . Repeated decompositions can therefore improve precision, but are not necessary for consistency of the population-risk estimate.
Relevance and scope. The proposition provides a population-level rationale for processing each graph with a single decomposition. More broadly, this perspective is consistent with the transferable design of GraphFlowFM, which reuses a frozen encoder across graphs and tasks. It suggests that exhaustive averaging over decompositions need not be necessary for effective prediction across graph examples. This broader interpretation motivates the approach, while its practical relevance is assessed empirically; it is not an additional guarantee of the proposition.
The theoretical analysis establishes consistency of population-risk estimation for a fixed predictor evaluated on independent graph examples. This includes predictors fitted on independent training data and cross-domain generalization tasks, alluded to by foundation models, across graphs, with each graph contributing an aggregate loss. It also provides a starting point for further analysis of the complete learning pipeline. Promising future directions include generalization guarantees for data-dependent readout fitting and selection, and extensions that account for dependence among node or edge samples within a graph. Complementary theoretical and empirical studies could characterize stability under vertex relabeling and decomposition choices, and clarify how time-series pretraining contributes to effective graph representations.
5 EXPERIMENTS
We evaluate GraphFlowFM on three tasks: node classification (Section 5.1), link prediction (Section 5.2), and graph classification (Section 5.3). Dataset details and evaluation protocols are provided in Appendix A. For each task, we compare GraphFlowFM with methods trained on graph data. We then examine the contributions of its components in Section 6.
Common setup. All experiments use the same public TimesFM-3 checkpoint with its parameters frozen. The hyper-parameter settings and readout candidate library described in Section 3 are shared across all datasets and tasks (Table S2, Appendix B). Readout candidates are fitted using training labels, and the ensemble is selected separately for each dataset using validation labels (Section 3.5). All experiments run on a single NVIDIA RTX 4090D GPU with 24GB of memory.
5.1 Node Classification
Datasets and protocol. We evaluate on the node classification datasets of GraphAny [2], the largest set of datasets on which recent graph foundation models have publicly reported results under a common evaluation protocol. The main comparison uses 21 datasets from nine domains: citation, co-purchase, co-authorship, web, text, social, crowdsourcing, co-occurrence, and a synthetic grid. We group them by edge homophily, above or below 0.5, into 14 homophilous and 7 heterophilous datasets. Table S1 in Appendix A.1 lists every
TABLE 1
Node classification accuracy (%) under the GraphAny protocol on 21 datasets, five seeds. Baselines are released numbers of graph foundation models from 2025 and 2026, and every baseline is trained on graph data. n/r means not reported. Rank is averaged over the datasets a method reports. Best in bold, second underlined. Standard deviations and further variants are in Appendix C.1.
| Dataset | GraphAny | TS-Mean | TS-GAT | NodePFN | RGVT | Ours |
|---|---|---|---|---|---|---|
| Homophilous | ||||||
| Cora | 77.8 | n/r | n/r | 82.1 | 81.7 | 83.1 |
| CiteSeer | 67.5 | 68.7 | 68.7 | 67.3 | 70.1 | 70.4 |
| PubMed | 77.5 | 75.0 | 75.5 | 78.0 | 78.2 | 79.3 |
| Photo | 90.2 | 90.2 | 89.7 | 90.5 | 92.3 | 92.5 |
| CS | 90.8 | 90.9 | 91.1 | 91.5 | 92.3 | 93.0 |
| Computers | 82.0 | 81.4 | 80.2 | 81.4 | 84.1 | 86.6 |
| Physics | 92.5 | 92.6 | 92.2 | 93.4 | 93.2 | 92.9 |
| DBLP | 70.1 | 66.4 | 64.3 | 74.7 | 78.1 | 77.2 |
| FullCora | 56.3 | 53.6 | 52.8 | n/r | 63.3 | 60.8 |
| Wiki | 61.1 | 69.9 | 72.5 | n/r | 72.3 | 75.2 |
| WikiCS | 73.8 | 74.2 | 73.2 | 76.0 | 78.9 | 79.9 |
| Minesweeper | 80.1 | 80.7 | 80.7 | 80.7 | 80.0 | 82.9 |
| Tolokers | 78.2 | 78.1 | 78.0 | 78.6 | 78.3 | 80.5 |
| Questions | 97.1 | 97.0 | 97.0 | 97.0 | 97.1 | 97.3 |
| Heterophilous | ||||||
| Roman-empire | 64.1 | 66.4 | 67.8 | n/r | 70.5 | 80.6 |
| Amazon-ratings | 42.6 | 42.3 | 41.9 | 44.7 | 45.6 | 50.7 |
| BlogCatalog | 77.7 | 76.3 | 78.4 | n/r | 81.4 | 90.3 |
| Cornell | 66.5 | 68.7 | 71.3 | 71.9 | 74.0 | 73.0 |
| Texas | 73.5 | 73.5 | 74.0 | 76.2 | 78.9 | 84.3 |
| Wisconsin | 71.8 | 61.2 | 65.9 | 79.2 | 78.0 | 81.2 |
| Actor | 29.5 | 28.1 | 28.8 | 33.0 | 32.7 | 33.4 |
| Avg. rank, homophilous | 4.29 | 4.38 | 4.69 | 3.17 | 2.36 | 1.29 |
| Avg. rank, heterophilous | 4.57 | 5.14 | 4.29 | 2.60 | 2.14 | 1.14 |
| Avg. rank, all 21 | 4.38 | 4.65 | 4.55 | 3.00 | 2.29 | 1.24 |
| Datasets ranked first | 0/21 | 0/20 | 0/20 | 1/17 | 3/21 | 17/21 |
dataset with its source and statistics. We use the official data splits where available. Otherwise, we sample 20 labeled nodes per class for training and divide the remaining nodes equally between validation and test sets using class-stratified sampling. We report mean test accuracy over five random seeds.
Baselines. We compare with graph foundation models published at top venues in 2025 and 2026 that report results under this protocol, GraphAny [2], TS-Mean and TS-GAT [12], NodePFN [4], and RGVT [13]. All baseline methods are trained on graph data: GraphAny, TS-GNN, and RGVT use real graphs, whereas NodePFN uses synthetic graphs. RGVT additionally fits a lightweight predictor on each target dataset. We use the results reported in the original papers for GraphAny and TS-GNN, and those in Tables 16 and 17 of Lee et al. [13] for NodePFN and RGVT. When multiple variants are available, we follow each paper's main configuration, using GraphAny trained on Wisconsin and RGVT with an MLP head. Appendix C.1 reports results for all variants and includes TAG [17], which has not yet been formally published.
Main results. Table 1 shows that GraphFlowFM attains the best average rank at 1.24, ahead of RGVT at 2.29 and NodePFN at 3.00, and ranks first on 17 of the 21 datasets. It ranks first on 11 of 14 homophilous datasets (average rank 1.29) and on 6 of 7 heterophilous datasets (1.14, against 2.14 for RGVT), where the margins are larger. GraphFlowFM is ahead of the strongest competitor by 10.0 points on Roman-empire, 8.9 on BlogCatalog, 5.4 on Texas, and 5.2 on Amazon-ratings.
GraphFlowFM is behind on four datasets, by 0.5 points on

Fig. 3. Link prediction on Cora, test ROC-AUC on groups of test pairs, against the Adamic-Adar heuristic, which scores a pair by its common neighbors weighted by inverse log degree. Hubs are the top 10% of nodes by degree in the training graph, and the groups No Hub, One Hub, and Two Hubs contain the test pairs with zero, one, or two hub endpoints. No Common Neighbor contains the pairs whose two nodes share no neighbor in the training graph.
TABLE 2
Link prediction (ROC-AUC, %). For each dataset, the best released result of a graph foundation model that is pre-trained on graphs and fine-tuned on the target graph, and of a model trained on the target graph alone. GraphFlowFM makes no gradient update. Table S4 in Appendix C.2 lists every baseline.
| Dataset | Best pre-trained GFM | Best per-dataset model | GraphFlowFM |
|---|---|---|---|
| Cora | 89.27 (R-GFM) | 87.34 (GCN) | 92.86 |
| CiteSeer | 90.88 (R-GFM) | 96.90 (DGI) | 93.81 |
| PubMed | 92.26 (OFA) | 91.16 (GCN) | 95.89 |
| AirUS | 86.17 (GCOPE) | 92.50 (DGI) | 95.78 |
| Amazon-ratings | 98.49 (GIT-S) | 98.05 (BGRL) | 99.70 |
| GitHub | 86.72 (OpenGraph) | 87.48 (GCN) | 91.69 |
Physics, by 0.9 on DBLP, by 1.1 on Cornell, a web graph with 183 nodes, and by 2.4 on FullCora. These gaps are computed from the unrounded accuracies in Table S3. A possible reason that GraphFlowFM slightly underperforms on FullCora is that its 70 classes outnumber the 32 feature variates. With every reported variant and TAG added, GraphFlowFM keeps the best average rank, 1.52 against 2.95 for RGVT (Figure 1), and Table S3 in Appendix C reports all variants on all datasets.
5.2 Link Prediction
Protocol and baselines. Following the standard protocol described by Wang et al. [10], we split the edges at random into 70% training, 15% validation, and 15% test edges with as many uniformly sampled non-edges. For GraphFlowFM, we compute flows and signals on the training edges only (Appendix A.2).
Results. Table 2 compares GraphFlowFM with reported results of multiple baselines including R-GFM [26], GAUGE [27], and GIT [10]. GraphFlowFM has the highest ROC-AUC on five of the six datasets and exceeds every compared pre-trained model on all six, including GitHub and AirUS, which only use structures.
Pairs without common neighbors. Figure 3 examines where the advantage comes from on Cora. Adamic-Adar
TABLE 3
Graph classification (ROC-AUC, %) on OGB molecule datasets with scaffold splits. Baselines are released numbers from Wang et al. [10], trained on the target data from scratch (Per-Dataset) or after graph pre-training (Pre-Train + FT). GraphFlowFM makes no gradient update. Best bold, second underlined.
| Method | Graph training | HIV | BBBP | BACE | ToxCast | Tox21 | Rank |
|---|---|---|---|---|---|---|---|
| GIN | Per-Dataset | 76.83 | 67.36 | 75.55 | 62.92 | 72.26 | 4.6 |
| BGRL | Per-Dataset | 72.18 | 67.40 | 73.75 | 62.52 | 72.97 | 5.4 |
| GraphMAE | Per-Dataset | 69.54 | 66.43 | 66.56 | 62.52 | 74.13 | 5.4 |
| OFA | Pre-Train + FT | 76.48 | 65.79 | 77.88 | 63.49 | 73.00 | 4.0 |
| GIT-G | Pre-Train + FT | 73.63 | 68.33 | 79.28 | 63.00 | 73.81 | 3.2 |
| GIT-S | Pre-Train + FT | 74.75 | 68.72 | 81.10 | 63.63 | 73.78 | 2.2 |
| Ours | No Gradient Update | 78.02 | 68.59 | 75.87 | 61.95 | 74.46 | 3.0 |

Fig. 4. Graph classification on HIV. (a) Test ROC-AUC of the best single candidate of each representation, selected on the validation set, and of the ensemble. (b) Test ROC-AUC of the ensemble on the test molecules split into three equal groups by number of atoms.
[40] is a classic link prediction heuristic that predicts a link between two nodes from their common neighbors, each weighted by the inverse logarithm of its degree. It uses no node features and gives the same score of zero to every pair without common neighbors. Comparing with it on the same test pairs therefore tests whether GraphFlowFM relies only on common neighbors. GraphFlowFM reaches 92.7 ROC-AUC against 67.6. On the 1,298 test pairs whose two nodes share no neighbor in the training graph, the heuristic is at chance, while GraphFlowFM still reaches 89.2. The comparison shows that GraphFlowFM predicts links even between nodes without common neighbors. Its tokens encode the features of the nodes along the paths through each node, so two nodes with similar path contexts receive similar tokens even when they share no neighbor. GraphFlowFM therefore predicts the links that heuristics based on common neighbors miss. Because a path continues beyond the immediate neighbors of a node, the parallel flows carry this wider context to the frozen time-series encoder, which has never been trained on a graph yet turns it into tokens that predict links.
5.3 Graph Classification
Protocol and baselines. To our knowledge, no graph foundation model classifies graphs without training on graph data. Thus, on five molecule datasets of OGB with scaffold splits (Appendix A.3), Table 3 compares GraphFlowFM with the fine-tuned results reported by Wang et al. [10]. Every baseline is trained on the target molecules, and OFA and GIT
(a) Change from the Full Model (pts)
| Random-Init TimesFM | -2.4 | -0.2 | 0.0 | -0.8 | -3.2 | -0.7 | -9.7 |
|---|---|---|---|---|---|---|---|
| No TimesFM (Signals Only) | +1.0 | +0.6 | +1.5 | -1.2 | -8.8 | -1.2 | -3.8 |
| Path-EMA Encoder | -0.4 | -0.6 | +1.2 | +0.1 | -2.4 | -0.6 | -2.7 |
| No Parallel Flows | -0.6 | -1.0 | +0.7 | -0.9 | -9.3 | +2.3 | -7.6 |
| Shuffled Path Order | -2.5 | -0.5 | -0.2 | -0.9 | -8.2 | -1.0 | -5.9 |
| Half of the Edges | -0.4 | -0.1 | 0.0 | -0.5 | -3.6 | -0.4 | -3.8 |
| BFS Forests | -0.7 | +0.3 | +0.3 | 0.0 | -0.7 | +0.8 | -4.9 |
| Feature Group Only | +0.3 | -0.3 | +0.2 | +0.3 | -0.9 | +0.1 | -2.7 |
| Structure Group Only | -21.9 | -27.8 | -22.4 | -2.9 | -43.0 | -2.5 | -19.5 |
| Cora | CiteSer | PubMed | Mines. | Roman | Amazon | Texas |
(b) Sequence Length

(c) Encoder Layer
(d) Alignment Weights

Fig. 5. Node classification analyses. (a) Change in test accuracy from the full GraphFlowFM when one component is changed. (b) Gain from TimesFM, the accuracy of the pretrained TimesFM minus that of a randomly initialized TimesFM of the same architecture, when every path is cut into windows of at most the given length. (c) The same gain when the tokens are read at different encoder layers. (d) Share of the alignment weight that the readout gives to the feature tokens, the feature signals, and the structure tokens. Exact numbers are in Appendix D (Figures S1 to S3).
are also pre-trained on graphs. We use one decomposition per molecule, and Section 4 discusses when this suffices for an averaged loss.
Results. GraphFlowFM ranks first on HIV and Tox21 and second on average rank, behind GIT-S, which is pre-trained on molecules and fine-tuned on each task. Its average rank is 3.0, against 2.2 for GIT-S, 3.2 for GIT-G, and 4.6 for a GIN trained on each task. GraphFlowFM thus competes with models trained on molecules, although its encoder has never seen one.
Complementary feature and structure tokens. Figure 4a examines HIV, where GraphFlowFM ranks first, by evaluating the best single candidate of each representation. The feature tokens alone reach 77.3 to 77.6 ROC-AUC, and the structure tokens reach 73.1 without any atom type. Combining both groups reaches 78.0, above either group alone, and it is most accurate on molecules with 27 or more atoms (Figure 4b). The experiment shows that both the feature information and the structure information are useful for classifying molecules, and that they complement each other. GraphFlowFM encodes both groups and lets the readout combine them, so it outperforms either group alone. The structure tokens read only degree and random-walk signals along the parallel flows, and the frozen time-series encoder, which has never seen a molecule, extracts useful information from both groups.
6 ANALYSIS
This section asks where the accuracy of GraphFlowFM comes from. We separate what the pretrained encoder adds (Section 6.1) from what the parallel flows add (Section 6.2), measure the dependence on the vertex order (Section 6.3), examine the two signal groups (Section 6.4), and report the computational time (Section 6.5). The analyses use node classification, which has the most datasets, and each change keeps everything else in Section 3 fixed.
6.1 What the Pretrained Encoder Adds
Encoder variants. To separate the encoder from the readout, we replace only TimesFM and keep the signals, the flows, the fusion, the propagation, the candidates, and the selection unchanged. A randomly initialized TimesFM has the same architecture as the pretrained one. Without TimesFM, both tokens of node in group are its row , so the order along the paths has no effect and the variant measures the readout on the signals alone. The two path encoders compute at position of every sequence , the mean of the signals up to for the path-mean encoder and with for the path-EMA encoder. As with TimesFM, the self token of a node is at the node, the context token is , and both are averaged over the occurrences of the node. Comparing GraphFlowFM with these variants tests whether its gains come from the pretrained weights of TimesFM or only from ordering the signals along paths.
The pretrained weights matter. A random initialization of TimesFM never helps, and it loses 9.7 points on Texas, 3.2 on Roman-empire, and 2.4 on Cora (Figure 5a). Removing TimesFM loses 8.8 points on Roman-empire, 3.8 on Texas, and 1.2 on Amazon-ratings. The parameter-free path-EMA encoder recovers part of this gap but stays 2.4 and 2.7 points below TimesFM on Roman-empire and Texas. On Cora and PubMed, however, the signals alone score 1.0 and 1.5 points higher. On these homophilous datasets the gain of GraphFlowFM comes from the readout, not from the encoder. The pretrained encoder pays off where the order along a path carries information, as on Roman-empire and Texas. Pretraining on time series gives the encoder a prior over how a value depends on the values before it. The parallel flows present the neighbors of a node in this ordered form, so the encoder can use the prior although it has never seen a graph.
The gain grows with the length of the sequences. If the gain of the pretrained weights comes from a prior over sequences, it should grow with the length of the sequences. We cut every path into windows of at most 8 to 480 nodes, which overlap by a quarter of their length, up to 64 nodes,

Fig. 6. Roman-empire, test accuracy (%) of GraphFlowFM with and without parallel flows, by local homophily (the share of a node's neighbors in its own class) and by degree.
so that every node keeps predecessors inside a window. On Roman-empire the gain rises from 1.4 points with windows of 8 nodes to 2.0, 2.7, and 3.2 points at 32, 128, and 480 nodes, while on Amazon-ratings, whose edges follow no sequence, it stays between 0.6 and 0.9 points (Figure 5b). A longer ordered context thus helps only an encoder that has learned how sequences evolve. Because the random initialization has the same architecture and context length, the growing gain comes from what TimesFM learned in pretraining and not from its capacity.
The gain holds at every layer. Reading the tokens at layers 5, 10, 15, and 20 of the 20-layer TimesFM, the pretrained weights add 1.3 to 2.4 points on Cora and 1.9 to 3.3 points on Roman-empire (Figure 5c). The pretrained encoder is stable from layer 5 to layer 15, within 0.2 points on Cora and 0.6 points on Roman-empire, and it loses 1.7 points on Roman-empire at the last layer, whose states are shaped most by the forecasting head. The result therefore does not depend on the choice of layer, and the gain of the pretrained weights appears already in the lower layers. One fixed layer thus serves every dataset, and GraphFlowFM needs no layer selection on the target graph.
6.2 What Parallel Flows Add
Ordered context along the paths. To isolate the flows, we encode every node as a sequence of length one and keep the readout unchanged, including its propagation over the graph. We also shuffle the nodes inside every path and cover only half of the edges, which test whether the order along a path and the coverage of all edges matter. Encoding every node alone removes 9.3 points on Roman-empire, 7.6 on Texas, and 1.0 on CiteSeer (Figure 5a). Shuffling the nodes inside every path loses 8.2 points on Roman-empire and 5.9 on Texas, nearly as much as removing the flows, so the order of the nodes along a path matters. Covering only half of the edges loses 3.6 points on Roman-empire and 3.8 on Texas, so the flows help because they cover every edge. On these two heterophilous datasets, the ordered context of the flows therefore carries information that the neighbor averaging of the readout cannot replace. On PubMed and Amazon-ratings, however, encoding each node alone scores 0.7 and 2.3 points higher, so the path context adds noise there.
Where the flows help, a case study on Roman-empire. Roman-empire is the dataset on which parallel flows matter


Fig. 7. Paths produced by three traversals on Roman-empire, all of which cover every edge with 7 or 8 flows. (a) Median length of the paths. (b) Test accuracy.
most. Figure 6 compares GraphFlowFM with the same model in which every node is encoded alone. The flows raise test accuracy from 71.1% to 80.3%, and they correct 675 test nodes while they break 153. Of the 5,666 test nodes, 5,022 have no neighbor of their own class, and on these nodes the flows add 9.4 points. On the 409 nodes with a minority of same-class neighbors they add 12.2 points, and on the 235 nodes whose neighbors mostly share their class they change accuracy by -0.4 points. The gain also grows with degree, from 5.0 points for nodes of degree one or two to 12.2 points for nodes of degree three or more, which lie on more paths. For a node whose neighbors all belong to other classes, neighbor averaging helps only through the mix of classes around the node, while an ordered path also tells the encoder which word comes before the node. Nodes without same-class neighbors are where averaging over neighbors fails, and they explain why GraphFlowFM leads the strongest baseline by 10.0 points on Roman-empire (Table 1).
A consistent order matters more than long paths. On Roman-empire, whose edges link consecutive and syntactically dependent words, the deterministic DFS of Algorithm 1 follows the word sequence, and half of the nodes lie on paths of at least 158 nodes. Figure 7 compares it with a DFS with random roots and neighbor order and with BFS forests, which tests whether long paths or a consistent order of the nodes drive the accuracy. All three cover every edge with 7 or 8 flows, but the random DFS and BFS split the same edges into two to three times as many short paths. The random DFS cuts across the word sequence and loses 2.8 points, while BFS, which gives the shortest paths, loses only 0.7 points. Both deterministic traversals visit the neighbors of a node in a fixed order, so neighboring words appear in a consistent order along the paths, and the random DFS loses this consistency. The consistency of the order thus matters more than the length of the paths, and long paths add about one point on top (Figure 5b). On Amazon-ratings neither traversal changes accuracy by more than 0.8 points. The deterministic DFS of GraphFlowFM fixes the visiting order by degree, so it provides this consistency without any learned ordering.
6.3 Sensitivity to the Vertex Order
The DFS of Algorithm 1 visits vertices of equal degree in the order of their ids, so the decomposition depends on

Fig. 8. Accuracy, token distance, and prediction disagreement against the number of random vertex relabelings. Each relabeling randomly permutes the vertex ids and gives one decomposition, and the fused tokens are averaged over relabelings before the readout, with the label splits fixed. is a single relabeling. (a) Change in test accuracy relative to the original vertex ids. Error bars show the standard deviation over disjoint sets of relabelings. (b) Relative distance between the averaged tokens and of two disjoint sets of relabelings, computed on 256-dimensional projections. (c) Share of test nodes whose predictions differ between two disjoint sets of relabelings.

Fig. 9. Wall-clock time of one complete run with five seeds on one RTX 4090D, including the decomposition, the encoding of both groups, and the readout, against the number of nodes. All 21 datasets take 3.3 GPU hours in total. For reference, GraphAny reports hyperparameter searches of 4 GPU hours for GraphAny, 240 for MLP, GCN, and GAT together, and 672 for ACM-GNN [2].
the arbitrary numbering of the vertices. To measure this dependence, we relabel the vertices of Cora, Texas, Roman-empire, and Amazon-ratings with ten random permutations and decompose each relabeled graph. We then map the sequences back to the original vertices and keep the encoder, the readout, and the label splits unchanged.
TABLE 4
Sensitivity to the vertex order. Test accuracy (%) with the original vertex ids and over ten random relabelings of each dataset, each giving one deterministic decomposition, with the label splits fixed and the predictions mapped back to the original nodes. Disagreement is the share of test nodes whose prediction differs between two relabelings, averaged over all pairs. Original differs from Table 1 on Texas because the two splits are weighted equally here, whereas the five seeds of Table 1 use the first split three times.
| Dataset | Original | Relabeled | Range | Disagreement |
|---|---|---|---|---|
| Cora | 83.1 | 81.2-82.6 | 7.0% | |
| Texas | 83.8 | 78.4-83.8 | 10.1% | |
| Roman-empire | 80.6 | 80.4-80.9 | 7.0% | |
| Amazon-ratings | 50.8 | 50.2-51.0 | 14.4% |
On Roman-empire and Amazon-ratings, the original ids score at most 0.1 points above the mean over relabelings, whose standard deviation is at most 0.3 points (Table 4).
A relabeling changes the order among vertices of equal degree, and with it the paths, but it keeps the roots and neighbors ordered by degree. The random DFS of Section 6.2, which drops this degree order, loses 2.8 points on Roman-empire, so the degree order appears to matter more than the particular paths. On Cora and Texas, the original ids score 1.1 and 3.0 points above this mean. The original vertex order of these two datasets is thus favorable, and the mean over relabelings is the more conservative estimate of the accuracy of GraphFlowFM. Even where the mean accuracy is stable, 7.0 to 14.4% of the test predictions differ between two relabelings.
Averaging over several decompositions reduces this variation. We average the fused tokens over , and 8 relabelings and compare two disjoint sets of relabelings (Figure 8). The relative distance between their tokens falls from 0.64–0.80 at to 0.24–0.35 at , close to the rate of independent averages. At , averaging raises accuracy over the original ids by 1.1 points on Roman-empire and 2.8 points on Amazon-ratings. On Cora and Texas it does not raise accuracy, which stays near the mean over single relabelings. Since averaging multiplies the encoding time by , GraphFlowFM encodes each graph once and leaves averaging as an option. For graph-level tasks, Proposition 2 shows that one decomposition per graph, drawn from a random vertex order, gives an unbiased and consistent estimate of the risk averaged over vertex orders.
6.4 Feature and Structure Groups
Removing one group at a time tests what each group contributes. The structure group alone is far below the full model on most datasets with informative features, for example 37.5 against 80.6 on Roman-empire, and within three points only on Minesweeper and Amazon-ratings. Removing the structure group costs 2.7 points on Texas and 0.9 on Roman-empire and changes the homophilous datasets by at most 0.3 points. The alignment weights explain this pattern (Figure 5d and Appendix D.3). They give the structure tokens about a third of the weight on the WebKB datasets Cornell and Texas, where the structure group helps most, and at most 10% on Minesweeper and Cora, where it does not help. Because the readout sets these weights from the training labels of each dataset, GraphFlowFM uses the structure group where it helps and keeps it from degrading accuracy where it would only add noise. On link prediction and graph classification the structure group carries more, as on GitHub and AirUS, where GraphFlowFM uses it alone (Section 5.2), and on HIV, where it reaches 73.1 ROC-AUC without any atom type (Section 5.3).
6.5 Hyperparameters and Computational Time
Every hyperparameter of GraphFlowFM is set once and applied to all datasets and tasks (Table S2 in Appendix B). What adapts to a dataset is the closed-form fit of each candidate on the training labels and the greedy ensemble of candidates on the validation labels, so the kernels, propagations, and ridge strengths that enter the final prediction differ between datasets. Sequences are sorted by length and packed into batches of at most 150,000 tokens, and hidden states are accumulated per node, so memory grows with the number of nodes and not with the number of occurrences. The readout solves the full kernel ridge problem without approximation on every graph, including Questions with 48,921 nodes. Figure 9 shows the wall-clock time of one complete run per graph. All 21 datasets take 3.3 GPU hours in total, of which Questions takes 1.4. For reference, GraphAny reports hyperparameter searches of 4 GPU hours for GraphAny, 240 for MLP, GCN, and GAT together, and 672 for ACM-GNN [2]. GraphFlowFM fixes its hyperparameters once and needs no such search on the target graph.
7 CONCLUSION
We have shown that a frozen time-series foundation model that has never been trained on a graph can serve as a graph foundation model once the graph is decomposed into parallel flows. On 21 datasets of node classification, GraphFlowFM attains the best average rank among graph foundation models published in 2025 and 2026, with its largest margins on heterophilous datasets. With the same frozen encoder and no gradient update, GraphFlowFM also attains the highest ROC-AUC on five of six link prediction datasets, ahead of pre-trained and fine-tuned graph foundation models, and ranks second in molecule classification, behind only a model pre-trained on molecules.
REFERENCES
[1] Z. Wang, Z. Liu, T. Ma, J. Li, Z. Zhang, X. Fu, Y. Li, Z. Yuan, W. Song, Y. Ma, Q. Zeng, X. Chen, J. Zhao, J. Li, M. Jiang, P. Liò, N. V. Chawla, C. Zhang, and Y. Ye, "Graph Foundation Models: A Comprehensive Survey," arXiv preprint arXiv:2505.15116, 2025.
[2] J. Zhao, Z. Zhu, M. Galkin, H. Mostafa, M. Bronstein, and J. Tang, "Fully-inductive Node Classification on Arbitrary Graphs," in International Conference on Learning Representations (ICLR), 2025, pp. 23 968–23 986.
[3] H. Liu, J. Feng, L. Kong, N. Liang, D. Tao, Y. Chen, and M. Zhang, "One for All: Towards Training One Graph Model for All Classification Tasks," in International
Conference on Learning Representations (ICLR), 2024, pp. 20 188–20 210.
[4] J. Choi, J. Kim, W. Kang, and N. Park, “Learning Posterior Predictive Distributions for Node Classification from Synthetic Graph Priors,” in International Conference on Learning Representations (ICLR), 2026.
[5] Z. Wang, Z. Zhang, N. V. Chawla, C. Zhang, and Y. Ye, "GFT: Graph Foundation Model with Transferable Tree Vocabulary," in Advances in Neural Information Processing Systems (NeurIPS), vol. 37, 2024, pp. 107 403–107 443.
[6] H. Zhao, A. Chen, X. Sun, H. Cheng, and J. Li, "All in One and One for All: A Simple yet Effective Method towards Cross-domain Graph Pretraining," in ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD), 2024, pp. 4443–4454.
[7] X. Yu, Z. Gong, C. Zhou, Y. Fang, and H. Zhang, "SAMGPT: Text-free Graph Foundation Model for Multi-domain Pre-training and Cross-domain Adaptation," in Proceedings of the ACM Web Conference (WWW), 2025, pp. 1142–1153.
[8] S. Wang, B. Wang, Z. Shen, B. Deng, and Z. Kang, "Multi-Domain Graph Foundation Models: Robust Knowledge Transfer via Topology Alignment," in International Conference on Machine Learning (ICML), 2025, pp. 64806–64821.
[9] L. Sun, Z. Huang, S. Zhou, Q. Wan, H. Peng, and P. S. Yu, "RiemannGFM: Learning a Graph Foundation Model from Riemannian Geometry," in Proceedings of the ACM Web Conference (WWW), 2025, pp. 1154–1165.
[10] Z. Wang, Z. Zhang, T. Ma, N. V. Chawla, C. Zhang, and Y. Ye, "Towards Graph Foundation Models: Learning Generalities Across Graphs via Task-Trees," in International Conference on Machine Learning (ICML), 2025, pp. 65518–65555.
[11] L. Kong, J. Feng, H. Liu, C. Huang, J. Huang, Y. Chen, and M. Zhang, "GOFA: A Generative One-For-All Model for Joint Graph Language Modeling," in International Conference on Learning Representations (ICLR), 2025, pp. 40792–40823.
[12] B. Finkelshtein, I. J. Ceylan, M. Bronstein, and R. Levie, "Equivariance Everywhere All At Once: A Recipe for Graph Foundation Models," in Advances in Neural Information Processing Systems (NeurIPS), vol. 38, 2025, pp. 30377–30434.
[13] D. Lee, M. Kong, M. Jeong, and J. Yoo, "View Space: Learning Representation across Arbitrary Graphs," in International Conference on Machine Learning (ICML), 2026, pp. 64321–64358.
[14] D. Eremeev, O. Platonov, G. Bazhenov, A. Babenko, and L. Prokhorenkova, "GraphPFN: A Prior-Data Fitted Graph Foundation Model," in International Conference on Machine Learning (ICML), 2026, pp. 28 149–28 165.
[15] N. Hollmann, S. Müller, L. Purucker, A. Krishnakumar, M. Körfer, S. B. Hoo, R. T. Schirrmeister, and F. Hutter, "Accurate predictions on small data with a tabular foundation model," Nature, vol. 637, no. 8045, pp. 319–326, 2025.
[16] D. Eremeev, G. Bazhenov, O. Platonov, A. Babenko, and L. Prokhorenkova, "Turning Tabular Foundation Models into Graph Foundation Models," arXiv preprint arXiv:2508.20906, 2025.
[17] A. Hayler, X. Huang, I. I. Ceylan, M. Bronstein, and B. Finkelshtein, "Bringing Graphs to the Table: Zero-shot Node Classification via Tabular Foundation Models," arXiv preprint arXiv:2509.07143, 2025.
[18] A. Das, W. Kong, R. Sen, and Y. Zhou, "A decoder-only foundation model for time-series forecasting," in International Conference on Machine Learning (ICML), 2024, pp. 10148–10167.
[19] G. Woo, C. Liu, A. Kumar, C. Xiong, S. Savarese, and D. Sahoo, "Unified Training of Universal Time Series Forecasting Transformers," in International Conference on Machine Learning (ICML), 2024, pp. 53140–53164.
[20] A. F. Ansari, L. Stella, A. C. Turkmen, X. Zhang, P. Mercado, H. Shen, O. Shchur, S. S. Rangapuram, S. P. Arango, S. Kapoor, J. Zschiegener, D. C. Maddix, H. Wang, M. W. Mahoney, K. Torkkola, A. G. Wilson, M. Bohlke-Schneider, and Y. Wang, "Chronos: Learning the Language of Time Series," Transactions on Machine Learning Research, 2024.
[21] X. Shi, S. Wang, Y. Nie, D. Li, Z. Ye, Q. Wen, and M. Jin, "Time-MoE: Billion-Scale Time Series Foundation Models with Mixture of Experts," in International Conference on Learning Representations (ICLR), 2025, pp. 34635–34667.
[22] Y. Liu, G. Qin, Z. Shi, Z. Chen, C. Yang, X. Huang, J. Wang, and M. Long, "Sundial: A Family of Highly Capable Time Series Foundation Models," in International Conference on Machine Learning (ICML), 2025, pp. 39295–39317.
[23] X. Liu, J. Liu, G. Woo, T. Aksu, Y. Liang, R. Zimmermann, C. Liu, J. Li, S. Savarese, C. Xiong, and D. Sahoo, "Moirai-MoE: Empowering Time Series Foundation Models with Sparse Mixture of Experts," in International Conference on Machine Learning (ICML), 2025, pp. 38940–38962.
[24] A. Jain and R. Sen, "TimesFM-3: A zero-shot foundation model for multivariate forecasting," Google Research Blog, Aug. 31, 2026. Checkpoint google/timesfm-3.0-pytorch, 2026. [Online]. Available: https://research.google/blog/timesfm-3-a-zero-shot-foundation-model-for-multivariate-forecasting/
[25] F. Ji, J. Yang, Q. Zhang, and W. P. Tay, "GFCN: A New Graph Convolutional Network Based on Parallel Flows," in IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2020, pp. 3332–3336.
[26] H. Liu, Z. Ding, and X. Xie, "Learning Graph Foundation Models on Riemannian Graph-of-Graphs," in International Conference on Machine Learning (ICML), 2026, pp. 75862–75890.
[27] L. Sun, Z. Huang, Y. Wang, Q. Chen, P. Liò, and P. S. Yu, "Are Common Substructures Transferable? Riemannian Graph Foundation Model with Neural Vector Bundles," in International Conference on Machine Learning (ICML), 2026, pp. 116668–116694.
[28] D. Lee and J. Yoo, "Node4All: Learning Node Representation Beyond Datasets," in ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD), 2026, pp. 2461–2472.
[29] H. P. Wang, S. Liu, R. Wei, and P. Li, "Generalization Principles for Inference over Text-Attributed Graphs with Large Language Models," in International Conference on Machine Learning (ICML), 2025, pp. 63755–63776.
[30] O. Platonov, G. Bazhenov, D. Eremeev, and L. Prokhorenkova, "A Fair Evaluation of Graph Foundation Models for Node Property Prediction," in ICML 2026 Workshop on Graph Foundation Models, 2026.
[31] C. Adler, Y. Chang, S. Abdi, F. Draxler, and P. Smyth, "Beyond Accuracy: Are Time Series Foundation Models Well-Calibrated?" in International Conference on Learning Representations (ICLR), 2026, pp. 95913–95944.
[32] M. Faw, R. Sen, Y. Zhou, and A. Das, "In-Context Fine-Tuning for Time-Series Foundation Models," in International Conference on Machine Learning (ICML), 2025, pp. 16355–16374.
[33] K. Lu, A. Grover, P. Abbeel, and I. Mordatch, "Frozen Pretrained Transformers as Universal Computation Engines," in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 36, no. 7, 2022, pp. 7628–7636.
[34] J. Gasteiger, A. Bojchevski, and S. Günnemann, "Predict then Propagate: Graph Neural Networks meet Personalized PageRank," in International Conference on Learning Representations (ICLR), 2019.
[35] E. Chien, J. Peng, P. Li, and O. Milenkovic, "Adaptive Universal Generalized PageRank Graph Neural Network," in International Conference on Learning Representations (ICLR), 2021.
[36] O. Platonov, D. Kuznedelev, M. Diskin, A. Babenko, and L. Prokhorenkova, "A critical look at the evaluation of GNNs under heterophily: Are we really making progress?" in International Conference on Learning Representations (ICLR), 2023.
[37] T. Kim, J. Kim, Y. Tae, C. Park, J.-H. Choi, and J. Choo, "Reversible Instance Normalization for Accurate Time-Series Forecasting against Distribution Shift," in International Conference on Learning Representations (ICLR), 2022.
[38] C. Cortes, M. Mohri, and A. Rostamizadeh, "Algorithms for Learning Kernels Based on Centered Alignment," Journal of Machine Learning Research, vol. 13, pp. 795–828, 2012.
[39] R. Caruana, A. Niculescu-Mizil, G. Crew, and A. Ksikes, "Ensemble selection from libraries of models," in International Conference on Machine Learning (ICML), 2004, p. 18.
[40] L. A. Adamic and E. Adar, "Friends and neighbors on the web," Social Networks, vol. 25, no. 3, pp. 211–230, 2003.
APPENDIX A
DATASETS AND PROTOCOLS
A.1 Node Classification
TABLE S1
The 21 node classification datasets, taken with their splits from GraphAny [2]. Edges are undirected, and Hom. is the edge homophily.
| Group | Dataset | Source | Domain | Nodes | Edges | Feat. | Classes | Hom. |
|---|---|---|---|---|---|---|---|---|
| Homophilous | Cora | Planetoid | citation | 2,708 | 5,278 | 1,433 | 7 | 0.81 |
| CiteSeer | Planetoid | citation | 3,327 | 4,552 | 3,703 | 6 | 0.74 | |
| PubMed | Planetoid | citation | 19,717 | 44,324 | 500 | 3 | 0.80 | |
| Photo | Amazon (Shchur et al.) | co-purchase | 7,650 | 119,081 | 745 | 8 | 0.83 | |
| CS | Coauthor (Shchur et al.) | co-authorship | 18,333 | 81,894 | 6,805 | 15 | 0.81 | |
| Computers | Amazon (Shchur et al.) | co-purchase | 13,752 | 245,861 | 767 | 10 | 0.78 | |
| Physics | Coauthor (Shchur et al.) | co-authorship | 34,493 | 247,962 | 8,415 | 5 | 0.93 | |
| DBLP | CitationFull | citation | 17,716 | 52,867 | 1,639 | 4 | 0.83 | |
| FullCora | CitationFull | citation | 19,793 | 63,421 | 8,710 | 70 | 0.57 | |
| Wiki | AttributedGraph | web | 2,405 | 11,596 | 4,973 | 17 | 0.61 | |
| WikiCS | WikiCS | web | 11,701 | 215,603 | 300 | 10 | 0.65 | |
| Minesweeper | Platonov et al. | synthetic grid | 10,000 | 39,402 | 7 | 2 | 0.68 | |
| Tolokers | Platonov et al. | crowdsourcing | 11,758 | 519,000 | 10 | 2 | 0.59 | |
| Questions | Platonov et al. | social | 48,921 | 153,540 | 301 | 2 | 0.84 | |
| Heterophilous | Roman-empire | Platonov et al. | text | 22,662 | 32,927 | 300 | 18 | 0.05 |
| Amazon-ratings | Platonov et al. | co-purchase | 24,492 | 93,050 | 300 | 5 | 0.38 | |
| BlogCatalog | AttributedGraph | social | 5,196 | 171,743 | 8,189 | 6 | 0.40 | |
| Cornell | WebKB | web | 183 | 277 | 1,703 | 5 | 0.12 | |
| Texas | WebKB | web | 183 | 279 | 1,703 | 5 | 0.06 | |
| Wisconsin | WebKB | web | 251 | 450 | 1,703 | 5 | 0.18 | |
| Actor | Geom-GCN | co-occurrence | 7,600 | 26,659 | 932 | 5 | 0.22 |
Table S1 lists the 21 datasets from GraphAny that we evaluate. Edges are counted after symmetrization and removal of self-loops, and edge homophily is the share of edges whose two endpoints share a class. The feature dimension ranges from 7 to 8,710, the number of classes from 2 to 70, and the size from 183 to 48,921 nodes. GraphFlowFM handles all of them with the same frozen encoder, and it turns the features of every dataset into 32 feature variates by the same fixed weighting and truncated SVD (Appendix B).
Splits and seeds. We follow the split rule of the GraphAny code, so the seed affects only the split. The datasets fall into three groups by the splits they come with. Cora, CiteSeer, and PubMed come with a single public split, which every seed uses. Ten datasets, Cornell, Texas, Wisconsin, Actor, Roman-empire, Amazon-ratings, Minesweeper, Tolokers, Questions, and WikiCS, come with several official splits. Seed uses split , so the five seeds alternate between the first two of them. For the other eight datasets, every seed draws a new stratified split. GraphFlowFM itself involves no randomness, because the encoder is frozen, the DFS order is fixed, and the readout and the ensemble selection are deterministic. Its standard deviation in Table S3 therefore reflects only the variation across splits. It is zero on the three single-public-split datasets, and on Cornell, where both splits give 27 correct predictions out of 37 test nodes.
A.2 Link Prediction
For each graph and seed, the undirected edges are split at random into 70% training, 15% validation, and 15% test edges. As negative examples, each split also gets the same number of randomly sampled node pairs that are not connected, which we call non-edges. The training, validation, and test non-edges do not overlap. The parallel flows, both signal groups, and the propagation are computed from the training edges only, so no validation or test edge enters any representation. The readout is fitted on at most 10,000 training edges and as many training non-edges, and the validation and test scores use at most 20,000 edges and 20,000 non-edges each, all drawn at random per seed. The node features of AirUS are one-hot node identifiers, and GitHub has no informative node features, so GraphFlowFM uses only the structure group on these two graphs. We report ROC-AUC averaged over five seeds.
A.3 Graph Classification
We use the scaffold splits of five OGB molecule benchmarks, HIV, BBBP, BACE, ToxCast, and Tox21, as in GIT [10]. The molecules of a benchmark are decomposed as one disjoint union of graphs, so no path crosses two molecules. The feature group holds 32 SVD variates of the one-hot atom features, and the structure group holds the eight structural variates of each atom, computed within its molecule. A molecule is represented by the mean of the propagated representations of its atoms. For each task, the readout is fitted on the training molecules labeled for that task, and the validation and test scores use only labeled molecules. A task whose validation or test molecules all belong to one class has no ROC-AUC and is skipped, and a benchmark with several tasks is scored by the mean ROC-AUC over the remaining tasks. Since the scaffold split is fixed and GraphFlowFM is deterministic, each benchmark gives a single result.
APPENDIX B
IMPLEMENTATION DETAILS
Table S2 lists every hyperparameter of GraphFlowFM. Each is set once for all datasets and tasks, and none is selected on the target graph.
TABLE S2 Hyperparameters of GraphFlowFM, shared by all datasets.
| Component | Hyperparameter | Value |
|---|---|---|
| Node signals | feature group | 32 SVD variates of the weighted features (Section 3.3) |
| Parallel flows | structure group | , random-walk return probabilities for 1 to 7 steps |
| DFS order | roots by decreasing degree, neighbors by increasing degree | |
| window, overlap directions | 480 nodes, 64 nodes both | |
| Encoder | model | TimesFM-3, frozen, 20 layers, width 1,280 |
| patch length | 32 | |
| layer | 15 | |
| Readout | input normalization | identity |
| blocks | feature and structure self and context tokens, feature signals | |
| representations | five fixed block sets and one alignment-weighted set | |
| kernels | linear, Gaussian with median bandwidth | |
| propagations | , PPR with | |
| ridge | 0.1, 1, 10 (times the mean kernel diagonal), class-prior intercept | |
| softmax temperature | ||
| prediction smoothing | 10 steps, , node targets only | |
| ensemble selection | 30 greedy steps with replacement, validation accuracy or ROC-AUC |
Feature weighting. The weighting depends on the type of the features. Binary features are weighted as idf with idf, where is the number of nodes with feature . Other non-negative features, such as TF-IDF weights, are kept as given. Both kinds are then normalized to unit norm per node. Features with negative entries, such as text embeddings, are divided per node by the sum of their absolute values. The signal matrix holds the projections of the weighted features onto their top right singular vectors.
Degenerate inputs. A dataset with features keeps SVD components, and the remaining variates are set to zero, which affects Minesweeper () and Tolokers (). The SVD is a randomized truncated SVD with a fixed seed, so the signals are deterministic. A node without features keeps a zero row, since the normalization divides only by a positive norm. A column with zero variance becomes zero after standardization. On a graph without self-loops, the one-step return probability is zero for every node, so this variate becomes zero and seven structural variates remain informative. An isolated node has degree zero and zero return probabilities.
Number of structural variates. We use eight structural variates, although the encoder accepts 32. Return probabilities of adjacent walk lengths have a correlation of about 0.95. If we compute return probabilities for 32 walk lengths, their first three to five principal components already explain 99% of their variance, depending on the dataset. The later walk lengths therefore add little information, and eight variates keep the token block small.
Batching and memory. Sequences are sorted by length, packed into batches of at most 150,000 tokens, and left-padded with masks. A forward hook captures the hidden states at layer 15 and accumulates them per node, so memory grows with the number of nodes and not with the number of occurrences. On large graphs, the nodes are split into several groups, and the encoder runs once per group and keeps only the tokens of that group. For training sets above 15,000 nodes, the ridge system is solved by a Cholesky factorization that overwrites the kernel matrix.
APPENDIX C
FULL RESULTS
C.1 Node Classification
Table S3 reports every dataset with the standard deviation of GraphFlowFM and every reported variant of the baselines. Compared with Table 1, it adds GraphAny trained on ogbn-arxiv, RGVT with a linear head, which reports only seven of the datasets, and TAG [17], which is listed for reference because it is not yet formally published. Over all 21 datasets and nine methods and variants, GraphFlowFM keeps the best average rank, 1.52, against 2.95 for RGVT and 3.48 for TAG, and it ranks first on 12 datasets. TAG, which feeds aggregated features to a tabular foundation model, ranks first on five datasets, Cora, Minesweeper, Tolokers, Cornell, and Wisconsin.
TABLE S3
Node classification accuracy (%) on the 21 datasets under the GraphAny protocol. GraphFlowFM is reported as mean ± standard deviation over five seeds. GraphFlowFM is deterministic, so its standard deviation reflects only the variation across splits and is zero where all seeds share one split or the splits give the same accuracy (Appendix A.1). GraphAny-Arxiv is GraphAny trained on ogbn-arxiv, RGVT-Linear is RGVT with a linear head, and TAG is not yet formally published and is listed for reference. n/r means not reported. Best in bold, second underlined.
| Dataset | GraphAny | GraphAny-Arxiv | TS-Mean | TS-GAT | NodePFN | RGVT | RGVT-Linear | TAG | GraphFlowFM |
|---|---|---|---|---|---|---|---|---|---|
| Homophilous | |||||||||
| Cora | 77.82 | 79.38 | n/r | n/r | 82.06 | 81.68 | 81.32 | 83.50 | 83.10±0.00 |
| CiteSeer | 67.50 | 68.34 | 68.66 | 68.70 | 67.30 | 70.12 | 71.96 | 68.08 | 70.40±0.00 |
| PubMed | 77.46 | 76.36 | 74.98 | 75.46 | 78.00 | 78.20 | 79.02 | 78.96 | 79.30±0.00 |
| Photo | 90.18 | 90.60 | 90.18 | 89.66 | 90.53 | 92.29 | 92.02 | 89.63 | 92.47±0.66 |
| CS | 90.85 | 90.45 | 90.92 | 91.13 | 91.55 | 92.28 | 91.32 | 90.49 | 93.04±0.29 |
| Computers | 82.00 | 83.04 | 81.37 | 80.23 | 81.42 | 84.14 | n/r | 84.33 | 86.63±0.63 |
| Physics | 92.54 | 92.69 | 92.61 | 92.23 | 93.43 | 93.18 | n/r | 92.31 | 92.93±0.38 |
| DBLP | 70.13 | 70.90 | 66.42 | 64.30 | 74.71 | 78.12 | n/r | 71.92 | 77.20±0.94 |
| FullCora | 56.29 | 57.25 | 53.58 | 52.82 | n/r | 63.26 | n/r | 54.56 | 60.84±0.40 |
| Wiki | 61.10 | 62.96 | 69.89 | 72.53 | n/r | 72.26 | n/r | 70.09 | 75.16±1.14 |
| WikiCS | 73.77 | 74.95 | 74.16 | 73.24 | 75.98 | 78.92 | n/r | 79.07 | 79.91±0.47 |
| Minesweeper | 80.13 | 80.30 | 80.68 | 80.72 | 80.66 | 80.00 | n/r | 85.83 | 82.92±0.10 |
| Tolokers | 78.24 | 78.18 | 78.12 | 78.01 | 78.61 | 78.32 | n/r | 82.82 | 80.52±0.50 |
| Questions | 97.11 | 97.09 | 97.02 | 97.02 | 97.02 | 97.13 | n/r | 97.14 | 97.26±0.04 |
| Heterophilous | |||||||||
| Roman-empire | 64.06 | 64.25 | 66.36 | 67.76 | n/r | 70.53 | 67.71 | 74.12 | 80.55±0.35 |
| Amazon-ratings | 42.57 | 42.74 | 42.27 | 41.92 | 44.68 | 45.58 | 42.98 | 44.34 | 50.73±0.19 |
| BlogCatalog | 77.69 | 73.63 | 76.30 | 78.44 | n/r | 81.39 | n/r | 79.77 | 90.32±0.45 |
| Cornell | 66.49 | 65.94 | 68.65 | 71.35 | 71.89 | 74.05 | n/r | 75.14 | 72.97±0.00 |
| Texas | 73.51 | 72.97 | 73.51 | 74.05 | 76.22 | 78.92 | n/r | 81.08 | 84.32±2.65 |
| Wisconsin | 71.77 | 65.10 | 61.18 | 65.88 | 79.22 | 78.04 | n/r | 83.14 | 81.18±5.76 |
| Actor | 29.51 | 28.60 | 28.09 | 28.80 | 32.99 | 32.68 | n/r | 31.18 | 33.43±0.06 |
| Avg. rank (21) | 6.10 | 6.00 | 6.35 | 6.10 | 4.06 | 2.95 | 3.57 | 3.48 | 1.52 |
| Ranked first | 0/21 | 0/21 | 0/20 | 0/20 | 1/17 | 2/21 | 1/7 | 5/21 | 12/21 |
TABLE S4
Link prediction (ROC-AUC, %). Graph Training states whether a method is trained on graph data: on each target graph (Per-Dataset), or by pre-training on a graph corpus followed by fine-tuning on the target graph (Pre-Train + FT) or without fine-tuning (Pre-Train, No FT). Baseline numbers are copied from Liu et al. [26] (first block), Sun et al. [27] (second block), Wang et al. [10] (third block) and Sun et al. [9] (fourth block); “-” means not reported. A method reported more than once (GCOPE, SAMGPT, MDGFM, GCN, and OFA) appears once, in the block of its first source, with the highest reported value on each dataset. GraphFlowFM makes no gradient update.
| Method | Graph Training | Cora | CiteSeer | PubMed | AirUS | Ratings | GitHub |
|---|---|---|---|---|---|---|---|
| GCOPE | Pre-Train + FT | 88.71 | 88.60 | 90.84 | 86.17 | - | 82.16 |
| SAMGPT | Pre-Train + FT | 88.62 | 89.91 | 84.92 | - | - | - |
| MDGFM | Pre-Train + FT | 88.41 | 89.12 | 84.78 | - | - | - |
| R-GFM | Pre-Train + FT | 89.27 | 90.88 | 88.62 | - | - | - |
| GFT | Pre-Train, No FT | - | - | 55.83 | - | - | - |
| RAGraph | Pre-Train, No FT | - | - | 58.29 | - | - | - |
| GET | Pre-Train, No FT | - | - | 48.82 | - | - | - |
| G2PM | Pre-Train, No FT | - | - | 53.08 | - | - | - |
| UniPrompt | Pre-Train, No FT | - | - | 56.32 | - | - | - |
| GAUGE | Pre-Train, No FT | - | - | 64.03 | - | - | - |
| GCN | Per-Dataset | 87.34 | 90.70 | 91.16 | 92.37 | 97.77 | 87.48 |
| BGRL | Per-Dataset | 83.96 | 81.51 | 84.01 | - | 98.05 | - |
| GraphMAE | Per-Dataset | 85.57 | 84.55 | 89.83 | - | 95.35 | - |
| OFA | Pre-Train + FT | 82.82 | 82.62 | 92.26 | - | 97.79 | - |
| GIT-G | Pre-Train + FT | 87.79 | 87.59 | 84.35 | - | 98.45 | - |
| GIT-S | Pre-Train + FT | 88.58 | 88.50 | 87.78 | - | 98.49 | - |
| GraphSAGE | Per-Dataset | - | 87.29 | 87.02 | 92.17 | - | 79.13 |
| DGI | Per-Dataset | - | 96.90 | 88.39 | 92.50 | - | 86.39 |
| GraphMAE2 | Per-Dataset | - | 92.75 | 89.46 | 88.23 | - | 87.11 |
| OpenGraph | Pre-Train + FT | - | 76.78 | 70.02 | 85.32 | - | 86.72 |
| LLaGA | Pre-Train + FT | - | 86.26 | 84.04 | 77.90 | - | 71.25 |
| GraphFlowFM | No Gradient Update | 92.86 | 93.81 | 95.89 | 95.78 | 99.70 | 91.69 |
C.2 Link Prediction
Table S4 lists all baseline results that we compare with, taken from the published papers and grouped into four blocks by source. These sources use their own edge splits, so the comparison is between published results on the same datasets.
APPENDIX D
FURTHER ANALYSES
D.1 Ablations
Figure 5a shows only how much the accuracy changes when one component of GraphFlowFM is changed. Figure S1 gives the full numbers on the seven datasets of that figure. Its first row is the test accuracy of the full model, and each other row is the change in percentage points when one component is changed. The changes are of three kinds. The encoder is replaced by a randomly initialized TimesFM, by the input signals without any encoder, or by a mean or an exponential moving average along the path (Section 6.1). The parallel flows are removed, shuffled within each path, reduced to half of the edges, or built from BFS forests (Section 6.2). Finally, only the feature group or only the structure group is kept (Section 6.4).
| Full Model (Accuracy) | 83.1 | 70.4 | 79.3 | 82.9 | 80.6 | 50.7 | 84.3 |
|---|---|---|---|---|---|---|---|
| Random-Init TimesFM | -2.4 | -0.2 | 0.0 | -0.8 | -3.2 | -0.7 | -9.7 |
| No TimesFM (Signals Only) | +1.0 | +0.6 | +1.5 | -1.2 | -8.8 | -1.2 | -3.8 |
| Path-Mean Encoder | -0.3 | +0.1 | +0.3 | -0.5 | -6.2 | -1.5 | -8.1 |
| Path-EMA Encoder | -0.4 | -0.6 | +1.2 | +0.1 | -2.4 | -0.6 | -2.7 |
| No Parallel Flows | -0.6 | -1.0 | +0.7 | -0.9 | -9.3 | +2.3 | -7.6 |
| Shuffled Path Order | -2.5 | -0.5 | -0.2 | -0.9 | -8.2 | -1.0 | -5.9 |
| Half of the Edges | -0.4 | -0.1 | 0.0 | -0.5 | -3.6 | -0.4 | -3.8 |
| BFS Forests | -0.7 | +0.3 | +0.3 | 0.0 | -0.7 | +0.8 | -4.9 |
| Feature Group Only | +0.3 | -0.3 | +0.2 | +0.3 | -0.9 | +0.1 | -2.7 |
| Structure Group Only | -21.9 | -27.8 | -22.4 | -2.9 | -43.0 | -2.5 | -19.5 |
| Cora | CiteSeer | PubMed | Mines. | Roman | Amazon | Texas |
Fig. S1. Ablations on seven representative datasets. The first row is the test accuracy (%) of the full model, averaged over five seeds, and every other row is the change in accuracy from it.
D.2 Encoder Depth and Sequence Length
Figure 5b and Figure 5c show the accuracy of the pretrained TimesFM minus that of a randomly initialized TimesFM (Section 6.1). Figure S2 gives the accuracies of the two models from which these differences are computed. These runs vary only the window length or the layer and keep the rest of GraphFlowFM unchanged.

Fig. S2. Test accuracy of the pretrained TimesFM and of a randomly initialized TimesFM of the same architecture. (a, b) Every path is cut into windows of at most the given number of nodes, and 480 is the default of GraphFlowFM. (c, d) The tokens are read at different encoder layers, and layer 15 is the default of GraphFlowFM.
D.3 Alignment Weights
Figure S3 shows how the alignment-weighted representation of Section 3.5 divides its weight among the feature tokens, the feature signals, and the structure tokens. The weights are computed from the training labels only. The structure tokens receive the largest share on the small WebKB datasets, Cornell, Texas, and Wisconsin, whose labels depend on the role of a web page in the link structure. They receive no weight on Minesweeper, whose features already count the mines around a cell.

Fig. S3. Alignment weights of the feature tokens, the feature signals, and the structure tokens in the alignment-weighted representation. The number above each bar is the share of the structure tokens. Questions uses the low-memory readout, which does not log the weights.
APPENDIX E
CASE STUDIES
We examine link prediction on a citation graph and graph classification on molecules. The node classification case study on Roman-empire is in Section 6.2.
Link prediction on Cora. Figure 3 scores the same test pairs with GraphFlowFM and with the Adamic-Adar heuristic. Like GraphFlowFM, the heuristic sees only the training edges, and it scores each test pair by the common neighbors of its two nodes in this training graph. GraphFlowFM reaches 92.7 ROC-AUC, against 67.6 for both Adamic-Adar and common neighbors. The gap is largest on the 1,298 test pairs whose endpoints share no neighbor in the training graph. The heuristics give all of these pairs the same score, whereas GraphFlowFM still reaches 89.2. Its tokens encode the features along the paths of each node, so two papers can have similar tokens without a common neighbor. Pairs that involve hub papers, the top 10% by degree, are easier for both methods, and GraphFlowFM reaches 98.7 when both endpoints are hubs. Of the readout candidates selected by the ensemble, 92% use the Gaussian kernel and 60% use one step of propagation. As representation, 48% use the feature self tokens alone and 40% the alignment-weighted representation, which weights the feature tokens, the feature signals, and the structure tokens by their alignment with the labels, as Figure S3 shows for node classification.
Graph classification on HIV. HIV asks whether a molecule inhibits HIV replication, and only 3.2% of the 4,113 test molecules are active. The readout fits one candidate for each combination of representation, kernel, propagation, and ridge strength (Section 3.5). For each of the six representations, Figure 4a reports the test ROC-AUC of the candidate with the highest validation ROC-AUC, and it also reports the ensemble, which is the final prediction of GraphFlowFM. The feature tokens, which encode the atom types along the paths of a molecule, reach 77.3 to 77.6 ROC-AUC alone. The structure tokens reach 73.1 from the shape of the molecule alone, without any atom type. The ensemble reaches 78.0, and 92% of its selected candidates use the feature self tokens, all of them with the Gaussian kernel. By size, GraphFlowFM is strongest on molecules with 27 or more atoms (86.9) and weaker on molecules with 20 to 26 atoms (56.3).