A Tight Expressivity Hierarchy for GNN-Based Entity Resolution in Master Data Management
Organizations: Centre for Cybersecurity, Trust and Reliability (CyStar), Department of Computer Science and Engineering, Indian Institute of Technology, Madras, Tamilnadu, India.
Abstract
Entity resolution -- identifying database records that refer to the same real-world entity -- is naturally modelled on bipartite graphs connecting entity nodes to their attribute values. Applying a message-passing neural network (MPNN) with all available extensions (reverse message passing, port numbering, ego IDs) incurs unnecessary overhead, since different entity resolution tasks have fundamentally different complexity. For a given matching criterion, what is the cheapest MPNN architecture that provably works? We answer this with a four-theorem separation theory on typed entity-attribute graphs. We introduce co-reference predicates (two same-type entities share at least attribute values) and the -cycle predicate for settings with entity-entity edges. For each predicate we prove tight bounds -- constructing graph pairs provably indistinguishable by every MPNN lacking the required adaptation, and exhibiting explicit minimal-depth MPNNs that compute the predicate on all inputs. The central finding is a sharp complexity gap between detecting any shared attribute and detecting multiple shared attributes. The former is purely local, requiring only reverse message passing in two layers. The latter demands cross-attribute identity correlation -- verifying that the same entity appears at several attributes of the target -- a fundamentally non-local requirement needing ego IDs and four layers, even on acyclic bipartite graphs. A similar necessity holds for cycle detection. Together, these results yield a minimal-architecture principle: practitioners can select the cheapest sufficient adaptation set, with a guarantee that no simpler architecture works. Computational validation confirms every prediction.
Figures & tables
| Layer | Direction | Message content | Node computes and stores |
|---|---|---|---|
| 0 | — | — | Entity : . Attribute : . |
| 1 | Ent Att | Attribute : | |
| 2 | Att Ent | Entity : | |
| 3 | Ent Att | Attribute : | |
| 4 | Att Ent | Ego : |
| Thm | Architecture (insufficient) | |
|---|---|---|
| 3 | Vanilla MPNN (no reverse MP) | |
| 5 | Reverse MP (no ports) | |
| 8 | Reverse MP Full Ports (no ego) | |
| 12 | Reverse MP Full Ports (no ego) |
| Thm | Architecture (sufficient) | Params | on | on |
|---|---|---|---|---|
| 3 | Reverse MP (2 layers) | — | ||
| 5 | RevMP InPorts (2 layers) | — | ||
| 8 | RevMP Ego (4 layers) | |||
| 12 | Ego, fwd-only ( layers) |
| Entity resolution task | Graph class | Minimal sufficient adaptations | Provably unnecessary | Depth | Thm |
|---|---|---|---|---|---|
| detection | Simple entity-attribute | Reverse message passing | Port numbering, ego IDs | 2 | 3 |
| detection | Multigraph entity-attribute | Reverse message passing, incoming ports | Outgoing ports, ego IDs | 2 | 5 |
| detection ( ) | Simple entity-attribute | Reverse message passing, ego IDs | Port numbering | 4 | 8 |
| detection ( ) | Multigraph entity-attribute | Reverse message passing, incoming ports, ego IDs | Outgoing ports | 4 | 5 , 8 |
| -cycle detection | Typed directed | Ego IDs † | Reverse message passing, port numbering † | 12 |
Entity Resolution
Entity resolution links records that refer to the same real-world entity across datasets despite differences in names, attributes, formats, and languages.
See all 39 papers