TL;DR
E-CARE (Efficient Commonsense-Augmented Recommendation Enhancer) bridges the gap between powerful Large Language Model (LLM) reasoning and the strict latency constraints of e-commerce platforms. By constructing an offline "reasoning factor graph" and training lightweight online adapters, it injects commonsense knowledge into search and recommendation models without requiring real-time LLM decoding, supervised fine-tuning (SFT), or human annotation.
What Problem Does This Paper Address?
In e-commerce, user queries are frequently vague or ambiguous. For instance, a user searching for a "phone case for elderly" doesn't specify a brand, material, or color. Traditional search systems relying on lexical matching (like BM25) or semantic similarity (bi-encoders) struggle here because they look for direct textual overlaps or surface-level semantic closeness. They fail to capture the implicit commonsense expectation: "the elderly" typically implies a need for protection and easy grip rather than sleek aesthetics.
While LLMs excel at this type of implicit commonsense reasoning, deploying them directly to rank millions of products in real-time is prohibitively expensive and introduces unacceptable latency. Furthermore, existing methods that attempt to distill LLM knowledge into smaller models usually depend on costly human annotations and Supervised Fine-Tuning (SFT). E-CARE tackles this efficiency-intelligence trade-off.
Methods
E-CARE introduces a two-part framework consisting of an offline three-stage pipeline to build a knowledge graph, and lightweight online adapters to utilize it.
1. Offline Reasoning Factor Graph Construction
- LLM Reasoning: Instead of fine-tuning, the authors use an offline LLM via the DSPy framework to extract two types of knowledge: Inherent product features (category, style, usage) from product descriptions, and Cross-level reasoning (mapping user needs to product utilities across dimensions like why, who, and where_when) from historical interaction logs.
- Node Clustering: Raw LLM generations are highly redundant. The authors embed these factors using
gte-Qwen2-7b-Instructand apply a clustering algorithm to merge semantically identical concepts, significantly shrinking the graph. - Edge Filtering: To eliminate hallucinated or noisy relationships, the authors use LLM uncertainty evaluation (calculating a contrastive probability score between "YES" and "NO" responses) to prune low-confidence edges.
2. Lightweight Adapters
To bypass real-time LLM decoding during live user searches, E-CARE trains simple Multi-Layer Perceptrons (MLPs) on top of frozen LLM text embeddings. Trained via an InfoNCE contrastive loss using the graph's edges as positive samples, these adapters quickly predict the relevant commonsense factors for unseen queries and products on the fly.
Datasets
The authors evaluated E-CARE across three distinct datasets:
- Amazon ESCI: A public benchmark from KDD Cup 2022 containing difficult, manually labeled query-product pairs categorized into 'Exact', 'Substitute', 'Complement', or 'Irrelevant'.
- WANDs (Wayfair ANnotation Dataset): A public e-commerce product search dataset containing query-product relevance metrics.
- Private Dataset: An internal dataset from a real-world browser app recommendation scenario consisting of anonymized user search logs and a human-annotated test set of 200 queries.
Key Insights and Ideas
- Decoupling Generation from Inference: The core innovation is moving the heavy computational burden of LLM text generation entirely offline into a structured graph, allowing online models to access "LLM-level" intelligence via fast vector similarity.
- Graph Pruning as a Quality Booster: Raw LLM outputs are noisy. Combining embedding-based clustering with uncertainty-based edge filtering doesn't just make the graph smaller—it actually enriches the reasoning space by reducing factor redundancy, leading to better downstream performance.
- The Harder the Task, the Greater the Gain: E-CARE showed much larger improvements on the complex, ambiguous Amazon ESCI dataset than on the cleaner, more homogeneous WANDs dataset, proving that commonsense injection is most valuable when semantic ambiguity is high.
Key Results
- Search Relevance: On the Amazon ESCI dataset, augmenting a DeBERTa-v3-large cross-encoder with E-CARE factors improved its Macro F1 score from 59.01 to 61.03.
- App Recall: On the private recommendation dataset, E-CARE delivered massive improvements over the baseline online recall system, boosting Recall@5 from 51.3% to 62.4% and Precision@5 from 41.0% to 53.1%.
- Production Deployment: In a live A/B test handling 20% of real-world traffic on an app advertisement system, E-CARE increased total Value Per Mille (VPM) by 1.41% and Conversion Rate (CVR) by 3.39%.
Limitations and Future Work
- Temporal Dynamics & Cold-Start: The offline graph construction is scheduled on a monthly basis, and adapter predictions are updated daily. This means the system might lag behind real-time viral trends or completely new items introduced between update cycles.
- Dependence on Interaction Logs: The cross-reasoning component relies on historical query-product interaction data to infer user intent, making it less applicable to brand-new e-commerce platforms suffering from cold-start issues at the system level.
Summary updated