Test-Time Training on Graphs with Large Language Models (LLMs)
Jiaxin Zhang, Yiqi Wang, Xihong Yang, Siwei Wang, Yu Feng, Yu Shi, Ruichao Ren, En Zhu, Xinwang Liu
Abstract
Graph Neural Networks have demonstrated great success in various fields of multimedia. However, the distribution shift between the training and test data challenges the effectiveness of GNNs. To mitigate this challenge, Test-Time Training (TTT) has been proposed as a promising approach. Traditional TTT methods require a demanding unsupervised training strategy to capture the information from test to benefit the main task. Inspired by the great annotation ability of Large Language Models (LLMs) on Text-Attributed Graphs (TAGs), we propose to enhance the test-time training on graphs with LLMs as annotators. In this paper, we design a novel Test-Time Training pipeline, LLMTTT, which conducts the test-time adaptation under the annotations by LLMs on a carefully-selected node set. Specifically, LLMTTT introduces a hybrid active node selection strategy that considers not only node diversity and representativeness, but also prediction signals from the pre-trained model. Given annotations from LLMs, a two-stage training strategy is designed to tailor the test-time model with the limited and noisy labels. A theoretical analysis ensures the validity of our method and extensive experiments demonstrate that the proposed LLMTTT can achieve a significant performance improvement compared to existing Out-of-Distribution (OOD) generalization methods.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- TTT++: When Does Self-Supervised Test-Time Training Fail or Thrive? cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- Diffusion-calibrated Continual Test-time Adaptation cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- Cross-domain Rumor Detection via Test-Time Adaptation and Large Language Models cites Graph Contrastive Learning with Augmentations
- Cross-domain Rumor Detection via Test-Time Adaptation and Large Language Models cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- GFMate: Empowering Graph Foundation Models with Test-time Prompt Tuning cites TTT++: When Does Self-Supervised Test-Time Training Fail or Thrive?
- GFMate: Empowering Graph Foundation Models with Test-time Prompt Tuning cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- GFMate: Empowering Graph Foundation Models with Test-time Prompt Tuning cites Graph Contrastive Learning with Augmentations
- GFMate: Empowering Graph Foundation Models with Test-time Prompt Tuning cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- Test-Time Graph Neural Dataset Search With Generative Projection cites Graph Contrastive Learning with Augmentations
- Test-Time Graph Neural Dataset Search With Generative Projection cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- Graph Contrastive Learning with Augmentations cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
Cited by top-tier papers5
- MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory AgentHongli Yu, Tinghong Chen, Jiangtao Feng, Jiangjie Chen et al.ICLR 2026 · 231 citations
- Cross-domain Rumor Detection via Test-Time Adaptation and Large Language ModelsYuxia Gong, Shuguo Hu, Huaiwen ZhangEMNLP 2025 · 1 citation
- Diffusion-calibrated Continual Test-time AdaptationXu Yang, Moqi Li, Kun WeiAAAI 2026
- GFMate: Empowering Graph Foundation Models with Test-time Prompt TuningYan Jiang, Ruihong Qiu, Zi HuangICML 2026
- Test-Time Graph Neural Dataset Search With Generative ProjectionXin Zheng, Wei Huang, Chuan Zhou, Ming Li et al.ICML 2025
Builds on25
- LightGCN: Simplifying and Powering Graph Convolution Network for RecommendationXiangnan He, Kuan Deng, Xiang Wang, Yan Li et al.SIGIR 2020 · 4,448 citations
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- Graph Contrastive Learning with AugmentationsYuning You, Tianlong Chen, Yongduo Sui, Ting Chen et al.NeurIPS 2020 · 3,042 citations
- Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
- TTT++: When Does Self-Supervised Test-Time Training Fail or Thrive?Yuejiang Liu, Parth Kothari, Bastien van Delft, Baptiste Bellot-Gurlet et al.NeurIPS 2021 · 469 citations
Related papers
- LLMs Are Noisy Oracles! LLM-based Noise-aware Graph Active Learning for Node ClassificationZeang Sheng, Weiyang Guo, Yingxia Shao, Wentao Zhang et al.KDD 2025 · 1 citation
- Label-free Node Classification on Graphs with Large Language Models (LLMs)Zhikai Chen, Haitao Mao, Hongzhi Wen, Haoyu Han et al.ICLR 2024 · 103 citations
- When LLMs Encounter Open-world Graph Learning: A Fresh View on Unlabeled Data UncertaintyYanzhe Wen, Xunkai Li, Qi Zhang, Lei Zhu et al.ICML 2026
- Out-of-Distribution Detection via LLM-Guided Outlier Generation for Text-attributed GraphXiangwei Lv, Mengze Li, Jingyuan Chen, Zhiang Dong et al.ACL Findings 2025 · 4 citations
- Harnessing Explanations: LLM-to-LM Interpreter for Enhanced Text-Attributed Graph Representation LearningXiaoxin He, Xavier Bresson, Thomas Laurent, Adam Perold et al.ICLR 2024 · 151 citations
