Token-Efficient Long-Term Interest Sketching and Internalized Reasoning for LLM-based Recommendation

Zhihao Ding, Jinming Li, Shuai Mu, Jieming ShiICLR 2026

Large Language Models (LLMs) have a "thinking" problem. While Chain-of-Thought (CoT) prompting allows them to reason through complex tasks—like figuring out why a user might enjoy a specific movie—it comes at a heavy price: latency. In the fast-paced world of recommender systems, where users expect results in milliseconds, waiting for an LLM to "think out loud" for hundreds of tokens is a non-starter.

A new paper from researchers at The Hong Kong Polytechnic University and ByteDance, titled Token-Efficient Long-Term Interest Sketching and Internalized Reasoning for LLM-based Recommendation, proposes a clever way to give LLMs the benefits of deep reasoning without the wait.

TL;DR

SIREN is a framework that makes LLM-based recommenders both smarter and faster. It compresses massive user histories into compact "interest sketches" and uses a two-stage training process to "internalize" reasoning. The result? Chain-of-Thought accuracy with a 100x speedup in inference latency.

What Problem Does This Paper Address?

LLM-based recommendation faces two major "walls":

  1. The Context Wall: Users often have hundreds of past interactions. Feeding this raw, noisy history into an LLM is token-expensive and often confuses the model. Conversely, simply truncating the history to the most recent items discards valuable long-term signals (e.g., a user who has loved Sci-Fi for a decade but watched three comedies yesterday).
  2. The Latency Wall: CoT reasoning significantly improves rating prediction accuracy. However, generating those reasoning tokens autoregressively is far too slow for real-time deployment.
Accuracy and Latency Trade-offs in LLM Recommendations

Current solutions force a compromise: either sacrifice long-term memory for speed, or sacrifice speed for reasoning quality. SIREN aims to break through both walls simultaneously.

Methods: How SIREN Works

The authors introduce two novel components to tackle these challenges:

1. Long-Term Interest Sketching

Instead of feeding raw text descriptions of every item a user has ever interacted with, SIREN creates a compact "sketch." * Topic Discovery: It uses K-means clustering on item embeddings to discover semantic "topics" across the entire catalog. * Compression: A user’s history is aggregated into a short, human-readable list of "Liked Topics" and "Disliked Topics." * Hybrid Prompting: This compact sketch is combined with a small window of the user's most recent raw interactions. This efficiently captures both stable long-term preferences and current trends.

2. Internalized Reasoning

This is the "secret sauce" that eliminates the need for the LLM to generate reasoning tokens at inference time.

  • Stage 1 (Learning to Reason): Since there are no "ground truth" reasoning paths for recommendations, the authors use Group Relative Policy Optimization (GRPO)—a reinforcement learning technique—to train the LLM to generate its own reasoning followed by a rating. It is rewarded for following the correct format and predicting the rating accurately.
  • Stage 2 (Internalization): The model is then fine-tuned using Hidden Alignment. The goal is to make the hidden state of the "answer" token in a fast, answer-only mode match the hidden state it would have had if it had gone through the full CoT process. Essentially, the model learns to "skip the talking" and jump straight to the conclusion, having already internalized the logic into its parameters.

Key Insights and Ideas

  • The "Thinking" is in the Hidden States: The most profound insight is that the "intelligence" of CoT isn't just in the text output, but in the specific vector space the model reaches before it predicts the final token. By aligning these vectors, you can transfer the "quality" of reasoning without the "quantity" of tokens.
  • KV Adaptation is Key: The authors provide a theoretical proof showing that adapting the Key (K) and Value (V) matrices in the attention layers is sufficient to internalize the effect of additional reasoning tokens.
  • Sketching > Summarizing: Traditional LLM-based summarization of user profiles is slow and expensive. SIREN’s embedding-based clustering acts as a "pre-computation" step, making the actual prompt construction incredibly lightweight.

Key Results

  • Massive Speedup: SIREN-AO (Answer-Only) delivers over 100x lower inference latency than CoT-based recommenders while maintaining nearly identical accuracy.
  • Token Efficiency: It reduces average input tokens by 48.7% compared to raw-history prompting.
  • Superior Accuracy: On the Amazon Movies dataset, SIREN reduced Mean Absolute Error (MAE) by 20.1% compared to the next best baseline.
  • Robustness: The model outperformed traditional methods like Matrix Factorization and other LLM-based approaches across both Books and Movies datasets.

Limitations and Future Work

While highly effective, the approach has a few limitations:

  • Training Intensity: While inference is lightning-fast, the two-stage training process (especially the RL stage) is computationally expensive. Future work might explore "coreset selection" to reduce the amount of data needed for training.
  • Static Taxonomy: The semantic topics are discovered once. In a rapidly evolving catalog (like news or short-form video), the clustering might need frequent updates to stay relevant.
  • Cold Start: While LLMs handle new items well due to semantic understanding, the "sketching" process still relies on having some user history to aggregate.

Ultimately, SIREN represents a significant step toward making "reasoning" recommenders a reality in production environments, proving that models don't always need to "talk" to be smart.

Summary updated

BibTeX
@inproceedings{ding2026token,
  author = {Zhihao Ding and Jinming Li and Shuai Mu and Jieming Shi},
  title = {{Token-Efficient Long-Term Interest Sketching and Internalized Reasoning for LLM-based Recommendation}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=NVrXCKaEjM},
}
Figure