Temporal User Profiling with LLMs: Balancing Short-Term and Long-Term Preferences for Recommendations

Milad Sabouri, Masoud Mansoury, Kun Lin, Bamshad Mobasher
8/11/2025
cs.IRcs.AI

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Accurately modeling user preferences is crucial for improving the performance of content-based recommender systems. Existing approaches often rely on simplistic user profiling methods, such as averaging or concatenating item embeddings, which fail to capture the nuanced nature of user preference dynamics, particularly the interactions between long-term and short-term preferences. In this work, we propose LLM-driven Temporal User Profiling (LLM-TUP), a novel method for user profiling that explicitly models short-term and long-term preferences by leveraging interaction timestamps and generating natural language representations of user histories using a large language model (LLM). These representations are encoded into high-dimensional embeddings using a pre-trained BERT model, and an attention mechanism is applied to dynamically fuse the short-term and long-term embeddings into a comprehensive user profile. Experimental results on real-world datasets demonstrate that LLM-TUP achieves substantial improvements over several baselines, underscoring the effectiveness of our temporally aware user-profiling approach and the use of semantically rich user profiles, generated by LLMs, for personalized content-based recommendation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sabouri2025temporal,
  title  = {Temporal User Profiling with LLMs: Balancing Short-Term and Long-Term Preferences for Recommendations},
  author = {Milad Sabouri and Masoud Mansoury and Kun Lin and Bamshad Mobasher},
  year   = {2025},
  eprint = {2508.08454},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.08454v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.08454.svg)](https://codeofpaper.com/paper/2508.08454)

Discussion