TL;DR
This paper introduces PKGM, a novel pre-trained knowledge graph model designed to provide rich item knowledge services for e-commerce applications. By learning embeddings for items and their relationships, PKGM overcomes the limitations of incomplete knowledge graphs and simplifies the integration of knowledge into downstream tasks, leading to significant performance improvements across various applications.
What Problem Does This Paper Address?
In e-commerce, knowledge graphs (KGs) are crucial for organizing vast amounts of product data and powering various tasks like recommendations and search. However, traditional methods of leveraging KGs involve tedious data selection and complex model design to incorporate explicit triple data. A major challenge is that these KGs are often incomplete, leading to potential errors and biases in downstream applications. The authors aim to address this by creating a pre-trained model that can provide knowledge services in a uniform, implicit manner, overcoming incompleteness and simplifying integration.
Methods
The core of the proposed solution is the Pre-trained Knowledge Graph Model (PKGM). PKGM consists of two main modules:
- Triple Query Module: This module encodes the truth value of a given triple (head entity, relation, tail entity). It uses a TransE-like approach, where the embeddings of the head entity and relation are expected to sum up to the tail entity's embedding for true triples.
- Relation Query Module: This module encodes the existence of a relation for a given entity. It learns a transformation matrix for each relation to predict whether a relation exists between a head entity and a relation.
PKGM is pre-trained on a massive product knowledge graph. After pre-training, it can generate "service vectors" for any given item. These service vectors represent implicit knowledge about the item and can be integrated into downstream models in two general ways: by appending them to existing sequences of embeddings or by concatenating them with single embeddings. This approach allows downstream tasks to benefit from KG knowledge without directly accessing triple data or needing complex model redesign.
Datasets
The paper utilizes a billion-scale e-commerce product knowledge graph for pre-training PKGM. For evaluation, they use five downstream tasks: item classification, item resolution, item recommendation, scene detection, and sequential recommendation. These tasks are evaluated on datasets sampled from the Taobao platform, with varying scales and characteristics (e.g., sparse vs. dense). Specific dataset statistics are provided for each task.
Key Insights and Ideas
- Implicit Knowledge Service: PKGM moves beyond explicit triple retrieval, offering a more flexible and robust way to inject knowledge. This is crucial for handling incomplete KGs.
- Uniform Service Vectors: The model provides a standardized output (service vectors) that can be easily integrated into diverse downstream models, reducing the engineering effort.
- Triple Data Independence: Downstream tasks no longer need to directly query or process raw triple data, simplifying model design and potentially improving data privacy.
- Completion Capability: PKGM implicitly "completes" the knowledge graph by inferring missing relationships, mitigating the impact of incompleteness.
- Relation Query Module's Importance: For tasks like item classification, service vectors from the relation query module proved more informative than those from the triple query module, suggesting that item properties are more valuable than specific attribute values for certain tasks.
Key Results
PKGM consistently improved performance across all five tested downstream tasks:
- Item Classification: Achieved significant gains, with improvements up to 3.442% on average across metrics.
- Item Resolution: Showed notable improvements, especially on sparser datasets, with an average increase of 1.227%.
- Item Recommendation: Demonstrated substantial gains, with average improvements of up to 6.987% on NDCG@k metrics.
- Scene Detection: Saw performance boosts, with average improvements of up to 1.333%.
- Sequential Recommendation: Achieved considerable improvements, with average gains of up to 6.177% on Hit@10 and NDCG@10.
In general, PKGM-enhanced models outperformed baseline models, and the improvements were often more pronounced on sparser datasets.
Limitations and Future Work
The authors acknowledge that the effectiveness of PKGM can be influenced by the performance of the base model and the sparsity of the datasets.
Future work directions include:
- Expanding Domain and Tasks: Applying PKGM to more diverse e-commerce tasks and exploring its use with open-domain knowledge graphs like Wikidata and DBpedia.
- Integrating with Advanced KGE Methods: Adapting PKGM to work with more sophisticated knowledge graph embedding techniques such as DistMult and ConvE.
- Exploring New Query Modules: Investigating and incorporating additional query modules beyond triple and relation queries to enrich the service vectors with more diverse knowledge.
Summary updated