From Time and Place to Preference: LLM-Driven Geo-Temporal Context in Recommendations
Yejin Kim, Shaghayegh Agah, Mayur Nankani, Neeraj Sharma, Feifei Peng, Maria Peifer, Sardar Hamidian, H Howie Huang
TL;DR
The paper tackles the challenge of enriching recommendations with real-world geo-temporal context by extracting semantic signals from simple inputs (timestamp and coarse location) using large language models. It introduces a structured geo-temporal context extraction module, a lightweight informativeness test, and multiple integration strategies into sequential recommenders (notably SASRec), evaluated on MovieLens, LastFM, and a production dataset. Key findings show that geo-temporal signals can provide predictive utility, with general users benefiting from content+geo-temporal fusion and explorer users gaining from item-level or training-time GT guidance; production data particularly benefits from GT integration and flexible deployment. The work contributes a scalable, domain-agnostic approach to context-aware recommendations and provides a context-enriched MovieLens dataset to spur further research and practical deployments.
Abstract
Most recommender systems treat timestamps as numeric or cyclical values, overlooking real-world context such as holidays, events, and seasonal patterns. We propose a scalable framework that uses large language models (LLMs) to generate geo-temporal embeddings from only a timestamp and coarse location, capturing holidays, seasonal trends, and local/global events. We then introduce a geo-temporal embedding informativeness test as a lightweight diagnostic, demonstrating on MovieLens, LastFM, and a production dataset that these embeddings provide predictive signal consistent with the outcomes of full model integrations. Geo-temporal embeddings are incorporated into sequential models through (1) direct feature fusion with metadata embeddings or (2) an auxiliary loss that enforces semantic and geo-temporal alignment. Our findings highlight the need for adaptive or hybrid recommendation strategies, and we release a context-enriched MovieLens dataset to support future research.
