CaRL-EM: Cost-Aware Reinforcement Learning for Entity Matching with LLMs
cs.CL
Submitted: 2026-09-01
Updated: 2026-09-01
Comments: Accepted to ACL 2026 Main Conference
License: http://creativecommons.org/licenses/by/4.0/
The gist: Entity matching (EM) requires fine-grained contextual understanding and domain knowledge.
Terminology
Abstract
Entity matching (EM) requires fine-grained contextual understanding and domain knowledge. Recent work shows that large language models (LLMs) can serve as strong matchers across domains, but most methods either make independent pairwise decisions or rely on manually designed composite pipelines, thus lacking flexibility in realistic multi-candidate settings. At the same time, they typically ignore inference cost at scale. We formulate LLM-based EM with candidates as a cost-aware sequential decision problem and propose CaRL-EM, a reinforcement learning controller that manages LLM operations. Given the state of an anchor record, its candidate set, and the cost, CaRL-EM adaptively chooses among different operators (Match/Compare/Select/Decide) and model capacities to maximize a quality-cost objective. The policy interacts with abstract operators, allowing the same controller to be reused with different underlying LLM backends at inference time without retraining. Experiments on 7 benchmarks show that CaRL-EM (i) learns to dynamically plan the usage of inexpensive and expensive operators based on task complexity, (ii) achieves robust zero-shot transfer across diverse datasets and domains, and (iii) consistently achieves a better quality-cost trade-off than strong LLM-based baselines and manually designed pipelines, yielding a lower inference cost at comparable or higher quality.
Sources
- gpt-oss-120b & gpt-oss-20b Model Card
- FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance
- DeepER -- Deep Entity Resolution
- ReTool: Reinforcement Learning for Strategic Tool Use in LLMs
- Improving Entity Resolution with Global Constraints
- The Llama 3 Herd of Models
- On Leveraging Large Language Models for Enhancing Entity Resolution: A Cost-efficient Approach
- Deep Entity Matching with Pre-Trained Language Models
- Proximal Policy Optimization Algorithms
- Gemma 3 Technical Report
- Qwen3 Technical Report
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering