Beyond Parameter Finetuning: Test-Time Representation Refinement for Node Classification
Jiaxin Zhang, Yiqi Wang, Siwei Wang, Xihong Yang, Yu Shi, Xinwang Liu, En Zhu
TL;DR
TTReFT targets graph out-of-distribution generalization by shifting test-time adaptation from updating model parameters to refining node representations. It introduces three core components—uncertainty-guided node selection, a low-rank representation intervention (LoReFT), and an intervention-aware masked autoencoder (IAMAE)—to drive test-time refinement without forgetting pre-trained knowledge, with theoretical guarantees under distribution shifts. Empirically, TTReFT consistently improves OOD performance across five benchmarks, maintains 100% ID accuracy, and offers substantial efficiency advantages over parameter-finetuning baselines. Overall, the work establishes representation finetuning as a practical, effective paradigm for graph TTT with strong empirical and theoretical support.
Abstract
Graph Neural Networks frequently exhibit significant performance degradation in the out-of-distribution test scenario. While test-time training (TTT) offers a promising solution, existing Parameter Finetuning (PaFT) paradigm suffer from catastrophic forgetting, hindering their real-world applicability. We propose TTReFT, a novel Test-Time Representation FineTuning framework that transitions the adaptation target from model parameters to latent representations. Specifically, TTReFT achieves this through three key innovations: (1) uncertainty-guided node selection for specific interventions, (2) low-rank representation interventions that preserve pre-trained knowledge, and (3) an intervention-aware masked autoencoder that dynamically adjust masking strategy to accommodate the node selection scheme. Theoretically, we establish guarantees for TTReFT in OOD settings. Empirically, extensive experiments across five benchmark datasets demonstrate that TTReFT achieves consistent and superior performance. Our work establishes representation finetuning as a new paradigm for graph TTT, offering both theoretical grounding and immediate practical utility for real-world deployment.
