TL;DR
Existing e-commerce knowledge graphs link user actions to discrete intentions, but fail to model how multiple intentions connect to one another over time or through cause and effect. This paper introduces IGC-RC, an automated pipeline that constructs a 351-million-edge Relational Intention Graph (RIG) capturing temporal, causal, and conceptual links between user goals. By incorporating RIG into session-based recommendation models, the authors achieve state-of-the-art recommendation quality alongside ~1,200× faster inference compared to direct LLM prompting.
What Problem Does This Paper Address?
When users shop online, their behavior reflects deliberate, multi-step goal planning (often framed as Kahneman's "System II" reasoning). For example, someone organizing a Halloween party might sequentially buy costumes, decorations, and party supplies.
While recent intention knowledge graphs (e.g., FolkScope, COSMO) link item purchases to natural-language user intentions, they treat these intentions as isolated nodes. Existing approaches lack the ability to model inter-intention relationships—such as sequence (before/after), causality (because/as a result), and abstract topical links. Without these connections, recommendation systems struggle to anticipate what a user will need next across sessions.
Methods
The authors introduce the IGC-RC (Intention Generation, Conceptualization, and Relation Classification) framework:
User Sessions ──► 1. Intention Generation (GPT-3.5)
│
┌────────────────┴────────────────┐
▼ ▼
2. Conceptualization 3. Relation Classification
(Llama-3-8B-Instruct) (Templates + Fine-tuned Vera)
│ │
└────────────────┬────────────────┘
▼
Relational Intention Graph (RIG)
│
▼ (Meta-path distillation + GCN)
RIGRec
- Intention Generation: Rather than constraining generation with fixed ontologies (like ConceptNet), GPT-3.5 extracts natural, open-ended verb phrases representing user goals from item session histories.
- Intention Conceptualization: Meta-Llama-3-8B-Instruct abstracts specific intentions into concise, complementary high-level concepts (e.g., "personalization, gift, accessorizing"), building bridges between semantically related goals.
- Relation Classification: Intention pairs are framed into natural-language templates reflecting five discourse relations (precedence, succession, simultaneity, cause, and result). A fine-tuned Vera plausibility model filters out relations below a confidence threshold (> 0.9).
- RIGRec Model: To serve recommendations, RIG's 351M edges are distilled into an item graph via intention meta-paths. A lightweight Graph Convolutional Network (GCN) encodes item-to-intention relational context, which is then fed into a self-attentive sequential backbone (SASRec).
Datasets
- Amazon M2 Dataset: Used the English subset consisting of ~1.2 million multi-locale shopping sessions and multi-category items (sports, baby, beauty, etc.).
- Benchmarking Tasks & Graphs:
- Constructed RIG: 4.2M nodes, 351M edges (including 341.6M intention-intention edges).
- Evaluated on newly formulated inductive graph completion tasks: Intention Prediction, Concept Prediction, and a Product Recovery benchmark comparing overlapped items with FolkScope.
Key Insights and Ideas
- Intentions are structured networks, not flat tags: Explicitly capturing temporal precedence (decorating for Halloween $\rightarrow$ hosting a party) allows models to recommend complementary future needs rather than just visually similar items.
- Offline KG distillation beats runtime LLM inference: Serving recommendations through pre-computed graph embeddings yields higher ranking accuracy than runtime generative LLMs while cutting latency from seconds to milliseconds.
- Different relation types serve complementary roles: Ablation experiments reveal that conceptual links improve overall retrieval coverage (Recall), whereas fine-grained commonsense temporal/causal links drastically sharpen ranking precision (NDCG).
Key Results
- Graph Plausibility: RIG achieved an 81.2% human acceptance rate across 341.6M relation edges, comparing favorably to manually curated graphs like Atomic2020 (86.8%) despite being over 500× larger.
- Inductive Tasks & Latency: In intention prediction, RIG outperformed Mistral-7B and LLaMA-3-8B in ranking accuracy (Hit@10 of 0.7260 vs. 0.6763 and 0.5879) while reducing inference time from ~3,600 ms to 3.01 ms (~1,200× speedup).
- Recommendation Quality (RIGRec): Consistently outperformed 13 competitive sequential, graph, and intent-aware baselines (e.g., improving Recall@5 from 0.3075 [SASRec] and 0.3130 [GCE-GNN] to 0.3342; NDCG@10 from 0.2406 to 0.2503 on Amazon M2 UK).
Limitations and Future Work
- Language and Domain Scope: Experiments were restricted to the English e-commerce subset of Amazon M2; non-English settings and other application domains remain unexplored.
- Relation Expressivity: The graph currently focuses on five discourse relations (temporality, simultaneity, causality); incorporating richer relational primitives (e.g., spatial, budget-constraint, or social dynamics) could enhance expressivity.
- Reliance on LLMs for Generation: Initial intention extraction relies on proprietary or heavy models (GPT-3.5/LLaMA-3), posing computational bottlenecks during massive-scale offline graph refreshes.
Summary updated