Manuscript Offprint
arXiv:2610.25993Graph-to-Table Interfaces Control Relational Generalisation
Alessandro Cagiano
University of Milan
Gianluca Moro
University of Bologna
Lorenzo Molfetta
University of Bologna
Matteo Zignani
University of Milan
Pasquale Minervini
University of Edinburgh
Miniml.AI
Abstract
Graph-to-table systems combine three design choices: an encoder that maps relational evidence to feature rows, a context constructor that selects labelled examples, and a tabular decoder. We investigate whether these components can be evaluated independently through matched comparisons that change one component while holding the rest of the pipeline and the evaluation constant. Across logistic regression, CATBOOST, and TABPFN-3 on CLUTRR, 57 GraphLog worlds, and 57 knowledge graphs, we show that conclusions about one component can change when the others change. On CLUTRR, absolute positional encodings maintain all distinctions among the evaluated queries and fit the short-path setting nearly perfectly; yet, they generalise worse than relation-count features because the supported prefix acts as a shortcut that breaks down on longer paths. On GraphLog, encoder preference depends on the decoder, while the relation-count representation degrades as CatBoost tree depth increases. Across different knowledge graphs, adding the frozen ULTRA score to local features is consistently useful, whereas adding local features to the score has a smaller and less stable effect. A pointwise TABPFN-3 readout using the full encoder underperforms native ULTRA on 48 of 57 datasets. These results show that encoder assessment depends jointly on context and decoder, while panel-level conclusions can also depend on evaluation and aggregation protocols.
1 Introduction
Prior-data fitted networks (PFNs) make predictions from a small labelled table without target-specific fine-tuning [10, 12]. Their use is becoming increasingly common in graph-to-table approaches to relational prediction. In this setting, a graph-to-table encoder maps each relational query and its surrounding graph evidence to a feature row, a context constructor selects labelled rows from the target graph to form the prediction context, while a tabular decoder infers the labels of held-out queries. We refer to the combination as the graph-to-table interface.
Recent work explores related approaches through graph-derived feature representations, graph-aware architectures, and learnt alignment between graph and tabular representations [5, 6, 8, 13, 20]. When such solutions are evaluated only through final predictive performance, it is difficult to determine where gains and failures originate. The three components of this interface impose distinct constraints. The encoder determines which relational distinctions are preserved in each query row. The context determines which of these distinctions are associated with the target labels. The decoder determines which dependencies between the resulting features and labels can be exploited. Consequently, preserving more detail does not by itself guarantee better generalisation. Patterns predictive in the labelled context may not generalise to held-out queries, and the decoder may change the relative ranking of encoders. End-to-end performance alone cannot distinguish among these effects.
We study how the encoder, context, and decoder jointly determine relational generalisation. We ask:
Accepted at the Fifth Learning on Graphs Conference (LoG 2026).
When does a graph-to-table representation generalise beyond its labelled context?
We investigate this question on controlled composition tasks and on a 57-knowledge-graph panel spanning multiple decoders, context constructions, and graph-derived encoders.
Our findings are as follows:
• We use paired diagnostics to determine whether an encoder preserves target-relevant features, whether those features transfer from the labelled support examples to held-out queries, and whether the decoder can utilise them.
• We show on CLUTRR that absolute positions exploit a prefix shortcut that fails on longer paths, and on GraphLog that encoder preference changes across decoders and is sensitive to tree capacity.
• On 57 knowledge graphs, we find that adding the frozen ULTRA score to local features is consistently useful, whereas adding local features to the score has a smaller and less stable effect. Native-ranking results depend on panel weighting, while encoder effects depend on context construction.
In-context link prediction. In-context link prediction adapts a shared predictor to a target graph through labelled demonstrations, keeping the predictor's parameters fixed. UniLP [4] reasons directly over graph neighbourhoods, TFMLinker [20] represents candidate links as topology-aware rows with local and global contexts, and KGPFN [8] combines transferable relation representations with query-local features and global context. These methods differ in both the underlying predictor and where relational evidence is introduced: through graph encoding, row construction, or demonstration selection. Aggregate performance therefore leaves the contribution of each component unresolved. We address this distinction by varying path encoding and labelled context independently under a fixed evaluation protocol.
Length generalisation and contextual shortcuts. CLUTRR [24] evaluates relational composition over held-out kinship rules and chain lengths, whereas GraphLog [25] evaluates logical generalisation across graph worlds governed by different relational rules. Such settings instantiate compositional generalisation [15], requiring learned components to remain productive under unseen combinations. For Transformer models, length extrapolation is likewise sensitive to positional representation [18]. These sensitivities relate to shortcut learning, where predictive regularities learned in one regime fail under distributional shift [9]. Within tabular in-context learning, VIP-COP [1] studies the selection of informative rows and features under a limited context budget, while OpenRFM [2] identifies relation-level label coverage as a critical factor for relational inference. We examine these sources of failure jointly by evaluating across path lengths while independently controlling the encoder and labelled context.
Systematic component analyses. Several studies show that model comparisons can change substantially when architecture, training, and evaluation choices are controlled separately. In knowledge graph completion, Ruffinelli et al. [23] systematically study the effects of model architecture, training strategy, and hyperparameter optimisation, while changes in the training regime can substantially alter comparisons among knowledge graph embedding models [16]. In graph learning, GraphGym [29] studies a modular graph neural network (GNN) design space under a unified evaluation setup, separating architectural choices that are often compared only through complete models. Our work follows
Code and artefacts are available at https://cagianoaless.github.io/tab_repres_gen/.

