{"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/knowledge-adaptation-from-large-language","title":"LEARN: Knowledge Adaptation from Large Language Model to Recommendation for Practical Industrial Application","arxiv_id":"2405.03988","date":"2024-05-07","proceeding":null,"authors":["Jian Jia","Yipei Wang","Yan Li","Honggang Chen","Xuehan Bai","Zhaocheng Liu","Jian Liang","Quan Chen","Han Li","Peng Jiang","Kun Gai"],"abstract":"Contemporary recommendation systems predominantly rely on ID embedding to capture latent associations among users and items. However, this approach overlooks the wealth of semantic information embedded within textual descriptions of items, leading to suboptimal performance and poor generalizations. Leveraging the capability of large language models to comprehend and reason about textual content presents a promising avenue for advancing recommendation systems. To achieve this, we propose an Llm-driven knowlEdge Adaptive RecommeNdation (LEARN) framework that synergizes open-world knowledge with collaborative knowledge. We address computational complexity concerns by utilizing pretrained LLMs as item encoders and freezing LLM parameters to avoid catastrophic forgetting and preserve open-world knowledge. To bridge the gap between the open-world and collaborative domains, we design a twin-tower structure supervised by the recommendation task and tailored for practical industrial application. Through experiments on the real large-scale industrial dataset and online A/B tests, we demonstrate the efficacy of our approach in industry application. We also achieve state-of-the-art performance on six Amazon Review datasets to verify the superiority of our method.","url_abs":"https://arxiv.org/abs/2405.03988v3","url_pdf":"https://arxiv.org/pdf/2405.03988v3.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":"knowledge-adaptation-from-large-language","repo_url":"https://github.com/adxcreative/LEARN","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"collaborative-filtering","task_name":"Collaborative Filtering"},{"task_slug":"language-modeling","task_name":"Language Modeling"},{"task_slug":"language-modelling","task_name":"Language Modelling"},{"task_slug":"large-language-model","task_name":"Large Language Model"},{"task_slug":"recommendation-systems","task_name":"Recommendation Systems"},{"task_slug":"world-knowledge","task_name":"World Knowledge"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2405.03988","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.03988"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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/adxcreative/LEARN","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":5,"unverified":4},"by_repo_kind":{"official":{"samples":9,"ran":5,"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":0,"samples":[{"code_sha256_prefix":"bda3269ecfd46816","entry":"clean_txt","repo":"adxcreative/LEARN","repo_kind":"official","path":"src/preprocess/amazon_2018/build_product2text.py","file_url":"https://github.com/adxcreative/LEARN/blob/HEAD/src/preprocess/amazon_2018/build_product2text.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bda3269ecfd46816"}},{"code_sha256_prefix":"958df4f07977d39c","entry":"get_nb_trainable_parameters","repo":"adxcreative/LEARN","repo_kind":"official","path":"src/training/main_amazon.py","file_url":"https://github.com/adxcreative/LEARN/blob/HEAD/src/training/main_amazon.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"958df4f07977d39c"}},{"code_sha256_prefix":"663731ce69f8cccf","entry":"get_text_description","repo":"adxcreative/LEARN","repo_kind":"official","path":"src/preprocess/amazon_2018/build_product2text.py","file_url":"https://github.com/adxcreative/LEARN/blob/HEAD/src/preprocess/amazon_2018/build_product2text.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"663731ce69f8cccf"}},{"code_sha256_prefix":"f6406e2db0e6d676","entry":"is_master","repo":"adxcreative/LEARN","repo_kind":"official","path":"src/training/main_amazon.py","file_url":"https://github.com/adxcreative/LEARN/blob/HEAD/src/training/main_amazon.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f6406e2db0e6d676"}},{"code_sha256_prefix":"e8e252db11d5a8f9","entry":"setup_primary_logging","repo":"adxcreative/LEARN","repo_kind":"official","path":"src/training/logger.py","file_url":"https://github.com/adxcreative/LEARN/blob/HEAD/src/training/logger.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e8e252db11d5a8f9"}},{"code_sha256_prefix":"87eac919f00ed268","entry":"construct_classification_loss","repo":"adxcreative/LEARN","repo_kind":"official","path":"src/training/train_amazon.py","file_url":"https://github.com/adxcreative/LEARN/blob/HEAD/src/training/train_amazon.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"87eac919f00ed268"}},{"code_sha256_prefix":"2f3e4404a7c0a5dd","entry":"construct_contrastive_loss","repo":"adxcreative/LEARN","repo_kind":"official","path":"src/training/train_amazon.py","file_url":"https://github.com/adxcreative/LEARN/blob/HEAD/src/training/train_amazon.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2f3e4404a7c0a5dd"}},{"code_sha256_prefix":"932d44bbf8bd0e3f","entry":"cosine_lr","repo":"adxcreative/LEARN","repo_kind":"official","path":"src/training/scheduler.py","file_url":"https://github.com/adxcreative/LEARN/blob/HEAD/src/training/scheduler.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"932d44bbf8bd0e3f"}},{"code_sha256_prefix":"06e42011523721c3","entry":"get_finetune_dataset","repo":"adxcreative/LEARN","repo_kind":"official","path":"src/training/dataset_amazon.py","file_url":"https://github.com/adxcreative/LEARN/blob/HEAD/src/training/dataset_amazon.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"06e42011523721c3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}