NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FolkScope: Intention Knowledge Graph Construction for E-commerce Commonsense Discovery

Changlong Yu, Weiqi Wang, Xin Liu, Jiaxin Bai, Yangqiu Song, Zheng Li, Yifan Gao, Tianyu Cao, Bing Yin

Introduction

Understanding consumer behavior often requires looking beyond explicit product attributes. While traditional e-commerce knowledge graphs (KGs) excel at cataloging factual data—such as a product's category or manufacturer—they frequently overlook the underlying human intentions that drive co-purchasing patterns. Presented at ACL 2023, FolkScope is a semi-automatic framework designed to bridge this gap by constructing a large-scale intention knowledge graph that captures the "ineffable" commonsense reasoning behind shopping behaviors.

The Challenge of Intentionality

Most existing KGs are limited to factual assertions (e.g., "a camera is made by Canon"). However, they lack the commonsense intentionality that links disparate products, such as the realization that a birthday party necessitates both cake and candles. This type of knowledge is rarely explicitly stated in product descriptions because it is considered "obvious" to humans. Consequently, standard information extraction techniques struggle to capture these relationships, leaving recommendation engines without the deeper context needed to understand a user's true needs.

The FolkScope Framework

To address this, the authors developed a multi-stage pipeline that leverages the generative capabilities of Large Language Models (LLMs) alongside human-in-the-loop validation.

The FolkScope construction pipeline: from LLM generation to human evaluation and classifier population.

The construction process involves four key steps:

  1. LLM-Based Generation: Using the OPT-30B model, the framework generates candidate intentions for co-purchased items. Prompts are structured around 18 ConceptNet relations (e.g., UsedFor, CapableOf, HasProperty) to provide semantic grounding.
  2. Human Annotation: Amazon Mechanical Turk workers evaluate a subset of these generations based on two metrics: Plausibility (is it logically possible?) and Typicality (is it a common or likely reason?).
  3. Classifier Population: A DeBERTa-large model is trained on the human-labeled data to scale these quality assessments across millions of generated assertions.
  4. Knowledge Aggregation: The graph is refined using pattern mining (gSpan) to merge similar linguistic structures and conceptualization (Probase) to map specific items to higher-level concepts, ensuring the knowledge generalizes to unseen products.

Key Insights: Plausibility vs. Typicality

A core contribution of FolkScope is the distinction between what is plausible and what is typical. While an LLM might generate a statement that is technically true, it may not be useful for a recommendation system if it describes an outlier scenario.

Examples of generated intentions with their Plausibility (P) and Typicality (T) scores. Green text indicates high-quality typical intentions.

By filtering for typicality, FolkScope focuses on the most salient human motivations. For instance, while it is plausible that a watch could be used to "track a specific race," it is more typical for a user to buy fitness gear for "tracking daily activity." The research demonstrates that models utilizing assertions with high typicality scores (e.g., > 0.9) consistently outperform those using all plausible assertions.

Results and Impact

The resulting FolkScope KG contains over 12.7 million assertions covering 184,146 items. Evaluation of the population model showed high performance, with F1 scores of 85.12% for plausibility and 82.67% for typicality.

Extrinsic evaluations in recommendation tasks revealed that incorporating FolkScope’s intention features significantly improves performance. Models like Neural Collaborative Filtering and Wide&Deep saw consistent reductions in Root Mean Square Error (RMSE) when augmented with intentional knowledge. This suggests that capturing the "why" behind a purchase not only improves accuracy but also enhances the explainability of recommendations.

Conclusion

FolkScope represents a significant step toward more human-centric e-commerce AI. By combining LLM creativity with rigorous human-guided filtering, the framework successfully extracts and structures the commonsense intentions that define consumer behavior. Future work aims to expand this approach to more diverse product domains and incorporate multi-behavioral data like search-click patterns.

Reference: Yu, C., et al. (2023). FolkScope: Intention Knowledge Graph Construction for E-commerce Commonsense Discovery. Findings of the Association for Computational Linguistics: ACL 2023.

Summary updated

BibTeX
@inproceedings{yu2023folkscope,
  author = {Changlong Yu and Weiqi Wang and Xin Liu and Jiaxin Bai and Yangqiu Song and Zheng Li and Yifan Gao and Tianyu Cao and Bing Yin},
  title = {{FolkScope: Intention Knowledge Graph Construction for E-commerce Commonsense Discovery}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.76},
}
Figure