[Paper Review] Exploiting Structured Knowledge in Text via Graph-Guided Representation Learning
This paper proposes a graph-guided representation learning framework that enhances pre-trained language models with structured knowledge from knowledge graphs (KGs) during self-supervised pre-training. By using KGs to guide entity-level masking and a distractor-suppressed ranking objective, the method improves performance on downstream tasks like question answering and knowledge base completion without relying on retrieval during inference, achieving state-of-the-art results on five benchmarks.
In this work, we aim at equipping pre-trained language models with structured knowledge. We present two self-supervised tasks learning over raw text with the guidance from knowledge graphs. Building upon entity-level masked language models, our first contribution is an entity masking scheme that exploits relational knowledge underlying the text. This is fulfilled by using a linked knowledge graph to select informative entities and then masking their mentions. In addition we use knowledge graphs to obtain distractors for the masked entities, and propose a novel distractor-suppressed ranking objective which is optimized jointly with masked language model. In contrast to existing paradigms, our approach uses knowledge graphs implicitly, only during pre-training, to inject language models with structured knowledge via learning from raw text. It is more efficient than retrieval-based methods that perform entity linking and integration during finetuning and inference, and generalizes more effectively than the methods that directly learn from concatenated graph triples. Experiments show that our proposed model achieves improved performance on five benchmark datasets, including question answering and knowledge base completion tasks.
Motivation & Objective
- To improve pre-trained language models' ability to leverage structured relational knowledge from knowledge graphs.
- To reduce dependency on costly entity linking and retrieval during fine-tuning and inference.
- To enhance generalization by learning from free-form text rather than fixed triples.
- To develop self-supervised pre-training objectives that exploit relational and logical information in text.
- To inject structured knowledge into masked language models implicitly, using KGs only during pre-training.
Proposed method
- Introduces a KG-guided entity masking scheme that selects informative entities based on document frequency and mutual reachability in the KG.
- Uses the KG to generate distractors for masked entities in a novel distractor-suppressed ranking objective.
- Optimizes the entity masking and ranking objectives jointly during pre-training to improve representation learning.
- Employs a masked language modeling objective at the entity level, where entire entity mentions are masked rather than individual tokens.
- Leverages pre-trained language models (e.g., BERT) as the backbone, with KG guidance only during pre-training.
- Avoids direct use of KG triples; instead, uses the KG as a dynamic source of entities and negative samples during training.
Experimental results
Research questions
- RQ1Can structured knowledge from knowledge graphs be effectively injected into pre-trained language models through self-supervised pre-training?
- RQ2Does using KG-guided entity masking improve the model's ability to learn relational and logical dependencies in text?
- RQ3Can a distractor-suppressed ranking objective enhance the model’s discrimination between correct entities and plausible alternatives?
- RQ4How does the proposed method compare to retrieval-based or triple-finetuning approaches in terms of efficiency and generalization?
- RQ5To what extent does KG-guided pre-training improve performance on downstream tasks like question answering and knowledge base completion?
Key findings
- The proposed model achieves state-of-the-art or competitive performance on five benchmark datasets, including question answering and knowledge base completion tasks.
- The KG-guided entity masking scheme outperforms random entity masking, random span masking, and whole-word masking in terms of training efficiency and representation quality.
- The distractor-suppressed ranking objective significantly improves the model’s ability to distinguish correct entities from plausible negative samples.
- The method generalizes better than triple-finetuning approaches because it learns from free-form text rather than fixed KG triples.
- Experiments show that the model benefits from KG guidance during pre-training without requiring retrieval or linking at inference time.
- Ablation studies confirm that both the entity masking strategy and the distractor-suppressed ranking objective contribute meaningfully to performance gains.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.