Figure 1: Graph-to-table prediction pipeline. Given a relational query and its surrounding graph, the encoder constructs a feature row, the context constructor assembles labelled examples from the target graph, and the tabular decoder produces prediction scores for the held-out query.
this controlled-comparison perspective, but applies it to graph-to-table prediction by varying the encoder, labelled context, and decoder while keeping the remaining pipeline and evaluation protocol fixed.
Representation expressivity and distinguishability. Relational expressivity has been studied through supported relational patterns and structural motifs [14, 27], while Weisfeiler–Leman analyses characterise graph representations through structures they cannot distinguish [22, 28]. Our row-equivalence diagnostic applies the same principle after graph-to-table conversion. If two labelled queries induce identical rows within the same prediction context, they are necessarily indistinguishable to the tabular decoder. The converse does not hold: distinguishable encodings merely remove this representational obstruction, since successful transfer additionally depends on preserving task-relevant information and maintaining adequate source–target support [17].
Inductive and zero-shot knowledge graph reasoning. Inductive knowledge graph methods use transferable structural computations, including enclosing subgraphs in GraIL [26], path-based reasoning in NBFNet [31], and relation graphs in InGram [19]. ULTRA [7] extends structural reasoning to zero-shot transfer across knowledge graphs with previously unseen relation vocabularies, while TRIX [30] develops more expressive fully inductive triplet representations for entity and relation prediction. Our setting keeps ULTRA frozen and exposes its candidate score as a tabular feature, testing whether local graph evidence adds information beyond the native score and whether in-context tabular decoding improves the resulting ranking.
3 Graph-to-Table Diagnostic Framework
A graph-to-table pipeline comprises three components: an encoder that maps graph evidence to a feature row, a context constructor that assembles labelled rows, and a decoder that predicts from the resulting context (see Figure 1). End-to-end performance conflates the effects of these components. We therefore organise the analysis around four diagnostic questions concerning row distinguishability, feature alignment, decoder dependence, and query-level ranking effects. Each question either establishes an encoder-induced ceiling or compares matched conditions while holding the remaining pipeline and evaluation protocol fixed.
3.1 Problem Formulation
Let be an observed relational graph, where is the set of entities, is the set of relation types, and is the set of observed edges. A candidate query associates a head entity and a tail entity through relation . Let , and denote the graph, query, feature-row, and label spaces, respectively. The encoder
maps a graph and query to a feature row . Given a pool of labelled rows and a requested budget , i.e., the number of labelled rows to include per class, the context constructor
assembles a labelled context , where denotes the space of possible contexts. Finally, the decoder
maps the labelled context and a query row to class scores. We obtain a predicted label from the highest-scoring class, while in binary link prediction we can use the positive-class score for candidate ranking. For example, in our path-based experiments, may encode a relational path through relation counts or absolute positions, S selects labelled rows from the target graph, and D is instantiated by logistic regression, CatBoost, or TabPFN-3. The resulting pipeline can be written as
3.2 Diagnostic Questions
Does the row distinguish queries with different labels? Before considering any particular decoder, we ask whether the encoder maps queries with different labels to distinguishable rows. For a fixed graph G, the encoder partitions queries according to row identity: we write if and only if . Queries in the same equivalence class expose the same row to the decoder and, with the context and remaining inputs fixed, cannot be distinguished from that row alone. To quantify this representational limitation independently of the decoder, we compute an oracle accuracy ceiling on the finite set of evaluated queries, each paired with its label. Let N be the number of such queries, the number of queries mapped to row x with label y, and the number of queries mapped to row x. Any predictor that observes only x must make the same prediction for all examples sharing that row, and can therefore classify at most of them correctly. The resulting empirical ceiling is
where and are empirical frequencies. Under zero-one loss, this is the empirical Bayes-optimal accuracy obtained by predicting the majority label within each row class [3]. Evaluation labels are used only to quantify ambiguity introduced by the encoder. Successful transfer additionally requires the decoder to infer an appropriate rule from the available labelled context.
A ceiling of one does not necessarily imply that the representation resolves repeated query patterns: it may also arise because every evaluated query maps to a unique row. We therefore report the singleton mass
where is the number of queries mapped to row . A value of indicates that every evaluated query occupies a singleton equivalence class. Since singleton rows are necessarily assigned a ceiling accuracy of one in Equation (2), they can mask ambiguity among rows that occur more than once. We therefore condition the ceiling on repeated rows:
The conditional quantity is undefined when ; it measures the maximum row-only accuracy among examples belonging to repeated equivalence classes, separating ambiguity within repeated rows from the trivial contribution of singleton rows.
For GraphLog, evaluation uses macro balanced accuracy, which weights every class equally. For a row x, predicting class y contributes to the class-normalised number of correct predictions. The optimal row-only prediction therefore chooses the class maximising this quantity, yielding the corresponding class-reweighed ceiling:
where K is the number of observed classes, counts examples with row x and label y, and is the number of examples in class y.
Does feature alignment improve predictions on unseen queries? Let denote an additional block of related feature columns associated with query q. We compare three matched conditions: (i) the base encoder excludes the block, (ii) the permuted encoder includes the same collection of complete blocks but permutes their correspondence to queries, and (iii) the aligned encoder restores the original query-to-block correspondence. The base-permuted comparison measures the effect of adding the block without preserving its query alignment. The permuted-aligned comparison measures the effect of restoring that alignment while holding fixed the block dimensionality, the collection of block values, context construction, and decoder. This comparison separates sensitivity to query-feature alignment from the mere presence of the additional feature block.
Does encoder preference change across decoders? For two encoders and , we compare their performance under the same context construction and evaluation queries. For a decoder , let
where M denotes the task metric: a change in the sign of across decoders indicates a reversal in the relative ranking of the two encoders. We also inspect each encoder's absolute performance, since a reversal can arise from degradation in one representation or improvement in the other.
For which query regimes does graph evidence improve ranking? Aggregate ranking metrics may conceal heterogeneous effects across query types. We therefore partition evaluation queries using graph evidence observable before prediction, such as the presence of direct or reverse edges between the query endpoints. Within each stratum, we compare reciprocal rank across encoder variants on the same queries. These comparisons keep the context construction, decoder, candidate set, filtering protocol, and random seed fixed. The resulting stratification identifies the query regimes in which particular graph-derived feature groups are associated with ranking improvements.
4 Experimental Design
We evaluate the diagnostic framework in three regimes: synthetic calibration, controlled compositional extrapolation, and heterogeneous cross-graph ranking. Whenever the decoder D is varied, logistic regression, CATBOOST, and frozen TABPFN-3 receive the same queries, labels, context examples, and feature values before decoder-specific categorical encoding. Decoder configurations remain fixed within each matched comparison.
4.1 Calibration and Compositional Evaluation
Controlled calibration. We generate four binary tasks governed by reciprocity, typed relation composition, local structural roles, and shared graph-community membership. For each task, ten independently generated graphs define disjoint context and evaluation populations. Because the relevant relational distinctions are known by construction, these tasks validate the row-equivalence ceiling, singleton mass, and matched-permutation diagnostics before applying them to benchmark data. Appendix B provides the complete generation procedure and results.
In CLUTRR, GraphLog, and the dihedral control, each row represents a supplied or generated symbolic sequence. The encoders differ only in which properties of that sequence are exposed to the decoder.
CLUTRR. We use the official gen-train23-test2to10 split [24]. Contexts contain training paths of lengths 2–3 with nested budgets of 5, 10, 20, 40, 80 examples per target relation, while evaluation covers lengths 4–10. We compare three encoders of the same symbolic path: a relation-multiset encoder, recording path length and relation counts; an absolute-position encoder, preserving the relation at each position; and a directed-transition encoder, counting ordered adjacent relation pairs without absolute positions. For the alignment test, we append the absolute-position block to the relation-multiset row and compare the correctly aligned block with a condition in which complete blocks are permuted among paths of equal length. This isolates the effect of query-feature alignment while preserving the block dimensionality and collection of values. A separate suffix ablation zeros absolute-position coordinates beyond position 3, testing whether unsupported positions contribute to the observed behaviour. To isolate length coverage from context volume, the same 80-example length-2–3 base context receives either 20 further short examples or 20 length-4 examples, yielding 100 examples per target relation in both conditions. Appendix C.1 reports the schemas, dimensionalities, and split statistics.
GraphLog. We use the official symbolic path descriptors from all 57 worlds [25]. Contexts contain paths of lengths 2–3 with nested budgets of 5, 10, 20, 40 examples per target class, while evaluation uses all test paths of lengths 4–5. All worlds share the same vocabulary of 20 directed relation symbols but differ in their relational rules. We compare relation-multiset and absolute-position encoders. Neither includes entity identifiers or the target relation, so the comparison isolates how the supplied symbolic path is represented. Performance is measured using macro balanced accuracy together with the corresponding class-balanced row-equivalence ceiling. Appendix C gives the complete schemas, alignment controls, and decoder sensitivities.
Dihedral boundary control. The dihedral control contains ten independently generated populations over the 16 symmetries of a regular octagon. Context sequences have lengths 2–3, evaluation sequences have lengths 4–10, and the target is their ordered group product. We compare an absolute-position encoder with a coarse encoder that removes sequence order and merges group elements separated by four rotations. This provides a boundary case in which coarsening discards task-relevant information, testing whether the preference observed for a coarser representation on CLUTRR persists when the removed information is required by the target.
4.2 Knowledge Graph Panel
Graphs and ranking protocol. The panel contains all 57 knowledge graphs, grouped into 16 provenance families, with ULTRA [7] frozen throughout. For each graph, we sample 64 official test triples stratified by relation and evaluate both head and tail prediction by ranking all entities under standard filtered evaluation. For every candidate entity, the resulting candidate triple is mapped by the encoder to one feature row. All graph-derived features are computed from the observed support graph, which excludes the held-out target triples, and context positives are disjoint from the sampled evaluation queries. This keeps the candidate-ranking problem fixed while varying the graph evidence exposed to the tabular decoder.
Encoder variants. We evaluate the nine encoder variants summarised in Appendix Table 12. They include Entity tokens, exposing dataset-scoped endpoint tokens; Dyadic, based on evidence directly connecting the query endpoints; and Paths, based on two-hop path evidence. The broader Local encoder combines relation identity with endpoint, pair, path, and community statistics, whereas Global exposes graph-wide topological and spectral information. ULTRA score exposes only the candidate score produced by the frozen graph-native ULTRA model. Composite encoders concatenate these fixed blocks as Local + Global, Local + ULTRA score, and Full. The complete encoder ladder is evaluated with nested context budgets of 20, 50, 100, 200 examples per binary class. Its baseline negatives are endpoint corruptions without an all-known-positive rejection step. Appendix D separately isolates the effect of this filtering choice with a matched control. Whenever the frozen ULTRA score is included, we also report the native ULTRA candidate ranking as a reference.
Pointwise-ranking control. The tabular decoders are trained with a pointwise binary objective but are evaluated by filtered ranking within each directional query. At 200 examples per class, we therefore cross the Local, ULTRA score, and Local + ULTRA score encoders with raw, within-query z-score, and within-query percentile representations of their numerical columns. The transformations are label-free and applied by the same rule to context groups and evaluation candidate blocks. This tests whether query-relative normalisation changes the behaviour of the pointwise readouts under an otherwise fixed ranking protocol. Appendix D.2 gives the grouping and results.
Negative-context construction. For the negative-context comparison, we fix the budget at 200 examples per class and vary only the context constructor S, while keeping context positives and evaluation queries fixed. Filtered-uniform negatives replace the missing endpoint with a uniformly sampled entity outside the known-positive set. Structurally plausible negatives favour entities observed in the appropriate relation role and, when possible, in the same graph partition as the fixed endpoint, followed by degree similarity. Selection uses only graph-based criteria, so the comparison changes the difficulty and structure of the labelled negative context without using evaluation labels or the frozen ULTRA score. Appendix D gives the complete construction and audit checks.
Positive-context construction. We additionally compare pool-random positives with evaluation-relation-matched positives while keeping context size and evaluation queries fixed. The latter selects positives to better match the relation distribution represented by the evaluation queries, allowing us to vary relation-level support without changing the evaluation set.
4.3 Statistical Analysis
For the 57-KG panel, the metric is averaged over queries and seeds within datasets, then over datasets within provenance families, with families weighted equally. We refer to this estimand as the equal-family metric and additionally report equal-dataset aggregation as a sensitivity analysis. Provenance families are also the unit of inference: bootstrap sensitivity intervals resample families with replacement, and the exact max- multiple-comparison correction in Appendix D.8 flips the sign of each family's mean paired effect as a block. Because the panel is fixed rather than sampled from a population of graphs, we read bootstrap intervals as sensitivity to panel composition rather than as confidence intervals, and leave-one-family-out ranges show how much each estimate depends on any single family. For CLUTRR, effects are paired across context seeds on the same official split. GraphLog comparisons are paired across worlds under shared matched conditions. The dihedral control uses the independently generated populations as replication units. Query-level ranking analyses stratify the same evaluation queries by graph evidence observable before prediction and report reciprocal rank within each stratum.
5 Results
5.1 Aligned Prefixes Form a Shortcut Under Length Shift
At 80 context examples per target relation, the absolute-position encoder reaches 0.156/0.109/0.103 accuracy for logistic regression, CATBOOST, and TABPFN-3, whereas the relation-multiset encoder reaches 0.429/0.272/0.289. The absolute-position ceiling of 1.000 follows from its singleton mass of 1.000 and therefore carries no information about ambiguity among repeated rows. For the relation multiset, the raw ceiling is 0.930, while the repeated-row mass is 0.243 and its conditional ceiling is 0.712. The lower absolute-position accuracy therefore occurs despite injective rows, while its perfect ceiling follows from that injectivity. The multiset advantage also holds across all declared metrics and for at least 15 of the 18 target relations (Appendix C.1, Tables 3 to 6).
Figure 2 reports the matched alignment and length-exposure interventions under the short-to-long support shift. Relative to the relation-multiset encoder, adding an absolute-position block permuted among paths of equal length changes accuracy by only for logistic regression, CATBOOST, and TABPFN-3. Restoring the correct path-level alignment reduces accuracy by a further . Context paths have lengths 2–3, so positions 4–10 have no labelled support. Evaluation paths have lengths 4–10. Setting these unsupported suffix coordinates to zero changes predictions by less than . The aligned encoders reach accuracy on the labelled context rows, while transferring substantially worse to longer paths. These matched interventions therefore support a shortcut interpretation in which alignment exposes a highly predictive supported prefix that does not transfer to longer paths.
The length-exposure intervention produces a similarly local effect. Replacing 20 additional short examples with 20 length-4 examples improves length 4 by +0.489/+0.372/+0.758, but changes lengths 5–10 by only -0.001/+0.010/+0.033. The directed-transition encoder reaches 0.408/0.285/0.156, with its ordering relative to the multiset changing across decoders. A shared-parameter gated recurrent unit (GRU) with 32-dimensional relation embeddings, 64 hidden units, one recurrent layer, and context-only early stopping improves from 0.346 to 0.705 OOD accuracy across the five context budgets. At the largest budget it decreases from 0.898 at length 4 to 0.527 at length 10, with aggregate accuracy 0.705. The GRU serves as an existence control for the split, showing that substantially stronger short-to-long transfer is attainable. Together, these results support a shortcut interpretation for the tested tabular interfaces under the known length-support shift.
5.2 A Decoder-Dependent Failure Regime
GraphLog reverses the encoder ordering observed on CLUTRR for the nonlinear decoders. The performance difference between the relation multiset and absolute positions is +0.065 for logistic
(a) OOD accuracy
(b) Paired changes
(c) Length exposure

Logistic
CatBoost
TabPFN-3
Accuracy change
Figure 2: Effect of path-feature alignment and length exposure on CLUTRR. (a) Out-of-distribution (OOD) accuracy for the relation multiset alone, with a permuted absolute-position block, and with the correctly aligned block. (b) Paired accuracy changes from adding the permuted block and restoring its path-level alignment. (c) Accuracy change after replacing 20 additional length-2–3 examples with 20 length-4 examples, evaluated at length 4 and lengths 5–10. Panels (a) and (b) use 80 context examples per target relation and evaluation paths of lengths 4–10, while panel (c) uses the same 80-example base plus 20 additional examples, for 100 examples per target relation in both arms. In (b), positive block-addition values indicate higher OOD accuracy after adding the permuted block, while positive alignment values indicate accuracy lost after restoring the correct path-level alignment. In (c), positive values indicate higher OOD accuracy after adding length-4 context examples. Bar labels are rounded to three decimals.
(a) CLUTRR
(b) GraphLog
(c) Dihedral composition

Performance difference
Performance difference
Performance difference
Figure 3: Encoder effects across decoders. At the largest context budget, values report relation multiset minus absolute-position performance for (a) CLUTRR and (b) GraphLog, and coarse minus absolute-position performance for (c) the dihedral control. CLUTRR and the dihedral control use accuracy, while GraphLog uses macro balanced accuracy. Positive values favour the coarser encoder. Bars in (a) and (c) denote means, with capped intervals spanning paired context seeds and generated populations, respectively. In (b), light points denote paired worlds, diamonds denote means, and capped intervals denote sensitivity intervals. GraphLog world-level wins/ties/losses are 41/0/16 for logistic regression, 6/0/51 for CATBOOST, and 11/0/46 for TABPFN-3. Panels use separate horizontal scales.
regression, -0.157 for CATBOOST, and -0.079 for TABPFN-3. Complete absolute levels are reported in Table 7. Both encoders retain high class-balanced ceilings of 0.965 and 0.983, while every world uses the same global vocabulary of 20 directed relations. Dimensionality and coordinate meaning are therefore fixed across worlds, enabling matched comparison of the two representations across decoders.
For CATBOOST and TABPFN-3, absolute positions yield higher balanced accuracy than the relation multiset, while the multiset enters a failure regime in many worlds. At 40 examples per class, the multiset is at or below each world's chance level in 30 and 12 of the 57 worlds for CATBOOST and TABPFN-3, compared with 1 and 4 worlds for absolute positions. To characterise this regime, a CATBOOST tree-depth sweep uses all 57 worlds and holds all other settings fixed across depths 1–7.
(a) Local – IDs
(b) (Local + score) – Local
(c) (Local + score) – Score

