In the world of recommender systems, the prevailing wisdom has long been "tell me what you like, and I'll find more of it." We focus on item topics—categories like "Sci-Fi" or "Cooking"—and map user interests to them. But a new paper from researchers at Wuhan University and Kuaishou Technology argues that we’ve been missing a crucial piece of the puzzle: Who you are.
The paper, titled "Who You Are Matters: Bridging Interests and Social Roles via LLM-Enhanced Logic Recommendation," introduces TagCF, a framework that uses Large Language Models (LLMs) to identify user social roles and the underlying logic that connects those roles to specific items.
TL;DR
TagCF moves beyond simple item-topic matching by using LLMs to explicitly model user social roles (e.g., "new parent," "symphonist") and the behavioral logic connecting them to products. By extracting these "virtual logic graphs," the system achieves significant gains in both recommendation accuracy and diversity across massive industrial and public datasets.
What Problem Does This Paper Address?
Traditional Collaborative Filtering (CF) follows a "learning-to-rank" paradigm. It’s great at spotting that people who bought diapers also bought beer, but it rarely understands why. In this classic example, the "why" is the social role: "dads with newborns."
Existing systems struggle with this for two reasons:
- Data Scarcity/Privacy: You can’t simply ask users to list their social roles; it’s intrusive and inefficient.
- Interpretability: Statistical models might find a correlation between violins and high-end headphones, but they miss the logical link that a "symphonist" (the social role) naturally values both.
The authors aim to bridge this gap by identifying user roles and modeling the "behavioral logic" (e.g., why a certain type of user likes a certain type of item) without requiring explicit user input.
Methods
The authors propose TagCF, which integrates LLMs into the recommendation pipeline through three main stages:
- MLLM-based Tag Extraction: Using Multi-modal LLMs (like M3), the system analyzes raw item data (video, audio, text) to generate two types of tags: Item Topic Tags (what the content is about) and User Role Tags (what kind of person would enjoy this). To keep the tag list from exploding, they use a "Cover Set Reduction" algorithm to find a small, expressive subset of tags.
- Collaborative Logic Reasoning: They use an LLM (Qwen2.5) to build a Logic Graph. This graph maps the relationships between roles and topics (e.g., "Symphonist" $\rightarrow$ "Instrument Shows"). Because LLMs possess vast world knowledge, they can infer these logical links even if they haven't appeared frequently in the training data.
- Tag-Logic Integration: These insights are baked into the recommendation model via:
- Tag-based Encoders: Enhancing user and item representations with semantic tag data.
- Contrastive Learning: A training strategy that aligns the item/user embedding space with the semantic tag space.
- Inference Extension: At the final ranking stage, the model adds a "logic score" to candidates, boosting items that are logically consistent with the user's inferred role.
To make this scale for an industrial environment (Kuaishou serves half a billion users), they use model distillation, training smaller, faster models to mimic the LLM’s tagging behavior.
Datasets
The researchers evaluated TagCF on:
- Industrial Dataset: A massive dataset from Kuaishou (89k users, 3.2M interactions).
- Public Datasets: The standard Amazon Books and Movies datasets.
- Online A/B Testing: Real-world deployment on the Kuaishou video platform.
Key Insights and Ideas
- Roles are more stable than Topics: One of the most striking findings is that modeling user roles (
TagCF-ut) often outperforms modeling item topics (TagCF-it). While item trends (like a viral news topic) are fleeting, a user's social role (like being a "marathon runner") is a stable, long-term predictor of interest. - LLMs as Logic Engines, not just Taggers: Instead of just using LLMs to describe items, TagCF uses them to reason about intent. The LLM acts as a repository of "common sense" that helps the recommender explore interests outside of a user's immediate "echo chamber."
- Knowledge Transferability: The logic graphs extracted from the industrial video platform proved useful when transferred to the books and movies domains, suggesting that the "behavioral logic" of social roles is universal.
Key Results
- Online Impact: In a 14-day A/B test on Kuaishou, TagCF-util (focused on accuracy) improved interaction metrics by +0.946%, while TagCF-expl (focused on exploration) boosted diversity by +0.102% without sacrificing accuracy.
- Offline Performance: On public datasets, TagCF consistently outperformed state-of-the-art baselines (like SASRec and BERT4Rec) in NDCG and MRR, often by double-digit percentages in the Books category.
- Long-term Retention: The system showed a statistically significant boost in "LT7" (long-term daily active users), proving that logically sound recommendations keep users coming back.
Limitations and Future Work
- Cold Start: The system still relies on a user's interaction history to infer their role. For brand-new users with zero history, the "role identification" task remains a challenge.
- Greedy Optimality: The authors acknowledge that their greedy algorithm for tag "cover sets" might not be perfectly optimal and could be refined.
- Computational Overhead: While distillation helps, the initial extraction and logic reasoning stages require significant MLLM/LLM resources, which might be a barrier for smaller platforms.
By shifting the focus from "what" to "who," TagCF provides a more human-centric way to think about algorithms—making recommendations feel less like a statistical coincidence and more like a logical conversation.
Summary updated