TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Fine-tuning Large Language Models for Entity Matching

Fine-tuning Large Language Models for Entity Matching

Aaron Steiner, Ralph Peeters, Christian Bizer

2024-09-12Entity ResolutionData IntegrationPrompt Engineering
PaperPDFCode(official)

Abstract

Generative large language models (LLMs) are a promising alternative to pre-trained language models for entity matching due to their high zero-shot performance and ability to generalize to unseen entities. Existing research on using LLMs for entity matching has focused on prompt engineering and in-context learning. This paper explores the potential of fine-tuning LLMs for entity matching. We analyze fine-tuning along two dimensions: 1) the representation of training examples, where we experiment with adding different types of LLM-generated explanations to the training set, and 2) the selection and generation of training examples using LLMs. In addition to the matching performance on the source dataset, we investigate how fine-tuning affects the models ability to generalize to other in-domain datasets as well as across topical domains. Our experiments show that fine-tuning significantly improves the performance of the smaller models while the results for the larger models are mixed. Fine-tuning also improves the generalization to in-domain datasets while hurting cross-domain transfer. We show that adding structured explanations to the training set has a positive impact on the performance of three out of four LLMs, while the proposed example selection and generation methods, only improve the performance of Llama 3.1 8B while decreasing the performance of GPT-4o-mini.

Results

TaskDatasetMetricValueModel
Data IntegrationAbt-BuyF1 (%)94.09gpt-4o-mini-2024-07-18_fine_tuned
Data IntegrationAbt-BuyF1 (%)92.2gpt-4o-2024-08-06
Data IntegrationAbt-BuyF1 (%)87.68gpt-4o-mini-2024-07-18
Data IntegrationAbt-BuyF1 (%)87.34Meta-Llama-3.1-8B-Instruct_fine_tuned
Data IntegrationAbt-BuyF1 (%)79.12Meta-Llama-3.1-70B-Instruct
Data IntegrationAbt-BuyF1 (%)56.57Meta-Llama-3.1-8B-Instruct
Data IntegrationWDC Products-80%cc-seen-mediumF1 (%)87.1gpt-4o-2024-08-06_fine_tuned_wdc_small
Data IntegrationWDC Products-80%cc-seen-mediumF1 (%)84.38gpt-4o-mini-2024-07-18_structured_explanations
Data IntegrationWDC Products-80%cc-seen-mediumF1 (%)81.61gpt-4o-mini-2024-07-18
Data IntegrationWDC Products-80%cc-seen-mediumF1 (%)76.7Llama3.1_70B_structured_explanations
Data IntegrationWDC Products-80%cc-seen-mediumF1 (%)75.2Llama3.1_70B
Data IntegrationWDC Products-80%cc-seen-mediumF1 (%)74.37Llama3.1_8B_error-based_example_selection
Data IntegrationWDC Products-80%cc-seen-mediumF1 (%)74.13Llama3.1_8B_structured_explanations
Data IntegrationWDC Products-80%cc-seen-mediumF1 (%)53.36Llama3.1_8B
Data IntegrationAmazon-GoogleF1 (%)80.25gpt-4o-mini-2024-07-18_fine_tuned
Data IntegrationAmazon-GoogleF1 (%)63.45gpt-4o-2024-08-06
Data IntegrationAmazon-GoogleF1 (%)59.2gpt-4o-mini-2024-07-18
Data IntegrationAmazon-GoogleF1 (%)51.44Meta-Llama-3.1-70B-Instruct
Data IntegrationAmazon-GoogleF1 (%)50Meta-Llama-3.1-8B-Instruct_fine_tuned
Data IntegrationAmazon-GoogleF1 (%)49.16Meta-Llama-3.1-8B-Instruct
Data IntegrationWDC ProductsF1 (%)87.07gpt-4o-2024-08-06_fine_tuned_wdc_small
Entity ResolutionAbt-BuyF1 (%)94.09gpt-4o-mini-2024-07-18_fine_tuned
Entity ResolutionAbt-BuyF1 (%)92.2gpt-4o-2024-08-06
Entity ResolutionAbt-BuyF1 (%)87.68gpt-4o-mini-2024-07-18
Entity ResolutionAbt-BuyF1 (%)87.34Meta-Llama-3.1-8B-Instruct_fine_tuned
Entity ResolutionAbt-BuyF1 (%)79.12Meta-Llama-3.1-70B-Instruct
Entity ResolutionAbt-BuyF1 (%)56.57Meta-Llama-3.1-8B-Instruct
Entity ResolutionWDC Products-80%cc-seen-mediumF1 (%)87.1gpt-4o-2024-08-06_fine_tuned_wdc_small
Entity ResolutionWDC Products-80%cc-seen-mediumF1 (%)84.38gpt-4o-mini-2024-07-18_structured_explanations
Entity ResolutionWDC Products-80%cc-seen-mediumF1 (%)81.61gpt-4o-mini-2024-07-18
Entity ResolutionWDC Products-80%cc-seen-mediumF1 (%)76.7Llama3.1_70B_structured_explanations
Entity ResolutionWDC Products-80%cc-seen-mediumF1 (%)75.2Llama3.1_70B
Entity ResolutionWDC Products-80%cc-seen-mediumF1 (%)74.37Llama3.1_8B_error-based_example_selection
Entity ResolutionWDC Products-80%cc-seen-mediumF1 (%)74.13Llama3.1_8B_structured_explanations
Entity ResolutionWDC Products-80%cc-seen-mediumF1 (%)53.36Llama3.1_8B
Entity ResolutionAmazon-GoogleF1 (%)80.25gpt-4o-mini-2024-07-18_fine_tuned
Entity ResolutionAmazon-GoogleF1 (%)63.45gpt-4o-2024-08-06
Entity ResolutionAmazon-GoogleF1 (%)59.2gpt-4o-mini-2024-07-18
Entity ResolutionAmazon-GoogleF1 (%)51.44Meta-Llama-3.1-70B-Instruct
Entity ResolutionAmazon-GoogleF1 (%)50Meta-Llama-3.1-8B-Instruct_fine_tuned
Entity ResolutionAmazon-GoogleF1 (%)49.16Meta-Llama-3.1-8B-Instruct
Entity ResolutionWDC ProductsF1 (%)87.07gpt-4o-2024-08-06_fine_tuned_wdc_small

Related Papers

Leveraging Language Prior for Infrared Small Target Detection2025-07-17Emotional Support with LLM-based Empathetic Dialogue Generation2025-07-17Prompt Engineering in Segment Anything Model: Methodologies, Applications, and Emerging Challenges2025-07-13From Classical Machine Learning to Emerging Foundation Models: Review on Multimodal Data Integration for Cancer Research2025-07-11AdaptaGen: Domain-Specific Image Generation through Hierarchical Semantic Optimization Framework2025-07-08Helping CLIP See Both the Forest and the Trees: A Decomposition and Description Approach2025-07-04State and Memory is All You Need for Robust and Reliable AI Agents2025-06-30Prompt Mechanisms in Medical Imaging: A Comprehensive Survey2025-06-28