Filtered-uniform negatives
Structurally plausible negatives
Figure 4: Paired encoder effects across 57 knowledge graphs. Equal-family MRR at 200 examples per class for (a) local features minus dataset-scoped entity identifiers, (b) local plus score minus local, and (c) local plus score minus score. Light-brown bars denote filtered-uniform negatives and dark-brown bars denote structurally plausible negatives. Capped error bars show 95% provenance-family bootstrap sensitivity intervals; positive values favour the first encoder in each contrast. Positive context examples and evaluation queries are fixed across the two negative-context constructions.
Evaluation balanced accuracy changes from 0.201/0.271 at depth one to 0.125/0.282 at depth seven, widening the gap from -0.070 to -0.157. Over the same sweep, context fit rises from 0.830/0.910 to 0.948/0.991. The complete curve in Appendix C shows progressively lower multiset evaluation performance as tree depth increases, while absolute-position performance remains comparatively stable. Together, these results show that the GraphLog encoder ordering changes across decoders and that the CATBOOST gap is depth-sensitive, driven mainly by multiset degradation.
The dihedral control limits how broadly the CLUTRR ordering can be interpreted. Its coarse encoder removes sequence order while also merging distinct group elements. At chance level 0.0625, coarse/absolute accuracies are 0.0618/0.0622, 0.0770/0.0643, and 0.0614/0.0626. When coarsening also removes task-relevant identity, both encoders therefore remain at or near chance apart from the small CATBOOST contrast.
5.3 Feature Contributions Are Asymmetric and Context-Dependent
Across the 57-KG panel, adding the frozen ULTRA score to the Local encoder improves equal-family mean reciprocal rank (MRR) by +0.048–+0.129 across all decoder-context combinations. Five of the six contrasts remain supported after joint correction. The structurally plausible TABPFN-3 contrast remains positive but falls just outside the correction threshold. The reverse addition, adding Local features to the score, ranges from -0.039 to +0.064, and none of the six contrasts remains supported after correction. As a reference comparison, Local also outperforms dataset-scoped entity identifiers by +0.177–+0.262 across all six combinations. Removing relation identity from Local changes equal-family MRR by at most 0.0031 in magnitude, and none of the tested contrasts remains supported after joint correction (Appendix D.4). Figure 4 summarises these three matched comparisons.
The native ranking provides a rank-preservation sanity check. Score-only logistic regression reproduces the native ULTRA ranks exactly across all 684 combinations of dataset, context budget, and seed, as expected when the one-dimensional frozen score is read out with positive orientation. For TABPFN-3, adding global PageRank, component, heat, and diffusion features after the score changes MRR by only +0.005 ([-0.001,+0.010]), with the contrast falling below the joint-correction threshold. TABPFN-3 with the Full encoder underperforms native ULTRA on 48 of 57 datasets and 14 of 16 provenance families. Its full-minus-native contrast is +0.006 under equal-family weighting but -0.035 under equal-dataset weighting. The corresponding medians are -0.034 and -0.039. The leave-one-family-out range is [-0.041,+0.015], with the minimum obtained by removing MetaFam. The change between equal-family and equal-dataset aggregation shows that this panel-level comparison is sensitive to weighting.
Because the tabular decoders are pointwise while evaluation ranks candidates within each query, we test their sensitivity to label-free within-query z-score and percentile transformations. These improve local-only logistic regression by +0.081/+0.076 MRR, but yield negative point estimates.
for every tested CATBOOST and TABPFN-3 transformation. All six CATBOOST reductions and five of the six TABPFN-3 reductions remain supported after joint correction. Score-only logistic regression preserves all 21,888 native query ranks exactly under both maps. Query-relative scaling therefore affects the tested pointwise readouts in a decoder-specific way. The analysis does not alter the underlying ranking objective (Appendix D.2). A 512-query sensitivity preserves the sign of all five panel-level encoder contrasts, with mean changes no larger than 0.0064 MRR (Appendix D).
Changing only the negative context also affects performance. Structurally plausible negatives reduce MRR by 0.020–0.122 across all nine informative encoder–decoder combinations, whereas identifier baselines change by less than 0.001. The selector uses only graph-based criteria, yet its selected negatives have a mean frozen score of -1.238, compared with -6.929 under filtered-uniform sampling, consistent with a harder negative distribution under frozen ULTRA. Decoder ordering also varies with the encoder: logistic regression is strongest for the score-only row, whereas TABPFN-3 is strongest for the local and local-plus-score rows (Appendix D).
A separate matched control isolates all-known-positive rejection from the other differences between the two context constructions. Filtering changes equal-family MRR by +0.0081 for Local, -0.0007 for Local + score, and +0.0022 for score-only TABPFN-3, with all three contrasts below the joint-correction threshold. The matched control therefore indicates that filtering accounts for only a small part of the differences between the two context constructions (Appendix D.7). We also vary positive-context selection. Matching positives to the evaluation relation distribution increases relation-type coverage from 0.667 to 0.871 and relation mass from 0.693 to 0.891, while reducing distributional total variation from 0.447 to 0.190. The corresponding MRR effects are generally small. Only CATBOOST with the Local encoder without relation identity remains supported after joint correction (+0.0139; Appendix D.3).
5.4 Local Feature Utility Varies with Endpoint Connectivity
Aggregate MRR conceals substantial differences among query regimes. We stratify the 7,296 directional queries by observed endpoint connectivity in the support graph, excluding the held-out target edge. 1,622 have a direct or reverse endpoint-pair edge.
Appendix Figure 8 shows that dyadic features achieve higher aggregate reciprocal rank than bounded-path features in each endpoint-connected stratum. The ordering reverses for the 5,674 queries without a pair edge. Dyadic reciprocal rank falls to 0.001–0.002, whereas path features reach 0.045–0.052 and the Local encoder reaches 0.043–0.094. The broader Local encoder therefore retains higher ranking performance for the majority of queries where direct pair evidence is absent.
The both-direction and direct-only groups contain 244 and 414 queries, so we treat their absolute levels as fixed-panel descriptions. Complete counts are reported in Appendix D.10, and the descriptive, order-dependent variance decomposition in Appendix E. The stratification therefore identifies query regimes in which different graph-derived feature groups are associated with higher ranking performance.
6 Conclusion
We introduced a paired diagnostic framework for the graph-to-table encoder , context constructor S, and decoder D. On CLUTRR, preserving query distinctions is insufficient for length transfer: unsupported absolute coordinates have negligible influence, while the aligned representation achieves near-perfect accuracy on the labelled context rows yet transfers worse to longer paths. On GraphLog, encoder preference changes across decoders, and a CATBOOST tree-depth sweep shows that the gap between absolute positions and relation counts widens primarily through degradation of the latter. Across 57 knowledge graphs, adding a frozen ULTRA score to local features provides consistent gains, whereas adding local features to the score has a smaller and less stable effect. A pointwise TABPFN-3 readout with the Full encoder underperforms native ULTRA on 48 of 57 datasets, while its aggregate comparison changes from positive under equal-family weighting to negative under equal-dataset weighting. Changing the labelled context also changes the measured contribution of the same encoder. Together, these results show that graph-to-table representations cannot be assessed through the encoder alone. Their behaviour depends jointly on the labelled context, decoder, evaluation protocol, and panel aggregation.
References
[1] Yilong Chen, Xueying Ding, and Leman Akoglu. VIP-COP: Context optimization for tabular foundation models, 2026. URL https://arxiv.org/abs/2605.12904.2
[2] Zhikai Chen, Junyu Yin, Jialiang Gu, Siheng Xiong, Xiaoze Liu, Ruowang Zhang, Keren Zhou, and Kai Guo. OpenRFM: Dissecting relational In-Context learning, 2026. URL https://arxiv.org/abs/2606.04320.2
[3] Luc Devroye, László Györfi, and Gábor Lugosi. A Probabilistic Theory of Pattern Recognition, volume 31 of Stochastic Modelling and Applied Probability. Springer, 1996. doi: 10.1007/978-1-4612-0711-5. 4
[4] Kaiwen Dong, Haitao Mao, Zhichun Guo, and Nitesh V. Chawla. Universal link predictor by In-Context learning on graphs. Trans. Mach. Learn. Res., 2025, 2025. URL https://openreview.net/forum?id=EYpqmoejB8.2
[5] Dmitry Eremeev, Gleb Bazhenov, Oleg Platonov, Artem Babenko, and Liudmila Prokhorenkova. Turning tabular foundation models into graph foundation models. In NeurIPS Workshop on New Perspectives in Graph Machine Learning, 2025. URL https://openreview.net/forum?id=KyiooU4ECI. Poster. 1, 2
[6] Dmitry Eremeev, Oleg Platonov, Gleb Bazhenov, Artem Babenko, and Liudmila Prokhorenkova. GraphPFN: A Prior-Data fitted graph foundation model. In ICML, volume 306 of Proceedings of Machine Learning Research, pages 28149–28165. PMLR, 2026. URL https://proceedings.mlr.press/v306/eremeev26a.html. 1
[7] Mikhail Galkin, Xinyu Yuan, Hesham Mostafa, Jian Tang, and Zhaocheng Zhu. Towards foundation models for knowledge graph reasoning. In The Twelfth International Conference on Learning Representations, ICLR 2024, Vienna, Austria, May 7-11, 2024. OpenReview.net, 2024. URL https://openreview.net/forum?id=jVEoydF019. 3, 6
[8] Yisen Gao, Jiaxin Bai, Haoyu Huang, Zhongwei Xie, Yufei Li, Hong Ting Tsang, Sirui Han, and Yangqiu Song. KGPFN: Unlocking the potential of knowledge graph foundation model via In-Context learning, 2026. URL https://arxiv.org/abs/2605.14907. 1, 2
[9] Robert Geirhos, Jörn-Henrik Jacobsen, Claudio Michaelis, Richard Zemel, Wieland Brendel, Matthias Bethge, and Felix A. Wichmann. Shortcut learning in deep neural networks. Nature Machine Intelligence, 2:665–673, 2020. doi: 10.1038/s42256-020-00257-z. 2
[10] Léo Grinsztajn, Klemens Flöge, Oscar Key, Felix Birkel, Philipp Jund, Brendan Roof, Mihir Manium, Shi Bin Hoo, Magnus Bühler, Anurag Garg, Dominik Safaric, Jake Robertson, Benjamin Jäger, Simone Alessi, Adrian Hayler, Vladyslav Moroshan, Lennart Purucker, Philipp Singer, Alan Arazi, Julien Siems, Jan Hendrik Metzen, Georg Grab, Nick Erickson, Siyuan Guo, Eliott Kalfon, Simon Bing, David Salinas, Clara Cornu, Lilly Charlotte Wehrhahn, Diana Kriuchkova, Kursat Kaya, Lydia Sidhoum, Marie Salmon, Jerry Chen, Madelon Hulsebos, Yann LeCun, Samuel Müller, Bernhard Schölkopf, Sauraj Gambhir, Noah Hollmann, and Frank Hutter. TabPFN-3: Technical report, 2026. URL https://arxiv.org/abs/2605.13986. 1, 2
[11] Adrian Hayler, Xingyue Huang, Ismail Ilkan Ceylan, Michael M. Bronstein, and Ben Finkelshtein. Of graphs and tables: Zero-Shot node classification with tabular foundation models. In NeurIPS Workshop on New Perspectives in Graph Machine Learning, 2025. URL https://openreview.net/forum?id=u3vyZf5Jv2. Oral presentation. 2
[12] Noah Hollmann, Samuel Müller, Lennart Purucker, Arjun Krishnakumar, Max Körfer, Shi Bin Hoo, Robin Tibor Schirrmeister, and Frank Hutter. Accurate predictions on small data with a tabular foundation model. Nature, 637:319–326, 2025. doi: 10.1038/s41586-024-08328-6. 1, 2
[13] Chunyu Hu, Tianyin Liao, Ge Lan, Xingxuan Zhang, Jianxin Li, Peng Cui, and Ziwei Zhang. Surprisingly simple and effective Multi-Domain graph foundation model through Graph-to-Table alignment, 2026. URL https://arxiv.org/abs/2607.11374. 1, 2
[14] Xingyue Huang, Pablo Barcelo, Michael M. Bronstein, Ismail Ilkan Ceylan, Mikhail Galkin, Juan L. Reutter, and Miguel Romero Orth. How expressive are knowledge graph foundation models? In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu, editors, Forty-second International Conference on Machine Learning, ICML 2025, Vancouver, BC, Canada, July 13-19, 2025, volume 267 of
Proceedings of Machine Learning Research. PMLR / OpenReview.net, 2025. URL https://proceedings.mlr.press/v267/huang25a.html. 3
[15] Dieuwke Hupkes, Verna Dankers, Mathijs Mul, and Elia Bruni. Compositionality decomposed: How do neural networks generalise? Journal of Artificial Intelligence Research, 67:757–795, 2020. doi: 10.1613/jair.1.11674. 2
[16] Prachi Jain, Sushant Rathi, Mausam, and Soumen Chakrabarti. Knowledge base completion: Baseline strikes back (again), 2020. URL https://arxiv.org/abs/2005.00804. 2
[17] Fredrik D. Johansson, David Sontag, and Rajesh Ranganath. Support and invertibility in Domain-Invariant representations. In Kamalika Chaudhuri and Masashi Sugiyama, editors, The 22nd International Conference on Artificial Intelligence and Statistics, AISTATS 2019, 16-18 April 2019, Naha, Okinawa, Japan, volume 89 of Proceedings of Machine Learning Research, pages 527–536. PMLR, 2019. URL https://proceedings.mlr.press/v89/johansson19a.html. 3
[18] Amirhossein Kazemnejad, Inkit Padhi, Karthikeyan Natesan Ramamurthy, Payel Das, and Siva Reddy. The impact of positional encoding on length generalization in transformers. In Alice Oh, Tristan Naumann, Amir Globerson, Kate Saenko, Moritz Hardt, and Sergey Levine, editors, Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10-16, 2023, 2023. URL https://openreview.net/forum?id=Drrl2gcjz1.2
[19] Jaejun Lee, Chanyoung Chung, and Joyce Jiyoung Whang. InGram: Inductive knowledge graph embedding via relation graphs. In Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett, editors, International Conference on Machine Learning, ICML 2023, 23-29 July 2023, Honolulu, Hawaii, USA, volume 202 of Proceedings of Machine Learning Research, pages 18796–18809. PMLR, 2023. URL https://proceedings.mlr.press/v202/lee23c.html. 3
[20] Tianyin Liao, Chunyu Hu, Yicheng Sui, Xingxuan Zhang, Peng Cui, Jianxin Li, and Ziwei Zhang. TFMLinker: Universal link predictor by graph In-Context learning with tabular foundation models, 2026. URL https://arxiv.org/abs/2602.08592. 1, 2, 20
[21] Aditya Krishna Menon and Robert C. Williamson. Bipartite ranking: A Risk-Theoretic perspective. Journal of Machine Learning Research, 17(195):1–102, 2016. URL https://jmlr.org/papers/v17/14-265.html. 14, 21
[22] Christopher Morris, Martin Ritzert, Matthias Fey, William L. Hamilton, Jan Eric Lenssen, Gaurav Rattan, and Martin Grohe. Weisfeiler and leman go neural: Higher-Order graph neural networks. In The Thirty-Third AAAI Conference on Artificial Intelligence, AAAI 2019, The Thirty-First Innovative Applications of Artificial Intelligence Conference, IAAI 2019, The Ninth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2019, Honolulu, Hawaii, USA, January 27 - February 1, 2019, pages 4602–4609. AAAI Press, 2019. doi: 10.1609/aaai.v33i01.33014602. URL https://doi.org/10.1609/aaai.v33i01.33014602.3
[23] Daniel Ruffinelli, Samuel Broscheit, and Rainer Gemulla. You CAN teach an old dog new tricks! on training knowledge graph embeddings. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020. URL https://openreview.net/forum?id=BkxSmlBFvr.2
[24] Koustuv Sinha, Shagun Sodhani, Jin Dong, Joelle Pineau, and William L. Hamilton. CLUTRR: A diagnostic benchmark for inductive reasoning from text. In Kentaro Inui, Jing Jiang, Vincent Ng, and Xiaojun Wan, editors, Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 4506–4515, Hong Kong, China, 2019. Association for Computational Linguistics. doi: 10.18653/v1/D19-1458. URL https://aclanthology.org/D19-1458/. 2, 5
[25] Koustuv Sinha, Shagun Sodhani, Joelle Pineau, and William L. Hamilton. Evaluating logical generalization in graph neural networks, 2020. URL https://arxiv.org/abs/2003.06560.2, 6
[26] Komal K. Teru, Etienne Denis, and William L. Hamilton. Inductive relation prediction by subgraph reasoning. In Proceedings of the 37th International Conference on Machine Learning,
ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 9448–9457. PMLR, 2020. URL https://proceedings.mlr.press/v119/teru20a.html. 3
[27] Théo Trouillon, Éric Gaussier, Christopher R. Dance, and Guillaume Bouchard. On inductive abilities of latent factor models for relational learning. Journal of Artificial Intelligence Research, 64:21–53, 2019. doi: 10.1613/jair.1.11305. 3
[28] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019. URL https://openreview.net/forum?id=ryGs6iA5Km. 3
[29] Jiaxuan You, Rex Ying, and Jure Leskovec. Design space for graph neural networks. In Hugo Larochelle, Marc’Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin, editors, Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. URL https://proceedings.neurips.cc/paper/2020/hash/c5c3d4fe6b2cc463c7d7ecba17cc9de7-Abstract.html. 2
[30] Yucheng Zhang, Beatrice Bevilacqua, Mikhail Galkin, and Bruno Ribeiro. TRIX: A more expressive model for Zero-Shot domain transfer in knowledge graphs. In LoG, volume 269 of Proceedings of Machine Learning Research, pages 12:1–12:28. PMLR, 2025. URL https://proceedings.mlr.press/v269/zhang25a.html. 3
[31] Zhaocheng Zhu, Zuobai Zhang, Louis-Pascal Xhonneux, and Jian Tang. Neural Bellman-Ford networks: A general graph neural network framework for link prediction. In Marc’Aurelio Ranzato, Alina Beygelzimer, Yann N. Dauphin, Percy Liang, and Jennifer Wortman Vaughan, editors, Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual, pages 29476–29490, 2021. URL https://proceedings.neurips.cc/paper/2021/hash/f6a673f09493afcd8b129a0bcf1cd5bc-Abstract.html. 3
A Limitations
Our experiments audit the graph-to-table interface alone. CLUTRR and GraphLog use supplied symbolic paths, so they evaluate encoding and decoding after relational evidence has been extracted. The observed encoder, context, and decoder effects are limited to the tested configurations, while the 57-KG study uses constructed feature groups and one frozen upstream checkpoint whose pretraining lineage overlaps with part of the panel. Query-level groups and the sequential variance decomposition are descriptive and do not establish causal feature importance or a deployable routing rule. Finally, the family-weighted KG panel uses 64 sampled test triples per dataset. All-entity filtered ranking and the 512-query sensitivity support the reported contrast directions, but the reported sensitivities are conditional on this fixed panel.
B Controlled Calibration of the Audit Diagnostics
This appendix provides the complete protocols, robustness analyses, and reproducibility details supporting Section 5. The controlled calibration first tests whether the diagnostics in Section 3 recover known properties under graph-disjoint evaluation, before applying them to the benchmark-specific analyses in Section 5. We generate four binary tasks governed by reciprocity, typed relation composition, local structural roles, and shared graph-community membership. For each task, ten independently generated graphs define disjoint context and evaluation populations. We compute the latent-label ceiling before applying a deterministic 10% symmetric label flip, and define mixed-label collision mass as the fraction of examples assigned to a row-equivalence class containing both latent labels.
B.1 Finite-Population Diagnostics
Figure 5 reports fitted ROC-AUC (area under the receiver operating characteristic curve) after the controlled label perturbation, whereas the finite-population diagnostics below are decoder-independent properties of the encoder.
We first verify that the ceiling, singleton-mass, and collision diagnostics recover the distinctions imposed by each generated property. For row-equivalence class , let and denote its latent positive and negative counts. We define mixed-label collision mass as
where ). Equation (6) is the fraction of examples assigned to a row-equivalence class containing both latent labels.
Table 1: Finite-population row-equivalence diagnostics. Results are averaged over ten independently generated evaluation graphs. The ceiling and collision mass use latent labels before the deterministic 10% symmetric label flip. A ceiling and singleton mass of one indicate that every evaluated query has a unique row, characterising distinguishability on the evaluated population.
| Encoder / property | Latent | Singleton mass | Collision mass |
|---|---|---|---|
| Relation only / reciprocity | 0.520 | 0.000 | 1.000 |
| Reverse edge / reciprocity | 1.000 | 1.000 | 0.000 |
| Typed paths / composition | 1.000 | 0.067 | 0.000 |
| Local roles / structural role | 1.000 | 0.000 | 0.000 |
| Community affinity / community | 0.924 | 0.655 | 0.191 |
For binary ranking, the finite-population AUC ceiling follows the optimal ordering of row-equivalence classes by posterior positive probability [21]. For class , let , , and ) denote its positive count, negative count, and positive rate. With and , the ceiling is
Ordering classes by is optimal because swapping an inverted pair increases the number of correctly ordered positive–negative pairs. Equation (7), like the accuracy ceiling in Section 3, is an oracle diagnostic on a fixed labelled population.
Each encoder begins with a four-way query-relation one-hot vector. The reciprocity encoder adds direct- and reverse-edge indicators and endpoint in- and out-degree. The typed-composition encoder adds path counts and existence indicators for fixed ordered two-relation templates. The structural-role encoder adds relation-specific endpoint degrees. The community-affinity encoder adds endpoint-degree contrasts, common-neighbour count, Jaccard similarity, Adamic–Adar, preferential attachment, and component status. Feature construction is independent of the perturbed target label.
The calibration flips every tenth positive and negative candidate after an independent within-class permutation determined by the split seed. Query index, candidate order, and flip status are not encoded. Graph generation, relabelling, splitting, feature construction, noise, and decoder seeds are distinct. Because the perturbation mechanically caps sufficient repeated-row encoders near 0.9, Table 1 reports latent pre-flip ceilings and collisions for interpreting encoder distinguishability.
B.2 Encoder Ladder and Alignment Control
We next test whether the encoder ladder and row-permutation control distinguish task-specific evidence from dimension-matched but misaligned features. Figure 5 reports that the constructed evidence is property-specific. Local-role counts solve the structural-role task but remain near chance on reciprocity and typed composition, which require reverse-edge and ordered-path evidence. The off-diagonal cells therefore test whether a feature family generalises beyond its construction.
(a) 20 context examples per class
| Reciprocity | 0.49 | 0.50 | 0.50 | 0.50 | 0.49 | 0.51 | 0.86 | |||
|---|---|---|---|---|---|---|---|---|---|---|
| Typed composition | 0.49 | 0.51 | 0.51 | 0.51 | 0.49 | 0.51 | 0.49 | 0.49 | 0.49 | 0.80 |
| Structural roles | 0.49 | 0.50 | 0.49 | 0.49 | 0.49 | 0.88 | 0.89 | |||
| Block affinity | 0.49 | 0.50 | 0.50 | 0.50 | 0.49 | 0.51 | 0.52 |
(b) 400 context examples per class
| Reciprocity | 0.50 | 0.51 | 0.50 | 0.50 | 0.50 | 0.57 | 0.90 | |||
|---|---|---|---|---|---|---|---|---|---|---|
| Typed composition | 0.50 | 0.51 | 0.52 | 0.50 | 0.50 | 0.57 | 0.50 | 0.50 | 0.50 | 0.90 |
| Structural roles | 0.50 | 0.53 | 0.67 | 0.50 | 0.50 | 0.90 | 0.90 | |||
| Block affinity | 0.50 | 0.50 | 0.49 | 0.50 | 0.50 | 0.69 | 0.69 |
Query relation only
Random entity tokens
One-hot entity IDs
Random entity embeddings
Dyadic invariants
Local role counts
Reachability
Typed paths, length 2
Typed paths, length 3
Matched property evidence
ROC-AUC
Figure 5: Graph-disjoint encoder ladder. Frozen TABPFN-3 ROC-AUC for the four generated relational properties (rows) and candidate encoders (columns). Panel (a) uses 20 labelled context examples per class and panel (b) uses 400. Each cell reports the mean over ten graph seeds, and both panels share the same colour scale. Matched property evidence is the aligned evidence bank constructed for each property. Hatched cells denote encoders not instantiated for the corresponding property.
Figure 6 compares aligned rows with a joint row-permutation null that preserves dimensionality and the covariance structure of complete feature blocks while breaking query-to-row correspondence. Aligned performance increases with the context budget, whereas both permuted conditions remain near chance. At 20 examples per class, the pre-specified TABPFN-3–CATBOOST difference-in-differences is +0.0343, with fixed-panel sensitivity . The calibration therefore validates the alignment control.
A separately audited independent-column permutation preserves the marginal distribution of each aligned column while destroying cross-column covariance and yields the same near-chance conclusion.

