Cost-efficient prompt engineering for unsupervised entity resolution in the product matching domain
Published version of a preprint
The DOI matches its Crossref record; 49 of the 49 references it cites were found in a registry or an index.
Abstract
Abstract Entity Resolution (ER) is the problem of semi-automatically determining when two entities refer to the same \emph{underlying} entity, with applications ranging from healthcare to e-commerce. Traditional ER solutions required considerable manual expertise, including domain-specific feature engineering, as well as identification and curation of training data. Recently released large language models (LLMs) provide an opportunity to make ER more seamless and domain-independent. However, it is also well known that LLMs can pose risks, and that the quality of their outputs can depend on how prompts are engineered. Unfortunately, a systematic experimental study on the effects of different prompting methods for addressing unsupervised ER, using LLMs like ChatGPT, has been lacking thus far. This paper aims to address this gap by conducting such a study. We consider some relatively simple and cost-efficient ER prompt engineering methods and apply them to ER on two real-world datasets widely used in the community. We use an extensive set of experimental results to show that an LLM like GPT3.5 is viable for high-performing unsupervised ER, and interestingly, that more complicated and detailed (and hence, expensive) prompting methods do not necessarily outperform simpler approaches. We provide brief discussions on qualitative and error analysis, including a study of the inter-consistency of different prompting methods to determine whether they yield stable outputs. Finally, we consider some limitations of LLMs when applied to ER.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
LLaMA: Open and Efficient Foundation Language Models
Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M.-A., Lacroix, T., Rozière, B., Goyal, N., Hambro, E., Azhar, F., et al. (2023) · arXiv · doi:10.48550/arxiv.2302.13971 · Cited by 4,602
Chain-Of-Thought Prompting Elicits Reasoning in Large Language Models
Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E., Le, Q. V., & Zhou, D. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-1800 · Cited by 4,505
Duplicate Record Detection: A Survey
Elmagarmid, A. K., Ipeirotis, P. G., & Verykios, V. S. (2007) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2007.250581 · Cited by 1,267
Adaptive duplicate detection using learnable string similarity measures
Bilenko, M., & Mooney, R. J. (2003) · Proceedings of the ninth ACM SIGKDD international conference on Knowledge discovery and data mining · doi:10.1145/956750.956759 · Cited by 926
A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT
White, J., Fu, Q., Hays, S., Sandborn, M., Olea, C., Gilbert, H., Elnashar, A., Spencer-Smith, J., & Schmidt, D. C. (2023) · arXiv · doi:10.48550/arxiv.2302.11382 · Cited by 838
Prompt Engineering with ChatGPT: A Guide for Academic Writers
Giray, L. (2023) · Annals of Biomedical Engineering · doi:10.1007/s10439-023-03272-4 · Cited by 776 · cited 1×
“Even in more domain-specific or specialized scenarios, such as healthcare [68, 41], academic writing [26], and visual generation [59], LLMs have tended to perform competitively, and have augmented human abilities in impressive ways.”
Christen, P. (2012) · Springer eBooks · doi:10.1007/978-3-642-31164-2 · Cited by 732
Prompt Engineering as an Important Emerging Skill for Medical Professionals: Tutorial
Meskó, B. (2023) · Journal of Medical Internet Research · doi:10.2196/50638 · Cited by 709
Interactive deduplication using active learning
Sarawagi, S., & Bhamidipaty, A. (2002) · Proceedings of the eighth ACM SIGKDD international conference on Knowledge discovery and data mining · doi:10.1145/775047.775087 · Cited by 692
Deep Learning for Entity Matching: A Design Space Exploration
Mudgal, S., Li, H., Rekatsinas, T., Doan, A., Park, Y., Krishnan, G., Deep, R., Arcaute, E., & Raghavendra, V. (2018) · Proceedings of the 2018 International Conference on Management of Data · doi:10.1145/3183713.3196926 · Cited by 550
Evaluation of entity resolution approaches on real-world match problems
Köpcke, H., Thor, A., & Rahm, E. (2010) · Proceedings of the VLDB Endowment · doi:10.14778/1920841.1920904 · Cited by 443
Polak, M. P., & Morgan, D. (2024) · Nature Communications · doi:10.1038/s41467-024-45914-8 · Cited by 365
Entity Resolution with Markov Logic
Singla, P., & Domingos, P. (2006) · Sixth International Conference on Data Mining (ICDM'06) · doi:10.1109/icdm.2006.65 · Cited by 359
Entity resolution: theory, practice & open challenges
Getoor, L., & Machanavajjhala, A. (2012) · Proceedings of the VLDB Endowment · doi:10.14778/2367502.2367564 · Cited by 348
Learning to match and cluster large high-dimensional data sets for data integration
Cohen, W. W., & Richman, J. (2002) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/775047.775116 · Cited by 347
Large Language Models Are Human-Level Prompt Engineers
Zhou, Y., Muresanu, A. I., Han, Z., Paster, K., Pitis, S., Chan, H., & Ba, J. (2022) · arXiv · doi:10.48550/arxiv.2211.01910 · Cited by 330 · cited 1×
“At the same time, because of the growing literature on prompt engineering [74, 71, 61, 68, 72], there is considerable evidence showing that LLMs can be sensitive to the manner in which they are prompted.”
Improving large language models for clinical named entity recognition via prompt engineering
Hu, Y., Chen, Q., Du, J., Peng, X., Keloth, V. K., Zuo, X., Zhou, Y., Li, Z., Jiang, X., Lu, Z., et al. (2024) · Journal of the American Medical Informatics Association · doi:10.1093/jamia/ocad259 · Cited by 314 · cited 1×
“In related work on using LLMs for ER and other such problems, recent LLM-based research in knowledge graph construction has explored how prompt engineering techniques, such as few-shot prompting [39], can enhance information extraction using LLMs [57, 53, 29].”
An Overview of End-to-End Entity Resolution for Big Data
Christophides, V., Efthymiou, V., Palpanas, T., Papadakis, G., & Stefanidis, K. (2021) · ACM Computing Surveys · doi:10.1145/3418896 · Cited by 251
Reasoning about record matching rules
Fan, W., Jia, X., Li, J., & Ma, S. (2009) · Proceedings of the VLDB Endowment · doi:10.14778/1687627.1687674 · Cited by 226
Blocking and Filtering Techniques for Entity Resolution: A Survey
Papadakis, G., Skoutas, D., Thanos, E., & Palpanas, T. (2021) · ACM Computing Surveys · doi:10.1145/3377455 · Cited by 210
Christen, P. (2008) · Proceedings of the 14th ACM SIGKDD international conference on Knowledge discovery and data mining · doi:10.1145/1401890.1402020 · Cited by 198
Auto-EM: End-to-end Fuzzy Entity-Matching using Pre-trained Deep Models and Transfer Learning
Zhao, C., & He, Y. (2019) · International World Wide Web Conference (WWW) · doi:10.1145/3308558.3313578 · Cited by 154
Prompt Engineering for Healthcare: Methodologies and Applications
Wang, J., Shi, E., Yu, S., Wu, Z., Ma, C., Dai, H., Yang, Q., Kang, Y., Wu, J., Hu, H., et al. (2023) · arXiv · doi:10.48550/arxiv.2304.14670 · Cited by 150 · cited 2×
“Even in more domain-specific or specialized scenarios, such as healthcare [68, 41], academic writing [26], and visual generation [59], LLMs have tended to perform competitively, and have augmented human abilities in impressive ways.”
A Culturally Sensitive Test to Evaluate Nuanced GPT Hallucination
McIntosh, T. R., Liu, T., Susnjak, T., Watters, P., Ng, A., & Halgamuge, M. N. (2024) · IEEE Transactions on Artificial Intelligence · doi:10.1109/tai.2023.3332837 · Cited by 145 · cited 1×
“5, which are sometimes known to hallucinate [40, 8], or otherwise focus too much on language compared to the knowledge embedded in the language.”
What does CLIP know about a red circle? Visual prompt engineering for VLMs
Shtedritski, A., Rupprecht, C., & Vedaldi, A. (2023) · 2023 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.01101 · Cited by 134
Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language Models
Logan IV, R., Balazevic, I., Wallace, E., Petroni, F., Singh, S., & Riedel, S. (2022) · Findings of the Association for Computational Linguistics: ACL 2022 · doi:10.18653/v1/2022.findings-acl.222 · Cited by 133
A Survey on Blocking Technology of Entity Resolution
Li, B., Liu, Y., Zhang, A.-M., Wang, W.-H., & Wan, S. (2020) · Journal of Computer Science and Technology · doi:10.1007/s11390-020-0350-4 · Cited by 116
An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labels
Sorensen, T., Robinson, J., Rytting, C., Shaw, A., Rogers, K., Delorey, A., Khalil, M., Fulda, N., & Wingate, D. (2022) · Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2022.acl-long.60 · Cited by 113 · cited 1×
“Somewhat more broadly, we also seek to explore whether an established, widely-in-use LLM like ChatGPT offers a promising unsupervised technique of telling when two records are the same or not, at least in a significant application area such as e-commerce.”
Three-dimensional Entity Resolution with JedAI
Papadakis, G., Mandilaras, G., Gagliardelli, L., Simonini, G., Thanos, E., Giannakopoulos, G., Bergamaschi, S., Palpanas, T., & Koubarakis, M. (2020) · Information Systems · doi:10.1016/j.is.2020.101565 · Cited by 95
Hallucination Detection: Robustly Discerning Reliable Answers in Large Language Models
Chen, Y., Fu, Q., Yuan, Y., Wen, Z., Fan, G., Liu, D., Zhang, D., Li, Z., & Xiao, Y. (2023) · Proceedings of the 32nd ACM International Conference on Information and Knowledge Management · doi:10.1145/3583780.3614905 · Cited by 94
Deep Sequence-to-Sequence Entity Matching for Heterogeneous Entity Resolution
Nie, H., Han, X., He, B., Sun, L., Chen, B., Zhang, W., Wu, S., & Kong, H. (2019) · Proceedings of the 28th ACM International Conference on Information and Knowledge Management · doi:10.1145/3357384.3358018 · Cited by 86
The WDC Training Dataset and Gold Standard for Large-Scale Product Matching
Primpeli, A., Peeters, R., & Bizer, C. (2019) · International World Wide Web Conference (WWW) · doi:10.1145/3308560.3316609 · Cited by 85
Supervised Contrastive Learning for Product Matching
Peeters, R., & Bizer, C. (2022) · International World Wide Web Conference (WWW) · doi:10.1145/3487553.3524254 · Cited by 81
The Unreliability of Explanations in Few-shot Prompting for Textual Reasoning
Ye, X., & Durrett, G. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-2202 · Cited by 75
An Unsupervised Algorithm for Learning Blocking Schemes
Kejriwal, M., & Miranker, D. P. (2013) · Proceedings · doi:10.1109/icdm.2013.60 · Cited by 59
Self-citationInterpreting deep learning models for entity resolution: an experience report using LIME
Cicco, V. D., Firmani, D., Koudas, N., Merialdo, P., & Srivastava, D. (2019) · International Workshop on Exploiting Artificial Intelligence Techniques for Data Management (aiDM) · doi:10.1145/3329859.3329878 · Cited by 42
Deep Learning Based Approach for Entity Resolution in Databases
Kooli, N., Allesiardo, R., & Pigneul, E. (2018) · Lecture notes in computer science · doi:10.1007/978-3-319-75420-8_1 · Cited by 37
Probing the Robustness of Pre-trained Language Models for Entity Matching
Rastaghi, M. A., Kamalloo, E., & Rafiei, D. (2022) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3511808.3557673 · Cited by 36
Comparing Traditional and LLM-based Search for Consumer Choice: A Randomized Experiment
Spatharioti, S. E., Rothschild, D. M., Goldstein, D. G., & Hofman, J. M. (2023) · arXiv · doi:10.48550/arxiv.2307.03744 · Cited by 26 · cited 1×
“Applications of LLMs span across multiple domains related to natural language processing, e.g., search [2], customer support [62], and translation [30], and continue to grow.”
Active deep learning on entity resolution by risk sampling
Nafa, Y., Chen, Q., Chen, Z., Lu, X., He, H., Duan, T., & Li, Z. (2021) · Knowledge-Based Systems · doi:10.1016/j.knosys.2021.107729 · Cited by 24
Talk like a Graph: Encoding Graphs for Large Language Models
Fatemi, B., Halcrow, J., & Perozzi, B. (2023) · arXiv · doi:10.48550/arxiv.2310.04560 · Cited by 17 · cited 1×
“Prompt engineering has been actively researched in domains ranging from graph analytics [21] and healthcare [41] to business process management [7], but to our knowledge, remains to be systematically studied in ER.”
Scalable entity resolution for Web product descriptions
Vandić, D., Frăsincar, F., Kaymak, U., & Riezebos, M. (2019) · Information Fusion · doi:10.1016/j.inffus.2019.06.002 · Cited by 9
PromptIE - Information Extraction with Prompt-Engineering and Large Language Models
Schacht, S., Barkur, S. K., & Lanquillon, C. (2023) · Communications in computer and information science · doi:10.1007/978-3-031-36004-6_69 · Cited by 7
Entity Resolution for Maintaining Electronic Medical Record Using OYSTER
Gupta, T., & Deshpande, V. (2019) · EAI/Springer Innovations in Communication and Computing · doi:10.1007/978-3-030-19562-5_5 · Cited by 4
Scaling Use-case Based Shopping using LLMs
Farfade, S., Vernekar, S. S., Chaoji, V., & Mukherjee, R. (2024) · ACM International Conference on Web Search and Data Mining (WSDM) · doi:10.1145/3616855.3635748 · Cited by 3
Bhattacharya, I., & Getoor, L. C. (2006) · doi:10.1002/9780470073049.ch13
Entity resolution for big data
Getoor, L. C., & Machanavajjhala, A. (2013) · ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/2487575.2506179
Entity Resolution Using Convolutional Neural Network
Gottapu, R. D., Dağli, C. H., & Ali, B. (2016) · Procedia Computer Science · doi:10.1016/j.procs.2016.09.306
A Review of Unsupervised and Semi-supervised Blocking Methods for Record Linkage
O’Hare, K., Jurek, A., & de Campos, C. P. (2018) · Unsupervised and semi-supervised learning · doi:10.1007/978-3-030-01872-6_4
Research works printed but not linked: 23
- Beatriz Botero Arcila. Is it a platform? is it a search engine? it’s chatgpt! the European liability regime for large language models. J Free Speech L. 2023;3:455.
- Janani Balaji, Faizan Javed, Mayank Kejriwal, Chris Min, Sam Sander, Ozgur Ozturk. An ensemble blocking scheme for entity resolution of large and sparse datasets. arXiv preprint. 2016. https://doi.org/10.4855/arXiv.1609.06265. · doi:10.4855/arxiv.1609.06265
- Vassilis Christophides, Vasilis Efthymiou, Kostas Stefanidis. Entity resolution in the web of data, vol. 5. Berlin: Springer; 2015.
- Cohen William W, Pradeep Ravikumar, Fienberg Stephen E, et al. A comparison of string distance metrics for name-matching tasks. IIWeb. 2003;3:73–8.
- Muhammad Ebraheem, Saravanan Thirumuruganathan, Shafiq Joty, Mourad Ouzzani, Nan Tang. Deeper-deep entity resolution. arXiv preprint. 2017. https://doi.org/10.4855/arXiv.1710.00597. · doi:10.4855/arxiv.1710.00597
- Sabit Ekin. Prompt engineering for chatgpt: a quick guide to techniques, tips, and best practices. Author Preprints. 2023. https://doi.org/10.3622/techrxiv.22683919.v2. · doi:10.3622/techrxiv.22683919.v2
- Meihao Fan, Xiaoyue Han Ju, Chai Fan Chengliang, Nan Tang, Guoliang Li, Xiaoyong Du. Cost-effective in-context learning for entity resolution: a design space exploration. IEEE: Piscataway; 2023.
- Mozhdeh Gheini, Mayank Kejriwal. Unsupervised product entity resolution using graph representation learning. Tokyo: eCOM@ SIGIR; 2019.
- Marzena Karpinska, Mohit Iyyer. Large language models effectively leverage document-level context for literary translation, but critical errors persist. arXiv preprint. 2023. https://doi.org/10.4855/arXiv.2304.03245. · doi:10.4855/arxiv.2304.03245
- Jungo Kasai, Kun Qian, Sairam Gurajada, Yunyao Li, Lucian Popa. Low-resource deep entity resolution with transfer and active learning. arXiv preprint. 2019. https://doi.org/10.4855/arXiv.1906.08042. · doi:10.4855/arxiv.1906.08042
- Mayank Kejriwal. Populating a linked data entity name system: a big data solution to unsupervised instance matching, vol. 27. Amsterdam: IOS Press; 2016.
- Mayank Kejriwal. Named entity resolution in personal knowledge graphs. arXiv preprint. 2023. https://doi.org/10.4855/arXiv.2307.12173. · doi:10.4855/arxiv.2307.12173
- Huahang Li, Longyu Feng, Shuangyin Li, Fei Hao, Jason Zhang Chen, Yuanfeng Song, Lei Chen. On leveraging large language models for enhancing entity resolution. arXiv preprint. 2024. https://doi.org/10.4855/arXiv.2401.03426. · doi:10.4855/arxiv.2401.03426
- Yuliang Li, Jinfeng Li, Yoshihiko Suhara, AnHai Doan, Wang-Chiew Tan. Deep entity matching with pre-trained language models. arXiv preprint. 2020. https://doi.org/10.4855/arXiv.2004.00584. · doi:10.4855/arxiv.2004.00584
- Avanika Narayan, Ines Chami, Laurel Orr, Simran Arora, Christopher Ré. Can foundation models wrangle your data? arXiv preprint. 2022. https://doi.org/10.4855/arXiv.2205.09911. · doi:10.4855/arxiv.2205.09911
- George Papadakis, Ekaterini Ioannou, Emanouil Thanos, Themis Palpanas. The four generations of entity resolution. Berlin: Springer; 2021.
- Ralph Peeters, Christian Bizer. Entity matching using large language models. arXiv preprint. 2023. https://doi.org/10.4855/arXiv.2310.11244. · doi:10.4855/arxiv.2310.11244
- Roumeliotis Konstantinos I, Tselikas Nikolaos D, Nasiopoulos Dimitrios K. Llms in e-commerce: a comparative analysis of gpt and llama models in product review evaluation. Natl Lang Proc J. 2024;6: 100056.
- Warren Shen, Xin Li, Doan A. Constraint-based entity matching. Washington, DC: AAAI; 2005. p. 862–7.
- Talburt John R. Entity resolution and information quality. Amsterdam: Elsevier; 2011.
- Volz Julius, Bizer Christian, Gaedke Martin, Kobilarov Georgi. Silk-a link discovery framework for the web of data. Ldow. 2009;538:53.
- Tianshu Wang, Xiaoyang Chen, Hongyu Lin, Xuanang Chen, Xianpei Han, Hao Wang, Zhenyu Zeng, Le Sun. Match, compare, or select? an investigation of large language models for entity matching. arXiv preprint. 2024. https://doi.org/10.4855/arXiv.2405.16884. · doi:10.4855/arxiv.2405.16884
- Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Chi Ed, Sharan Narang, Aakanksha Chowdhery, Denny Zhou. Self-consistency improves chain of thought reasoning in language models. arXiv preprint. 2022. https://doi.org/10.4855/arXiv.2203.11171. · doi:10.4855/arxiv.2203.11171
Cited by
Roumeliotis, K. I., Tselikas, N. D., & Nasiopoulos, D. K. (2025) · Natural Language Processing Journal · doi:10.1016/j.nlp.2025.100142 · Cited by 14
Atkinson, C. F. (2025) · doi:10.21203/rs.3.rs-5702366/v1 · Cited by 3
Metadata
- Authors
- Nananukul, N., Sisaengsuwanchai, K., & Kejriwal, M.
- Venue
- Discover Artificial Intelligence
- Published
- 2024-08-16
- Volume
- 4
- Issue
- 1
- ISSN
- 2731-0809
- Cited by
- 23
- References
- 49
- Language
- en
- Licence
- creativecommons.org/licenses/by-nc-nd/4.0 (tdm)
- creativecommons.org/licenses/by-nc-nd/4.0 (vor)
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.