arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.08291cs.CLcs.AI
收藏

扩展BERT词汇表以用于知识库构建

Expanding the Vocabulary of BERT for Knowledge Base Construction

Maastricht University(马斯特里赫特大学)

Dong Yang, Xu Wang, Remzi Celebi

AI总结:

针对知识库构建挑战,提出词汇可扩展BERT,通过扩展词汇表并保留语义嵌入,结合任务特定重新预训练,以轻量模型超越大模型,实现多令牌实体直接嵌入,提升链接预测与元数据补全性能。

摘要:

知识库构建需要获取结构化信息以创建包含事实和关系数据的知识库,从而促进问答、信息检索和语义理解。国际语义网会议2023年举办的“从预训练语言模型构建知识库”挑战赛定义了利用语言模型构建知识库的任务。我们专注于该挑战赛的赛道1,其中参数限制为最多10亿,并且禁止在提示中包含实体描述。尽管掩码语言模型提供了足够的灵活性来扩展其词汇表,但其并非天生设计用于多令牌预测。为了解决这个问题,我们提出了用于知识库构建的词汇可扩展BERT,它在扩展语言模型词汇表的同时,为新添加的单词保留语义嵌入。我们采用针对掩码语言模型的任务特定重新预训练,以进一步增强语言模型。通过实验,结果证明了我们方法的有效性。我们的框架在隐藏测试集上取得了0.323的F1分数,在验证集上取得了0.362的F1分数,这两个数据集均由挑战赛提供。值得注意的是,我们的框架采用了轻量级语言模型(BERT-base,1.3亿参数),并超越了直接在大语言模型(Chatgpt-3,1750亿参数)上使用提示的模型。此外,Token-Recode取得了与Re-pretrain相当的性能。这项研究通过实现多令牌实体的直接嵌入,推进了语言理解模型,标志着在知识图谱链接预测任务和数据管理元数据补全方面迈出了重要一步。

英文摘要:

Knowledge base construction entails acquiring structured information to create a knowledge base of factual and relational data, facilitating question answering, information retrieval, and semantic understanding. The challenge called "Knowledge Base Construction from Pretrained Language Models" at International Semantic Web Conference 2023 defines tasks focused on constructing knowledge base using language model. Our focus was on Track 1 of the challenge, where the parameters are constrained to a maximum of 1 billion, and the inclusion of entity descriptions within the prompt is prohibited. Although the masked language model offers sufficient flexibility to extend its vocabulary, it is not inherently designed for multi-token prediction. To address this, we present Vocabulary Expandable BERT for knowledge base construction, which expand the language model's vocabulary while preserving semantic embeddings for newly added words. We adopt task-specific re-pre-training on masked language model to further enhance the language model. Through experimentation, the results show the effectiveness of our approaches. Our framework achieves F1 score of 0.323 on the hidden test set and 0.362 on the validation set, both data set is provided by the challenge. Notably, our framework adopts a lightweight language model (BERT-base, 0.13 billion parameters) and surpasses the model using prompts directly on large language model (Chatgpt-3, 175 billion parameters). Besides, Token-Recode achieves comparable performances as Re-pretrain. This research advances language understanding models by enabling the direct embedding of multi-token entities, signifying a substantial step forward in link prediction task in knowledge graph and metadata completion in data management.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