Figure 6: Effect of row alignment across context budgets. Bars report the equal-property macro ROC-AUC gain of correctly aligned rows over a joint row permutation of the complete feature block, for TABPFN-3 and CATBOOST at each number of labelled context examples per class, averaged over ten regenerated graphs per property. Under the permutation, ROC-AUC stays between 0.497 and 0.508, close to chance (0.5). Bar labels are rounded to three decimals.
Because either permutation can also alter dependence between the permuted block and unpermuted columns, we interpret these variants as broad alignment nulls.
C Composition Benchmarks and Complete Results
This section provides the complete encoder schemas, absolute performance levels, and robustness checks for the compositional results in Section 5.1 and Section 5.2. The ordering follows the main analysis. We first document the CLUTRR alignment and length-exposure controls, then report the GraphLog decoder sensitivities and the dihedral boundary control.
C.1 CLUTRR Protocol and Encoder Schemas
The official gen-train23-test2to10 split contains 9,074 training, 2,020 validation, and 1,146 test stories. Its 18 target classes, in configured index order, are {aunt, son-in-law, grandfather, brother, sister, father, mother, grandmother, uncle, daughter-in-law, grandson, granddaughter, father-in-law, mother-in-law, nephew, son, daughter, niece}. The path-edge vocabulary is the union over the fixed train, validation, and test files and contains {aunt, brother, daughter, father, granddaughter, grandfather, grandmother, grandson, husband, mother, sister, son, uncle, wife}.
Table 2: CLUTRR encoder schemas. All encoders use the same 14-symbol path-edge vocabulary and exclude entity identifiers. Combined variants retain the 15-column relation-multiset block and differ only in the treatment of the 140-column absolute-position block.
| Encoder | Dim. | Contents |
|---|---|---|
| Relation multiset | 15 | Path length and one count per relation symbol |
| Absolute position | 141 | Path length and ten 14-way positional one-hot blocks |
| Directed transitions | 197 | Path length and counts of ordered adjacent relation pairs |
| Aligned absolute + multiset | 155 | Relation multiset and the aligned absolute-position block |
| Suffix-zeroed absolute + multiset | 155 | Aligned positions 1–3, with positions 4–10 set to zero |
| Permuted absolute + multiset | 155 | Relation multiset and a complete absolute block reassigned within length |
The permutation acts on complete absolute-position rows separately within each path length. For each paired context seed , deterministic within-length permutations are generated separately for context and evaluation using seeds and , respectively. This preserves dimensionality and the empirical joint distribution of complete absolute-position blocks within each length while breaking their assignment to the original paths. All decoders receive identical stories, labels, context indices, and evaluation queries.
C.2 CLUTRR Complete Results and Robustness
Table 3 reports the absolute levels underlying Figure 2. At 80 examples per target relation, the relation-multiset encoder outperforms the absolute-position encoder for all three decoders. The directed-transition encoder retains local order without absolute positions, but its relative performance changes across decoders.
Table 3: CLUTRR OOD accuracy. Results use 80 context examples per target relation and are averaged equally across evaluation lengths 4–10 and then across the three paired context seeds. Values in parentheses denote encoder dimensionality.
| Decoder | Multiset (15) | Transitions (197) | Absolute (141) |
|---|---|---|---|
| Logistic | 0.429 | 0.408 | 0.156 |
| CATBOOST | 0.272 | 0.285 | 0.109 |
| TABPFN-3 | 0.289 | 0.156 | 0.103 |
| Decoder | Aligned + multiset (155) | Suffix-zeroed (155) | Permuted + multiset (155) |
|---|---|---|---|
| Logistic | 0.266 | 0.266 | 0.399 |
| CATBOOST | 0.163 | 0.163 | 0.255 |
| TABPFN-3 | 0.187 | 0.187 | 0.291 |
The suffix-zeroed and fully aligned encoders yield indistinguishable OOD accuracy, with a maximum paired accuracy change of . The suffix-zeroed ceiling is 0.998 with singleton mass 0.991, so only 0.009 of the equal-length evaluation mass contributes repeated rows. Its conditional repeated-row ceiling is 0.721. The absolute-position and combined encoders fit the length-2–3 context at 0.990–0.995 accuracy, as reported in Table 4.
Table 4: CLUTRR context fit and finite-population diagnostics. Results use 80 context examples per target relation. OOD diagnostics average lengths 4–10 equally. Conditional ceilings use only repeated-row mass and are undefined when every row is a singleton. Context accuracy is averaged across the same three paired context seeds used for OOD evaluation.
| Encoder | OOD ceiling | Singleton | Non-singleton | Conditional | Logistic | CATBOOST | TABPFN-3 |
|---|---|---|---|---|---|---|---|
| Relation multiset | 0.930 | 0.757 | 0.243 | 0.712 | 0.764 | 0.774 | 0.791 |
| Absolute position | 1.000 | 1.000 | 0.000 | – | 0.990 | 0.991 | 0.991 |
| Supported prefix + multiset | 0.998 | 0.991 | 0.009 | 0.721 | 0.994 | 0.995 | 0.995 |
The collision structure also changes with path length. The relation-multiset singleton mass increases from 0.453 at length 4 to 0.933 at length 10, whereas the absolute-position encoder has singleton mass 1.000 at every evaluated length. High finite-population ceilings therefore increasingly reflect query-level lookup as paths become longer.
Table 5 separates block addition, block alignment, and length exposure. The aligned and permuted conditions differ only in path-to-block assignment. The exposure intervention retains the same nested length-2–3 base in both arms and adds 20 examples per target relation from either lengths 2–3 or length 4.
Table 6 shows that the multiset-minus-absolute ordering holds across every declared classification endpoint. For log loss and Brier score, positive values denote the reduction obtained by the relation multiset.
The relation multiset outperforms absolute positions on 16 of 18 target relations for logistic regression and CATBOOST, and on 15 of 18 for TABPFN-3. Restricting evaluation to lengths 4–5, matching the magnitude of the GraphLog length shift, retains effects of . These analyses are robustness checks within one official population. The shared-parameter GRU uses a 32-dimensional relation embedding, 64 hidden units, one recurrent layer, and context-only early stopping. Its accuracy increases from 0.346 to 0.705 across the five context budgets and decreases
Table 5: Matched CLUTRR interventions. Block addition reports permuted absolute plus multiset minus multiset only, alignment reports permuted absolute plus multiset minus aligned absolute plus multiset, and length exposure replaces 20 additional length-2–3 examples with 20 length-4 examples. Positive values denote higher OOD accuracy for block addition and length exposure. For alignment, they denote the accuracy lost after restoring path-level alignment.
| Decoder | Block addition | Alignment | Exposure at L4 | Exposure at L5–10 |
|---|---|---|---|---|
| Logistic | -0.030 | 0.133 | +0.489 | -0.001 |
| CATBOOST | -0.017 | 0.092 | +0.372 | +0.010 |
| TABPFN-3 | +0.002 | 0.104 | +0.758 | +0.033 |
Table 6: CLUTRR metric robustness. Results use 80 context examples per target relation and are averaged equally across OOD lengths 4–10 and then across the three paired context seeds. Positive values favour the relation multiset.
| Decoder | Accuracy | Bal. acc. | Macro-F1 | Top-3 | Log loss | Brier |
|---|---|---|---|---|---|---|
| Logistic | +0.273 | +0.236 | +0.224 | +0.403 | +4.208 | +0.482 |
| CATBOOST | +0.163 | +0.132 | +0.155 | +0.293 | +2.002 | +0.459 |
| TABPFN-3 | +0.186 | +0.201 | +0.153 | +0.304 | +2.510 | +0.540 |
from 0.898 at length 4 to 0.527 at length 10 at the largest budget. These controls support the separation in Section 5.1 between row distinguishability, context fit, and short-to-long transfer.
C.3 GraphLog Complete Results and Decoder Sensitivities
All 57 GraphLog worlds use the same global vocabulary of 20 directed relation symbols. Encoder dimensionality and coordinate meaning therefore remain fixed across worlds. Table 7 provides the absolute balanced-accuracy levels behind Figure 3, together with the absolute levels for the dihedral boundary control.
Table 7: GraphLog and dihedral-control results. GraphLog reports equal-world macro balanced accuracy at the largest context budget, with the contrast defined as relation multiset minus absolute position. The dihedral control reports accuracy over the 16 symmetries of a regular octagon and has chance accuracy .
| Decoder | GraphLog | Dihedral control | |||
|---|---|---|---|---|---|
| Multiset | Absolute | Difference | Coarse | Absolute | |
| Logistic | 0.298 | 0.234 | +0.065 | 0.0618 | 0.0622 |
| CATBOOST | 0.125 | 0.282 | -0.157 | 0.0770 | 0.0643 |
| TABPFN-3 | 0.159 | 0.238 | -0.079 | 0.0614 | 0.0626 |
The multiset–absolute comparison is complemented by a blockwise alignment control. At 40 examples per class, the block-permuted-minus-aligned contrast is small for logistic regression, whereas both nonlinear decoders prefer the correctly aligned ordered block. Because the permutation removes both supported prefix coordinates and evaluation-only suffix coordinates, this contrast measures broad ordered-block dependence.
The 57 worlds draw subsets from 76 rules. Their mean pairwise rule-set Jaccard similarity is 0.230 and the maximum is 0.905. Similarity-cluster sensitivities preserve the direction of the logistic and nonlinear-decoder effects. Leave-cluster-out regressions based on rule overlap and simple world descriptors yield negative , indicating poor prediction of the observed encoder contrast from these descriptors. These checks describe robustness within the complete benchmark, with worlds treated as fixed benchmark units.
The class-reweighted ceilings used for the main GraphLog comparison are 0.965 for the relation multiset and 0.983 for absolute positions. Table 9 reports the capacity sweep. Every depth is rerun on all 57 worlds with the same context rows, evaluation queries, 500 trees, learning rate 0.05, and three seeds. Increasing depth raises context fit for both encoders while progressively reducing multiset evaluation accuracy. This pattern supports capacity-amplified overfitting of the multiset row under this CATBOOST configuration.
(a) Balanced accuracy

