Long-Term Embeddings for Balanced Personalization
Organizations: Zalando SE Berlin, Germany
Abstract
Modern transformer-based sequential recommenders excel at capturing short-term intent but often suffer from recency bias, overlooking stable long-term preferences. While extending sequence lengths is an intuitive fix, it is computationally inefficient, and recent interactions tend to dominate the model's attention. We propose Long-Term Embeddings (LTE) as a high-inertia contextual anchor to bridge this gap. We address a critical production challenge: the point-in-time consistency problem caused by infrastructure constraints, as feature stores typically host only a single "live" version of features. This leads to an offline-online mismatch during model deployments and rollbacks, as models are forced to process evolved representations they never saw during training. To resolve this, we introduce an LTE framework that constrains embeddings to a fixed semantic basis of content-based item representations, ensuring cross-version compatibility. Furthermore, we investigate integration strategies for causal language modeling, considering the data leakage issue that occurs when the LTE and the transformer's short-term sequence share a temporal horizon. We evaluate two representations: a heuristic average and an asymmetric autoencoder with a fixed decoder grounded in the semantic basis to enable behavioral fine-tuning while maintaining stability. Online A/B tests on Zalando demonstrate that integrating LTE as a contextual prefix token using a lagged window yields significant uplifts in both user engagement and financial metrics.
Figures & tables
| Integration method | Window | Uniform | Recency |
|---|---|---|---|
| Late fusion (outside) | -0.70% | -3.05% | |
| Feature injection (added) | +0.45% | +0.42% | |
| Contextual anchoring | +1.31% | +0.87% |
| Rollback | Avg. turnover | Mean | Relative |
|---|---|---|---|
| offset ( ) | rate ( ) | cosine sim. | resilience |
| 1 Day | 0.7% | 0.997 | +0.69% |
| 5 Days | 2.8% | 0.994 | +1.01% |
| 10 Days | 5.4% | 0.985 | +1.65% |
| Engagement | ||||
|---|---|---|---|---|
| Browse | Search | All | Revenue | |
| Estimate | +1.16% | +0.15% | +0.61% | +0.42% |
| 95% CI | [0.79, 1.53]% | [-0.2, 0.5]% | [0.32, 0.9]% | [0.07, 0.76]% |
Sequential Recommendation
Sequential recommendation predicts what a user will choose next from ordered interactions, adapting to changing interests and context.
See all 136 papers