arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.06911cs.CL
收藏

GraSAME:通过图引导自注意力机制向预训练语言模型注入令牌级结构信息

GraSAME: Injecting Token-Level Structural Information to Pretrained Language Models via Graph-guided Self-Attention Mechanism

Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);Center for Scalable Data Analytics and Artificial Intelligence (ScaDS.AI)(可扩展数据分析与人工智能中心(ScaDS.AI));TU Dresden(德累斯顿工业大学)

Shuzhou Yuan, Michael Färber

AI总结:

针对图结构与文本的模态鸿沟问题,提出轻量级图引导自注意力机制GraSAME,无需额外预训练即可融合令牌级图结构信息,在图到文本生成任务上性能媲美SOTA且参数量减少超1亿。

摘要:

预训练语言模型(PLMs)可借助图结构中存储的外部知识完成各类下游任务,但弥合图结构与文本之间的模态鸿沟仍是一项重大挑战。将图线性化后输入PLMs的传统方法会丢失关键的图连接信息,而图神经网络(GNNs)与PLMs的融合则需要繁琐的流程。本研究提出了一种新型图引导自注意力机制GraSAME。GraSAME可将令牌级结构信息无缝融入PLMs,无需额外的对齐或拼接操作。作为一种端到端的轻量级多模态模块,GraSAME采用多任务学习策略,有效弥合了图模态与文本模态之间的差距,促进了GNNs与PLMs之间的动态交互。我们在图到文本生成任务上的实验表明,GraSAME性能优于基线模型,在WebNLG数据集上取得了与当前最优(SOTA)模型相当的结果。此外,与SOTA模型相比,GraSAME无需额外的预训练任务来适配图输入,且可训练参数量减少了1亿以上。

英文摘要:

Pretrained Language Models (PLMs) benefit from external knowledge stored in graph structures for various downstream tasks. However, bridging the modality gap between graph structures and text remains a significant challenge. Traditional methods like linearizing graphs for PLMs lose vital graph connectivity, whereas Graph Neural Networks (GNNs) require cumbersome processes for integration into PLMs. In this work, we propose a novel graph-guided self-attention mechanism, GraSAME. GraSAME seamlessly incorporates token-level structural information into PLMs without necessitating additional alignment or concatenation efforts. As an end-to-end, lightweight multimodal module, GraSAME follows a multi-task learning strategy and effectively bridges the gap between graph and textual modalities, facilitating dynamic interactions between GNNs and PLMs. Our experiments on the graph-to-text generation task demonstrate that GraSAME outperforms baseline models and achieves results comparable to state-of-the-art (SOTA) models on WebNLG datasets. Furthermore, compared to SOTA models, GraSAME eliminates the need for extra pre-training tasks to adjust graph inputs and reduces the number of trainable parameters by over 100 million.

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

↑