Logistic
CatBoost
TabPFN-3
(b) Encoder contrasts
Context rows per relation
Context-tuned CatBoost (40 rows)
Figure 7: GraphLog encoder effects across context budgets. (a) Equal-world macro balanced accuracy for the relation-multiset (solid) and absolute-position (dashed) encoders. (b) Relation-multiset-minus-absolute-position (solid) and block-permuted-minus-aligned (dashed) contrasts. The diamonds mark context-tuned CATBOOST at 40 rows for the two contrasts, drawn slightly to the right of the 40-row position. Context rows per relation are shown on a logarithmic axis.
Table 8: GraphLog row-equivalence diagnostics. Ordinary-accuracy ceilings and singleton mass are averaged equally across worlds at each OOD length. The main decoder results use macro balanced accuracy and the corresponding class-reweighted ceiling.
| Encoder | Ceiling L4 | Singleton L4 | Ceiling L5 | Singleton L5 |
|---|---|---|---|---|
| Length only | 0.290 | 0.000 | 0.269 | 0.000 |
| Relation multiset | 0.963 | 0.005 | 0.974 | 0.163 |
| Directed transitions | 0.981 | 0.007 | 0.990 | 0.188 |
| Absolute position | 0.981 | 0.007 | 0.992 | 0.188 |
| Absolute + multiset | 0.981 | 0.007 | 0.992 | 0.188 |
Table 9: GraphLog CATBOOST capacity sweep. Evaluation values are equal-world means of equal-length macro balanced accuracy over lengths 4–5. Context values are equal-world macro balanced accuracy. The effect is relation multiset minus absolute position.
| Depth | Eval. multiset | Eval. absolute | Effect | Context multiset | Context absolute | Multiset at/below chance |
|---|---|---|---|---|---|---|
| 1 | 0.201 | 0.271 | -0.070 | 0.830 | 0.910 | 5 |
| 2 | 0.169 | 0.264 | -0.096 | 0.930 | 0.980 | 9 |
| 3 | 0.150 | 0.263 | -0.112 | 0.945 | 0.988 | 20 |
| 4 | 0.138 | 0.268 | -0.129 | 0.947 | 0.990 | 25 |
| 5 | 0.129 | 0.278 | -0.149 | 0.948 | 0.991 | 25 |
| 6 | 0.126 | 0.282 | -0.156 | 0.948 | 0.991 | 27 |
| 7 | 0.125 | 0.282 | -0.157 | 0.948 | 0.991 | 30 |
At 40 examples per class, multiset and absolute-position performance are at or below each world's chance level in 0 and 3 worlds for logistic regression, 30 and 1 for depth-7 CATBOOST, and 12 and 4 for TABPFN-3.
C.4 Dihedral Boundary Control
The independent control samples ten generated populations over the 16 symmetries of a regular octagon. Context sequences have lengths 2–3, evaluation sequences have lengths 4–10, and the ordered group product is the target. The absolute-position encoder preserves the element at each sequence position. The coarse encoder removes order and merges elements separated by four rotations, so it discards both ordering information and part of the group-element identity.
Across generated populations, the 95% sensitivity ranges for coarse-minus-absolute accuracy are [-0.0028, 0.0020], [0.0106, 0.0147], and [-0.0042, 0.0023] for logistic regression, CATBOOST, and TABPFN-3. Both encoders remain at or near chance apart from the small CATBOOST contrast. The 257-column directed-transition encoder also remains at floor, reaching 0.0622/0.0617/0.0648 for the three decoders. This boundary control limits the CLUTRR interpretation: when coarsening also removes task-relevant identity, both representations remain at floor apart from the small CATBOOST contrast.
D Knowledge Graph Panel
This section documents the panel, encoders, context constructions, and attribution checks underlying Section 5.3 and Section 5.4. The presentation separates the fixed evaluation protocol from the encoder and context variants so that every reported contrast can be traced to one changed component.
D.1 Panel Composition and Evaluation Protocol
The panel contains 57 knowledge graphs grouped into 16 metric-free provenance families. Family assignment follows source lineage and is independent of decoder outcomes. Table 10 lists the complete panel.
Table 10: Summary of the 57-KG panel. Dataset names reproduce the fixed asset identifiers. Provenance families define the equal-weight aggregation and resampling units used in the main analysis.
| Family | Dataset identifiers |
|---|---|
| AristoV4 | aristov4 |
| CoDEx | codex_large, codex_medium, codex_small |
| ConceptNet100K | conceptnet100k |
| DBpedia100K | dbpedia100k |
| FB15k-237 | fb15k237, fb15k237_10, fb15k237_20, fb15k237_50, fb15k237_ind_v1, fb15k237_ind_v2, fb15k237_ind_v3, fb15k237_ind_v4, fb_ingram_25, fb_ingram_50, fb_ingram_75, fb_ingram_100 |
| FBNELL | fbnell |
| Hetionet | hetionet |
| H&M | hm_1k, hm_3k, hm_5k, hm_indigo |
| ILPC2022 | ilpc2022_large, ilpc2022_small |
| MetaFam | metafam |
| NELL | nell123k,nell1995,nell_ind_v1,nell_ind_v2,nell_ind_v3,nell_ind_v4, nl_ingram_0, nl_ingram_25, nl_ingram_50, nl_ingram_75, nl_ingram_100 |
| WDSinger | wdsinger |
| Wiki-Topics | wiki_mt1_health, wiki_mt1_tax, wiki_mt2_org, wiki_mt2_sci, wiki_mt3_art, wiki_mt3_infra, wiki_mt4_health, wiki_mt4_sci |
| WK-InGram | wk_ingram_25, wk_ingram_50, wk_ingram_75, wk_ingram_100 |
| WN18RR | wn18rr, wn18rr_ind_v1, wn18rr_ind_v2, wn18rr_ind_v3, wn18rr_ind_v4 |
| YAGO3-10 | yago310 |
For each dataset and seed, the source pool for the complete encoder ladder contains 400 positives sampled without replacement from the official held-out target triples and 400 endpoint corruptions that retain the positive relation. The budgets of 20, 50, 100, and 200 examples per binary class are deterministic nested subsets. No relation is dropped or duplicated to satisfy a per-relation quota. These baseline corruptions are not guaranteed to exclude every known positive triple and are distinct from the explicitly filtered condition in Appendix D.7.
The largest 400-row local context matches the inference-time local-context size of TFMLinker [20], which uses 200 positive and 200 negative local rows together with 80 learned global prototypes. Our setup retains the 400-row local context while freezing upstream models and auditing labelled target-graph context, leaving the learned cross-graph prototypes outside the comparison.
A lower-bound audit finds that 32 base negative rows coincide with one of the selected 64-query evaluation positives (0.047% of the 68,400 base negative rows). After expansion over the four nested context budgets, 19 selected incidences occur across 8 of 684 dataset–seed–budget cells, corresponding to 0.030% of selected negative-row incidences. This audit covers overlap with the sampled evaluation positives.
Constructed features and frozen ULTRA scores use only the observed support graph, which excludes every held-out target triple. Neither the queried target edge nor an artificial inverse copy is inserted when constructing its row, while naturally observed reverse-relation edges remain available. Across all 684 dataset–seed–budget contexts, selected positive context triples and the 64 sampled evaluation triples have zero overlap. Evaluation samples 64 official test triples stratified by relation and ranks both head and tail prediction against all entities under standard filtered masks. Every paired comparison uses the same queries, candidates, filtering, and tie handling.
Let denote the query-averaged metric for dataset d and seed s, and let be the datasets assigned to provenance family f. The equal-family estimate is
Equation (8) prevents large provenance families from dominating the panel average. Provenance families are also the resampling and sign-flip units.
Because eight of the sixteen families contain a single dataset, we report equal-dataset aggregation alongside the registered equal-family estimand. For the full-TABPFN-3 minus native-ULTRA contrast, the equal-family mean is +0.006 and the equal-dataset mean is -0.035. Their medians are -0.034 and -0.039. Dataset wins/ties/losses are 5/4/48 under the declared ±0.005 band. The leave-one-family-out range is [-0.041,+0.015], and removing MetaFam yields -0.041. These are fixed-panel sensitivities.
D.2 Query-Relative Pointwise Control
The tabular decoders are trained as pointwise binary classifiers on a shared labelled context but are evaluated by filtered ranking within each directional query. Their training loss targets pointwise classification, whereas MRR depends on within-query candidate ordering; classification and ranking losses therefore require distinct analyses [21]. Cross-query calibration is irrelevant to MRR, which is computed separately within each query. We therefore repeat the 200-per-class comparison using two label-free, query-relative feature maps. For each numerical column, within-query z-score subtracts the group mean and divides by its standard deviation, mapping constant columns to zero. Within-query percentile replaces values by tie-aware midranks scaled to [0, 1]. The maps are applied independently to every directional group: a context group contains a source positive and its paired endpoint corruption, while an evaluation group contains all entity candidates for one head- or tail-prediction query. Thus context labels and evaluation targets are never used by the transformation.
The control crosses the raw, z-score, and percentile maps with the Local, score, and Local + score encoders and all three decoders, using the same 57 datasets, three seeds, pool-random positive contexts with filtered-uniform negatives, queries, candidates, and ranking masks. These positive contexts differ from the evaluation-relation-matched positive contexts used in Table 15. Because an affine or rank transform of the one-column frozen score is order preserving within each query, score-only logistic regression must reproduce native ULTRA whenever the fitted coefficient has positive orientation. Exact native-rank equality is checked cell by cell. The remaining contrasts test whether query-relative inputs remedy the mismatch for a nonlinear or multivariate pointwise readout.
Table 11 reports all 4,617 completed cells. Within-query scaling improves the Local row for logistic regression, but not the multivariate Local + score row. It lowers MRR for all six CATBOOST transformations and all six TABPFN-3 transformations. All six CATBOOST reductions and five of the six TABPFN-3 reductions remain supported after joint correction. The remaining TABPFN-3 percentile contrast is negative but does not survive the correction. For score-only logistic regression, all 171 dataset–seed cells reproduce native ULTRA exactly under every map, covering 21,888 directional query rankings per map. These controls show that the effect of query-relative scaling is decoder-specific. The analysis is scoped to the tested pointwise readouts under the fixed ranking protocol.
D.3 Positive-Context Relation Coverage
We additionally vary the positive context while keeping its size and the evaluation queries fixed. Pool-random positives are sampled from the available source pool, whereas evaluation-relation-matched positives are selected to better match the relation distribution of the evaluation queries. Relation matching increases equal-family relation-type coverage from 0.667 to 0.871 and relation-mass coverage from 0.693 to 0.891, while reducing the total-variation distance between context and evaluation relation distributions from 0.447 to 0.190.
Table 11: Query-relative control. Entries are equal-family MRR. Parentheses report the transformed-minus-raw effect. Z-score and percentile maps are applied by the same label-free rule to context groups and evaluation candidate blocks.
| Decoder | Encoder | Raw | Within-query z-score | Within-query percentile |
|---|---|---|---|---|
| Logistic | Local | 0.198 | 0.279 (+0.081) | 0.274 (+0.076) |
| Score | 0.335 | 0.335 (0.000) | 0.335 (0.000) | |
| Local + score | 0.326 | 0.285 (-0.041) | 0.274 (-0.053) | |
| CATBOOST | Local | 0.245 | 0.199 (-0.046) | 0.181 (-0.064) |
| Score | 0.299 | 0.006 (-0.293) | 0.004 (-0.295) | |
| Local + score | 0.301 | 0.159 (-0.142) | 0.145 (-0.156) | |
| TABPFN-3 | Local | 0.265 | 0.002 (-0.262) | 0.142 (-0.123) |
| Score | 0.329 | 0.002 (-0.326) | 0.186 (-0.142) | |
| Local + score | 0.387 | 0.002 (-0.384) | 0.222 (-0.165) |
Despite these large changes in relational coverage, the corresponding MRR effects are generally modest across the tested encoder and decoder configurations. Among the 12 evaluation-relation-matched-minus-pool-random contrasts, only the CATBOOST local encoder without relation identity remains supported after the joint multiple-comparison correction, with an equal-family MRR change of +0.0139 (). Increasing relation coverage therefore changes the labelled support substantially, while the corresponding MRR effects remain modest.
D.4 Relation-Identity Ablation
Because the Local encoder includes relation identity whereas the entity-token control does not, we separately remove the relation-identity column and repeat the matched comparisons across decoders, upstream-score conditions, and positive-context constructions. Across the relation-identity contrasts, the absolute equal-family MRR effect never exceeds 0.0031, and none remains supported after the joint max-|t| correction. The relation-identity column therefore accounts for little of the observed local-versus-identifier difference under these matched conditions.
D.5 Encoder Schemas
Table 12 defines the nine encoders used in the complete encoder ladder and in the matched additions reported in Section 5.3.
Table 12: Graph-to-table encoder schemas. The nine encoders are grouped by the evidence exposed by their columns. Composite encoders concatenate the named blocks without recomputation and inherit the icons of their constituent evidence families.
| Encoder | Dim. | Columns or blocks |
|---|---|---|
| # | Entity tokens | 2 Dataset-scoped head and tail tokens |
| ↔ | Dyadic | 3 Other-relation pair count, reverse-pair count, same entity |
| ↔ | Paths | 4 Two-hop, start-relation, end-relation, reverse-two-hop counts |
| ↔ | Local | 18 Relation identity; endpoint, relation, pair, path, community statistics |
| ⊕ | Global | 13 PageRank, component, heat, diffusion |
| ✿ | ULTRA score | 1 Frozen ULTRA-4G candidate score |
| ↔ | Local + global | 31 18 local ⊕ 13 global |
| ↔ | Local + score | 19 18 local ⊕ frozen score |
| ↔ | Full table | 32 18 local ⊕ frozen score ⊕ 13 global |
= opaque identifiers; ↕ = local relational structure; ⊕ = global topological and spectral structure; ✦ = learned-model score.
The 18 local columns are relation identity; total in- and out-degree for each endpoint; head relation-out and tail relation-in degree; relation frequency, functionality, and inverse functionality; other-relation pair and reverse-pair counts; two-hop, start-relation, end-relation, and reverse-two-hop counts; shared community assignment; and community relation density. The 13 global columns are head and tail PageRank, membership in the same weakly connected component, head and tail log component fraction, and truncated low-frequency heat-projector similarity and diffusion distance at . The community and weak-component indicators are distinct, and no column is duplicated.
D.6 Complete Encoder Ladder
Table 13 reports the absolute TABPFN-3 levels behind the nested comparisons in Section 5.3. Dyadic evidence captures much of the narrow endpoint-pair signal, paths improve with context but remain weaker in aggregate, global features alone remain limited, and the frozen score is the strongest individual feature group. Composite levels combine these sources and are therefore interpreted through the paired additions in Appendix D.8.
Table 13: TABPFN-3 performance across the encoder ladder. Entries report equal-family MRR under filtered candidate evaluation on the 57-KG panel. The unfiltered-uniform context negatives are target-excluding endpoint corruptions and are not filtered by the all-known-positive mask. Contexts contain 20, 50, 100, or 200 examples per binary class.
| Encoder | 20 | 50 | 100 | 200 |
|---|---|---|---|---|
| Dataset-scoped entity IDs | 0.002 | 0.002 | 0.003 | 0.004 |
| Dyadic | 0.119 | 0.136 | 0.149 | 0.152 |
| Paths | 0.064 | 0.068 | 0.071 | 0.076 |
| Local | 0.167 | 0.208 | 0.228 | 0.237 |
| Global | 0.053 | 0.059 | 0.069 | 0.068 |
| ULTRA score | 0.299 | 0.305 | 0.307 | 0.301 |
| Local + global | 0.134 | 0.189 | 0.217 | 0.233 |
| Local + score | 0.297 | 0.323 | 0.334 | 0.336 |
| Full | 0.287 | 0.321 | 0.339 | 0.341 |
D.7 Negative-Context Construction and Audit Checks
The context-robustness experiment fixes 200 positive and 200 negative context rows for each dataset and seed. Context positives and the 64 sampled evaluation triples are disjoint. Positive rows and evaluation queries are identical across the two negative-context conditions.
Filtered-uniform negatives replace the missing endpoint with a uniformly sampled candidate excluded by the all-known-positive mask. Structurally plausible negatives first restrict candidates to the appropriate relation-specific endpoint role and, when possible, the same graph partition as the fixed endpoint. They then sample among the 32 closest candidates under relative in- and out-degree. Empty role and partition pools trigger explicit fallbacks, observed for 1,399 and 14,446 selected negatives (4.1% and 42.2% of the 34,200). The selector uses only the graph-based criteria above. Its selected negatives nevertheless receive a mean frozen score of -1.238, compared with -6.929 under filtered-uniform sampling, indicating that the two conditions differ in upstream-model difficulty despite sharing positives and evaluation.
All 171 dataset–seed context audits contain zero known-positive negative rows, and all positive-row hashes agree between conditions. Evaluation indices, candidate sets, and filtered masks are unchanged. The paired contrast therefore isolates the negative context distribution.
The complete encoder ladder in Table 13 uses endpoint corruptions without an all-known-positive rejection step, whereas the context-robustness experiment uses filtered negatives. We isolate filtering with a separate matched asset constructed from one deterministic corruption stream. Across its unfiltered and filtered arms, positive rows, directional query identities, seeds, evaluation candidates, masks, targets, and feature schemas are identical. Only rejection of candidates in the all-known-positive set changes. The unfiltered arm contains 456 known-positive negatives among 34,200 rows (1.33%), distributed across 88 of 171 dataset–seed contexts. Contamination reaches 39.5% for one seed of nell_ind_v1. We rerun TABPFN-3 on the Local, score, and Local + score encoders in all 1,026 matched cells.
Filtering yields a modest +0.0081 equal-family improvement for Local, with sensitivity , but it falls just outside the jointly corrected threshold ( ). The score-containing effects are smaller and unsupported. The contamination audit is therefore operationally important, especially for NELL-ind-v1, while the matched filtering effects are substantially smaller than the cross-table differences of 0.030–0.055 MRR.
Table 14: Matched all-known-positive filtering control. The effect is filtered-uniform minus unfiltered-uniform at 200 examples per class. Levels and effects are MRR; sensitivities resample the 16 provenance families. The last column is the exact family-level max-|t| correction across the three contrasts.
| Encoder | Unfiltered | Filtered | Equal-family | Equal-dataset | 95% sensitivity | |
|---|---|---|---|---|---|---|
| Local | 0.257 | 0.265 | +0.0081 | +0.0056 | [-0.0022, +0.0147] | 0.0578 |
| Score | 0.326 | 0.329 | +0.0022 | +0.0021 | [-0.0022, +0.0074] | 0.7739 |
| Local + score | 0.387 | 0.387 | -0.0007 | +0.0040 | [-0.0085, +0.0062] | 0.9972 |
D.8 Paired Context and Encoder Effects
Table 15 gives the absolute equal-family levels associated with Figure 4. The best decoder depends on the encoder. Logistic regression is strongest for the score-only row, while TABPFN-3 is strongest for local and local-plus-score rows under both context constructions.
Table 15: Context-robustness results. Entries report equal-family MRR at 200 examples per class for filtered-uniform and structurally plausible negative contexts. Evaluation-relation-matched positive rows and evaluation queries are identical across conditions. Bold indicates the best decoder within each encoder and context.
| Encoder | Filtered uniform | Structurally plausible | ||||
|---|---|---|---|---|---|---|
| Logistic | CATBOOST | TABPFN-3 | Logistic | CATBOOST | TABPFN-3 | |
| Local | 0.199 | 0.262 | 0.267 | 0.179 | 0.199 | 0.213 |
| Score | 0.335 | 0.299 | 0.332 | 0.301 | 0.197 | 0.245 |
| Local + score | 0.328 | 0.310 | 0.391 | 0.262 | 0.261 | 0.269 |
For each contrast , let be its mean paired effect within provenance family . The exact multiple-comparison procedure enumerates all family-level sign assignments, recomputes the one-sample -statistic for every contrast, and records . The adjusted in Table 16 is the fraction of sign assignments whose maximum statistic is at least as large as the observed . This preserves the family as the inferential unit and controls the 30 tested panel contrasts jointly.
Table 16: Paired encoder effects. Effects are equal-family MRR with 95% provenance-family bootstrap sensitivity intervals. Positive values favour the first term in each contrast. Dataset wins, ties, and losses use a band. The final column reports the exact max-|t| family-level sign-flip correction across 30 contrasts.
| Contrast | Context | Decoder | Effect | 95% sensitivity | W/T/L | |
|---|---|---|---|---|---|---|
| Local minus entity IDs | Filtered uniform | Logistic | +0.197 | [-0.117, +0.314] | 57/0/0 | 0.018 |
| Filtered uniform | CATBOOST | +0.258 | [-0.177, +0.372] | 57/0/0 | 0.002 | |
| Filtered uniform | TABPFN-3 | +0.262 | [-0.184, +0.378] | 57/0/0 | 0.001 | |
| Structural | Logistic | +0.177 | [-0.097, +0.301] | 57/0/0 | 0.045 | |
| Structural | CATBOOST | +0.194 | [-0.118, +0.314] | 57/0/0 | 0.019 | |
| Structural | TABPFN-3 | +0.208 | [-0.128, +0.329] | 57/0/0 | 0.013 | |
| Score added to local | Filtered uniform | Logistic | +0.129 | [-0.093, +0.162] | 56/0/1 | <0.001 |
| Filtered uniform | CATBOOST | +0.048 | [-0.033, +0.065] | 48/3/6 | <0.001 | |
| Filtered uniform | TABPFN-3 | +0.124 | [-0.096, +0.152] | 54/3/0 | <0.001 | |
| Structural | Logistic | +0.083 | [-0.041, +0.129] | 41/0/16 | 0.017 | |
| Structural | CATBOOST | +0.061 | [-0.030, +0.096] | 36/5/16 | 0.018 | |
| Structural | TABPFN-3 | +0.056 | [-0.023, +0.092] | 38/3/16 | 0.051 | |
| Local added to score | Filtered uniform | Logistic | -0.007 | [-0.065, +0.095] | 4/6/47 | 1.000 |
| Filtered uniform | CATBOOST | +0.012 | [-0.054, +0.125] | 10/2/45 | 1.000 | |
| Filtered uniform | TABPFN-3 | +0.059 | [-0.005, +0.158] | 28/12/17 | 0.978 | |
| Structural | Logistic | -0.039 | [-0.115, +0.076] | 10/3/44 | 1.000 | |
| Structural | CATBOOST | +0.064 | [-0.003, +0.168] | 39/3/15 | 0.955 | |
| Structural | TABPFN-3 | +0.024 | [-0.038, +0.128] | 18/6/33 | 1.000 |
Table 16 formalises the asymmetry discussed in Section 5.3. Adding the frozen score to local features is positive in all six conditions and remains supported in five after joint correction. Adding local features to the score is smaller and unstable, with no adjusted contrast supported. The direction of a feature addition must therefore be retained when interpreting nested encoders.
Table 17: Effect of negative-context construction. Filtered-uniform negatives are replaced with structurally plausible negatives while positive rows and evaluation queries remain fixed. Entries report equal-family MRR with provenance-family bootstrap sensitivity intervals and dataset wins, ties, and losses under a band. Positive values favour the structurally plausible context.
| Encoder | Decoder | Effect | 95% sensitivity | W/T/L |
|---|---|---|---|---|
| Local | Logistic | -0.020 | [-0.032,-0.010] | 10/8/39 |
| CATBOOST | -0.063 | [-0.084,-0.042] | 4/2/51 | |
| TABPFN-3 | -0.054 | [-0.075,-0.033] | 6/3/48 | |
| Score | Logistic | -0.033 | [-0.073,-0.005] | 0/45/12 |
| CATBOOST | -0.102 | [-0.144,-0.060] | 8/1/48 | |
| TABPFN-3 | -0.086 | [-0.132,-0.043] | 4/13/40 | |
| Local + score | Logistic | -0.066 | [-0.102,-0.032] | 10/4/43 |
| CATBOOST | -0.050 | [-0.087,-0.014] | 13/1/43 | |
| TABPFN-3 | -0.122 | [-0.164,-0.081] | 1/2/54 |
Table 17 shows that structurally plausible negatives lower MRR for every informative encoder–decoder combination. The identifier baselines change by less than 0.001 and are omitted from the table. Since positives and evaluation remain fixed, these effects quantify sensitivity to the negative-context construction .
D.9 Upstream-Score Lineage and Native-Ranking Checks
The frozen ultra_4g checkpoint was pretrained on FB15k-237, WN18RR, CoDEx-Medium, and NELL-995. These lineages occur in the 57-KG panel. Comparisons involving the frozen score therefore audit a fixed upstream model on a panel that includes some of its pretraining lineages.
As a direct-lineage sensitivity, we remove the CoDEx, FB15k-237, FBNELL, NELL, and WN18RR provenance families. The local-versus-identifier and score-given-local effects remain positive in every retained family. This sensitivity specifically addresses known dataset lineage.
For score-only logistic regression, every fitted coefficient has positive orientation. Ranking the original ULTRA score directly consequently preserves its ordering and ties by construction. The complete rerun verifies exact equality between logistic and native ranks across all 684 combinations of dataset, context budget, and seed, with maximum rank difference zero.
Table 18: Attribution and sensitivity checks for the frozen ULTRA score. Effects report equal-family MRR differences. Dataset and family counts indicate how often TABPFN-3 with the Full encoder performs below native ULTRA ranking. A dash denotes a quantity not used in the corresponding comparison.
| Comparison | Effect | 95% sensitivity | Datasets below native | Families below native |
|---|---|---|---|---|
| Global added after local + score | +0.005 | [-0.001,+0.010] | - | - |
| Full TABPFN-3 minus native ULTRA | +0.006 | [-0.053,+0.108] | 48/57 | 14/16 |
| Full minus native, excluding MetaFam | -0.041 | - | - | - |
Table 18 provides the attribution checks summarised in Section 5.3. Global PageRank, component, heat, and diffusion features add only +0.005 once the score is present and do not remain supported after correction. TABPFN-3 with the Full encoder underperforms native ranking on 48 of 57 datasets and 14 of 16 families. Its positive aggregate contrast is driven by MetaFam and becomes -0.041 when that family is excluded.
A paired sensitivity analysis using 512 sampled test triples per dataset preserves the sign of all five panel-level encoder contrasts used in the paper. Mean changes relative to the 64-triple evaluation range from -0.0015 to +0.0064 MRR. The 64-triple sample is therefore used for paired panel conclusions.
D.10 Query-Evidence Strata
Section 5.4 groups directional evaluation queries by endpoint connectivity in the observed support graph. For query , let when the support graph contains at least one observed edge with , and let be defined analogously for . The held-out target edge is removed before these indicators are computed.
Table 19: Endpoint-connectivity strata. and indicate whether another observed relation connects the endpoints in the corresponding direction after removing the held-out target edge. Counts cover the 7,296 directional queries obtained from head and tail prediction for 64 test triples in each of 57 knowledge graphs. Percentages are computed over the fixed panel.
| Group | Queries | Share | ||
|---|---|---|---|---|
| Both directions | 1 | 1 | 244 | 3.3% |
| Reverse only | 0 | 1 | 964 | 13.2% |
| Direct only | 1 | 0 | 414 | 5.7% |
| No pair edge | 0 | 0 | 5,674 | 77.8% |
The Dyadic encoder contains other-relation pair count, reverse-pair count, and a same-entity indicator. The Paths encoder contains bounded two-hop and relation-conditioned path counts. The Local encoder combines these groups with relation, endpoint-degree, and community features. Figure 8 reports equal-family reciprocal rank within each stratum under the same evaluation queries, context, and seeds.
The connected strata contain 1,622 queries in total. Dyadic features outperform Paths when direct or reverse pair evidence is present. The no-pair-edge stratum contains 5,674 queries, for which Dyadic reciprocal rank falls to 0.001–0.002, Paths reaches 0.045–0.052, and Local reaches 0.043–0.094. These fixed-panel comparisons identify where feature groups carry predictive evidence and remain descriptive at the feature-group level.
(a) Logistic

