Billion-scale Pre-trained E-commerce Product Knowledge Graph Model

Wen Zhang, Chi Man Wong, Ganqiang Ye, Bo Wen, Wei Zhang, Huajun Chen · DOI

TL;DR

This paper introduces PKGM, a novel pre-trained knowledge graph model designed for billion-scale e-commerce product data. PKGM provides a unified way to access item knowledge as embeddings, simplifying downstream tasks and overcoming the common issue of incomplete knowledge graphs. Experiments show PKGM significantly improves performance in item classification, same-item identification, and recommendation.

What Problem Does This Paper Address?

The e-commerce landscape is flooded with billions of items, making it challenging to organize and leverage this vast product information effectively. Knowledge graphs (KGs) offer a structured way to represent this data, but integrating them into downstream applications like recommendation systems or item classification often involves complex data selection and model design. Furthermore, real-world KGs are inherently incomplete, meaning crucial information might be missing, which can bias these applications. The authors aim to bridge this gap by creating a pre-trained KG model that provides item knowledge in a uniform, embedding-based format, making it easier to use and more robust to KG incompleteness.

Methods

The core of the proposed solution is the Pre-trained Knowledge Graph Model (PKGM). PKGM consists of two key modules:

  • Triple Query Module: This module is inspired by KG embedding methods like TransE. It learns embeddings for entities and relations such that head_entity_embedding + relation_embedding ≈ tail_entity_embedding for true triples. This module provides service vectors that approximate the embedding of a tail entity given a head entity and relation.
  • Relation Query Module: This module focuses on determining the existence of a relation for an entity. It uses a transfer matrix for each relation to learn whether an entity should have a particular relation. Service vectors from this module indicate the likelihood of a relation existing.

PKGM is pre-trained on a massive e-commerce product KG. After training, it can generate "service vectors" for any given entity and relation. These vectors can then be seamlessly integrated into existing embedding-based models for downstream tasks. The paper proposes two general ways to incorporate these service vectors: appending them to existing input sequences or condensing them into a single vector and concatenating it with the original input.

Datasets

The paper utilizes a billion-scale e-commerce product knowledge graph for pre-training PKGM. For evaluation, they use:

  • Item Classification: A dataset with 1293 categories, derived from item categories on their platform.
  • Same Item Identification (Product Alignment): Three datasets generated from specific item types (skirts, hair decorations, children's socks), each containing pairs of item titles and a binary label indicating if they refer to the same product.
  • Item Recommendation: A dataset sampled from Taobao platform records, containing user-item interactions.

Key Insights and Ideas

  • Unified Knowledge Service: The most significant idea is providing KG knowledge as uniform service vectors, abstracting away the complexity of triple data and KG structure for downstream models.
  • Overcoming KG Incompleteness: PKGM's ability to "complete" knowledge during service (i.e., inferring tail entities or relation existence even if not explicitly in the KG) is a crucial advantage.
  • Seamless Integration: The proposed methods for integrating service vectors into existing models (sequence appending or vector concatenation) are general and adaptable.
  • Relation Information is Key: For certain tasks like item recommendation, the information derived from the relation query module appears to be more impactful than that from the triple query module.

Key Results

Across all three evaluated tasks, PKGM-enhanced models consistently outperformed their baseline counterparts:

  • Item Classification: BERTPKGM models showed improvements in Hit@k metrics and accuracy, with BERTPKGM-all achieving the best overall performance.
  • Same Item Identification: BERTPKGM-all demonstrated superior performance on Hit@10 metrics across all datasets and achieved the best accuracy, highlighting the value of PKGM's enriched features.
  • Item Recommendation: NCF models augmented with PKGM service vectors (NCFPKGM-T, NCFPKGM-R, NCFPKGM-all) consistently outperformed the baseline NCF model in Hit Ratio (HR) and Normalized Discounted Cumulative Gain (NDCG) metrics. NCFPKGM-R showed a notable improvement, suggesting the importance of relation information.

Limitations and Future Work

  • Data Dependency: The paper notes that for categories with abundant training data, the advantage of PKGM might be less pronounced compared to categories with limited data, where PKGM's ability to inject external knowledge is more critical.
  • Future Work: The authors express interest in applying PKGM to more downstream tasks and exploring alternative ways to leverage service vectors. They also mention the potential for further research into the specific contributions of different service vector types.

Summary updated

BibTeX
@inproceedings{zhang2021billion,
  author = {Wen Zhang and Chi Man Wong and Ganqiang Ye and Bo Wen and Wei Zhang and Huajun Chen},
  title = {{Billion-scale Pre-trained E-commerce Product Knowledge Graph Model}},
  booktitle = {ICDE},
  year = {2021},
  doi = {10.1109/icde51399.2021.00280},
}
Figure