A transformer framework for generating context-aware knowledge graph paths
Contextual Path Generation (CPG) refers to the task of generating knowledge path(s) between a pair of entities mentioned in an input textual context to determine the semantic connection between them. Such knowledge paths, also called contextual paths, can be very useful in many advanced information...
Saved in:
Main Authors: | , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2023
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/8026 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-9029 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-90292023-08-11T03:18:03Z A transformer framework for generating context-aware knowledge graph paths LO, Pei-Chi LIM, Ee-peng Contextual Path Generation (CPG) refers to the task of generating knowledge path(s) between a pair of entities mentioned in an input textual context to determine the semantic connection between them. Such knowledge paths, also called contextual paths, can be very useful in many advanced information retrieval applications. Nevertheless, CPG involves several technical challenges, namely, sparse and noisy input context, missing relations in knowledge graphs, and generation of ill-formed and irrelevant knowledge paths. In this paper, we propose a transformer-based model architecture. In this approach, we leverage a mixture of pre-trained word and knowledge graph embeddings to encode the semantics of input context, a transformer decoder to perform path generation controlled by encoded input context and head entity to stay relevant to the context, and scaling methods to sample a well-formed path. We evaluate our proposed CPG models derived using the above architecture on two real datasets, both consisting of Wikinews articles as input context documents and ground truth contextual paths, as well as a large synthetic dataset to conduct larger-scale experiments. Our experiments show that our proposed models outperform the baseline models, and the scaling methods contribute to better quality contextual paths. We further analyze how CPG accuracy can be affected by different amount of context data, and missing relations in the knowledge graph. Finally, we demonstrate that an answer model for knowledge graph questions adapted for CPG could not perform well due to the lack of an effective path generation module. 2023-07-14T07:00:00Z text https://ink.library.smu.edu.sg/sis_research/8026 info:doi/10.1007/s10489-023-04588-3 Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Knowledge graph Contextual path generation Information retrieval Language model Databases and Information Systems Graphics and Human Computer Interfaces |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Knowledge graph Contextual path generation Information retrieval Language model Databases and Information Systems Graphics and Human Computer Interfaces |
spellingShingle |
Knowledge graph Contextual path generation Information retrieval Language model Databases and Information Systems Graphics and Human Computer Interfaces LO, Pei-Chi LIM, Ee-peng A transformer framework for generating context-aware knowledge graph paths |
description |
Contextual Path Generation (CPG) refers to the task of generating knowledge path(s) between a pair of entities mentioned in an input textual context to determine the semantic connection between them. Such knowledge paths, also called contextual paths, can be very useful in many advanced information retrieval applications. Nevertheless, CPG involves several technical challenges, namely, sparse and noisy input context, missing relations in knowledge graphs, and generation of ill-formed and irrelevant knowledge paths. In this paper, we propose a transformer-based model architecture. In this approach, we leverage a mixture of pre-trained word and knowledge graph embeddings to encode the semantics of input context, a transformer decoder to perform path generation controlled by encoded input context and head entity to stay relevant to the context, and scaling methods to sample a well-formed path. We evaluate our proposed CPG models derived using the above architecture on two real datasets, both consisting of Wikinews articles as input context documents and ground truth contextual paths, as well as a large synthetic dataset to conduct larger-scale experiments. Our experiments show that our proposed models outperform the baseline models, and the scaling methods contribute to better quality contextual paths. We further analyze how CPG accuracy can be affected by different amount of context data, and missing relations in the knowledge graph. Finally, we demonstrate that an answer model for knowledge graph questions adapted for CPG could not perform well due to the lack of an effective path generation module. |
format |
text |
author |
LO, Pei-Chi LIM, Ee-peng |
author_facet |
LO, Pei-Chi LIM, Ee-peng |
author_sort |
LO, Pei-Chi |
title |
A transformer framework for generating context-aware knowledge graph paths |
title_short |
A transformer framework for generating context-aware knowledge graph paths |
title_full |
A transformer framework for generating context-aware knowledge graph paths |
title_fullStr |
A transformer framework for generating context-aware knowledge graph paths |
title_full_unstemmed |
A transformer framework for generating context-aware knowledge graph paths |
title_sort |
transformer framework for generating context-aware knowledge graph paths |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2023 |
url |
https://ink.library.smu.edu.sg/sis_research/8026 |
_version_ |
1779156864091553792 |