Prompt Tuning as User Inherent Profile Inference Machine

Authors:
  • YLYusheng Lu
    Yusheng Lu
  • ZDZhaocheng Du
    Zhaocheng Du
  • XLXiangyang Li
    Xiangyang Li
  • PJPengyue Jia
    Pengyue Jia
  • YWYejing Wang
    Yejing Wang
  • WLWeiwen Liu
    Weiwen Liu
  • YWYichao Wang
    Yichao Wang
  • HGHuifeng Guo
    Huifeng Guo
  • RTRuiming Tang
    Ruiming Tang
  • ZDZhenhua Dong
    Zhenhua Dong
  • YDYongrui Duan
    Yongrui Duan
  • XZXiangyu Zhao
    Xiangyu Zhao

Abstract
Large Language Models (LLMs) have exhibited significant promise in recommender systems by empowering user profiles with their extensive world knowledge and superior reasoning capabilities. However, LLMs face challenges like unstable instruction compliance, modality gaps, and high inference latency, leading to textual noise and limiting their effectiveness in recommender systems. To address these challenges, we propose UserIP-Tuning, which uses prompt-tuning to infer user profiles. It integrates the causal relationship between user profiles and behavior sequences into LLMs' prompts. It employs Expectation Maximization (EM) to infer the embedded latent profile, minimizing textual noise by fixing the prompt template. Furthermore, a profile quantization codebook bridges the modality gap by categorizing profile embeddings into collaborative IDs pre-stored for online deployment. This improves time efficiency and reduces memory usage. Experiments show that UserIP-Tuning outperforms state-of-the-art recommendation algorithms. An industry application confirms its effectiveness, robustness, and transferability. The presented solution has been deployed in Huawei AppGallery's Explore page since May 2025, serving 2 million daily active users, delivering significant improvements in real-world recommendation scenarios. The code is publicly available for replication at https://github.com/Applied-Machine-Learning-Lab/UserIP-Tuning.