RecExplainer: Aligning Large Language Models for Explaining Recommendation Models
Yuxuan Lei, Jianxun Lian, Jing Yao, Xu Huang, Defu Lian, Xing Xie
Abstract
Recommender systems are widely used in online services, with embedding-based models being particularly popular due to their expressiveness in representing complex signals. However, these models often function as a black box, making them less transparent and reliable for both users and developers. Recently, large language models (LLMs) have demonstrated remarkable intelligence in understanding, reasoning, and instruction following. This paper presents the initial exploration of using LLMs as surrogate models to explaining black-box recommender models. The primary concept involves training LLMs to comprehend and emulate the behavior of target recommender models. By leveraging LLMs' own extensive world knowledge and multi-step reasoning abilities, these aligned LLMs can serve as advanced surrogates, capable of reasoning about observations. Moreover, employing natural language as an interface allows for the creation of customizable explanations that can be adapted to individual user preferences. To facilitate an effective alignment, we introduce three methods: behavior alignment, intention alignment, and hybrid alignment. Behavior alignment operates in the language space, representing user preferences and item information as text to mimic the target model's behavior; intention alignment works in the latent space of the recommendation model, using user and item representations to understand the model's behavior; hybrid alignment combines both language and latent spaces. Comprehensive experiments conducted on three public datasets show that our approach yields promising results in understanding and mimicking target models, producing high-quality, high-fidelity, and distinct explanations. Our code is available at https://github.com/microsoft/RecAI .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- LoRA: Low-Rank Adaptation of Large Language Models cites Language Models are Few-Shot Learners
- Robust Speech Recognition via Large-Scale Weak Supervision cites Learning Transferable Visual Models From Natural Language Supervision
- Language Representations Can be What Recommenders Need: Findings and Potentials cites Learning Transferable Visual Models From Natural Language Supervision
- More Than What Was Chosen: LLM-based Explainable Recommendation Beyond Noisy User Preferences cites LoRA: Low-Rank Adaptation of Large Language Models
- Unveiling the Learning Mind of Language Models: A Cognitive Framework and Empirical Study cites Language Models are Few-Shot Learners
- Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
Cited by top-tier papers5
- Reasoning over Semantic IDs Enhances Generative RecommendationYingzhi He, Yan Sun, Junfei Tan, Yuxin Chen et al.KDD 2026 · 15 citations
- Unveiling the Learning Mind of Language Models: A Cognitive Framework and Empirical StudyZhengyu Hu, Jianxun Lian, Zheyuan Xiao, Seraphina Zhang et al.NeurIPS 2025 · 5 citations
- Language Representations Can be What Recommenders Need: Findings and PotentialsLeheng Sheng, An Zhang, Yi Zhang, Yuxin Chen et al.ICLR 2025
- More Than What Was Chosen: LLM-based Explainable Recommendation Beyond Noisy User PreferencesChung Park, Hyeongjun Yun, Taesan Kim, Junui Hong et al.ICLR 2026
- Think Wise, Collaborate Effectively: A Rationale-Aware LLM-Based Recommender with Reinforcement Learning from Collaborative SignalsChung Park, Taesan Kim, Hyeongjun Yun, Dongjoon Hong et al.AAAI 2026
Builds on16
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- Robust Speech Recognition via Large-Scale Weak SupervisionAlec Radford, Jong Wook Kim, Tao Xu, Greg Brockman et al.ICML 2023 · 6,966 citations
- ZeRO: memory optimizations toward training trillion parameter modelsSamyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, Yuxiong HeSC 2020 · 852 citations
Related papers
- Aligning Large Language Models for Controllable RecommendationsWensheng Lu, Jianxun Lian, Wei Zhang, Guanghua Li et al.ACL 2024 · 7 citations
- XRec: Large Language Models for Explainable RecommendationQiyao Ma, Xubin Ren, Chao HuangEMNLP Findings 2024 · 48 citations
- Coherency Improved Explainable Recommendation via Large Language ModelShijie Liu, Ruixin Ding, Weihai Lu, Jun Wang et al.AAAI 2025 · 10 citations
- LatentCRS: A Variational EM Framework for Bridging Semantics and Behavior in LLM-based Conversational RecommendationGuanrong Li, Kuo Tian, Jinnan Qi, Qinghan Fu et al.KDD 2026 · 1 citation
- A Survey on LLM-powered Agents for Recommender SystemsQiyao Peng, Hongtao Liu, Hua Huang, Jian Yang et al.EMNLP Findings 2025 · 31 citations
