Who You Are Matters: Bridging Topics and Social Roles via LLM-Enhanced Logical Recommendation

Qing Yu, Xiaobei Wang, Shuchang Liu, Yandong Bai, Xiaoyu Yang, Xueliang Wang, Chang Meng, Shanshan Wu, Hailan Yang, Huihui Xiao, Xiang Li, Fan Yang, Xiaoqiang Feng, Lantao Hu, Han Li, Kun Gai, Lixin Zou · DOI

TL;DR

This paper introduces TagCF, a novel recommendation framework that leverages Large Language Models (LLMs) to bridge user topics and social roles. By explicitly modeling user roles and their logical connections to item topics, TagCF significantly enhances recommendation accuracy and diversity, moving beyond traditional content-based approaches.

What Problem Does This Paper Address?

Traditional recommender systems often rely on identifying item topics and user preferences for those topics. However, they tend to overlook crucial aspects like a user's social roles and characteristics, which can act as confounders influencing user behavior and preference transitions. For instance, a "new parent" might have different purchasing patterns than a "student" even if they both like similar items. This paper addresses this gap by proposing a framework that explicitly models these user roles and the logical relationships between these roles and item topics, aiming for more nuanced and personalized recommendations.

Methods

The core of TagCF lies in its integration of LLMs into the recommendation pipeline. The framework consists of three main components:

  1. MLLM-based Item-wise Tag Extraction: A multi-modal LLM (MLLM) is used to extract relevant user (role) tags and item (topic) tags from an item's multimodal information (e.g., text, audio, image). This goes beyond simple keyword extraction by leveraging the LLM's world knowledge.
  2. LLM-based Collaborative Logic Reasoning: Another LLM is employed to infer the logical relationships between the extracted user and item tags. This creates "logic graphs" that represent how user roles connect to item topics (U2I logic) and vice-versa (I2U logic). To manage computational complexity and ensure stability, a "cover set reduction" technique is used to select a concise yet representative subset of tags.
  3. Tag-Logic Integration: The extracted tags and logic graphs are integrated into standard recommendation models. This is achieved through:
  4. Tag-based Encoders: Enhancing item and user representations with tag embeddings.
  5. Tag-based Learning Augmentation: Using contrastive learning objectives to align user/item embeddings with tag embeddings.
  6. Tag-Logic Inference Extension: Explicitly incorporating tag-logic scores into the final recommendation prediction.

Datasets

The paper evaluates TagCF on:

  • Industrial Dataset: A large-scale dataset from a real-world video sharing platform.
  • Public Datasets: Books and Movies datasets.

Key Insights and Ideas

  • User Roles Matter More Than Just Topics: The research empirically suggests that modeling user roles can be a more effective strategy for improving recommendation accuracy than solely focusing on item topics.
  • LLMs as Knowledge Extractors and Reasoners: LLMs are shown to be powerful tools for extracting rich, interpretable semantic tags and for inferring complex logical relationships between users and items, going beyond simple co-occurrence patterns.
  • Transferable Logic Graphs: The extracted tag-logic graphs are demonstrated to be general and transferable, benefiting other recommendation tasks and models.
  • Bridging Utility and Exploration: TagCF offers two modes: "TagCF-util" for direct recommendation accuracy and "TagCF-expl" for exploring user preferences and increasing diversity, effectively mitigating the "echo chamber" effect.

Key Results

  • Online A/B Test: TagCF-util significantly improved interaction metrics (e.g., effective play, likes) by +0.946%, while TagCF-expl improved diversity by +0.102% without sacrificing accuracy.
  • Offline Experiments: TagCF variants consistently outperformed baseline methods (including other LLM-enhanced approaches) in both accuracy (NDCG, MRR) and diversity (ItemCoverage) metrics across multiple datasets. For instance, on the Industry dataset, TagCF-it showed an +8.06% improvement in NDCG@10 over the best baseline.
  • Tag Quality: Human evaluations showed that the tags extracted by TagCF are of high quality, comparable to or even exceeding those from GPT-40 in certain aspects like accuracy and reasonableness.
  • LLM Size Efficiency: The study found that a cascade of smaller LLMs with a 7B parameter model for harder cases offers a good balance between performance and computational cost.

Limitations and Future Work

  • Cold Start Users: The current framework relies on user histories for tag-based user encoding and role identification. Handling users with little to no interaction data (cold start) remains a challenge.
  • Optimality of Tag Sets: While the cover set reduction is effective for efficiency, the authors are skeptical about its optimality, suggesting future work on better exploiting the full tag set.
  • Computational Cost: The LLM inference for tag extraction and logic reasoning adds computational overhead, though this is offset by the benefits of the learned knowledge.
  • Future Work: The authors suggest exploring better ways to exploit the full tag set, investigating the transferability of the logic graphs to other tasks, and addressing the cold-start problem. They also highlight the potential for this framework to be used in social science research for discovering user behavioral logic.

Summary updated

BibTeX
@inproceedings{yu2025who,
  author = {Qing Yu and Xiaobei Wang and Shuchang Liu and Yandong Bai and Xiaoyu Yang and Xueliang Wang and Chang Meng and Shanshan Wu and Hailan Yang and Huihui Xiao and Xiang Li and Fan Yang and Xiaoqiang Feng and Lantao Hu and Han Li and Kun Gai and Lixin Zou},
  title = {{Who You Are Matters: Bridging Topics and Social Roles via LLM-Enhanced Logical Recommendation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=01hPO0uJhS},
}
Figure