Abstract
Traditional recommender systems often treat search queries and item recommendations as separate entities, leading to data sparsity and missed opportunities to capture nuanced user intent. We present MAGUS (Multiple-round Auto Guess-and-Update System), a framework that unifies queries and items into a relational graph. By leveraging iterative feedback and label propagation, MAGUS allows for real-time updates of user preferences across both abstract intents and concrete products. Our evaluation on three large-scale e-commerce datasets—Amazon, Alipay, and Tmall—demonstrates that MAGUS significantly improves recommendation accuracy and efficiency across various base models, helping users find target items in fewer interaction rounds.
Introduction
In e-commerce, user intent is typically captured through two distinct channels: high-level search queries (e.g., "milk") and granular items (e.g., "Brand A Skimmed Milk, 2L"). Traditionally, search engines handle the former while recommender systems handle the latter based on historical behavior. However, this separation creates a "data sparsity" problem. If a user searches for "milk" but rejects several specific milk products, a standard recommender might erroneously conclude the user is no longer interested in milk, ignoring the explicit intent provided in the query.
MAGUS addresses three core challenges in bridging this gap: creating a unified metric for evaluating both abstract queries and concrete items, modeling the complex interdependencies between different query levels, and maintaining low latency for real-time updates.
Methodology
MAGUS is a "plug-and-play" framework designed to wrap around existing recommendation models. Its architecture is built upon three pillars:
1. The Relational Graph
MAGUS extracts "words" (categorical features like brand, category, or price) from both items and queries. It constructs a graph where nodes represent these words or their combinations. Edges define relationships such as Mutual Improvement (hierarchical inclusion), Mutual Inhibition (distinct categories), and Mutual Independence.
2. Recursive Guess-and-Update
The system operates in an iterative loop:
- Initialization: An offline base model (e.g., DeepFM or DIN) assigns initial scores to item nodes.
- Propagation: Scores flow through the graph to related queries and words.
- Interaction: The system "guesses" user interest by presenting the highest-scoring nodes, which can be either specific items or broader queries.
- Update: Upon receiving user feedback (Yes/No/Not Care), MAGUS employs a Label Propagation algorithm to instantly update scores across the entire graph, refining future suggestions.
3. LLM Integration
To ensure that generated query suggestions remain natural and user-friendly, MAGUS utilizes Large Language Models (LLMs) to rephrase raw word combinations into natural language queries.
Experimental Evaluation
The framework was evaluated using three massive real-world datasets: Amazon (1.1M reviews), Alipay (35M interactions), and Tmall (54M interactions). The authors simulated multi-round interactions to measure how quickly the system could identify a target item.
Key Results
MAGUS was tested against 12 different base recommendation methods, including Factorization Machines (FM) and Deep Interest Networks (DIN). Key findings include:
- Consistent Performance Gains: Integrating MAGUS improved performance across all datasets. On Tmall, using MAGUS with an FM base improved Round-wise Accuracy (RA@3) from 0.832 to 0.894.
- Increased Efficiency: Users were significantly more likely to find their target items within five rounds of interaction (SA@5) compared to traditional conversational baselines.
- Robustness: The system maintained high accuracy even when user feedback was ambiguous or when users expressed "Not Care" for specific attributes.
Discussion and Conclusion
MAGUS demonstrates that queries should be treated as supervision signals rather than just inputs. By decomposing items and queries into a shared vocabulary, the system creates a common ground for abstract exploration and concrete exploitation. The use of Label Propagation ensures the system meets the strict latency requirements of live e-commerce environments.
While the current framework relies on offline models for initialization and can occasionally produce artificial-sounding queries, it represents a significant step toward a more unified, conversational recommendation experience. Future work will focus on live production deployments to observe how human users interact with the choice between queries and items in real-time.
Summary updated