arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.17282cs.CL
收藏

SetBERT:提升布尔逻辑与集合操作查询的检索性能

SetBERT: Enhancing Retrieval Performance for Boolean Logic and Set Operation Queries

University of Arkansas(阿肯色大学)

Quan Mai, Susan Gauch, Douglas Adams

AI总结:

SetBERT通过反向对比损失和GPT生成数据微调BERT,显著提升布尔逻辑与集合操作查询的检索性能,召回率较BERT-base最高提升63%,且以三分之一规模达到BERT-large水平。

摘要:

我们引入了SetBERT,这是一个基于BERT的微调模型,旨在增强集合操作和布尔逻辑查询(如交集(AND)、差集(NOT)和并集(OR))的查询嵌入。SetBERT显著提升了逻辑结构化查询的检索性能,而传统和神经检索方法在此类查询上通常表现不佳。我们提出了一种创新的反向对比损失(inversed-contrastive loss)用法,专注于识别负句,并使用通过提示GPT生成的数据集对BERT进行微调。此外,我们证明,与其他基于BERT的模型不同,使用三元组损失进行微调实际上会降低此特定任务的性能。我们的实验表明,SetBERT-base不仅显著优于BERT-base(召回率最高提升63%),而且尽管其规模仅为BERT-large的三分之一,却达到了与更大的BERT-large模型相当的性能。

英文摘要:

We introduce SetBERT, a fine-tuned BERT-based model designed to enhance query embeddings for set operations and Boolean logic queries, such as Intersection (AND), Difference (NOT), and Union (OR). SetBERT significantly improves retrieval performance for logic-structured queries, an area where both traditional and neural retrieval methods typically underperform. We propose an innovative use of inversed-contrastive loss, focusing on identifying the negative sentence, and fine-tuning BERT with a dataset generated via prompt GPT. Furthermore, we demonstrate that, unlike other BERT-based models, fine-tuning with triplet loss actually degrades performance for this specific task. Our experiments reveal that SetBERT-base not only significantly outperforms BERT-base (up to a 63% improvement in Recall) but also achieves performance comparable to the much larger BERT-large model, despite being only one-third the size.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