Abstract
Sequential recommendation systems increasingly leverage Large Language Models (LLMs) for their semantic reasoning capabilities. However, effectively integrating collaborative ID-based signals while maintaining parameter efficiency remains a challenge. We present Laser, a framework that utilizes a novel "Bi-Tuning" approach—combining trainable prefix and suffix tokens—alongside a Mixture-of-Experts (MoE) based Querying Transformer (M-Former). Laser adapts frozen LLMs to recommendation tasks by injecting collaborative information through the prefix and extracting recommendation-specific embeddings via the suffix. Our approach achieves state-of-the-art performance on multiple Amazon review datasets while training only 0.135M parameters, representing less than 0.1% of the backbone LLM's weights.
Introduction
Sequential recommendation aims to predict a user's next interaction by modeling their historical behavior. Current methodologies generally fall into two categories: ID-based methods, which capture latent collaborative signals but ignore textual semantics, and LLM-based methods, which excel at semantic understanding but struggle with collaborative signal integration and high computational costs.
Existing LLM-based approaches often rely on simple linear projections to map ID embeddings into the LLM's input space, failing to account for the diverse behavioral patterns of different users. Laser addresses these limitations by introducing a parameter-efficient Bi-Tuning strategy and a specialized module for collaborative information integration.
Methodology: The Laser Framework
The Laser framework consists of two core components: the Bi-Tuning mechanism and the M-Former module.
Bi-Tuning
Instead of fine-tuning the entire LLM, Laser keeps the backbone model frozen and introduces trainable "virtual tokens" at the sequence boundaries:
- Prefix Tokens: These tokens adapt the LLM to the specific recommendation task and serve as the entry point for collaborative signals derived from ID-based models.
- Suffix Tokens: Designed to act as a summary of the sequence, the suffix token transforms the LLM's high-dimensional hidden states into a specialized recommendation space. This avoids the noise associated with traditional average pooling of output tokens in generative LLMs.
M-Former (MoE-based Querying Transformer)
To integrate collaborative signals effectively, Laser utilizes a frozen ID-based sequential recommender (e.g., BERT4Rec). The M-Former processes these embeddings using a Mixture-of-Experts (MoE) strategy. A router selects the most relevant "query experts" based on the user's interaction history, allowing the model to capture diverse user characteristics more accurately than a static projection.
Two-Stage Training
Laser employs a two-stage training process. The first stage focuses on obtaining high-quality item embeddings. The second stage refines the recommendation logic by training the Bi-Tuning parameters and M-Former while keeping the item embeddings fixed, ensuring stable convergence.
Experimental Evaluation
Laser was evaluated on three categories of the Amazon review dataset: Scientific, Arts, and Pet. These datasets were pre-processed to ensure a "five-core" quality level.
Key Results
- State-of-the-Art Performance: Laser consistently outperformed traditional ID-based models (SASRec, BERT4Rec) and recent LLM-based baselines (LlamaRec). Notably, on the Pet dataset, Laser achieved an 11.37% improvement in Recall@10 and a 13.27% improvement in NDCG@10 over the strongest baseline.
- Efficiency: With only 135,000 trainable parameters, Laser is significantly more efficient than other Parameter-Efficient Fine-Tuning (PEFT) methods like QLoRA, which typically require millions of parameters.
- Low-Resource Robustness: Laser demonstrates exceptional performance in data-scarce scenarios. On the Scientific dataset, Laser trained on just 5% of the data outperformed competing models trained on the full 100% dataset.
Discussion and Conclusion
Ablation studies confirm the necessity of both the prefix/suffix tokens and the M-Former module. The success of the suffix token highlights that generative LLMs are optimized for end-of-sequence information, making a dedicated summary token more effective than global pooling for recommendation tasks.
While Laser is highly parameter-efficient during training, it still inherits the inference latency of its LLM backbone (e.g., ChatGLM2-6B). Future work will explore more diverse ID-based backbones and scaling the framework to even larger datasets. In summary, Laser provides a robust and efficient path for bridging the gap between collaborative filtering and large-scale semantic modeling in sequential recommendation.
Summary updated