{"title":"A simple yet effective difficulty-aware bucketed fine-tuning strategy for LLM-based recommendation","authors":"Qianyang Zhu, Bo Yang, Wei Liu, Jiajin Wu","doi":"10.1016/j.knosys.2025.114655","DOIUrl":null,"url":null,"abstract":"<div><div>Recommendation systems have been widely researched and applied in the industry. Recently, with the advancement of large language models (LLMs), there has been much research on LLM-based recommendation models (LLM-RMs), yielding outstanding performance compared with traditional recommendation models. In many LLM-RMs, supervised fine-tuning plays a pivotal role in enhancing model performance. However, existing research primarily focuses on enriching the information of the fine-tuning data, to enable LLMs to learn specific capabilities effectively. In this paper, we study the fine-tuning for LLM-RMs from a different perspective. Specifically, we propose a Difficulty-aware Bucketed Fine-tuning (DBF) strategy to replace the random sampling approach commonly used in existing research. The main philosophy of the proposed DBF strategy is to fine-tune an LLM from easy samples to difficult samples, which simulates the progressive learning process of humans. First, we propose a metric to measure the difficulty of fine-tuning samples based on three aspects: category entropy, category consistency, and category similarity. Based on the proposed metric, we design the bucketed tuning strategy that considers both intra-bucket and inter-bucket difficulty. In addition, we propose a Coarse-to-fine-grained Prompting LLM-based Recommendation Model, CP4Rec, which adopts a two-step reasoning process for making recommendations. We conduct extensive experiments on four real-world benchmark datasets, and results demonstrate that CP4Rec, fine-tuned with the proposed DBF strategy, outperforms the state-of-the-art LLM-RMs across these datasets. Experimental results also highlight the importance of using the buckets in the fine-tuning process to prevent performance degradation. The implementation code is available at <span><span>https://anonymous.4open.science/r/CP4Rec1</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":49939,"journal":{"name":"Knowledge-Based Systems","volume":"330 ","pages":"Article 114655"},"PeriodicalIF":7.6000,"publicationDate":"2025-10-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Knowledge-Based Systems","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0950705125016946","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Recommendation systems have been widely researched and applied in the industry. Recently, with the advancement of large language models (LLMs), there has been much research on LLM-based recommendation models (LLM-RMs), yielding outstanding performance compared with traditional recommendation models. In many LLM-RMs, supervised fine-tuning plays a pivotal role in enhancing model performance. However, existing research primarily focuses on enriching the information of the fine-tuning data, to enable LLMs to learn specific capabilities effectively. In this paper, we study the fine-tuning for LLM-RMs from a different perspective. Specifically, we propose a Difficulty-aware Bucketed Fine-tuning (DBF) strategy to replace the random sampling approach commonly used in existing research. The main philosophy of the proposed DBF strategy is to fine-tune an LLM from easy samples to difficult samples, which simulates the progressive learning process of humans. First, we propose a metric to measure the difficulty of fine-tuning samples based on three aspects: category entropy, category consistency, and category similarity. Based on the proposed metric, we design the bucketed tuning strategy that considers both intra-bucket and inter-bucket difficulty. In addition, we propose a Coarse-to-fine-grained Prompting LLM-based Recommendation Model, CP4Rec, which adopts a two-step reasoning process for making recommendations. We conduct extensive experiments on four real-world benchmark datasets, and results demonstrate that CP4Rec, fine-tuned with the proposed DBF strategy, outperforms the state-of-the-art LLM-RMs across these datasets. Experimental results also highlight the importance of using the buckets in the fine-tuning process to prevent performance degradation. The implementation code is available at https://anonymous.4open.science/r/CP4Rec1.
期刊介绍:
Knowledge-Based Systems, an international and interdisciplinary journal in artificial intelligence, publishes original, innovative, and creative research results in the field. It focuses on knowledge-based and other artificial intelligence techniques-based systems. The journal aims to support human prediction and decision-making through data science and computation techniques, provide a balanced coverage of theory and practical study, and encourage the development and implementation of knowledge-based intelligence models, methods, systems, and software tools. Applications in business, government, education, engineering, and healthcare are emphasized.