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

TRAWL: External Knowledge-Enhanced Recommendation with LLM Assistance

Weiqing Luo, Chonggang Song, Lingling Yi, Gong Cheng

TL;DR

This paper introduces TRAWL, a novel framework that leverages Large Language Models (LLMs) to extract and adapt external knowledge for recommender systems. By addressing challenges in denoising raw external data and bridging the semantic gap between external knowledge and user behavior, TRAWL significantly enhances recommendation performance.

What Problem Does This Paper Address?

Recommender systems often rely on user-item interaction data, which can be sparse and fail to capture the rich semantic content of items. While incorporating external knowledge (like item descriptions or Wikipedia articles) can enrich recommendations, two major challenges arise:

  1. Denoising and Extracting Relevant Knowledge: Raw external knowledge is often noisy and not directly tailored for recommendation. Extracting the truly useful, recommendation-relevant information requires sophisticated filtering and summarization.
  2. Adapting Semantic Representations: Even when relevant knowledge is extracted, its semantic representation (e.g., from LLMs) exists in a different space than the behavioral representations learned by recommender systems. Bridging this gap to effectively integrate the two is crucial for improving performance.

Methods

TRAWL tackles these challenges with a two-pronged approach:

  • External Knowledge Generation (LLM-Assisted): TRAWL uses LLMs to extract recommendation knowledge from raw external text. This is achieved through carefully crafted prompts that guide the LLM to focus on key recommendation-relevant factors and leverage common-sense inference. This approach aims to mitigate the "hallucination" problem often associated with LLMs by grounding the generation in existing external data.
  • Semantic Representation Adaptation: To bridge the semantic gap, TRAWL employs an adapter network. This network is trained using a novel combination of:
  • Multi-task Learning: The adapter is trained alongside the recommender network, optimizing for both recommendation accuracy and the adaptation task.
  • Contrastive Learning: This strategy uses behavioral information to guide the adaptation. Specifically, it employs a "SWING similarity" metric to identify similar users/items based on their interaction histories. The adapter is then trained to minimize the distance between the embeddings of these behaviorally similar pairs, effectively injecting behavioral signals into the semantic representations.

The framework is designed to be modular, allowing it to be integrated with various backbone recommender architectures.

Datasets

  • MovieLens-1M: This public dataset was used for training and evaluating the framework's effectiveness on a standard movie recommendation task.
  • WeChat Article Recommendation Service: TRAWL was also deployed and evaluated in a real-world online setting on WeChat's article recommendation platform, demonstrating its practical applicability.

Key Insights and Ideas

  • LLMs as Knowledge Extractors, Not Generators: Instead of solely relying on LLMs to generate new knowledge, TRAWL positions them as powerful tools to extract and refine existing external knowledge, making the process more reliable.
  • The Power of Prompt Engineering: The effectiveness of LLM-based knowledge extraction is highly dependent on well-designed prompts that guide the model towards relevant information and reasoning.
  • Bridging the Semantic-Behavioral Gap is Key: The adapter network, trained with contrastive learning, is shown to be critical for effectively integrating external semantic knowledge with user behavior, leading to significant performance gains.
  • Contrastive Learning with Behavioral Similarity: Using behavioral similarity metrics like SWING to define positive samples for contrastive learning is an effective way to align semantic representations with user preferences.

Key Results

  • Superior Performance: TRAWL consistently outperformed baseline methods, including those using raw external knowledge, basic summarization, topic-focused summarization, and LLM-generated knowledge (LLMKAR), across different backbone recommender networks (DIN, DIEN, DeepFM) on the MovieLens-1M dataset.
  • Significant Improvements in Online A/B Test: In a real-world deployment on WeChat, TRAWL led to notable improvements in key metrics: a 0.310% increase in average click count, a 0.360% increase in average read seconds, and a 0.543% increase in average interaction count per user, compared to the baseline online model.
  • Effectiveness of Adaptive Training: Ablation studies confirmed that both the adapter network and the contrastive learning strategy are essential for TRAWL's performance. Removing either component led to a significant degradation in results.

Limitations and Future Work

  • Parameter Sensitivity: The paper notes that hyper-parameters like contrastive loss weights and temperature require careful tuning, and sensitivity analyses were conducted to understand their impact.
  • LLM Hallucination Mitigation: While TRAWL aims to mitigate hallucination by grounding LLM output in existing data, the inherent risk of LLMs generating incorrect information remains a general concern.
  • Future Work: The authors suggest that TRAWL's modular design allows for integration with various recommender systems and opens avenues for further research into combining semantic and behavioral data more effectively. The success in both academic and industrial settings highlights its broad applicability.

Summary updated

BibTeX
@inproceedings{luo2025trawl,
  author = {Weiqing Luo and Chonggang Song and Lingling Yi and Gong Cheng},
  title = {{TRAWL: External Knowledge-Enhanced Recommendation with LLM Assistance}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2025},
  doi = {10.1145/3746252.3761533},
}
Figure