提出图神经网络在实体消歧中的最小复杂度架构,明确不同任务所需最低计算资源。
A Tight Expressivity Hierarchy for GNN-Based Entity Resolution in Master Data Management
- 基于类型化实体-属性图构建可区分性理论,确定每类任务的最小图神经网络结构。
- 检测单一共享属性仅需两层反向消息传递,而多属性共享需四层带自我标识的网络。
- 为数据管理中的实体匹配提供可验证的轻量级模型选择依据,适合实际部署场景。
实体消歧——识别指向同一现实实体的数据库记录——天然可建模为连接实体节点与其属性值的二分图。尽管使用包含反向消息传递、端口编号、自我标识(ego ID)等扩展的通用消息传递神经网络(MPNN)可行,但不同任务本质复杂度不同,导致冗余开销。针对特定匹配标准,何种最简MPNN架构能保证正确?本文通过四则分离定理回答此问题,定义共指谓词$ℎ_{\mathrm{Dup}_r}$(两个同类型实体至少共享$ r $个属性值)与$ \ell $-环谓词$\mathrm{Cyc}_\ell$(含实体-实体边情形)。对每类谓词,证明紧致边界:构造出所有缺乏必要适配机制的MPNN无法区分的图对,并给出显式的最小深度MPNN,使其在所有输入上正确计算该谓词。核心发现是:检测任意共享属性为纯局部问题,仅需两层反向消息传递;而检测多个共享属性需跨属性身份关联——验证同一实体出现在目标对象多个属性中,为根本非局部需求,即使在无环二分图上也需引入ego ID与四层结构。类似必要性也适用于环检测。这些结果共同构成最小架构原则:实践者可选取最廉价的充分适配集,且保证更简结构无效。计算验证确认每一预测。
原文摘要 · Abstract (English)
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 $\mathrm{Dup}_r$ (two same-type entities share at least $r$ attribute values) and the $\ell$-cycle predicate $\mathrm{Cyc}_\ell$ 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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。