TrackRec: Iterative Alternating Feedback with Chain-of-Thought via Preference Alignment for Recommendation

Yu Xia, Rui Zhong, Zeyu Song, Wei Yang, Junchen Wan, Qingpeng Cai, Chi Lu, Peng Jiang

TL;DR

This paper introduces TrackRec, a novel framework that enhances recommendation systems (RS) by leveraging Large Language Models (LLMs) and their Chain-of-Thought (CoT) reasoning. TrackRec iteratively refines both a CoT generator and a validator, aligning LLM reasoning with user preferences and recommendation tasks, leading to significant performance improvements and successful real-world deployment.

What Problem Does This Paper Address?

Traditional recommendation systems often struggle with knowledge gaps and limited reasoning capabilities, especially when dealing with complex user preferences. While Large Language Models (LLMs) offer vast world knowledge and impressive reasoning abilities, their application in RS is hampered by issues like hallucination, making their generated reasoning (Chain-of-Thought or CoT) unreliable. Furthermore, larger LLMs, while more capable, are too slow for real-time recommendation tasks. This paper addresses the challenge of making LLM reasoning both accurate and efficient for recommendation systems, ensuring that the generated CoT genuinely reflects user preferences and aids the recommendation process.

Methods

TrackRec is built around two core components: a RecCoT Generator (G) and a RecCoT Validator (V). The framework employs a multi-stage process:

  1. Distillation: To overcome the inference cost of large LLMs, TrackRec uses a powerful "teacher" LLM (like GPT-4) to generate recommendation CoTs (RecCoTs) on a smaller dataset. This distilled data is then used to initialize a smaller, more efficient "student" LLM (like Qwen-7B) for G.
  2. CoT Preference Alignment: G generates multiple potential RecCoTs for a user. V then evaluates these RecCoTs, providing feedback. This feedback is used to train G via Softmax Direct Preference Optimization (S-DPO), aligning G's reasoning with V's validation capabilities.
  3. Rec-tuning: The refined RecCoTs from G are used to create instruction data for fine-tuning V. This process, called "Rec-tuning," enhances V's ability to perform recommendation tasks based on the generated reasoning.
  4. Iterative Alternating Feedback Learning: The Generator (G) and Validator (V) are trained iteratively. G learns to produce better RecCoTs based on V's feedback, while V improves its validation and recommendation accuracy based on G's refined outputs. This creates a synergistic loop, continuously enhancing both components.

Datasets

The paper uses the following datasets for evaluation:

  • Amazon-Book Dataset: A subset of the Amazon Review Dataset, where reviews are treated as interaction behaviors.
  • MovieLens Dataset: A standard movie recommendation benchmark dataset.
  • Industrial Dataset: Collected from a large advertising platform with hundreds of millions of users.

The authors mention that for public dataset processing, they followed the setup of COLLM [50]. For initializing the Generator G, they randomly sampled a small portion of the training set.

Key Insights and Ideas

  • CoT is Crucial for RS: The paper empirically demonstrates that incorporating CoT reasoning significantly improves recommendation performance, even in zero-shot settings.
  • LLM Hallucination is a Real Problem: The unreliability of LLM-generated CoT is a major hurdle, necessitating alignment mechanisms.
  • Generator-Validator Synergy: The iterative feedback loop between G and V is key to achieving robust and accurate RecCoTs. G learns to "think" better, and V learns to "validate" that thinking more effectively.
  • Distillation for Efficiency: Using a large LLM as a teacher to distill knowledge into a smaller LLM is a practical approach to balance performance and inference speed in real-world RS.
  • Model-Agnostic Framework: TrackRec can be integrated with various backbone recommendation models, showcasing its generalizability.

Key Results

  • Performance Improvement: TrackRec consistently improves the performance of various backbone recommendation models (e.g., AutoInt, DeepFM, DIN) across AUC and ACC metrics on both public and industrial datasets. For instance, on the Amazon-Book dataset with DIN as the backbone, TrackRec achieved a statistically significant improvement.
  • State-of-the-Art Comparison: TrackRec outperforms other LLM-based baseline methods, including those using LLMs directly as recommenders or as enhancers for traditional models.
  • Real-World Deployment: TrackRec was deployed on a large advertising platform, resulting in a 2.3% increase in revenue and a 1.6% improvement in conversion rate compared to the baseline model. This demonstrates its practical applicability and business value.
  • Efficiency: The framework achieves significant efficiency advantages, with TrackRec's inference time showing almost no increase even with increasing query loads, meeting production latency requirements.

Limitations and Future Work

  • LLM Scale vs. Efficiency: While distillation helps, the inherent trade-off between LLM scale and inference efficiency remains a consideration for extremely large models.
  • Generalizability of CoT Prompts: The paper suggests further optimization of CoT prompts for specific downstream recommendation tasks.
  • Future Work: The authors highlight the potential for further research into optimizing CoT prompts and exploring more advanced alignment strategies. The success in real-world deployment suggests avenues for further integration and refinement in production environments.

Summary updated

BibTeX
@inproceedings{xia2026trackrec,
  author = {Yu Xia and Rui Zhong and Zeyu Song and Wei Yang and Junchen Wan and Qingpeng Cai and Chi Lu and Peng Jiang},
  title = {{TrackRec: Iterative Alternating Feedback with Chain-of-Thought via Preference Alignment for Recommendation}},
  booktitle = {DASFAA},
  year = {2026},
  doi = {10.1007/978-981-92-0363-5\_24},
}
Figure