A Theory of Random Graph Shift in Truncated-Spectrum vRKHS
Organizations: Department of Computer Science, University of Manchester, UK · Department of Computer Science, Aalto University, Finland · ELLIS Institute Finland
Abstract
This paper develops a theory of graph classification under domain shift through a random-graph generative lens, where we consider intra-class graphs sharing the same random graph model (RGM) and the domain shift induced by changes in RGM components. While classic domain adaptation (DA) theories have well-underpinned existing techniques to handle graph distribution shift, the information of graph samples, which are itself structured objects, is less explored. The non-Euclidean nature of graphs and specialized architectures for graph learning further complicate a fine-grained analysis of graph distribution shifts. In this paper, we propose a theory that assumes RGM as the data generative process, exploiting its connection to hypothesis complexity in function space perspective for such fine-grained analysis. Building on a vector-valued reproducing kernel Hilbert space (vRKHS) formulation, we derive a generalization bound whose shift penalty admits a factorization into (i) a domain discrepancy term, (ii) a spectral-geometry term summarized by the accessible truncated spectrum, and (iii) an amplitude term that aggregates convergence and construction-stability effects. We empirically verify the insights on these terms in both real data and simulations.
Figures & tables
Appendix figures & tables25 assets
Supplementary material from the paper’s appendix.
Appendix
| Notation | Description |
|---|---|
| Graphs and basic objects | |
| A graph with node set , edge set , node features (rows ), and adjacency/weight matrix (entries ). | |
| Number of nodes; node feature dimension. | |
| Degree of node (number of incident edges). | |
| Simplified notation when node/edge sets are implicit. | |
| Norms, Lipschitzness, and function spaces | |
| Subgroup | # Graphs | mean nodes | mean edges | min nodes | max nodes | Feat. dim. | Label hist. (0/1) |
|---|---|---|---|---|---|---|---|
| PTC_FM | 349 | 14.112 | 28.968 | 2 | 64 | 18 | 206 / 143 |
| PTC_MM | 336 | 13.973 | 28.643 | 2 | 64 | 20 | 207 / 129 |
| PTC_FR | 351 | 14.558 | 30.006 | 2 | 64 | 19 | 230 / 121 |
| PTC_MR | 344 | 14.288 | 29.384 | 2 | 64 | 18 | 192 / 152 |
| dataset | MUTAG | PTC | PROTEINS | NCI1 | NCI109 | COLLAB | IMDB-B | IMDB-M |
|---|---|---|---|---|---|---|---|---|
| size | 188 | 344 | 1113 | 4110 | 4127 | 5000 | 1000 | 1500 |
| classes | 2 | 2 | 2 | 2 | 2 | 3 | 2 | 3 |
| avg node # | 17.9 | 25.5 | 39.1 | 29.8 | 29.6 | 74.4 | 19.7 | 13 |
| Split | #Graphs | Nodes (mean std) | Edges (mean std) | Density (mean std) | Label 0 ratio | Label 1 ratio |
|---|---|---|---|---|---|---|
| M0 | 1084 | 52.6153 28.1772 | 104.6328 34.6927 | 0.045216 0.012618 | 0.4483 | 0.5517 |
| M1 | 1084 | 31.0268 2.6188 | 65.3948 7.6232 | 0.070414 0.005084 | 0.6771 | 0.3229 |
| M2 | 1084 | 23.2094 2.5559 | 47.7823 6.8632 | 0.093360 0.009128 | 0.6236 | 0.3764 |
| M3 | 1084 | 14.4437 3.3299 | 28.3967 7.5115 | 0.155783 0.047771 | 0.4649 | 0.5351 |
| Methods | M0 M1 | M0 M2 | M0 M3 | M1 M2 | M1 M3 | M2 M3 |
|---|---|---|---|---|---|---|
| GCN | ||||||
| + L2 | ||||||
| + Front | ||||||
| + Back | ||||||
| Methods | M3 M2 | M3 M1 | M3 M0 | M2 M1 | M2 M0 | M1 M0 |
| GCN |
| Methods | M0 M1 | M0 M2 | M0 M3 | M1 M2 | M1 M3 | M2 M3 |
|---|---|---|---|---|---|---|
| + L2 | ||||||
| + Front | ||||||
| + Back | ||||||
| Methods | M3 M2 | M3 M1 | M3 M0 | M2 M1 | M2 M0 | M1 M0 |
| + L2 | ||||||
| + Front |