Rule Learning for Knowledge Graph Reasoning under Agnostic Distribution Shift
This addresses the critical weakness of rule learning methods in knowledge graph reasoning, which suffer from performance drops under distribution shifts, making it incremental by enhancing robustness for real-world applications.
The paper tackles the problem of logical rule learning for knowledge graph reasoning under agnostic distribution shifts, proposing the StableRule framework that combines feature decorrelation with rule learning to improve out-of-distribution generalization, achieving superior effectiveness and stability across seven benchmark knowledge graphs.
Logical rule learning, a prominent category of knowledge graph (KG) reasoning methods, constitutes a critical research area aimed at learning explicit rules from observed facts to infer missing knowledge. However, like all KG reasoning methods, rule learning suffers from a critical weakness-its dependence on the I.I.D. assumption. This assumption can easily be violated due to selection bias during training or agnostic distribution shifts during testing (e.g., as in query shift scenarios), ultimately undermining model performance and reliability. To enable robust KG reasoning in wild environments, this study investigates logical rule learning in the presence of agnostic test-time distribution shifts. We formally define this challenge as out-of-distribution (OOD) KG reasoning-a previously underexplored problem, and propose the Stable Rule Learning (StableRule) framework as a solution. StableRule is an end-to-end framework that combines feature decorrelation with rule learning network, to enhance OOD generalization in KG reasoning. By leveraging feature decorrelation, StableRule mitigates the adverse effects of covariate shifts arising in OOD scenarios, improving the robustness of the rule learning network. Extensive experiments on seven benchmark KGs demonstrate the framework's superior effectiveness and stability across diverse heterogeneous environments, highlighting its practical significance for real-world applications.