Abstract
Collaborative filtering drives many successful recommender systems but struggles with fine-grained user-item interactions and explainability. As users increasingly seek transparent recommendations, generating textual explanations through language models has become a critical research area. Existing methods employ either RNNs or Transformers. However, RNN-based approaches fail to leverage the capabilities of pre-trained Transformer models, whereas Transformer-based methods often suffer from suboptimal adaptation and neglect aspect modeling, which is crucial for personalized explanations. We propose ELIXIR (Efficient and LIghtweight model for eXplaIning Recommendations), a multi-task model combining rating prediction with personalized review generation. ELIXIR jointly learns global and aspect-specific representations of users and items, optimizing overall rating, aspect-level ratings, and review generation, with personalized attention to emphasize aspect importance. Based on a T5-small (60M) model, we demonstrate the effectiveness of our aspect-based architecture in guiding text generation in a personalized context, where state-of-the-art approaches exploit much larger models but fail to match user preferences as well. Experimental results on TripAdvisor and RateBeer demonstrate that ELIXIR significantly outperforms strong baseline models, especially in review generation.
Introduction
Modern recommender systems face a persistent challenge: balancing predictive accuracy with transparency. While Collaborative Filtering (CF) excels at identifying patterns in user-item interactions, it relies on latent factors that lack human-interpretable meaning. To address this, recent research has focused on generating textual explanations (e.g., "tips" or reviews). However, existing Large Language Model (LLM) approaches often treat user preferences as monolithic global values, ignoring fine-grained aspects like "service" or "location," and frequently require substantial computational resources.
Methodology
ELIXIR addresses these limitations through a multi-task framework that integrates rating prediction and personalized review generation using a lightweight T5-small backbone (60M parameters). The architecture is defined by three core components:
- Aspect-Aware Modeling: The model learns both global and aspect-specific representations for users and items. For instance, in a hotel context, it explicitly models aspects such as cleanliness, location, and value.
- Personalized Attention: An attention mechanism determines the relative importance of different aspects for a specific user-item pair. This ensures that the model prioritizes the features a specific user values most when predicting ratings and generating text.
- Parameter-Efficient Prompt Tuning: Instead of full fine-tuning, ELIXIR generates a "continuous prompt"—a sequence of 50 latent tokens—derived from user and item aspect profiles. This prompt guides a frozen T5-small model to generate personalized reviews.
Experimental Setup
The model was evaluated on two multi-aspect datasets:
- TripAdvisor: Hotel reviews covering six aspects (cleanliness, location, rooms, service, sleep quality, and value).
- RateBeer: Beer reviews covering four aspects (appearance, aroma, palate, and taste).
These datasets provide both overall and aspect-level ratings, serving as a ground truth for fine-grained preference modeling.
Results and Analysis
ELIXIR demonstrated significant improvements over state-of-the-art baselines, particularly in text generation quality. On the TripAdvisor dataset, ELIXIR achieved a METEOR score of 42.75, nearly doubling the performance of the PEPLER model (~24.34), which utilizes a larger GPT-2 (124M) backbone. The model also achieved the lowest Root Mean Squared Error (RMSE) for rating prediction (0.748 on TripAdvisor).
A key insight from the study is the role of attention as an explanation. As shown in the attention intensity heatmap, the model successfully identifies which aspects drive a user's decision. Furthermore, ablation studies confirmed that both aspect modeling and personalized attention are critical; removing either component led to a significant drop in performance.
Conclusion and Future Work
ELIXIR proves that aspect-aware, lightweight models can outperform much larger, general-purpose LLMs in personalized recommendation tasks. By focusing on fine-grained details and efficient prompt tuning, ELIXIR provides a scalable blueprint for transparent recommender systems. Future work will explore the integration of Unsupervised Aspect-Based Sentiment Analysis (ABSA) to eliminate the dependency on pre-annotated aspect ratings, further increasing the model's generalizability across diverse domains.
Summary updated