FlowPath: From Discrete Paths to Continuous Semantic Flows for Knowledge Graph Completion
Xin Song, Haiyan Liu, Ye Wang, Yuying Liu, Liqun Gao, Bin Zhou
Abstract
Knowledge graph completion (KGC) aims to infer missing facts based on existing triplets. Traditional path-based methods formulate reasoning as a discrete multi-hop traversal, which suffers from exponential search space and error accumulation.In this paper, we propose FlowPath, which rethinks the reasoning process by transforming discrete symbolic paths into a continuous semantic flow in the latent space. Specifically, we formalize the inference from a head entity to the target tail entity as an Ordinary Differential Equation (ODE) governed by a relation-conditioned neural velocity field, which learns to steer a smooth and expressive semantic transformation along the reasoning trajectory. To prevent the continuous flow from drifting into invalid semantic regions, we further introduce a structure-anchored guidance mechanism that leverages factual multi-hop paths from the knowledge graph as topological constraints, grounding the learned flow in the discrete relational structure. Moreover, a uncertainty weighting strategy is employed to adaptively balance the joint optimization of link prediction, flow generation, and structural guidance. By bridging discrete symbolic paths and continuous neural dynamics, FlowPath inherits the interpretability of path-based reasoning while possessing the flexibility and expressiveness of generative modeling. Extensive experiments on benchmark datasets demonstrate that FlowPath achieves competitive performance, and additional analysis confirms the effectiveness of modeling the reasoning paths of KGC as a continuous semantic flow.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get ab10c5d2-bb6f-4496-9fbc-a15a56073b1bRelated papers
- Knowledge Graph Representation Learning using Ordinary Differential EquationsMojtaba Nayyeri, Chengjin Xu, Franca Hoffmann, Mirza Mohtashim Alam et al.EMNLP 2021 · 11 citations
- Fact Embedding through Diffusion Model for Knowledge Graph CompletionXiao Long, Liansheng Zhuang, Aodi Li, Houqiang Li et al.WWW 2024 · 16 citations
- Normalizing Flow-based Neural Process for Few-Shot Knowledge Graph CompletionLinhao Luo, Yuan-Fang Li, Gholamreza Haffari, Shirui PanSIGIR 2023 · 42 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
- KGDM: A Diffusion Model to Capture Multiple Relation Semantics for Knowledge Graph EmbeddingXiao Long, Liansheng Zhuang, Aodi Li, Jiuchang Wei et al.AAAI 2024 · 16 citations