(b) CatBoost
(c) TabPFN-3
Figure 8: Reciprocal rank by observed endpoint connectivity. Panels (a)–(c) report equal-family MRR across 57 knowledge graphs for logistic regression, CATBOOST, and TABPFN-3. Queries are grouped as both directions, reverse only (candidate tail to head), direct only (head to candidate tail), or no pair edge after removing the held-out target edge. Within each group, bars report the Dyadic, Paths, and Local encoders from top to bottom. Error bars show 95% provenance-family bootstrap sensitivity intervals.
E Exploratory Analyses
The main analysis attributes performance through matched decoder comparisons. This section complements the paper’s pre-specified contrasts with post-hoc analyses of shared difficulty and query heterogeneity. These analyses provide additional context for the interpretations in Section 5.3 and Section 5.4.
every graph in (pool size, best-column AUC) space

Figure 9: Context separability and candidate-pool size across the 57-KG panel. Each point denotes one knowledge graph under the filtered-uniform context with 200 examples per class. The horizontal axis reports candidate-pool size on a logarithmic scale, the vertical axis reports the strongest oriented single-column context ROC-AUC, and colour indicates observed TABPFN-3 MRR. Curves show equal values of the context-predicted rank.
E.1 Context-Based Rank Heuristic
For numeric column , let and denote the numbers of positive and negative context rows. We compute its context separation as
where and are the values of column j for positive and negative context rows. We remove orientation by setting . With m the mean number of valid evaluation candidates per query, we define
Equation (10) combines the strongest single-column separation observed in the labelled context with candidate-set size. It is a descriptive difficulty heuristic. It uses only labelled-context features and candidate-set size, excluding constant and nominal identifier columns.
Figure 9 shows the two quantities entering the heuristic. Graphs with similar single-column separation can differ in predicted difficulty because they rank different numbers of candidates, while stronger separation can offset a larger candidate pool.
Applied without refitting at 200 examples per class, Equation (10) orders observed mean rank for TABPFN-3 at Spearman 0.957 across 455 dataset–encoder strata. The corresponding correlations are 0.973 for logistic regression and 0.957 for CATBOOST. Of the 456 possible numeric dataset–encoder strata, wiki_mt2_org with the Dyadic encoder is excluded because all three numerical columns are constant across all three seeds. Figure 10 shows that the same envelope holds when the strata are separated by decoder.
The heuristic captures a substantial component of shared difficulty, while encoder and decoder selection remain separate questions. None of the 56 benchmark-summary–configuration associations survives the joint max- family-permutation sensitivity, and leave-one-family-out selectors do not improve on their in-fold majority baseline.
E.2 Single-Column Context Separability
The column-level analysis in Figure 11 follows the evidence-family taxonomy in Table 12 and helps explain why the frozen score remains useful when added to local features. It is the strongest

