NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Language Models as Semantic Augmenters for Sequential Recommenders

Mahsa Valizadeh, Xiangjue Dong, Rui Tuo, James Caverlee

TL;DR

The researchers introduce LaMAR, a framework that uses Large Language Models (LLMs) to automatically "hallucinate" useful, high-level context—like a user’s hidden intent or a product's specific use case—from sparse interaction data. By feeding these AI-generated semantic signals back into recommendation models, they achieved significant performance boosts across multiple datasets, proving that LLMs are excellent at filling in the "blanks" of human behavior.

What Problem Does This Paper Address?

Sequential recommendation systems try to predict what you’ll want next based on what you’ve looked at before. However, most of these systems are "semantically poor." They often rely on simple item IDs or basic metadata (like a product title) which doesn't capture the why behind a purchase.

For example, if a user buys a tent, a sleeping bag, and a portable stove, a standard model sees three IDs. It might struggle to realize the user is "planning a first-time camping trip," a nuance that would help recommend the right next item (like a lantern) over a random outdoor gadget. Traditional feature engineering to capture this intent is manual, slow, and doesn't scale. LaMAR aims to automate this "common sense" reasoning using LLMs.

Methods

LaMAR (Language Model-Augmented Recommendation) operates in two primary stages:

  1. Semantic Signal Generation: The authors use LLMs (specifically GPT-4o-mini and Gemini-1.5-flash) in a few-shot setting. Using a "Let’s think step by step" (Chain-of-Thought) prompting strategy, the LLM looks at item metadata (title, brand, category) and infers a new, domain-specific attribute. For "Video Games," it might generate a "Gameplay Experience Focus"; for "Pet Supplies," it might infer a "Pet’s Specific Need."
  2. Signal Integration and Alignment: These new signals are then integrated into the recommendation pipeline in two ways:
  3. Input Enrichment: The generated text is appended to the item's representation in models like RecFormer, a state-of-the-art transformer-based recommender.
  4. Model Fine-Tuning: The authors also fine-tuned LLMs (Llama-3.2 and Qwen-2.5) using LoRA (Low-Rank Adaptation) to predict the next item in a sequence that now includes these rich semantic descriptions.

Datasets

The framework was evaluated on six categories from the Amazon Review dataset:

  • Industrial and Scientific
  • Musical Instruments
  • Arts, Crafts and Sewing
  • Office Products
  • Video Games
  • Pet Supplies

To test generalization beyond e-commerce, they also evaluated it on the MovieLens-1M dataset, where they generated a new signal: "how the movie ends" (storyline impact).

Key Insights and Ideas

  • Beyond Metadata: The LLM isn't just summarizing; it's performing "latent intent inference." It connects the dots between items to suggest a scenario (e.g., "outdoor adventure gear") that isn't explicitly written in any single product description.
  • Semantic Novelty: A diversity analysis showed that the LLM-generated signals weren't just repetitive templates. For most categories, over 90% of the generated features were semantically distinct, adding genuine "new" information to the model.
  • Human-in-the-loop Validation: A small-scale human study found that the generated signals were highly relevant (~97%) and useful (~91%), suggesting that the LLMs were successfully capturing factual and contextual alignment without significant "hallucination" issues.
  • The "Similarity" Trap: The authors found that in categories with very similar items (like "Pet Supplies"), adding more signals sometimes led to diminishing returns or slight performance drops due to redundancy.

Key Results

The integration of LaMAR signals led to consistent improvements across all key ranking metrics (NDCG, Recall, MRR):

  • RecFormer Boosts: On the "Video Games" dataset, NDCG@10 improved by 5.15% and Recall@10 by 6.06% simply by adding the LLM-generated context.
  • LLM Recommender Gains: When fine-tuning Llama-3.2 and Qwen-2.5, the gains were even more dramatic. For "Office Products," the MRR (Mean Reciprocal Rank) improved by a staggering 30.60% for Llama and 44.63% for Qwen.
  • Cross-Domain Success: On MovieLens-1M, the model saw an 18% improvement in NDCG@10, proving the method works for movies just as well as physical products.

Limitations and Future Work

  • Prompt Sensitivity: The authors noted that "careful prompt design is critical." A poorly designed prompt can lead to redundant signals that actually confuse the model rather than help it.
  • Redundancy in Narrow Domains: In very specialized categories where items are highly similar, the LLM tends to reuse phrasing, which limits the benefit of data augmentation.
  • Future Directions: The authors suggest exploring more complex, multi-modal signals (incorporating images) and investigating how these semantic augmenters perform in extremely "cold-start" scenarios where interaction data is almost non-existent.

Summary updated

BibTeX
@inproceedings{valizadeh2026language,
  author = {Mahsa Valizadeh and Xiangjue Dong and Rui Tuo and James Caverlee},
  title = {{Language Models as Semantic Augmenters for Sequential Recommenders}},
  booktitle = {LREC},
  year = {2026},
  doi = {10.63317/2fap9guysbm2},
}
Figure