基于阻塞机制的高效RAG实体匹配方法:一种成本高效的RAG架构
Cost-Efficient RAG for Entity Matching with LLMs: A Blocking-based Batch Processing Framework
AI总结:
CE-RAG4EM通过阻塞机制降低计算开销,实现高效实体匹配,提升运行效率并优化性能与开销的平衡。
摘要:
检索增强生成(RAG)增强了LLM在知识密集型任务中的推理能力,但现有RAG流程在应用于大规模实体匹配时会产生显著的检索和生成开销。为了解决这一限制,我们引入了CE-RAG4EM,一种通过基于阻塞的批量检索和生成来减少计算的高效RAG架构。我们还提出了一种统一框架,用于分析和评估RAG系统在实体匹配中的应用,重点在于阻塞感知的优化和检索粒度。大量实验表明,CE-RAG4EM可以在显著减少端到端运行时间的同时,实现与强基线相当或更优的匹配质量。我们的分析进一步揭示了关键配置参数在性能和开销之间存在固有的权衡,为设计高效的RAG系统提供了实用指导。
英文摘要:
Large language models (LLMs) offer a compelling approach to entity matching (EM) in label-scarce settings, yet their matching quality is sensitive to records with ambiguous or sparse attributes due to the absence of external factual grounding. Retrieval-augmented generation (RAG) directly addresses this grounding gap by retrieving and injecting relevant external knowledge. However, naively applying RAG to large-scale EM is expensive due to per-pair retrieval calls over large knowledge graphs (KGs) and the increase in input tokens caused by enriching prompts with retrieved contextual knowledge. To address the above limitation, we introduce a CE-RAG4EM (Cost-Efficient RAG for Entity Matching) framework that reduces overhead through blocking-based batch retrieval and generation. We investigate the benefits of this framework through a systematic analysis of RAG systems for entity matching, focusing on blocking-aware batch optimizations and retrieval granularity. Extensive experiments on nine widely used real-world entity matching benchmark datasets show that CE-RAG4EM under a zero-shot setting achieves comparable or improved matching quality while substantially reducing end-to-end overhead. The results demonstrate that our CE-RAG4EM closes the knowledge grounding gap of the LLM-EM baseline and yields significant improvements in F1 scores on datasets with ambiguous or numerically sparse attributes, while its batch retrieval and inference substantially reduce the overhead and maintain competitive matching quality compared to naive RAG4EM. Our analysis identifies clear performance-overhead trade-offs across blocking-based batch sizes and retrieval granularity, showing how matching quality and computational cost shift with each design choice. These findings offer concrete guidance for building scalable, efficient RAG systems for entity matching that balance accuracy and cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。