Figure 10: Transport of the context-predicted rank. Panel (a) compares predicted and observed mean rank across 455 dataset–encoder strata for TABPFN-3; the solid curve and band summarise the observed strata. Panel (b) shows the same predicted-versus-observed comparison separately for TABPFN-3, logistic regression, and CATBOOST, left to right. Ranks are expressed as a percentage of the candidate pool on logarithmic axes, and dashed diagonals denote equality.
individual context separator on 55 of 57 graphs, whereas most constructed local and global columns lie closer to chance. This is a single-column diagnostic, while the main results concern multivariate and query-conditional effects beyond the strongest individual separator.
every input column's separability, ranked

Figure 11: Single-column context separability across the 57-KG panel. Oriented ROC-AUC for every column of the Full encoder at 200 examples per class. Each point denotes one knowledge graph and heavy ticks denote column medians. Columns are ordered by median separability and grouped into the frozen ULTRA score, local relational structure, and global topological or spectral structure. The dashed reference marks chance separation at 0.5.
E.3 Query-Level Variance and Structural Difficulty
The endpoint-connectivity analysis in Section 5.4 conditions on graph evidence available before prediction. We additionally describe how much reciprocal-rank variation is associated with query identity and the remaining experimental factors. A sequential group-mean decomposition is computed in the declared order query, encoder, decoder, context, and seed. Median shares across datasets are 0.250, 0.147, 0.003, 0.001, and less than 0.001, with 0.581 residual. Because the decomposition is sequential, these values are order-dependent descriptions.
The query–decoder interaction adds only 0.028 median explained variance, with maximum 0.076. This provides limited evidence for per-query decoder selection under the present experimental setup. Within datasets, target-side relation degree correlates positively with reciprocal rank at to , while anchor-side relation degree correlates negatively at to . MetaFam is the only dataset in which both directions reverse.

