SQUIRE: A Sequence-to-sequence Framework for Multi-hop Knowledge Graph Reasoning
Yushi Bai, Xin Lv, Juanzi Li, Lei Hou, Yincen Qu, Zelin Dai, Feiyu Xiong
Abstract
Multi-hop knowledge graph (KG) reasoning has been widely studied in recent years to provide interpretable predictions on missing links with evidential paths. Most previous works use reinforcement learning (RL) based methods that learn to navigate the path towards the target entity. However, these methods suffer from slow and poor convergence, and they may fail to infer a certain path when there is a missing edge along the path. Here we present SQUIRE, the first Sequence-to-sequence based multi-hop reasoning framework, which utilizes an encoder-decoder Transformer structure to translate the query to a path. Our framework brings about two benefits: (1) It can learn and predict in an end-to-end fashion, which gives better and faster convergence; (2) Our transformer model does not rely on existing edges to generate the path, and has the flexibility to complete missing edges along the path, especially in sparse KGs. Experiments on standard and sparse KGs show that our approach yields significant improvement over prior methods, while converging 4x-7x faster.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers3
- Generative Knowledge Graph Construction: A ReviewHongbin Ye, Ningyu Zhang, Hui Chen, Huajun ChenEMNLP 2022 · 51 citations
- Answering Complex Logical Queries on Knowledge Graphs via Query Computation Tree OptimizationYushi Bai, Xin Lv, Juanzi Li, Lei HouICML 2023 · 47 citations
- Walk Wisely on Graph: Knowledge Graph Reasoning with Dual Agents via Efficient Guidance-ExplorationZijian Wang, Bin Wang, Haifeng Jing, Huayu Li et al.AAAI 2025 · 6 citations
Builds on6
- Decision Transformer: Reinforcement Learning via Sequence ModelingLili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee et al.NeurIPS 2021 · 2,557 citations
- Offline Reinforcement Learning as One Big Sequence Modeling ProblemMichael Janner, Qiyang Li, Sergey LevineNeurIPS 2021 · 950 citations
- Self-Consistency Improves Chain of Thought Reasoning in Language ModelsXuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le et al.ICLR 2023 · 681 citations
- Modeling Heterogeneous Hierarchies with Relation-specific Hyperbolic ConesYushi Bai, Zhitao Ying, Hongyu Ren, Jure LeskovecNeurIPS 2021 · 84 citations
- Dynamic Anticipation and Completion for Multi-Hop Reasoning over Sparse Knowledge GraphXin Lv, Xu Han, Lei Hou, Juanzi Li et al.EMNLP 2020 · 57 citations
Related papers
- Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical QueriesXiao Liu, Shiyu Zhao, Kai Su, Yukuo Cen et al.KDD 2022 · 38 citations
- DREAM: Adaptive Reinforcement Learning based on Attention Mechanism for Temporal Knowledge Graph ReasoningShangfei Zheng, Hongzhi Yin, Tong Chen, Quoc Viet Hung Nguyen et al.SIGIR 2023 · 27 citations
- Transformer-based Reasoning for Learning Evolutionary Chain of Events on Temporal Knowledge GraphZhiyu Fang, Shuai-Long Lei, Xiaobin Zhu, Chun Yang et al.SIGIR 2024 · 17 citations
- SMORE: Knowledge Graph Completion and Multi-hop Reasoning in Massive Knowledge GraphsHongyu Ren, Hanjun Dai, Bo Dai, Xinyun Chen et al.KDD 2022 · 31 citations
- Learning to Walk with Dual Agents for Knowledge Graph ReasoningDenghui Zhang, Zixuan Yuan, Hao Liu, Xiaodong Lin et al.AAAI 2022 · 61 citations
