Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

In-context Clustering-based Entity Resolution with Large Language Models: A Design Space Exploration

About

Entity Resolution (ER) is a fundamental data quality improvement task that identifies and links records referring to the same real-world entity. Traditional ER approaches often rely on pairwise comparisons, which can be costly in terms of time and monetary resources, especially with large datasets. Recently, Large Language Models (LLMs) have shown promising results in ER tasks. However, existing methods typically focus on pairwise matching, missing the potential of LLMs to perform clustering directly in a more cost-effective and scalable manner. In this paper, we propose a novel in-context clustering approach for ER, where LLMs are used to cluster records directly, reducing both time complexity and monetary costs. We systematically investigate the design space for in-context clustering, analyzing the impact of factors such as set size, diversity, variation, and ordering of records on clustering performance. Based on these insights, we develop LLM-CER (LLM-powered Clustering-based ER), which achieves high-quality ER results while minimizing LLM API calls. Our approach addresses key challenges, including efficient cluster merging and LLM hallucination, providing a scalable and effective solution for ER. Extensive experiments on nine real-world datasets demonstrate that our method significantly improves result quality, achieving up to 150% higher accuracy, 10% increase in the F-measure, and reducing API calls by up to 5 times, while maintaining comparable monetary cost to the most cost-effective baseline.

Jiajie Fu, Haitong Tang, Arijit Khan, Sharad Mehrotra, Xiangyu Ke, Yunjun Gao• 2025

Related benchmarks

TaskDatasetResultRank
Entity ResolutionSONG
FP Score79.74
6
Entity ResolutionCensus
FP Rate71.56
6
Entity ResolutionCora
FP Rate84.51
6
Entity ResolutionAS
False Positives65.21
6
Entity ResolutionAmazon-GP
FP82.74
6
Entity ResolutionAlaska
FP74.82
6
Entity Resolutionmusic
FP65.91
6
Entity ResolutionMovies
FP58.63
6
Entity ResolutionCora
End-to-end Running Time (min)9.02
2
Entity ResolutionAlaska
Runtime (min)91.61
2
Showing 10 of 12 rows

Other info

Follow for update