arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.11070cs.CLcs.AIcs.LGcs.NE
收藏

用基于图的结构化上下文信息丰富语言模型以更好地理解文本数据

Enriching language models with graph-based context information to better understand textual data

Warsaw University of Technology(华沙理工大学)

Albert Roethel, Maria Ganzha, Anna Wróblewska

AI总结:

本研究提出将图结构上下文信息融入BERT模型,在Pubmed数据集上以仅1.6%的参数增加将错误率从8.51%降至7.96%,验证了该方法能提升文本分类性能。

摘要:

日常生活中遇到的大量文本在某种程度上是相互关联的。例如,维基百科文章通过超链接引用其他文章,科学论文通过引用或(共同)作者关系与其他论文相关联,而推文则通过互相关注或转发内容的用户产生联系。因此,图状结构可以表示这些现有连接,并被视为捕捉文本的“上下文”。由此产生的问题是,提取并将此类上下文信息整合到语言模型中是否有助于促进对文本更好的自动化理解。在本研究中,我们通过实验证明,将基于图的上下文化融入BERT模型,能在分类任务示例中提升其性能。具体而言,在Pubmed数据集上,我们观察到错误率从8.51%降至7.96%,而参数数量仅增加了1.6%。我们的源代码:https://github.com/tryptofanik/gc-bert

英文摘要:

A considerable number of texts encountered daily are somehow connected with each other. For example, Wikipedia articles refer to other articles via hyperlinks, scientific papers relate to others via citations or (co)authors, while tweets relate via users that follow each other or reshare content. Hence, a graph-like structure can represent existing connections and be seen as capturing the "context" of the texts. The question thus arises if extracting and integrating such context information into a language model might help facilitate a better automated understanding of the text. In this study, we experimentally demonstrate that incorporating graph-based contextualization into BERT model enhances its performance on an example of a classification task. Specifically, on Pubmed dataset, we observed a reduction in error from 8.51% to 7.96%, while increasing the number of parameters just by 1.6%. Our source code: https://github.com/tryptofanik/gc-bert

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

↑