Match, Compare, or Select? An Investigation of Large Language Models for Entity Matching
Tianshu Wang, Xiaoyang Chen, Hongyu Lin, Xuanang Chen, Xianpei Han, Hao Wang, Zhenyu Zeng, Le Sun
TL;DR
This work investigates how large language models can be used for entity matching in entity resolution by moving beyond independent pairwise decisions to leverage inter-record interactions. It analyzes three strategies—matcher, comparator, and selector—and introduces ComEM, a compound framework that combines local filtering with global selecting to balance accuracy and cost. Across eight ER datasets and ten LLMs, the study shows that interaction-based strategies substantially outperform independent matching, with the selector offering the strongest gains and ComEM delivering notable improvements while reducing computational cost. The findings highlight the importance of task decomposition and LLM composition for practical, cost-efficient EM in real-world data integration scenarios.
Abstract
Entity matching (EM) is a critical step in entity resolution (ER). Recently, entity matching based on large language models (LLMs) has shown great promise. However, current LLM-based entity matching approaches typically follow a binary matching paradigm that ignores the global consistency among record relationships. In this paper, we investigate various methodologies for LLM-based entity matching that incorporate record interactions from different perspectives. Specifically, we comprehensively compare three representative strategies: matching, comparing, and selecting, and analyze their respective advantages and challenges in diverse scenarios. Based on our findings, we further design a compound entity matching framework (ComEM) that leverages the composition of multiple strategies and LLMs. ComEM benefits from the advantages of different sides and achieves improvements in both effectiveness and efficiency. Experimental results on 8 ER datasets and 10 LLMs verify the superiority of incorporating record interactions through the selecting strategy, as well as the further cost-effectiveness brought by ComEM.
