Dual Test-Time Training for Out-of-Distribution Recommender System
Deep learning has been widely applied in recommender systems, which has recently achieved revolutionary progress. However, most existing learning-based methods assume that the user and item distributions remain unchanged between the training phase and the test phase. However, the distribution of user and item features can naturally shift in real-world scenarios, potentially resulting in a substantial decrease in recommendation performance. This phenomenon can be formulated as an Out-Of-Distribution (OOD) recommendation problem. To address this challenge, we propose a novel <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">D</b>ual <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">T</b>est-<bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">T</b>ime-<bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">T</b>raining framework for <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">O</b>OD <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">R</b>ecommendation, termed <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">DT3OR</b>. In DT3OR, we incorporate a model adaptation mechanism during the test-time phase to carefully update the recommendation model, allowing the model to adapt specially to the shifting user and item features. To be specific, we propose a self-distillation task and a contrastive task to assist the model learning both the user’s invariant interest preferences and the variant user/item characteristics during the test-time phase, thus facilitating a smooth adaptation to the shifting features. Furthermore, we provide theoretical analysis to support the rationale behind our dual test-time training framework. To the best of our knowledge, this paper is the first work to address OOD recommendation via a test-time-training strategy. We conduct experiments on five datasets with various backbones. Comprehensive experimental results have demonstrated the effectiveness of DT3OR compared to other state-of-the-art baselines.
Authors
- Jin Chen (ORCID: https://orcid.org/0000-0003-1810-3828)
- Wenqi Fan (ORCID: https://orcid.org/0000-0002-4049-1233)
- Yiqi Wang (ORCID: https://orcid.org/0000-0001-9594-1919)
- En Zhu (ORCID: https://orcid.org/0000-0003-2305-7555)
- Defu Lian (ORCID: https://orcid.org/0000-0002-3507-9607)
- Xiangyu Zhao (ORCID: https://orcid.org/0000-0003-2926-4416)
- Xinwang Liu (ORCID: https://orcid.org/0000-0001-9066-1475)
- Xihong Yang (ORCID: https://orcid.org/0000-0002-3260-869X)
Institutions
- University of Science and Technology of China (CN)
- Hong Kong Polytechnic University (HK)
- City University of Hong Kong (HK)
- National University of Defense Technology (CN)
- Hong Kong University of Science and Technology (HK)
Publication Details
- Journal
- IEEE Transactions on Knowledge and Data Engineering
- Published
- 2025-03-14
- DOI
- https://doi.org/10.1109/tkde.2025.3548160
- Citations
- 27
- Primary Topic
- Intravenous Infusion Technology and Safety
- Type
- article
- Field-Weighted Citation Impact
- 18.20
Funders
- National Natural Science Foundation of China