ITDR: An Instruction Tuning Dataset for Enhancing Large Language Models in Recommendations

Zekun Liu, Xiaowen Huang, Jitao Sang

TL;DR

This paper introduces ITDR, a large-scale instruction tuning dataset containing nearly 200,000 instances designed to align Large Language Models (LLMs) with recommendation tasks. By fine-tuning open-source models (3B to 9B parameters) on this dataset, the researchers significantly boost recommendation accuracy, allowing smaller, open-source models to outperform massive closed-source commercial models like GPT-3.5-Turbo and Gemini 2.5 Flash.

What Problem Does This Paper Address?

While LLMs excel at natural language processing, adapting them to recommender systems introduces a fundamental hurdle: the structural discrepancy between user behavior data and natural language text. Traditional recommendation datasets rely heavily on ID-based interaction logs (e.g., user IDs, item IDs, ratings, and clicks) rather than rich semantic descriptions.

Prompt engineering can help LLMs act as zero-shot or few-shot recommenders, but without explicit tuning, they struggle to grasp complex user behavior patterns and sequential dependencies. To unlock the full potential of LLMs in recommendations, the field needs high-quality, diverse instruction-tuning datasets that translate raw interaction data into natural language tasks.

Methods

The authors construct the ITDR dataset by mapping traditional recommendation benchmarks into a unified natural language instruction format. They categorize recommendation capabilities into two root tasks:

  1. User-Item Interaction (UII): Modeling behavioral patterns (e.g., predicting ratings or sequential next-item choices).
  2. User-Item Understanding (UIU): Extracting semantic profiles (e.g., predicting user attributes or summarizing interests).

For training, the authors employ Low-Rank Adaptation (LoRA), a parameter-efficient fine-tuning technique, to train four open-source backbone models: LLaMA-3.2-3B, Qwen2.5-7B, Qwen2.5-7B-Instruct, and GLM-4-9B.

Notably, for generative subtasks within the UIU category (like summarizing user interests) where ground-truth labels do not naturally exist in traditional datasets, the authors leverage DeepSeek-V3 to generate high-quality reference text, which was subsequently verified through human evaluation.

Datasets

ITDR unifies data from 13 classic public recommendation benchmarks across various domains (movies, e-commerce, books, music, and news):

  • MovieLens (32M, 1M), BookCrossing, Anime Dataset 2023, Yelp, Amazon Reviews 2023, MicroVideo (MicroLens), PixelRec, Amazon Books Reviews, MIND (news), Steam (games), and Last.FM (1K, 360K).

These datasets are structured into seven distinct subtasks under the UII and UIU umbrellas, as illustrated in the architecture diagram below:

ITDR architecture: tasks, subtasks, and datasets

Key Insights and Ideas

  • Asymmetric Cross-Task Transfer: One of the most fascinating findings is the directional relationship between interaction and understanding. Fine-tuning models solely on User-Item Understanding (UIU) data actually improves their performance on User-Item Interaction (UII) tasks. However, the reverse is harmful: models trained exclusively on interaction data (UII) experience a severe drop in understanding capabilities (UIU), falling even below unfine-tuned baselines. Over-indexing on specific interaction patterns seems to compromise the model's general semantic understanding.
Root task ablation effects on UII and UIU performance
  • The Nuance of Task Descriptions: While detailed task descriptions act as vital guides for classification and ranking tasks, they can introduce counterproductive noise in purely generative tasks like Interest Recognition and Target User Identification, slightly degrading performance.
  • Data Scale Sensitivity: Performance on interaction tasks scales steadily with more data, whereas understanding tasks remain largely flat after a certain threshold, indicating that semantic alignment requires less data volume than pattern-heavy interaction modeling.

Key Results

The authors evaluate performance using two comprehensive composite metrics: $pUII$ (for interaction tasks) and $pUIU$ (for understanding tasks).

As shown in Figure 2, instruction tuning via ITDR yields massive performance leaps across all backbone models. For example, GLM-4-9B's interaction score ($pUII$) jumps from 43.87 to 70.44, and its understanding score ($pUIU$) surges from 10.72 to 31.38.

Performance before and after ITDR fine-tuning

Crucially, when compared against closed-source giants, the ITDR-tuned open-source models demonstrate a clear upper hand. Despite their smaller parameter footprints, the fine-tuned models comfortably outperform both GPT-3.5-Turbo and Gemini 2.5 Flash on both task categories.

Comparison of fine-tuned models with closed-source LLMs

Limitations and Future Work

While highly effective, the study focuses on models within the 3B to 9B parameter range. The authors note that validating instruction tuning on larger scales (e.g., 13B or 70B+ models) remains an open area for exploration. Additionally, the dataset currently taps into 13 source datasets; expanding this scope to include more diverse domains and investigating finer-grained data distribution characteristics could yield deeper insights into how LLMs develop recommendation capabilities.

Summary updated

Abstract

Large language models (LLMs) have demonstrated outstanding performance in natural language processing tasks. However, in the field of recommender systems, due to the inherent structural discrepancy between user behavior data and natural language, LLMs struggle to effectively model the associations between user preferences and items. Although prompt-based methods can generate recommendation results, their inadequate understanding of recommendation tasks leads to constrained performance. To address this gap, we construct a comprehensive instruction tuning dataset, ITDR, which encompasses seven subtasks across two root tasks: user-item interaction and user-item understanding. The dataset integrates data from 13 public recommendation datasets and is built using manually crafted standardized templates, comprising approximately 200,000 instances. Experimental results demonstrate that ITDR significantly enhances the performance of mainstream open-source LLMs such as GLM-4, Qwen2.5, Qwen2.5-Instruct and LLaMA-3.2 on recommendation tasks. Furthermore, we analyze the correlations between tasks and explore the impact of task descriptions and data scale on instruction tuning effectiveness. Finally, we perform comparative experiments against closed-source LLMs with massive parameters. Our tuning dataset ITDR, the fine-tuned large recommendation models, all LoRA modules, and the complete experimental results are available at https://github.com/hellolzk/ITDR.
BibTeX
@inproceedings{liu2026itdr,
  author = {Zekun Liu and Xiaowen Huang and Jitao Sang},
  title = {{ITDR: An Instruction Tuning Dataset for Enhancing Large Language Models in Recommendations}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2026},
  doi = {10.1145/3770854.3785694},
}
Figure