TL;DR
This paper moves beyond the standard "triple" (head, relation, tail) format of knowledge graphs to tackle knowledge hypergraphs, where relations can involve any number of entities. The authors introduce two novel embedding-based models, HSimplE and HypE, which directly model these n-ary relations by incorporating positional information, significantly outperforming traditional methods that try to force-fit hypergraphs into binary structures.
What Problem Does This Paper Address?
Most modern knowledge graph completion (link prediction) research focuses on binary relations—facts like born_in(Alan_Turing, London). However, the real world is messier. Many facts are inherently n-ary, involving three or more entities. For example, a flight relation might involve an airline, a departure city, and an arrival city: flies_between(Air_Canada, Montreal, Vancouver).
Historically, researchers handled this by "reifying" the data—turning one n-ary relation into several binary ones by adding dummy nodes. As shown in Figure 1, these conversions often lose crucial information or create "auxiliary" entities that the model can't effectively learn about during training, leading to poor performance at test time.
The authors argue that we need models that treat hypergraphs as first-class citizens, rather than trying to squeeze them into a binary box.
Methods
The authors propose two models that treat the position of an entity within a relation as a key feature:
- HSimplE: An extension of the SimplE model. It represents each entity as a single vector but "shifts" that vector based on its position in the tuple. Conceptually, the entity embedding is a concatenation of vectors for every possible position it could occupy.
- HypE: A more sophisticated approach that uses positional convolutional filters. Instead of just shifting the embedding, HypE learns a set of filters for each position. When an entity appears in position $i$, its embedding is convolved with the filters for that position, projected back into the embedding space, and then combined with the relation embedding.
Crucially, the authors prove that both models are fully expressive, meaning they are mathematically capable of representing any possible ground truth given enough embedding dimensions.
Datasets
The paper evaluates these models on several benchmarks:
- JF17K: An existing dataset containing n-ary relations.
- FB-AUTO & M-FB15K: Two new datasets created by the authors from Freebase by performing "inverse reification" to recover the original n-ary structures.
- WN18 & FB15k: Standard binary knowledge graph datasets used to ensure the new models still perform well on traditional tasks.
Key Insights and Ideas
- Position is Signal: In an n-ary relation, the "role" an entity plays is defined by its position. A city's meaning changes depending on whether it's the departure or arrival point.
- Disentanglement Matters: HypE’s use of convolutional filters "disentangles" the entity's identity from its positional role. This allows the model to share knowledge across different entities that appear in the same position.
- Robustness to the Unknown: HypE is particularly effective when an entity appears in a position at test time that it never occupied during training. Because the positional filters are learned across all entities, the model can still make a reasonable prediction for a "new" entity-position pair.
Key Results
The proposed models consistently outperformed baselines like m-DistMult, m-CP, and m-TransH across all hypergraph datasets.
- Efficiency: HypE is remarkably parameter-efficient. At a low embedding dimension of 50, HypE outperformed HSimplE by 24% in Mean Reciprocal Rank (MRR).
- Generalization: In the "missing positions" test—where entities appear in roles they never had during training—HypE significantly outperformed both HSimplE and m-CP, proving the value of its disentangled positional filters.
- Binary Performance: On standard binary datasets (WN18 and FB15k), HSimplE and HypE remained competitive with or superior to state-of-the-art binary models, showing they are robust general-purpose tools.
Limitations and Future Work
While the paper successfully addresses link prediction for full tuples, the authors note that predicting missing entities in a partial tuple (e.g., "Which airline flies between Montreal and X?") is a more complex challenge. Future work could also explore how to effectively handle relations with extremely high arity or dynamic structures where the number of entities in a relation isn't fixed.
Summary updated