RAHC: Rule-Augmented Hyper-Relational Knowledge Graph Completion for Materials Synthesis

Jiawei Sun, Sijia Xu, Zihan Chen, Zhengyi YangarXiv 2026 · arXiv

TL;DR

RAHC (Rule-Augmented Hyper-Relational Completion) is a new framework designed to fill in missing experimental details in materials synthesis records by combining deep graph learning with explicit symbolic rules. By integrating domain knowledge mined from both structured data and scientific literature, it significantly outperforms "black-box" neural models, providing traceable and context-aware predictions for synthesis conditions like temperature, time, and solvent.

What Problem Does This Paper Address?

Scientific discovery is often hindered by incomplete data. Experimental records—the "recipes" for new materials—are frequently missing crucial details when they are extracted from papers or uploaded to databases. For example, a record might list the target material and the precursors used but omit the reaction temperature or the specific solvent.

Recovering this missing information is challenging because synthesis is highly context-dependent: the "correct" solvent depends on the specific combination of metals, linkers, and temperatures used in that exact experiment. Existing Knowledge Graph (KG) completion methods often struggle here because they either treat experiments as simple triples (ignoring context) or rely on purely neural representations that leave domain-specific regularities implicit and untraceable.

Methods

The authors propose RAHC, which operates on Hyper-Relational Knowledge Graphs (HKGs). Unlike standard KGs, HKGs allow a primary fact (e.g., "Material A was made in Run 1") to be enriched with "qualifiers" that represent the experimental context (e.g., "at 80°C," "for 12 hours").

Figure 2: Run-centric synthesis HKG. Qualifiers contextu- alize the material–run fact; chemical-use roles, procedure steps, and provenance retain experimental semantics.

Key components of the RAHC framework include:

  • Traceable Rule Catalog: RAHC builds a library of symbolic rules (e.g., If Metal=Zn and Linker=BDC, then Solvent=DMF) mined from training data and extracted from scientific literature using LLMs.
  • Dual Encoding: The system uses two separate encoders—one for the graph structure and one for the rule evidence. This allows the model to balance "what the graph looks like" with "what the rules say."
  • Rule Aggregation (RAHC-G vs. RAHC-Q): The authors developed two variants. RAHC-G weights rules based on their global reliability across the whole dataset. RAHC-Q uses an attention mechanism to determine which rules are most relevant to the specific query at hand.
  • Gated Fusion: A learned gate dynamically combines the structural and rule-based representations to produce a final ranking of candidates.
  • Joint Multi-Slot Completion: RAHC can predict multiple missing values simultaneously (e.g., solvent and temperature together) by using rules that conclude in tuples, ensuring the predicted combination is chemically compatible.
Figure 3: The RAHC framework. (a) Training records and retrieved literature form a traceable rule catalog; retrieval matches observed context and candidate conclusions. (b) Separate encoders represent HKG structure and rule evidence. (c) RAHC-G aggregates by global reliability; RAHC-Q also learns query-conditioned relevance. (d) Gated fusion supports candidate-value and tuple ranking. Hard rules constrain candidate validity.

Datasets

The model was evaluated on five materials-synthesis datasets and one general KG benchmark:

  • MOF-SynHKG, SynMOF, FAIR-MOFs: Focused on Metal-Organic Frameworks (MOFs).
  • Solution-based Inorganic: A dataset for predicting precursors in inorganic synthesis.
  • ZeoSyn: Focused on organic structure-directing agents in zeolite synthesis.
  • ILPC’22 Small: A standard benchmark used to test "fully inductive" completion, where the model must reason about entities it has never seen during training.

Key Insights and Ideas

  • Context-Awareness is Crucial: The paper demonstrates that a material doesn't have a single "correct" synthesis route. By treating the experiment (the "Run") as the central node and conditions as qualifiers, RAHC successfully captures the interdependence of synthesis parameters.
  • Symbolic Rules as "Hard" and "Soft" Constraints: RAHC uses rules in two ways: "Hard" rules filter out physically impossible candidates (e.g., elemental inconsistency), while "Soft" rules provide empirical evidence to rank the remaining valid options.
  • Traceability: Because the model uses explicit rules, it can provide a "reason" for its prediction, such as citing a specific paper or a recurring pattern in the data.
  • Inductive Strength: RAHC excels in "inductive" settings—predicting conditions for entirely new materials—because the symbolic rules capture general chemical principles that transfer better than entity-specific embeddings.

Key Results

  • Significant Performance Gains: On the MOF-SynHKG dataset, RAHC-Q improved the Mean Reciprocal Rank (MRR) by 14.8% for solvent prediction and 15.6% for temperature prediction over the previous state-of-the-art model, MAYPL.
  • Cross-Material Success: In the "Solution Inorganic" task, RAHC-Q outperformed the best baseline (HyperPath) by a staggering 90.8%.
  • Generalization: RAHC also achieved gains on the ILPC’22 Small benchmark, proving that its rule-augmentation strategy is effective even for general knowledge graphs outside of chemistry.
  • Joint Completion: The model successfully handled the complex task of filling multiple blanks at once, with RAHC variants leading all four joint-completion tasks tested.

Limitations and Future Work

  • Literature Rule Impact: While literature rules helped, their additional gain over data-mined rules was relatively small in some experiments. The authors suggest this might be due to the sparsity of the extracted rules.
  • Rule Mining Bottleneck: The quality of the system is heavily dependent on the rule catalog. Future work could explore more sophisticated ways to automatically discover complex, non-linear rules.
  • Scalability: While effective on the tested benchmarks, scaling the rule retrieval and matching process to massive, million-node graphs remains a challenge for future engineering.

Summary updated

Abstract

Scientific discovery depends on reusing experimental knowledge, yet records scattered across papers and repositories are often incomplete. In materials synthesis, recovering missing conditions requires reasoning about the target material and the observed context of a specific experiment. Hyper-relational knowledge graphs (HKGs) represent this context through qualifiers, but existing completion methods leave domain knowledge and experimental regularities implicit. We propose RAHC, a rule-augmented HKG framework for single-slot and joint multi-slot synthesis-condition completion. RAHC builds a traceable rule catalog from training records and retrieved literature, retrieves rules for each query-candidate pair, and separately encodes graph structure and rule evidence. Hard rules constrain candidate validity, while soft rules guide ranking. RAHC-G aggregates rules using global reliability; RAHC-Q additionally learns query-specific relevance. Gated fusion combines structural and rule representations, while tuple-conclusion rules provide cross-condition evidence for joint completion. Experiments on five materials-synthesis datasets show improvements in single-slot and joint completion under Semi-inductive and Open-Answer Inductive settings, with Semi-inductive MRR gains of up to 15.6% over MAYPL. RAHC also improves performance on the entity-disjoint ILPC'22 Small benchmark, supporting transfer to fully inductive KG completion. These results support experimental condition selection, synthesis planning, and the reuse of scientific knowledge.
BibTeX
@misc{sun2026rahc,
  author = {Jiawei Sun and Sijia Xu and Zihan Chen and Zhengyi Yang},
  title = {{RAHC: Rule-Augmented Hyper-Relational Knowledge Graph Completion for Materials Synthesis}},
  year = {2026},
  eprint = {2611.04809},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.04809},
}
Figure