AdaRC: Mitigating Graph Structure Shifts during Test-Time
<|reference_start|>AdaRC: Mitigating Graph Structure Shifts during Test-Time: Powerful as they are, graph neural networks (GNNs) are known to be vulnerable to distribution shifts. Recently, test-time adaptation (TTA) has attracted attention due to its ability to adapt a pre-trained model to a target domain without re-accessing the source domain. However, existing TTA algorithms are primarily designed for attribute shifts in vision tasks, where samples are independent. These methods perform poorly on graph data that experience structure shifts, where node connectivity differs between source and target graphs. We attribute this performance gap to the distinct impact of node attribute shifts versus graph structure shifts: the latter significantly degrades the quality of node representations and blurs the boundaries between different node categories. To address structure shifts in graphs, we propose AdaRC, an innovative framework designed for effective and efficient adaptation to structure shifts by adjusting the hop-aggregation parameters in GNNs. To enhance the representation quality, we design a prediction-informed clustering loss to encourage the formation of distinct clusters for different node categories. Additionally, AdaRC seamlessly integrates with existing TTA algorithms, allowing it to handle attribute shifts effectively while improving overall performance under combined structure and attribute shifts. We validate the effectiveness of AdaRC on both synthetic and real-world datasets, demonstrating its robustness across various combinations of structure and attribute shifts.<|reference_end|>
@article{bao2024adarc:,
    title={AdaRC: Mitigating Graph Structure Shifts during Test-Time},
    author={Wenxuan Bao, Zhichen Zeng, Zhining Liu, Hanghang Tong, Jingrui He},
    journal={arXiv preprint arXiv:2410.06976},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.06976},
    primaryClass={cs.LG}
}