Learning to Think on Hypergraph: HyperCoT for Structure-Guided N-ary Knowledge Graph Completion
Mengxue Yang, Jinming Li, Chun Yang, Jiaqi Zhu, Jiafan Li, Guanhua Zhang, Ying Li
Abstract
N -ary knowledge graph completion (KGC) aims to infer missing components in facts with multiple entities under distinct semantic roles, commonly formulated as a knowledge hypergraph link prediction task. Most embeddingbased approaches score individual hyperedges relying on enriched structural representations, but overlook intermediate propagation states containing complementary local and global structural evidence. Despite their capability to generate chain-of-thought (CoT) representations for the classical KGC task, large language models (LLMs) struggle with hypergraph structure involving multiple facts, while current hypergraph QA methods only provide LLMs with a single query signal rather than path-level evidence. These limitations hinder the transferability of existing methods, especially those leveraging LLMs, to solve the knowledge hypergraph link prediction problem. To bridge this gap, we propose HyperCoT, a structureaware approach that models multi-hop structural reasoning as a depth-sensitive progressive evidence accumulation process. It constructs a Graphical Chain-of-Thought (Graph-CoT) by aggregating role-aware hyperedge states along strongly correlated reasoning paths, and injects the resulting path-level structural evidence into each token in query and candidate entities to prompt LLMs. Experiments on three realworld datasets demonstrate that HyperCoT consistently outperforms strong n-ary KGC baselines, particularly in high arity and structural sparsity scenarios, meanwhile yielding interpretable multi-hop reasoning traces. Question). Given the following incomplete fact, which factory best satisfies all structural role constraints?
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on6
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- Sequence-to-Sequence Knowledge Graph Completion and Question AnsweringApoorv Saxena, Adrian Kochsiek, Rainer GemullaACL 2022 · 183 citations
- KICGPT: Large Language Model with Knowledge in Context for Knowledge Graph CompletionYanbin Wei, Qiushi Huang, Yu Zhang, James T. KwokEMNLP Findings 2023 · 96 citations
- Role-Aware Modeling for N-ary Relational Knowledge BasesYu Liu, Quanming Yao, Yong LiWWW 2021 · 72 citations
- HyConvE: A Novel Embedding Model for Knowledge Hypergraph Link Prediction with Convolutional Neural NetworksChenxu Wang, Xin Wang, Zhao Li, Zirui Chen et al.WWW 2023 · 50 citations
Related papers
- DCMKC: A Dual Consistency Matching Approach for Multi-hop Question Answering in LLMsXinyi Wang, Yiping Song, Chang Liu, Tingjin Luo et al.EMNLP Findings 2025
- Logic-Aware Knowledge Graph Reasoning for Structural Sparsity under Large Language Model SupervisionYudai Pan, Jiajie Hong, Tianzhe Zhao, Lingyun Song et al.WWW 2025 · 1 citation
- AnchorCoT: Anchors Pave the Way for Multi-hop ReasoningTianshi Ming, Xian Wu, Yingying Zhang, Zichuan Fu et al.ACL Findings 2025 · 2 citations
- Context-aware Inductive Knowledge Graph Completion with Latent Type Constraints and Subgraph ReasoningMuzhi Li, Cehao Yang, Chengjin Xu, Zixing Song et al.AAAI 2025 · 7 citations
- Making Large Language Models Perform Better in Knowledge Graph CompletionYichi Zhang, Zhuo Chen, Lingbing Guo, Yajing Xu et al.ACM MM 2024 · 86 citations
