TL;DR
GRiD is a novel framework that reformulates the discovery of complex, graph-like logical rules for Knowledge Graphs (KGs) as a conditional discrete diffusion process. By combining supervised pre-training with reinforcement learning fine-tuning, GRiD bypasses the exponential search space of traditional methods to generate high-quality rules that significantly improve knowledge graph completion while preserving symbolic interpretability.
What Problem Does This Paper Address?
Knowledge Graphs (KGs) are structured representations of real-world facts, but they are almost always incomplete. To predict missing links, researchers often turn to rule-based reasoning because it provides explicit, human-readable logic. However, traditional rule-mining methods are largely restricted to simple, linear chain-like rules (e.g., $A \rightarrow B \rightarrow C$).
While easy to find, chain-like rules struggle with complex graph schemas where relationships branch or form cycles. For example, a chain-like rule might predict multiple potential workplaces for a person but fail to narrow down the correct one. Graph-like rules can enforce multiple constraints simultaneously (e.g., combining where someone graduated from and where they live) to eliminate ambiguity.
Unfortunately, discovering graph-like rules introduces two massive hurdles:
- Combinatorial Explosion: The search space for graph-like structures grows exponentially ($O((L|R|)^L)$), making traditional discrete search algorithms computationally intractable.
- Non-Differentiable Metrics: Generative approaches like diffusion models typically rely on differentiable losses. However, logical rules are evaluated using discrete metrics like confidence and coverage, which cannot be directly back-propagated to train a model.
Methods
The authors introduce GRiD (Graph-like Rile Discovery via Diffusion), which shifts rule discovery from an iterative search problem to a conditional generative modeling problem.
1. Discrete State Formulation
Instead of continuous latent spaces, GRiD operates directly on a discrete space by representing the rule body as an adjacency matrix. Each entry in the matrix corresponds to a specific relation type in the KG or a padding token. The generation process is conditioned on the target head relation and the current diffusion timestep.
2. Two-Stage Training Strategy
To overcome the non-differentiability of rule metrics and sample inefficiency, GRiD uses a two-phase training pipeline:
- Phase A: Supervised Learning (SL) Pre-training: The model learns structural graph priors by reconstructing clean rule matrices from states corrupted by categorical noise. The training data consists of subgraphs sampled from the KG's meta-graph.
- Phase B: Reinforcement Learning (RL) Fine-tuning: To align the model with actual rule quality, the denoising process is treated as a stochastic policy optimized via the REINFORCE algorithm. The model receives a reward based on a composite, non-differentiable metric: the geometric mean of rule coverage, standard confidence, and Partial Completeness Assumption (PCA) confidence.
During inference, GRiD starts with a completely noisy matrix and iteratively denoises it to output top-ranked, valid graph-like rules.
Datasets
The framework was evaluated across six diverse benchmark datasets:
- Large-Scale KGs:
YAGO3-10andFB15K-237. - Domain-Specific KGs:
Family(kinship relations),Kinship(indigenous Australian kinship protocols),UMLS(biomedical concepts), andWN-18RR(lexical/word senses).
Key Insights and Ideas
- Generative vs. Search-Based Paradigms: By treating rule generation as a continuous-to-discrete denoising process, GRiD completely sidesteps the need to exhaustively traverse large KG instances during the search phase.
- The Power of Stricter Constraints: Graph-like rules act as excellent filters. While chain-like rules provide broad coverage, graph-like rules enforce stricter conjunctive joins that drastically reduce false positives in highly ambiguous, dense KGs.
- Balanced Multi-Criteria Rewards: When fine-tuning via RL, using the geometric mean of coverage and confidence metrics prevents the model from gaming the reward system (e.g., generating overly broad rules with high coverage but terrible precision).
Key Results
GRiD demonstrated strong performance across all benchmarks, frequently outperforming traditional rule-based baselines and matching or exceeding state-of-the-art embedding and GNN-based methods.
- Knowledge Graph Completion (KGC): On the highly competitive
YAGO3-10dataset, GRiD achieved an MRR of 54.91% and a Hit@1 of 49.78%, noticeably outperforming other rule-based methods like AnyBURL (MRR 46.14%) and ChatRule (MRR 44.92%). - Complementary Effects: Ablation studies showed that combining chain-like and graph-like rules yields a substantial boost over using either alone. For example, on
WN-18RR, the combined approach achieved an MRR of 45.10%, compared to just 38.73% for chain-only and 31.57% for graph-only configurations. - RL Impact: Fine-tuning with RL provided a consistent ~10% performance increase across metrics compared to the supervised pre-training baseline alone, validating the necessity of direct metric optimization.
Limitations and Future Work
While effective, the authors note a few areas for improvement:
- Sampling Bias: The supervised pre-training phase depends on subgraphs sampled from the KG meta-graph, which can introduce structural biases based on how the sampling is performed.
- Direct Distribution Learning: Future work will focus on training diffusion models to learn directly from the underlying KG distributions, eliminating the subgraph sampling step entirely.
- Refined Structural Metrics: The authors plan to develop more granular structural evaluation metrics to provide tighter guidance during the reverse diffusion process.
Summary updated