TiLLM-Rec: Temporal-interval-aware large language model for sequential recommendation under irregular user interactions

  • Mehdi Hosseinzadeh, Fa Zhu, Amir Masoud Rahmani, Tofan Agung Eka Prasetya, Omar Almomani, Gholamreza Zare, Parisa Khoshvaght, Aso Darwesh, Thantrira Porntaveetus, Jan Lansky
  • https://doi.org/10.1016/j.icte.2026.06.014

Abstract

Sequential recommender systems often suffer from temporal sparsity caused by irregularly spaced user interactions, which makes modeling evolving preferences difficult. Most existing approaches treat user histories as uniformly ordered sequences and overlook the importance of time intervals between actions. To overcome this limitation, we propose TiLLM-Rec, a Temporal-Interval-Aware Large Language Model for sequential recommendation. TiLLM-Rec introduces a temporal interval encoder that directly integrates irregular interaction gaps into the LLM attention mechanism. By jointly modeling item semantics and temporal dynamics, the model adaptively adjusts attention weights to better capture both what users prefer and when interactions occur. Experiments on multiple benchmark datasets show that TiLLM-Rec consistently outperforms state-of-the-art methods, particularly under sparse and irregular interaction settings.

Keywords

Sequential recommendation; Temporal sparsity; Irregular interaction intervals; Large language models (LLMs); Attention mechanisms; Time-aware recommender systems