[Paper Review] DKPLM: Decomposable Knowledge-enhanced Pre-trained Language Model for Natural Language Understanding
DKPLM is a knowledge-enhanced pre-trained language model that decomposes knowledge injection into pre-training only, avoiding runtime knowledge encoders. It uses long-tail entity detection, pseudo token representations, and relational knowledge decoding to inject knowledge efficiently, achieving state-of-the-art performance on zero-shot probing and knowledge-aware tasks with faster inference than prior KEPLMs.
Knowledge-Enhanced Pre-trained Language Models (KEPLMs) are pre-trained models with relation triples injecting from knowledge graphs to improve language understanding abilities. To guarantee effective knowledge injection, previous studies integrate models with knowledge encoders for representing knowledge retrieved from knowledge graphs. The operations for knowledge retrieval and encoding bring significant computational burdens, restricting the usage of such models in real-world applications that require high inference speed. In this paper, we propose a novel KEPLM named DKPLM that Decomposes Knowledge injection process of the Pre-trained Language Models in pre-training, fine-tuning and inference stages, which facilitates the applications of KEPLMs in real-world scenarios. Specifically, we first detect knowledge-aware long-tail entities as the target for knowledge injection, enhancing the KEPLMs' semantic understanding abilities and avoiding injecting redundant information. The embeddings of long-tail entities are replaced by "pseudo token representations" formed by relevant knowledge triples. We further design the relational knowledge decoding task for pre-training to force the models to truly understand the injected knowledge by relation triple reconstruction. Experiments show that our model outperforms other KEPLMs significantly over zero-shot knowledge probing tasks and multiple knowledge-aware language understanding tasks. We further show that DKPLM has a higher inference speed than other competing models due to the decomposing mechanism.
Motivation & Objective
- To address the high computational cost of knowledge encoders in existing KEPLMs during fine-tuning and inference.
- To reduce redundant knowledge injection by focusing only on knowledge-aware long-tail entities.
- To enable efficient, high-speed inference by decoupling knowledge injection from downstream stages.
- To improve model understanding of injected knowledge through a relational decoding pre-training task.
- To achieve state-of-the-art performance on knowledge probing and downstream NLU tasks without increasing model complexity during inference.
Proposed method
- Detects long-tail entities based on corpus frequency, KG neighborhood size, and semantic importance to prioritize knowledge injection.
- Replaces embeddings of detected long-tail entities with 'pseudo token representations' derived from knowledge triples via the shared PLM encoder.
- Introduces a relational knowledge decoding pre-training task that reconstructs entity tokens using one entity and a relation predicate.
- Injects knowledge only during pre-training, eliminating the need for knowledge encoders during fine-tuning and inference.
- Uses a shared PLM encoder for both contextual and knowledge representation, minimizing additional parameters.
- Employs a dual knowledge injection mechanism: entity-specific knowledge injection and relation-aware reconstruction.
Experimental results
Research questions
- RQ1Can knowledge injection be decoupled from inference and fine-tuning stages to improve inference speed?
- RQ2Does focusing knowledge injection on long-tail entities improve model performance and reduce redundancy?
- RQ3Can a relational knowledge decoding task effectively enforce understanding of injected knowledge?
- RQ4Can a knowledge-enhanced model achieve state-of-the-art performance with minimal parameter increase and no runtime knowledge encoder?
- RQ5How does the performance of DKPLM compare to strong KEPLM baselines on zero-shot probing and downstream knowledge-aware tasks?
Key findings
- DKPLM achieves a +1.57% average top-1 accuracy gain on four LAMA zero-shot knowledge probing datasets compared to state-of-the-art models.
- On the TACRED relation extraction benchmark, DKPLM achieves 73.07% F1, outperforming all baselines including KnowBERT and ERNIE-BERT.
- DKPLM's inference time (1.61s) is nearly identical to BERT (0.97s) and RoBERTa (1.55s), significantly faster than KEPLM models like KEPLER (1.86s).
- Ablation studies show that removing the pseudo token embedding mechanism causes a significant drop in performance, confirming its critical role in knowledge injection.
- Injecting knowledge into only long-tail entities yields better results than injecting into high-frequency or all entities, with optimal performance at a reduced number of injected entities.
- The model maintains strong performance even with fewer injected knowledge triples, indicating that quality over quantity improves model robustness.
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.