Generating Controllable Questions from Knowledge Graph via SPARQL Encoding and Reinforcement Learning

被引:0
|
作者
Wen, Liqiang [1 ]
Zhang, Zhiqiang [1 ]
Zhao, Wen [2 ]
机构
[1] Peking Univ, Sch Software & Microelect, Beijing, Peoples R China
[2] Peking Univ, Natl Engn Res Ctr Software Engn, Beijing, Peoples R China
关键词
Knowledge Graph; Question Generation; Neural network;
D O I
10.1007/978-981-97-5669-8_39
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Recent years have seen a surge in the popularity of Knowledge Graphs (KG), making it a crucial research area to develop natural language questions derived from KG. However, previous works have predominantly focused on question generation, with limited attention given to generating controllable questions that allow manipulation of difficulty and question types. In our study, we initially define question difficulty as the number of reasoning steps required to answer it within the Knowledge Graph. The sequence of reasoning steps within the Knowledge Graph is referred to as the reasoning subgraph. During the conversion of the reasoning subgraph to a SPARQL query, we introduce various constraints to generate diverse types and levels of difficulty in the resulting SPARQL queries. Subsequently, natural language questions corresponding to the given SPARQL queries are generated. Leveraging both structural and sequential information inherent in SPARQL queries, we introduce the SPARQL2Seq model for the automatic generation of controllable questions. This model incorporates an Encoder Fusion mechanism to encode both structural and sequential information. Furthermore, we augment our RNN decoderwith a token-level copying mechanism, enabling direct token copying from the input SPARQL query to the output question. To enhance the controllability of question generation, we employ reinforcement learning to assess the relevance between the output question and the input SPARQL query, using it as a reward to refine the training of our SPARQL2Seq model. Extensive experiments conducted on the Complex Web Question dataset demonstrate that our model surpasses state-of-the-art approaches in both automated evaluations and human assessments.
引用
收藏
页码:475 / 487
页数:13
相关论文
共 50 条
  • [21] Reinforcement learning with actor-critic for knowledge graph reasoning
    Linli Zhang
    Dewei Li
    Yugeng Xi
    Shuai Jia
    [J]. Science China Information Sciences, 2020, 63
  • [22] Dynamic knowledge graph reasoning based on deep reinforcement learning
    Liu, Hao
    Zhou, Shuwang
    Chen, Changfang
    Gao, Tianlei
    Xu, Jiyong
    Shu, Minglei
    [J]. KNOWLEDGE-BASED SYSTEMS, 2022, 241
  • [23] Knowledge Graph Based on Reinforcement Learning: A Survey and New Perspectives
    Huo, Qingfeng
    Fu, Huaqiao
    Song, Caixia
    Sun, Qingshuai
    Xu, Pengmin
    Qu, Kejia
    Feng, Huiyu
    Liu, Chuanqi
    Ren, Jiajia
    Tang, Yuanhong
    Li, Tongwei
    [J]. IEEE Access, 2024, 12 : 161897 - 161924
  • [24] Reinforcement learning with actor-critic for knowledge graph reasoning
    Linli ZHANG
    Dewei LI
    Yugeng XI
    Shuai JIA
    [J]. Science China(Information Sciences), 2020, 63 (06) : 223 - 225
  • [25] Reinforcement learning with time intervals for temporal knowledge graph reasoning
    Liu, Ruinan
    Yin, Guisheng
    Liu, Zechao
    Tian, Ye
    [J]. INFORMATION SYSTEMS, 2024, 120
  • [26] Rule-Aware Reinforcement Learning for Knowledge Graph Reasoning
    Hou, Zhongni
    Jin, Xiaolong
    Li, Zixuan
    Bai, Long
    [J]. FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, ACL-IJCNLP 2021, 2021, : 4687 - 4692
  • [27] Knowledge Graph Embedding via Metagraph Learning
    Chung, Chanyoung
    Whang, Joyce Jiyoung
    [J]. SIGIR '21 - PROCEEDINGS OF THE 44TH INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL, 2021, : 2212 - 2216
  • [28] RDKG: A Reinforcement Learning Framework for Disease Diagnosis on Knowledge Graph
    Guo, Shipeng
    Liu, Kunpeng
    Wang, Pengfei
    Dai, Weiwei
    Du, Yi
    Zhou, Yuanchun
    Cui, Wenjuan
    [J]. 23RD IEEE INTERNATIONAL CONFERENCE ON DATA MINING, ICDM 2023, 2023, : 1049 - 1054
  • [29] Multi-hop Knowledge Graph Reasoning Based on Hyperbolic Knowledge Graph Embedding and Reinforcement Learning
    Zhou, Xingchen
    Wang, Peng
    Luo, Qiqing
    Pan, Zhe
    [J]. PROCEEDINGS OF THE 10TH INTERNATIONAL JOINT CONFERENCE ON KNOWLEDGE GRAPHS (IJCKG 2021), 2021, : 1 - 9
  • [30] Generating Synergistic Formulaic Alpha Collections via Reinforcement Learning
    Yu, Shuo
    Xue, Hongyan
    Ao, Xiang
    Pan, Feiyang
    He, Jia
    Tu, Dandan
    He, Qing
    [J]. PROCEEDINGS OF THE 29TH ACM SIGKDD CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, KDD 2023, 2023, : 5476 - 5486