Can Explanations Improve Recommendations? A Joint Optimization with LLM Reasoning

Yuyan Wang, Pan Li, Minmin Chen · DOI

Abstract

Modern recommender systems rely on large-scale ML models that are data-hungry and black-box. Recent advances in LLMs suggest that explicit reasoning can improve learning efficiency, yet it remains unclear how generative LLMs can systematically improve recommendation tasks that are discriminative in nature. Moreover, in personalized settings, LLMs tend to hallucinate. Existing explainable recommender systems either generate explanations independently of predictions or provide post-hoc rationales; in both cases, explanations do not improve accuracy over black-box recommenders. We argue that when properly calibrated to prediction outcomes, natural-language explanations can in fact improve recommendations. We propose RecPIE (Recommendation with Prediction-Informed Explanations), a framework that jointly optimizes prediction-informed explanations and explanation-informed predictions. Empirically, on next point-of-interest recommendation using Google Maps data, RecPIE improves accuracy by 3-4% over state-of-the-art baselines and matches the best baseline using only 12% of the training data. Human evaluations show that RecPIE's explanations are preferred 61.5% of the time among five competing methods.

Introduction: The Black-Box Challenge

Modern recommender systems are powerful but suffer from being "black-box" and data-hungry. Current attempts to address these issues generally fall into two categories:

  1. Explainable AI (XAI): These systems typically generate explanations post-hoc or independently of the prediction, which rarely enhances the underlying recommendation accuracy.
  2. LLM-based Recommenders: LLMs excel at reasoning but struggle with discriminative ranking tasks and often "hallucinate" personalized preferences due to a lack of ground-truth data.

RecPIE addresses the fundamental misalignment between generative tasks (text generation) and discriminative tasks (ranking) by creating a feedback loop where the recommendation task informs the LLM's reasoning, and that reasoning improves the recommender's performance.

Comparison between a typical recommendation framework (a) and the proposed RecPIE architecture (b).

Methodology: The RecPIE Framework

The core of RecPIE is a bidirectional learning loop consisting of two primary components:

1. The Explanation Component

A trainable LLM (fine-tuned via LoRA) generates contrastive explanations—reasons why a consumer might like or dislike a specific product. Since no ground-truth text exists for these personalized reasons, the LLM is trained using Proximal Policy Optimization (PPO), where the "reward" signal is derived directly from the accuracy of the downstream recommendation.

2. The Recommendation Component

A deep neural network (DNN) processes standard inputs (user/item IDs, historical data) alongside the embedded text of the LLM-generated explanations.

Detailed architecture of the RecPIE framework, highlighting the joint optimization of prediction-informed explanations and explanation-informed predictions.

The system employs alternating training:

  • Step 1: The recommender is fixed while the LLM is updated to generate explanations that maximize prediction accuracy.
  • Step 2: The LLM is fixed while the recommender is updated to better utilize the generated explanations as features.

Experimental Evaluation

The framework was primarily evaluated on a massive Google Maps dataset for "next point-of-interest" (POI) recommendations, encompassing 7.5 million ratings. The researchers also validated RecPIE on TripAdvisor, Yelp, and Amazon Movie datasets.

Key Insights

  • LLMs as Feature Selection Oracles: RecPIE uses LLM reasoning to identify the small subset of truly important variables in high-dimensional data, significantly accelerating model convergence.
  • The Value of Negative Reasoning: Modeling reasons to dislike an item provides a richer signal for the recommender than positive-only models.
  • Reasoning vs. Memorization: Performance gains stem from the LLM's reasoning capabilities rather than memorized facts, as evidenced by tests with models predating the datasets.
  • Data Efficiency: By leveraging "world knowledge" about human decision-making, RecPIE matches top-tier baselines using only 12% of the training data.

Results and Impact

  • Accuracy Gains: RecPIE achieved a 3-4% relative improvement in RMSE and MAE on Google Maps, outperforming 18 state-of-the-art baselines.
  • Human Preference: In a study with 566 participants, RecPIE’s explanations were preferred 61.5% of the time over four competing methods.
  • Learning Speed: The model identified similar products and consumers up to four times faster than standard sequential models.

Conclusion

RecPIE demonstrates that generative explanation and discriminative recommendation tasks can be jointly learned to outperform standalone approaches. While real-time latency remains a challenge, the system's ability to handle sparse user data marks a significant step forward in building transparent and efficient recommender systems.

Summary updated

BibTeX
@inproceedings{wang2025can,
  author = {Yuyan Wang and Pan Li and Minmin Chen},
  title = {{Can Explanations Improve Recommendations? A Joint Optimization with LLM Reasoning}},
  booktitle = {ER @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=dBuWo6omzC},
}
Figure