LGAIAug 16, 2022

Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical Queries

Tsinghua
arXiv:2208.07638v172 citationsh-index: 47Has Code
Originality Highly original
AI Analysis

This addresses the limitation of shallow KG embeddings for complex queries, offering improved performance and explainability in AI reasoning tasks.

The paper tackles the problem of reasoning over incomplete knowledge graphs for complex logical queries, presenting the Knowledge Graph Transformer (kgTransformer) which outperforms existing baselines on nine reasoning tasks across two benchmarks.

Knowledge graph (KG) embeddings have been a mainstream approach for reasoning over incomplete KGs. However, limited by their inherently shallow and static architectures, they can hardly deal with the rising focus on complex logical queries, which comprise logical operators, imputed edges, multiple source entities, and unknown intermediate entities. In this work, we present the Knowledge Graph Transformer (kgTransformer) with masked pre-training and fine-tuning strategies. We design a KG triple transformation method to enable Transformer to handle KGs, which is further strengthened by the Mixture-of-Experts (MoE) sparse activation. We then formulate the complex logical queries as masked prediction and introduce a two-stage masked pre-training strategy to improve transferability and generalizability. Extensive experiments on two benchmarks demonstrate that kgTransformer can consistently outperform both KG embedding-based baselines and advanced encoders on nine in-domain and out-of-domain reasoning tasks. Additionally, kgTransformer can reason with explainability via providing the full reasoning paths to interpret given answers.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes