The Blessing of Reasoning: LLM-Based Contrastive Explanations in Black-Box Recommender Systems

Yuyan Wang, Pan Li, Minmin Chen · DOI

Introduction

Modern recommender systems primarily rely on "black-box" deep neural networks (DNNs) that, while powerful, are notoriously data-hungry and lack transparency. While Large Language Models (LLMs) have introduced sophisticated reasoning capabilities, they face significant hurdles in personalization: they are generative rather than discriminative, and there is no "ground truth" to verify the accuracy of their personalized explanations.

This paper introduces RecPIE (Recommendation with Prediction-Informed Explanations), a framework that demonstrates how natural-language reasoning can directly improve recommendation accuracy. By co-training a generative LLM and a discriminative neural network in a bidirectional loop, RecPIE generates "prediction-informed" explanations that serve as high-quality features, boosting both data efficiency and predictive performance.

The RecPIE Framework

RecPIE treats recommendation and explanation as mutually reinforcing tasks rather than sequential ones. Unlike post-hoc systems that generate explanations after a model is trained, RecPIE uses a bidirectional learning loop to integrate reasoning into the core prediction process.

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

The architecture consists of two primary components trained in an alternating fashion:

  1. The Explanation Component (Generative): A fine-tuned LLM (e.g., Llama 3.1) generates contrastive explanations—reasons why a user might or might not like a candidate item. Using Reinforcement Learning (PPO), the model is rewarded based on the accuracy of the downstream recommendation, forcing it to generate reasoning that is predictive rather than just fluent.
  2. The Recommendation Component (Discriminative): A standard DNN recommender (utilizing Transformers or GRUs) that augments traditional features with embeddings of the LLM-generated explanations.

Experimental Evaluation

The framework was evaluated across four diverse benchmarks: Google Maps (POI prediction), TripAdvisor (hotels), Yelp (restaurants), and Amazon Movie (films).

Key Results

  • Superior Accuracy: RecPIE improved recommendation accuracy (RMSE/AUC) by 3–4% over state-of-the-art baselines on Google Maps and up to 21% on other datasets.
  • Extreme Data Efficiency: RecPIE matched the performance of top baseline models using only 12% of the training data, suggesting that reasoning allows models to learn from significantly fewer examples.
  • Faster Representation Learning: The model identified semantically similar items up to four times faster in the embedding space than traditional sequential models.
  • Human Alignment: In a study with 566 participants, RecPIE’s explanations were preferred 61.5% of the time over competing methods.

Discussion and Key Insights

The success of RecPIE stems from viewing explanations as feature selection. Drawing on high-dimensional statistical learning theory, the authors argue that LLMs act as an "oracle" for feature selection. Because LLMs are pre-trained on massive, diverse datasets, they are better at identifying the "true" variables driving decisions than a model trained only on a single interaction dataset.

Furthermore, the paper highlights the power of contrastive reasoning. Generating reasons why a user might dislike an item provides a much stronger signal for the recommender than positive-only explanations, especially in cases with high uncertainty. Ablation studies confirmed these gains come from the LLM's reasoning capabilities rather than simple memorization of training data.

Conclusion and Future Work

While RecPIE offers significant improvements in accuracy and data efficiency, challenges remain regarding inference latency for real-time "cold-start" scenarios. Future research will explore incorporating multi-modal data, such as images, to generate even richer, vision-informed explanations. Ultimately, RecPIE demonstrates that the "blessing of reasoning" can transform black-box recommenders into more efficient, transparent, and accurate systems.

Summary updated

BibTeX
@inproceedings{wang2025blessing,
  author = {Yuyan Wang and Pan Li and Minmin Chen},
  title = {{The Blessing of Reasoning: LLM-Based Contrastive Explanations in Black-Box Recommender Systems}},
  booktitle = {ER @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=dBuWo6omzC},
}
Figure