Relational Reasoning with Entity Pair Representations

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 120 papers24 conceptsfrozen 2026-10-04

In traditional graph neural networks, the "node" is the primary citizen. To understand a relationship between two entities, we typically compute individual embeddings for each node and then combine them at the very last step. However, a growing body of research suggests that this node-centric view is fundamentally limited. By shifting the focus from individual nodes to entity pairs as the primary units of computation, models can capture structural dependencies and semantic nuances that are otherwise invisible.

The Limits of Node Centricity

In a standard message-passing GNN, a node updates its state by aggregating information from its neighbors. When it comes time to predict a link or a relationship between node $A$ and node $B$, the model usually performs a simple operation—like a dot product or a small MLP—on the final embeddings of $A$ and $B$.

The problem is that these individual embeddings must compress all of a node's relational context into a single vector. As Gitta Kutyniok and Bruno Ribeiro demonstrate in OOD Link Prediction Generalization Capabilities of Message-Passing GNNs in Larger Test Graphs, this approach fails to generalize when the graph size changes. Because the embeddings are tied to the global scale and density of the training graph, they lose the specific "local connectivity" patterns—like the exact fraction of shared neighbors—that actually define a relationship.

Elevating Pairs to First Class Citizens

The alternative is to treat the pair $(A, B)$ as a node itself. This idea traces back to the foundational work of Stuart C. Shapiro, who introduced the MEmory Net Structure (MENS) in 1971. Shapiro argued that relationships should be represented as nodes so they could be treated as entities in their own right, allowing the system to reason about beliefs and higher-order propositions.

Modern architectures have operationalized this by building "Edge-centric" or "Pair-wise" networks. Instead of nodes passing messages to nodes, these models allow edge-nodes to communicate. In Semantic Dependency Parsing with Edge GNNs, Kewei Tu and Songlin Yang show that letting potential relationships communicate based on linguistic patterns (like "sibling" or "grandparent" edges) allows the model to resolve long-distance dependencies that word-centric models miss.

Why Pairwise Representations Work

The intuition behind the success of pair-based models lies in three key areas:

1. Higher-Order Expressivity Standard GNNs are limited by the 1-Weisfeiler-Lehman (1-WL) isomorphism test, meaning there are certain graph structures they simply cannot distinguish. Hu Yang and Muhan Zhang prove in Two-Dimensional Weisfeiler-Lehman Graph Neural Networks for Link Prediction that by performing message passing on node pairs, models reach the expressive power of the 2-WL test. Similarly, Luis Müller shows that the Edge Transformer can reach 3-WL expressivity, allowing it to "see" complex connectivity patterns without needing external positional encodings.

2. Inductive Reasoning When a model learns about specific entities (e.g., "User 123"), it struggles to generalize to new entities it hasn't seen. However, if the model learns about the relationship between pairs based on their shared context, it becomes inductive. Bernardo Cuenca Grau and his colleagues developed INDIGO, which uses pair-wise encoding to predict relations between entirely new entities by focusing on how pairs interact rather than who the entities are.

3. Capturing Interaction Nuance In Natural Language Processing, the relationship between two events or entities is often more than the sum of its parts. Meiqi Chen uses this logic in CHEER to identify event causality. By treating event pairs as nodes, the model can perform "high-order reasoning"—essentially asking how the relationship between Event A and B influences the relationship between Event B and C.

Applications in Information Extraction

This shift has proven particularly effective in specialized domains like biomedicine. Farrokh Mehryary demonstrated that entity-pair embeddings pre-trained on scientific literature provide a much stronger signal for relation extraction than standard BERT embeddings alone. By "baking" the relational structure into the embedding space—a technique also explored by James Henderson in Imposing Relation Structure in Language-Model Embeddings—researchers are creating models that understand not just the context of a word, but the geometry of the interaction between two concepts.

As we move toward unified models like UniGTE by Junjie Wu, the challenge remains: how to prompt Large Language Models to respect these local, pairwise interactions. The evidence suggests that the future of graph reasoning lies not in better node representations, but in mastering the "space between" entities.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_relational_reasoning_with_entity_pair_re_9cf68b04,
  title = {Relational Reasoning with Entity Pair Representations},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/relational-reasoning-with-entity-pair-representations/rdr_9cf68b04332e4cbe9fe7f5e5b8df6051},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_relational_reasoning_with_entity_pair_re_9cf68b04_v1,
  title = {Relational Reasoning with Entity Pair Representations},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/relational-reasoning-with-entity-pair-representations/rdr_9cf68b04332e4cbe9fe7f5e5b8df6051/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}