Introduction
Knowledge graph (KG) population involves predicting missing objects for a given subject-relation pair, such as identifying border-sharing states for a specific region. While traditionally framed as a link prediction task within a closed set of entities, modern approaches leverage pre-trained Language Models (LMs) to generate objects from an open vocabulary. This paper details the winning system for Track 1 of the ISWC 2022 LM-KBC challenge, which addresses the complexities of multi-object relations and factual recall in LMs like BERT.
Methodology
The proposed system enhances a BERT-large-cased baseline through three primary techniques:
Task-Specific Masked Language Modeling (MLM)
To improve factual recall, the authors fine-tuned BERT using a task-specific MLM objective. Subject-relation-object triples were converted into natural language sentences, with objects (and surrounding context windows of size $c$) masked for the model to recover. This process "reminds" the model of specific relational knowledge.
Prompt Decomposition
LMs are highly sensitive to prompt phrasing. The authors introduced a decomposition step where a pre-condition prompt first identifies the entity type of the subject (e.g., distinguishing between a "state" and a "province"). This predicted type is then dynamically injected into the final query prompt, reducing semantic confusion and improving accuracy for complex relations like StateSharesBorderState.
Adaptive Thresholding
Standard softmax normalization in LMs penalizes queries with multiple valid answers, as the total probability is split among them. To counter this, the authors moved away from a static 0.5 confidence threshold in favor of per-relation adaptive thresholds, allowing the model to successfully retrieve multiple objects when appropriate.
Datasets and Silver Data
The system was trained on the LM-KBC challenge dataset, which provided 100 subjects per relation. To address data sparsity, the authors mined "silver data" from Wikidata, generating thousands of additional training pairs while ensuring no overlap with the test set to prevent data leakage.
Experimental Results
The final system achieved a 55.0% F-1 score on the hidden test set, winning the challenge. A key finding was that no single fine-tuning strategy worked for every relation. Consequently, the authors employed an ensemble approach, selecting the optimal checkpoint (raw BERT, specific MLM configurations, or silver-data-trained models) for each relation.
Ablation studies highlighted the cumulative impact of these methods: adaptive thresholds improved the baseline F-1 from 0.309 to 0.447, prompt decomposition further raised it to 0.464, and task-specific MLM training brought the final development F-1 to 0.543.
Conclusion
This work demonstrates that while LMs possess significant latent knowledge, extracting it for KG population requires specialized fine-tuning and flexible prompting strategies. The ensemble of relation-specific models proved critical for high performance. Future work will focus on scaling these methods and developing more robust re-ranking techniques to handle the inherent noise in open-vocabulary generation.
Summary updated