Search papers, labs, and topics across Lattice.
This paper introduces CaRL-EM, a cost-aware reinforcement learning framework for entity matching that optimally manages large language model (LLM) operations in multi-candidate scenarios. By framing the problem as a sequential decision-making task, CaRL-EM dynamically selects from various operators based on the complexity of the task and the associated costs, leading to significant improvements in the quality-cost trade-off. Experiments across seven benchmarks demonstrate that CaRL-EM not only outperforms existing LLM-based methods and manually designed pipelines but also exhibits robust zero-shot transfer capabilities across diverse datasets and domains.
CaRL-EM achieves a superior quality-cost balance in entity matching by intelligently adapting LLM operations based on task complexity and inference costs.
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.