NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Reasoning over Multi-view Knowledge Graphs

Zhaohan Xi, Ren Pang, Changjiang Li, Tianyu Du, Shouling Ji, Fenglong Ma, Ting WangarXiv 2022 · DOI

Abstract

Reasoning over Knowledge Graphs (KGs) is a fundamental task in AI, yet traditional models often fail to account for the multi-faceted nature of real-world facts. This paper introduces ROMA (Reasoning Over Multi-view Knowledge GrAphs), a novel framework designed to handle complex logical queries across "multi-view" graphs where facts are partitioned by context, such as time or competition type. By utilizing a dual-decoder architecture that treats views as first-class constraints, ROMA significantly reduces context-mixing errors and demonstrates superior performance on real-world datasets like ICEWS and YAGO, even generalizing to unseen views.

The Challenge of Multi-view Knowledge Graphs

Knowledge Graphs are typically treated as flat networks of triples. However, facts are often context-dependent. For example, a football player's statistics and achievements are distinct depending on whether they are playing for a club or a national team.

Example of a multi-view knowledge graph where facts are categorized by competition type.

Existing models frequently ignore these boundaries, leading to "hallucinated" answers where the AI conflates facts from incompatible views. The challenge is to represent these layered graphs efficiently and enforce view constraints—such as ensuring a query about club trophies doesn't return national team results—during multi-hop logical reasoning.

Methods: The ROMA Architecture

ROMA addresses these challenges through a specialized encoder-decoder structure that separates relational logic from contextual constraints.

The ROMA architecture featuring dual relation and view decoders.

1. Initialization and Encoding

Entities are initialized with two distinct embeddings: a semantic encoding (representing the entity's identity) and a view-set encoding (representing the contexts it belongs to). For temporal views, the model employs positional encodings to capture the sequential nature of time. A graph-based self-attention mechanism then allows entities to become "aware" of their neighbors and the specific views they share.

2. Relation-View Decoding

The core innovation of ROMA is its dual-decoder system:

  • Relation Decoder ($\psi_R$): Manages the logical hops between entities (e.g., Player $\to$ Team).
  • View Decoder ($\psi_\Theta$): Ensures the reasoning path remains within the specified view constraints (e.g., must be a Club competition).

A merger operator combines the outputs of both decoders at each step of a multi-hop query, ensuring that intermediate results satisfy both the relational logic and the contextual requirements.

Experimental Evaluation

The model was evaluated on two major real-world datasets:

  • ICEWS (Integrated Crisis Early Warning System): A dataset of political events categorized by quarterly (ICEWS-Q) and monthly (ICEWS-M) temporal views.
  • YAGO: A large-scale KG derived from Wikipedia, using data from 2015 to 2020 to construct a multi-view temporal graph.

Key Results

ROMA consistently outperformed established baselines like TTransE and TRESCAL:

  • Accuracy: On the ICEWS-Q dataset, ROMA achieved a Mean Reciprocal Rank (MRR) of 28.8, compared to 26.7 for the leading temporal baseline.
  • Complex Queries: The performance gap widened on multi-hop queries (2-hop and 3-hop), where enforcing view constraints is traditionally most difficult.
  • Zero-Shot Generalization: By using positional encodings for views, ROMA demonstrated the ability to perform "temporal extrapolation," answering queries about future time periods it never encountered during training.

Insights and Future Work

ROMA proves that treating views as attributes rather than separate graphs is a scalable and effective strategy. This "relaxation" prevents the model from becoming computationally overwhelmed while maintaining high precision.

However, the model currently focuses on conjunctive (AND) logic. Future work aims to expand ROMA to handle adjunctive (OR/NOT) logic and to better model the deep semantic correlations that often exist between different views, such as how a player's performance in one view might influence their status in another.

Summary updated

BibTeX
@misc{xi2022reasoning,
  author = {Zhaohan Xi and Ren Pang and Changjiang Li and Tianyu Du and Shouling Ji and Fenglong Ma and Ting Wang},
  title = {{Reasoning over Multi-view Knowledge Graphs}},
  year = {2022},
  eprint = {2209.13702},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.13702},
}
Figure