NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

EmbSum: Leveraging the Summarization Capabilities of Large Language Models for Content-Based Recommendations

Chiyu Zhang, Yifei Sun, Minghao Wu, Jun Chen, Jie Lei, Muhammad Abdul-Mageed, Rong Jin, Angli Liu, Ji Zhu, Sem Park, Ning Yao, Bo Long

Abstract

Content-based recommendation systems often struggle with long-term user histories and real-time inference latency. We present EmbSum, a novel framework that utilizes Large Language Models (LLMs) to distill extensive user engagement data into concise interest summaries. By employing a teacher-student paradigm, EmbSum trains a deployable T5-small model to generate these summaries while utilizing "poly-attention" to create multi-faceted embeddings. Our approach achieves state-of-the-art performance on news and book recommendation benchmarks (MIND and Goodreads) with significantly fewer parameters than existing models, while simultaneously providing human-readable explanations for its recommendations.

1. Introduction

Modern content-based recommendation systems, particularly for news and e-books, rely heavily on modeling user behavior over time. However, two primary challenges hinder their effectiveness: the "Memory Wall" and the "Latency Trade-off." The Memory Wall refers to the context window limitations of standard Transformer models, which often necessitate truncating long-term user histories. The Latency Trade-off arises from candidate-aware models that require real-time processing of specific items, preventing the efficient pre-computation of user profiles.

EmbSum addresses these issues by leveraging the summarization capabilities of LLMs to create dense, informative representations of user interests that can be processed efficiently and stored for offline retrieval.

2. The EmbSum Framework

EmbSum utilizes an encoder-decoder architecture based on the T5-small backbone (61M parameters). The framework is built upon three core pillars:

2.1 LLM-Supervised Summarization

To capture the holistic persona of a user, EmbSum employs a "teacher-student" training strategy. A powerful LLM (Mixtral-8x22B-Instruct) acts as the teacher, analyzing a user's complete history to generate a three-sentence interest summary. The student model (EmbSum) is then trained to replicate these summaries, forcing it to learn a deep, semantic understanding of user preferences beyond simple click patterns.

2.2 Session-Based Encoding

To overcome the context window limitations associated with long histories, EmbSum breaks user data into discrete sessions. Each session is encoded independently, and the T5 decoder subsequently fuses these session-level representations to form a comprehensive user profile.

2.3 Poly-Embedding Mechanisms

Recognizing that a single vector is often insufficient to represent complex user interests or multi-thematic content, EmbSum introduces Poly-Attention. This mechanism derives multiple embeddings:

  • User Poly-Embeddings (UPE): Capturing different facets of a user's personality.
  • Content Poly-Embeddings (CPE): Representing various themes within a single item (e.g., a book or article).

3. Experimental Setup

The framework was evaluated on two large-scale datasets:

  • MIND (Microsoft News): A benchmark containing 94,000 users and 65,000 news articles.
  • Goodreads: A book recommendation dataset with 50,000 users and 330,000 books, using ratings as ground truth.

The model was optimized using a dual loss function: a summarization loss to ensure semantic alignment with the LLM teacher, and a Noisy Contrastive Estimation (NCE) loss to optimize for click prediction.

4. Results and Discussion

EmbSum demonstrates superior performance across both datasets, establishing a new state-of-the-art (SoTA).

4.1 Performance and Efficiency

On the MIND dataset, EmbSum achieved an AUC of 71.95, and on Goodreads, it reached 61.64. Notably, these results were achieved using T5-small, which contains roughly half the parameters of BERT-based competitors (125M+). This suggests that the summarization task provides a significantly richer learning signal than traditional masked language modeling or click-prediction alone.

4.2 Ablation Study

Ablation experiments highlighted the critical role of Content Poly-Embedding (CPE). The removal of CPE resulted in the most significant performance degradation, confirming that multi-vector representations are essential for capturing the nuances of complex content.

4.3 Explainability and Deployment

Unlike "black box" recommenders, EmbSum offers inherent explainability by generating human-readable summaries (e.g., "The user enjoys reading about celebrities and health/wellness"). Furthermore, because user and candidate embeddings are decoupled, they can be pre-computed and stored in vector databases, enabling high-speed retrieval during live deployment.

5. Conclusion

EmbSum represents a significant step forward in content-based recommendation by treating summarization as a primary feature rather than a secondary output. While the model is dependent on the quality of the teacher LLM and requires careful hyperparameter tuning for poly-attention codebooks, its efficiency and accuracy make it a viable solution for large-scale production environments. Future work will explore extending this framework to non-textual modalities such as image and video metadata.

Summary updated

BibTeX
@inproceedings{zhang2024embsum,
  author = {Chiyu Zhang and Yifei Sun and Minghao Wu and Jun Chen and Jie Lei and Muhammad Abdul-Mageed and Rong Jin and Angli Liu and Ji Zhu and Sem Park and Ning Yao and Bo Long},
  title = {{EmbSum: Leveraging the Summarization Capabilities of Large Language Models for Content-Based Recommendations}},
  booktitle = {RecSys},
  year = {2024},
}
Figure