Figure 12: Query-level variance and structural difficulty across the 57-KG panel. Panel (a) reports the sequential reciprocal-rank shares assigned to query identity, encoder, decoder, context, and seed, together with the residual share and the additional query–decoder interaction. The context and seed shares are combined only for display. Panel (b) reports within-dataset Spearman correlations between reciprocal rank and target- or anchor-side relation degree. The decomposition in panel (a) is descriptive and order-dependent.
F Audit Reporting Checklist
Table 20 condenses the comparisons used throughout the paper into a reporting checklist. It links each attribution question in Section 3 to the failure mode that an end-to-end score would leave unresolved.
Table 20: Reporting checklist for graph-to-table audits. Each row links an attribution question to the failure left unresolved by an end-to-end score and the minimum matched comparison required to address it.
| Question | Failure to avoid | Required comparison |
|---|---|---|
| Choose an encoder | Unique but non-reusable rows | Ceiling and singleton mass, with identifier relabelling where relevant |
| Add a feature group | Supported shortcut or nuisance information | Base, permuted, and aligned encoders |
| Choose a decoder | Decoder-specific encoder ranking | Same rows, context, and evaluation across decoders |
| Add an upstream score | Gain credited to the tabular readout | Nested encoders and native graph-model ranking |
| Interpret an average gain | Opposing query regimes hidden by averages | Paired query analysis grouped by observed graph evidence |
G Reproducibility
G.1 Decoder Configurations
We report the default fixed decoder configurations used unless a decoder parameter is explicitly varied in a sensitivity analysis. Logistic regression uses StandardScaler fitted on context rows followed by logistic regression. CATBOOST uses 500 iterations, depth 7, learning rate 0.05, and log loss. TABPFN-3 uses package version 8.1.0, the TabPFN-3 classifier checkpoint pinned by SHA-256 in the artefact, four estimators, fit_with_cache, and prediction batches capped at 50,000 rows. Automatic estimator scaling is disabled. A context-only sensitivity tunes logistic and CATBOOST depth crossed with leaf regularisation . Hyperparameter selection uses context data only.
G.2 Categorical Encoding and Ranking
We next document the decoder-specific transformations applied after the shared feature matrices are constructed. In the context-robustness experiment, relation ID and the same-partition indicator are treated as nominal for every decoder. Logistic regression uses one-hot encoding, CATBOOST uses native categorical features, and TABPFN-3 receives categorical indices. The same-partition value is a binary indicator of whether the two entities share a partition. Scaling and categorical transformations are fitted on context rows only.
Ranking uses the least-compressed positive-class score exposed by each decoder. For logistic regression with the one-column ULTRA-score encoder, the fitted coefficient determines orientation and the original upstream score is ranked directly, preserving native ties exactly. Every paired decoder comparison receives identical feature matrices, labels, context indices, and evaluation indices.
G.3 Recorded Artefacts and Statistical Units
We finally record the artefacts and replication units used to reproduce the reported estimates. The composition and 57-KG experiments record source revisions, model identities, seed streams, feature schemas, context and evaluation hashes, and prediction checksums. Reported uncertainty uses the replication unit declared in the corresponding experimental section, with graph, world, or provenance-family units.
GenAI Usage Statement
We used generative AI tools to assist with manuscript revision, experiment planning, and implementation of additional analysis code. All AI-assisted code was reviewed and tested, numerical results were regenerated under frozen experimental plans, and AI-assisted text and claims were checked and revised by the authors. The authors take full responsibility for the final manuscript and accompanying artefacts.