[Paper Review] Recommendation as Instruction Following: A Large Language Model Empowered Recommendation Approach
The paper proposes InstructRec, a recommender system that treats recommendations as instruction following by a fine-tuned 3B Flan-T5-XL LLM, using a large set of user-centered natural language instructions to improve personalization and generalization.
In the past decades, recommender systems have attracted much attention in both research and industry communities, and a large number of studies have been devoted to developing effective recommendation models. Basically speaking, these models mainly learn the underlying user preference from historical behavior data, and then estimate the user-item matching relationships for recommendations. Inspired by the recent progress on large language models (LLMs), we take a different approach to developing the recommendation models, considering recommendation as instruction following by LLMs. The key idea is that the preferences or needs of a user can be expressed in natural language descriptions (called instructions), so that LLMs can understand and further execute the instruction for fulfilling the recommendation task. Instead of using public APIs of LLMs, we instruction tune an open-source LLM (3B Flan-T5-XL), in order to better adapt LLMs to recommender systems. For this purpose, we first design a general instruction format for describing the preference, intention, task form and context of a user in natural language. Then we manually design 39 instruction templates and automatically generate a large amount of user-personalized instruction data (252K instructions) with varying types of preferences and intentions. To demonstrate the effectiveness of our approach, we instantiate the instruction templates into several widely-studied recommendation (or search) tasks, and conduct extensive experiments on these tasks with real-world datasets. Experiment results show that the proposed approach can outperform several competitive baselines, including the powerful GPT-3.5, on these evaluation tasks. Our approach sheds light on developing more user-friendly recommender systems, in which users can freely communicate with the system and obtain more accurate recommendations via natural language instructions.
Motivation & Objective
- Introduce the concept of treating recommendation as instruction following by LLMs.
- Design a flexible instruction format capturing user preference, intention, task form, and context.
- Generate a large-scale, high-quality instruction dataset to tune the LLM for recommendation tasks.
- Demonstrate effectiveness and generalization of InstructRec on real-world datasets and tasks.
Proposed method
- Define a unified instruction format for recommendation including preference, intention, task form, and context.
- Manually design 39 coarse-grained instruction templates and automatically generate 252K finely-grained user instructions using GPT-3.5 as teacher-LLM.
- Fine-tune a 3B Flan-T5-XL model with instruction data to enable instruction following for recommendations.
- Use the trained LLM as a reranker to produce final item rankings from candidate sets.
- Provide strategies to increase instruction diversity (e.g., swapping input-output, CoT reasoning) and ensure alignment with user needs.

Experimental results
Research questions
- RQ1Can recommendation tasks be effectively cast as instruction following for LLMs?
- RQ2How do instruction formats, data generation, and tuning affect recommendation quality and generalization?
- RQ3Does InstructRec outperform baselines and generalize to unseen domains/instructions?
- RQ4What is the impact of instruction diversity on model performance?
Key findings
- InstructRec can outperform several competitive baselines, including GPT-3.5, on evaluation tasks.
- The approach improves the LLM’s ability to accommodate diverse user needs and shows better generalization to held-out instructions and domains.
- A large-scale, high-quality set of 252K instruction data supports effective instruction tuning for recommender systems.
- The instruction format effectively captures user preference, intention, task form, and context to guide recommendations.
- Enhancing instruction diversity and incorporating CoT-like reasoning can further improve performance.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.