Contextual Knowledge Selection and Embedding towards Enhanced Pre-Trained Language Models
Su, Yusheng, Han, Xu, Zhang, Zhengyan, Li, Peng, Liu, Zhiyuan, Lin, Yankai, Zhou, Jie, Sun, Maosong
–arXiv.org Artificial Intelligence
Several recent efforts have been devoted to enhancing pre-trained language models (PLMs) by utilizing extra heterogeneous knowledge in knowledge graphs (KGs), and achieved consistent improvements on various knowledge-driven NLP tasks. However, most of these knowledge-enhanced PLMs embed static sub-graphs of KGs ("knowledge context"), regardless of that the knowledge required by PLMs may change dynamically according to specific text ("textual context"). In this paper, we propose a novel framework named DKPLM to dynamically select and embed knowledge context according to textual context for PLMs, which can avoid the effect of redundant and ambiguous knowledge in KGs that cannot match the input text. Our experimental results show that DKPLM outperforms various baselines on typical knowledge-driven NLP tasks, indicating the effectiveness of utilizing dynamic knowledge context for language understanding. Besides the performance improvements, the dynamically selected knowledge in DKPLM can describe the semantics of text-related knowledge in a more interpretable form than the conventional PLMs. Our source code and datasets will be available to provide more details for DKPLM.
arXiv.org Artificial Intelligence
Oct-1-2020
- Country:
- North America > United States
- Washington (0.04)
- New York > Westchester County
- White Plains (0.04)
- California > Santa Clara County
- Palo Alto (0.04)
- Asia > China
- North America > United States
- Genre:
- Research Report (0.70)
- Technology: