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 条
  • [1] Controllable Music Playlist Generation Based on Knowledge Graph and Reinforcement Learning
    Sakurai, Keigo
    Togo, Ren
    Ogawa, Takahiro
    Haseyama, Miki
    [J]. SENSORS, 2022, 22 (10)
  • [2] Reliable knowledge graph fact prediction via reinforcement learning
    Fangfang Zhou
    Jiapeng Mi
    Beiwen Zhang
    Jingcheng Shi
    Ran Zhang
    Xiaohui Chen
    Ying Zhao
    Jian Zhang
    [J]. Visual Computing for Industry, Biomedicine, and Art, 6
  • [3] Reliable knowledge graph fact prediction via reinforcement learning
    Zhou, Fangfang
    Mi, Jiapeng
    Zhang, Beiwen
    Shi, Jingcheng
    Zhang, Ran
    Chen, Xiaohui
    Zhao, Ying
    Zhang, Jian
    [J]. VISUAL COMPUTING FOR INDUSTRY BIOMEDICINE AND ART, 2023, 6 (01)
  • [4] Hierarchical Reinforcement Learning for Conversational Recommendation With Knowledge Graph Reasoning and Heterogeneous Questions
    Yang, Yao-Chun
    Chen, Chiao-Ting
    Lu, Tzu-Yu
    Huang, Szu-Hao
    [J]. IEEE TRANSACTIONS ON SERVICES COMPUTING, 2023, 16 (05) : 3439 - 3452
  • [5] Path-based multi-hop reasoning over knowledge graph for answering questions via adversarial reinforcement learning
    Cui, Hai
    Peng, Tao
    Han, Ridong
    Han, Jiayu
    Liu, Lu
    [J]. KNOWLEDGE-BASED SYSTEMS, 2023, 276
  • [6] Interactive Recommender System via Knowledge Graph-enhanced Reinforcement Learning
    Zhou, Sijin
    Dai, Xinyi
    Chen, Haokun
    Zhang, Weinan
    Ren, Kan
    Tang, Ruiming
    He, Xiuqiang
    Yu, Yong
    [J]. PROCEEDINGS OF THE 43RD INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL (SIGIR '20), 2020, : 179 - 188
  • [7] Causal Reinforcement Learning for Knowledge Graph Reasoning
    Li, Dezhi
    Lu, Yunjun
    Wu, Jianping
    Zhou, Wenlu
    Zeng, Guangjun
    [J]. APPLIED SCIENCES-BASEL, 2024, 14 (06):
  • [8] Survey of Knowledge Graph Based on Reinforcement Learning
    Ma, Ang
    Yu, Yanhua
    Yang, Shengli
    Shi, Chuan
    Li, Jie
    Cai, Xiuxiu
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2022, 59 (08): : 1694 - 1722
  • [9] Semantic query graph based SPARQL generation from natural language questions
    Shengli Song
    Wen Huang
    Yulong Sun
    [J]. Cluster Computing, 2019, 22 : 847 - 858
  • [10] Semantic query graph based SPARQL generation from natural language questions
    Song, Shengli
    Huang, Wen
    Sun, Yulong
    [J]. CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2019, 22 (Suppl 1): : 847 - 858