{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/unlocking-the-potential-of-large-language","title":"Unlocking the Potential of Large Language Models for Explainable Recommendations","arxiv_id":"2312.15661","date":"2023-12-25","proceeding":null,"authors":["Yucong Luo","Mingyue Cheng","Hao Zhang","Junyu Lu","Qi Liu","Enhong Chen"],"abstract":"Generating user-friendly explanations regarding why an item is recommended has become increasingly common, largely due to advances in language generation technology, which can enhance user trust and facilitate more informed decision-making when using online services. However, existing explainable recommendation systems focus on using small-size language models. It remains uncertain what impact replacing the explanation generator with the recently emerging large language models (LLMs) would have. Can we expect unprecedented results? In this study, we propose LLMXRec, a simple yet effective two-stage explainable recommendation framework aimed at further boosting the explanation quality by employing LLMs. Unlike most existing LLM-based recommendation works, a key characteristic of LLMXRec is its emphasis on the close collaboration between previous recommender models and LLM-based explanation generators. Specifically, by adopting several key fine-tuning techniques, including parameter-efficient instructing tuning and personalized prompt techniques, controllable and fluent explanations can be well generated to achieve the goal of explanation recommendation. Most notably, we provide three different perspectives to evaluate the effectiveness of the explanations. Finally, we conduct extensive experiments over several benchmark recommender models and publicly available datasets. The experimental results not only yield positive results in terms of effectiveness and efficiency but also uncover some previously unknown outcomes. To facilitate further explorations in this area, the full code and detailed original results are open-sourced at https://github.com/GodFire66666/LLM_rec_explanation/.","url_abs":"https://arxiv.org/abs/2312.15661v3","url_pdf":"https://arxiv.org/pdf/2312.15661v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"unlocking-the-potential-of-large-language","repo_url":"https://github.com/godfire66666/llm_rec_explanation","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"decision-making","task_name":"Decision Making"},{"task_slug":"explainable-recommendation","task_name":"Explainable Recommendation"},{"task_slug":"recommendation-systems","task_name":"Recommendation Systems"},{"task_slug":"text-generation","task_name":"Text Generation"}],"methods":[{"method_slug":"focus","method_name":"Focus"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2312.15661","atlas_url":"https://app.syntology.ai/?focus=2312.15661","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.15661"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/godfire66666/llm_rec_explanation","reach":{"status":"ok"}}],"summary":{"ran":4,"unverified":1},"by_repo_kind":{"official":{"samples":5,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":5,"samples":[{"code_sha256_prefix":"af70d8fb79d3c260","entry":"get_instruction","repo":"godfire66666/llm_rec_explanation","repo_kind":"official","path":"src/gen_compare_result/gen_compare_test_all.py","file_url":"https://github.com/godfire66666/llm_rec_explanation/blob/HEAD/src/gen_compare_result/gen_compare_test_all.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"af70d8fb79d3c260"}},{"code_sha256_prefix":"500242b9890a811c","entry":"get_instruction_model","repo":"godfire66666/llm_rec_explanation","repo_kind":"official","path":"src/gen_compare_result/gen_compare_test_all.py","file_url":"https://github.com/godfire66666/llm_rec_explanation/blob/HEAD/src/gen_compare_result/gen_compare_test_all.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"500242b9890a811c"}},{"code_sha256_prefix":"e66dea7f030c0110","entry":"is_contains_chinese","repo":"godfire66666/llm_rec_explanation","repo_kind":"official","path":"src/SFT/finetune.py","file_url":"https://github.com/godfire66666/llm_rec_explanation/blob/HEAD/src/SFT/finetune.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e66dea7f030c0110"}},{"code_sha256_prefix":"cb6e8f7a5b600f81","entry":"load_instruction","repo":"godfire66666/llm_rec_explanation","repo_kind":"official","path":"src/SFT/infer.py","file_url":"https://github.com/godfire66666/llm_rec_explanation/blob/HEAD/src/SFT/infer.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cb6e8f7a5b600f81"}},{"code_sha256_prefix":"f0cdc782b1ad28e9","entry":"evaluate","repo":"godfire66666/llm_rec_explanation","repo_kind":"official","path":"src/gen_compare_result/gen_compare_test_all.py","file_url":"https://github.com/godfire66666/llm_rec_explanation/blob/HEAD/src/gen_compare_result/gen_compare_test_all.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f0cdc782b1ad28e9"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}