Data-efficient Fine-tuning for LLM-based Recommendation

Xinyu Lin, Wenjie Wang, Yongqi Li, Shuo Yang, Fuli Feng, Yinwei Wei, Tat-Seng Chua

Introduction

Large Language Models (LLMs) have revolutionized recommendation systems (RecSys) by providing a deeper understanding of item descriptions and user intent. However, the integration of LLMs into production RecSys environments faces a significant hurdle: the sheer volume of interaction data. Platforms like TikTok or Amazon generate billions of interactions daily, making the fine-tuning of massive LLMs on full datasets computationally prohibitive. This paper introduces DEALRec, a data pruning method designed to identify the most influential samples for training, enabling high-performance recommendation with a fraction of the data and compute.

The Challenge of LLM-based Recommendation

While LLMs excel at capturing complex user patterns, fine-tuning them on a "firehose" of data is a computational nightmare. Simple solutions like "few-shot" fine-tuning—using a tiny fraction of the data—often fail because random sampling misses the most informative or "trending" behaviors. Conversely, existing "coreset selection" methods, which aim to pick the best data subsets, are often too computationally expensive themselves to run on LLMs. The research goal was to find a way to select the most informative data samples efficiently without needing to train the LLM on the full dataset first.

Methodology: The DEALRec Framework

DEALRec (Data-efficient Fine-tuning for LLM-based Recommendation) selects training samples based on three primary pillars:

  1. Influence Score: This metric estimates how much the overall model performance would fluctuate if a specific sample were removed. To avoid the "brute force" cost of retraining the model for every sample, the authors utilize Hessian-Vector Products (HVP) and a "symmetric property" to approximate this influence in a single pass.
  2. Effort Score: Calculating influence directly on a giant LLM is still slow. DEALRec uses a small surrogate model (such as SASRec) to calculate initial scores. However, because LLMs possess extensive "world knowledge" that small models lack, what is difficult for a small model might be trivial for an LLM. The Effort Score measures the LLM's gradient norm on a sample—essentially quantifying how much "effort" the LLM must exert to learn a specific user sequence.
  3. Coverage-enhanced Selection: To prevent the model from learning a redundant or narrow set of behaviors, DEALRec employs stratified sampling. Data is grouped by scores, and samples are drawn across these groups to ensure the final training set covers a diverse range of user behaviors.

Experimental Setup

The researchers evaluated DEALRec on two LLM-based architectures—BIGRec (based on LLaMA-7B) and TIGER—across three real-world sequential recommendation benchmarks:

  • Games: Amazon review data focusing on video games, rich in textual features.
  • MicroLens-50K: A micro-video dataset featuring multimodal interactions.
  • Book: Amazon review data for books, representing a large-scale interaction set.

Key Insights and Results

The study yielded several surprising insights into the nature of data in recommendation systems:

  • The "Less is More" Phenomenon: Training on the full dataset often yielded worse results than training on a carefully pruned 2% subset. This suggests that large-scale recommendation data contains significant noise or redundant samples that can degrade LLM performance.
  • Performance Gains: On the Games dataset, DEALRec achieved an 18.45% improvement in Recall@20 compared to the model trained on the full dataset.
  • Massive Efficiency: Training time was slashed by 95-98% across different datasets. For example, a training process that previously took 37 hours was reduced to just 1.67 hours.
  • Data Saturation: The method reached peak performance with only 1024 samples (roughly 1-2% of the total data). Increasing the data beyond this point showed diminishing returns, highlighting the efficiency of the selection process.

Limitations and Future Directions

While DEALRec represents a significant step forward, the authors note several areas for future exploration. The current focus is on sequential recommendation; future work could extend this to cross-domain tasks. Additionally, given the limited context windows of LLMs, the authors suggest applying DEALRec logic to select the most informative items within a single user's history rather than just selecting the best users. Finally, the dependency on a surrogate model suggests that further research into the "alignment" between small surrogates and large LLMs could yield even greater stability.

Conclusion

DEALRec demonstrates that data-efficient fine-tuning is not only possible but often superior to full-data training for LLM-based recommendations. By bridging the gap between small surrogate models and large-scale LLMs through Influence and Effort scores, DEALRec provides a practical path for deploying sophisticated recommendation models in resource-constrained environments.

Summary updated

BibTeX
@inproceedings{lin2024data,
  author = {Xinyu Lin and Wenjie Wang and Yongqi Li and Shuo Yang and Fuli Feng and Yinwei Wei and Tat-Seng Chua},
  title = {{Data-efficient Fine-tuning for LLM-based Recommendation}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2024},
}
Figure