Bi-Tuning with Collaborative Information for Controllable LLM-based Sequential Recommendation

Xinyu Zhang, Linmei Hu, Luhao Zhang, Wentao Cheng, Yashen Wang, Ge Shi, Chong Feng, Liqiang NieACL 2025

Abstract

Large Language Models (LLMs) possess significant potential for recommendation systems due to their deep semantic understanding. However, they often struggle to incorporate collaborative signals—patterns of user-item interactions—and maintain output controllability. We present Laser (Large Language Model based Sequential Recommendation), a novel framework that employs a "Bi-Tuning" strategy. By utilizing a learnable prefix to inject collaborative data and a learnable suffix to constrain outputs to a latent embedding space, Laser effectively captures behavioral patterns while ensuring reliable, hallucination-free recommendations.

Introduction

Sequential recommendation aims to predict a user's next item of interest based on their historical interactions. While traditional ID-based models (e.g., SASRec, BERT4Rec) excel at capturing collaborative signals, they lack the semantic depth of LLMs. Conversely, LLMs understand item descriptions but ignore the behavioral context of what users actually purchase together. Furthermore, generative LLMs are prone to "hallucinations," often suggesting non-existent items or failing to follow strict output formats required for production retrieval pipelines.

Laser addresses these challenges by bridging the semantic-collaborative gap and transforming the generative task into a robust retrieval problem.

Methodology: The Laser Framework

Laser introduces a parameter-efficient Bi-Tuning strategy that avoids full fine-tuning of massive LLMs. Instead, it inserts learnable virtual tokens at the input's beginning (prefix) and end (suffix).

The Prefix: M-Former

To inject collaborative knowledge, Laser utilizes the M-Former, a lightweight Mixture-of-Experts (MoE) querying transformer. The M-Former extracts signals from a frozen, traditional ID-based recommender and maps them into the LLM's prefix space. A router dynamically activates specific "experts" to adapt to diverse user behavior patterns, providing the LLM with the necessary collaborative context to supplement its semantic knowledge.

The Suffix: Controllable Output

To solve the controllability issue, Laser employs a learnable suffix token. Instead of generating free-form text, the LLM's hidden state at this specific suffix position is treated as a user/item embedding. Recommendation is then performed via similarity comparison (e.g., cosine similarity) against a catalog of item embeddings. This ensures the model always points to a valid item, effectively eliminating hallucinations.

The overview of the Laser architecture, showing the Bi-Tuning framework and the M-Former module.

Experimental Setup

Laser was evaluated on four real-world Amazon review datasets: Industrial and Scientific, Arts, Crafts and Sewing, Pet Supplies, and Video Games. The datasets were filtered for "five-core" interactions and sorted chronologically to simulate sequential environments. Laser was compared against state-of-the-art baselines, including SASRec, BERT4Rec, and other LLM-based approaches.

Results and Analysis

Laser consistently outperformed both traditional and LLM-based baselines across all metrics. On the Pet Supplies dataset, it achieved a 13.96% improvement in Recall@10 and a 14.53% improvement in NDCG@10 over the strongest baseline.

Zero-Shot and Low-Resource Performance

A key strength of Laser is its ability to generalize. In zero-shot transfer scenarios—where a model trained on one domain is tested on another without further training—Laser outperformed baselines that had been trained on 100% of the target domain's data. This suggests that the Bi-Tuning approach effectively leverages the LLM's inherent semantic knowledge to fill gaps when interaction data is sparse.

Performance comparison under zero-shot and low-resource settings, highlighting Laser's superior generalization.

Cold-Start Excellence

Laser significantly outperformed traditional models in cold-start scenarios, recommending items with very few historical interactions. This confirms that the integration of semantic descriptions via the LLM provides a critical advantage when collaborative signals are weak.

Conclusion

Laser demonstrates that LLMs can be effectively adapted for sequential recommendation through targeted Bi-Tuning. By combining the M-Former for collaborative signal injection and a suffix-based embedding approach for controllability, Laser offers a robust, high-performance solution for modern recommendation tasks. Future work will explore extending this framework to encoder-decoder architectures and integrating multi-modal features such as visual and audio data.

Summary updated

BibTeX
@inproceedings{zhang2025bi,
  author = {Xinyu Zhang and Linmei Hu and Luhao Zhang and Wentao Cheng and Yashen Wang and Ge Shi and Chong Feng and Liqiang Nie},
  title = {{Bi-Tuning with Collaborative Information for Controllable LLM-based Sequential Recommendation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure