Towards Explainable Temporal User Profiling with LLMs

Milad Sabouri, Masoud Mansoury, Kun Lin, Bamshad Mobasher
5/1/2025
cs.IRcs.AI

No official code found. Best implementation: milsab/TETUP (3 stars, last commit 2025-08-11).

Abstract

Accurately modeling user preferences is vital not only for improving recommendation performance but also for enhancing transparency in recommender systems. Conventional user profiling methods, such as averaging item embeddings, often overlook the evolving, nuanced nature of user interests, particularly the interplay between short-term and long-term preferences. In this work, we leverage large language models (LLMs) to generate natural language summaries of users' interaction histories, distinguishing recent behaviors from more persistent tendencies. Our framework not only models temporal user preferences but also produces natural language profiles that can be used to explain recommendations in an interpretable manner. These textual profiles are encoded via a pre-trained model, and an attention mechanism dynamically fuses the short-term and long-term embeddings into a comprehensive user representation. Beyond boosting recommendation accuracy over multiple baselines, our approach naturally supports explainability: the interpretable text summaries and attention weights can be exposed to end users, offering insights into why specific items are suggested. Experiments on real-world datasets underscore both the performance gains and the promise of generating clearer, more transparent justifications for content-based recommendations.

View on arXivView PDF

Code Implementations(1)

milsab/TETUPCommunity100%

TETUP: Code for "Towards Explainable Temporal User Profiling with LLMs" (ExUM 2025). This project proposes a content-based recommendation framework that generates short-term and long-term user profiles using LLMs, enabling interpretable and personalized recommendations with temporal awareness.

30PythonApr 10, 20251 years ago
bert-embeddingsexplainable-aiexplainable-recommendationslarge-language-modelsllms+7 more

Similar Papers

Cite this paper

@article{sabouri2025towards,
  title  = {Towards Explainable Temporal User Profiling with LLMs},
  author = {Milad Sabouri and Masoud Mansoury and Kun Lin and Bamshad Mobasher},
  year   = {2025},
  eprint = {2505.00886},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.00886v1}
}

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/2505.00886.svg)](https://codeofpaper.com/paper/2505.00886)

Discussion