Looped GNNs Beyond Fixed Depth: Graph Size Generalization and Parameter-Efficient Adaptation
Organizations: Washington University in St. Louis, St. Louis, MO, USA · University of California, San Diego, La Jolla, CA, USA
Abstract
Generalizing from small graphs to larger ones can require computation beyond the depth of a neural model used during training. We study target tasks that admit a common local iterative computation and whose effective dependency radius grows with graph size. The central idea is to learn a local update rule through GNN pretraining, then repeatedly apply the same learned processor beyond the training depth to extend information reach on larger graphs without retraining. Calling such parameter-shared architecture a looped GNN, we categorize six schemes for looped GNNs to separate the effects of depth extension, fine-tuning, and freeze-and-steer adaptation. Our analysis establishes fixed-depth information limits and sufficient conditions under which accurate iterative reuse overcomes them. To improve beyond unadapted reuse, we introduce Loop-Freeze-Steer (LFS), which freezes the pretrained processor and learns a small controller to steer its repeated application, using much fewer trainable parameters than full fine-tuning. Our finite-sample analysis gives sufficient conditions for adaptation to improve performance on larger graphs. Experiments on synthetic tasks and chip placement evaluate depth extension and adaptation, highlighting LFS's accuracy--trainable-parameter trade-off for size generalization.
Figures & tables
| synthetic netlists, cells per design | real | |||||
| scheme | params | 0.4–0.6k | 0.8–1k | 1.8–2k | 2.4–2.8k | MLCAD |
| Fixed | 0 | 1.51 | 3.00 | 6.17 | 8.50 | 7.18 |
| Fixed-Tune | 5.85M | 1.48 .00 | 2.81 .00 | 5.59 .00 | 7.54 .01 | 6.78 .00 |
| Loop-Tune | 5.85M | 1.11 .01 | 1.86 .00 | 3.69 .02 | 5.30 .04 | 6.01 .05 |
| LFS | 0.17M | 1.27 .01 | 2.06 .01 | 3.95 .02 | 5.61 .01 | 6.24 .02 |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| scheme | depth / adapted params | const | log | poly | diam |
|---|---|---|---|---|---|
| Fixed | fixed / none | 0.10 | 2.00 | 3.31 | 3.71 |
| Fixed-Tune | fixed / all | 0.09 | 0.77 | 1.36 | 0.38 |
| Fixed-Steer | fixed / adapter + readout | 0.07 | 0.74 | 1.06 | 0.25 |
| Loop | tunable / none | 0.18 | 1.94 | 3.26 | 4.01 |
| Loop-Tune | tunable / all | 0.14 | 0.77 | 1.28 | 0.39 |
| LFS | tunable / controller + readout | 0.15 | 0.75 | 1.25 | 0.36 |
| scheme | depth / adapted params | log | diam |
|---|---|---|---|
| Fixed | fixed / none | ||
| Fixed-Tune | fixed / all | ||
| Fixed-Steer | fixed / adapter + readout | ||
| Loop | tunable / none | ||
| Loop-Tune | tunable / all | ||
| LFS | tunable / controller + readout |
Graph Neural Networks
Graph Neural Networks learn from graph-structured data by combining information across connected nodes, edges, and larger structures.
See all 735 papers