Revisiting XRec: How Collaborative Signals Influence LLM-Based Recommendation Explanations

Abstract

Recommender systems help users navigate large volumes of online content by offering personalized recommendations. However, the increasing reliance on deep learning-based techniques has made these systems opaque and difficult to interpret. To address this, XRec (Ma et al., 2024) was introduced as a novel framework that integrates collaborative signals and textual descriptions of past interactions into Large Language Models (LLMs) to generate natural language explanations for recommendations. In this work, we reproduce and expand upon the findings of Ma et al. (2024). While our results validate most of the original authors’ claims, we were unable to fully replicate the reported performance improvements from injecting collaborative information into every LLM attention layer, nor the claimed effects of data sparsity. Beyond replication, our contributions provide evidence that the Graph Neural Network (GNN) component does not enhance explainability. Instead, the observed performance improvement is attributed to the Collaborative Information Adapter, which can act as a form of soft prompting, efficiently encoding task-specific information. This finding aligns with prior research suggesting that lightweight adaptation mechanisms can condition frozen LLMs for specific downstream tasks. Our implementation is open-source.

Cite

Text

Brița et al. "Revisiting XRec: How Collaborative Signals Influence LLM-Based Recommendation Explanations." Transactions on Machine Learning Research, 2025.

Markdown

[Brița et al. "Revisiting XRec: How Collaborative Signals Influence LLM-Based Recommendation Explanations." Transactions on Machine Learning Research, 2025.](https://mlanthology.org/tmlr/2025/brita2025tmlr-revisiting/)

BibTeX

@article{brita2025tmlr-revisiting,
  title     = {{Revisiting XRec: How Collaborative Signals Influence LLM-Based Recommendation Explanations}},
  author    = {Brița, Cătălin-Emanuel and Nguyen, Hieu and Chalakova, Lubov and Petrov, Nikola},
  journal   = {Transactions on Machine Learning Research},
  year      = {2025},
  url       = {https://mlanthology.org/tmlr/2025/brita2025tmlr-revisiting/}
}