SetBERT: Enhancing Retrieval Performance for Boolean Logic and Set Operation Queries
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 9 of its 13 references that are in the map. First posted on arXiv 25 Jun 2024.
Builds on
9 of 13 references.
References · 9
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2020Are Natural Language Inference Models IMPPRESsive? Learning IMPlicature and PRESuppositioncited by 76
- 2021Phrase-BERT: Improved Phrase Embeddings from BERT with an Application to Corpus Explorationcited by 44
- 2021Joint Passage Ranking for Diverse Multi-Answer Retrievalcited by 43
- 2023QUEST: A Retrieval Dataset of Entity-Seeking Queries with Implicit Set Operationscited by 30
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 1.
5 papers.
- 2024NeIn: Telling What You Don't Wantcited by 3
- 2025LogiCoL: Logically-Informed Contrastive Learning for Set-based Dense Retrievalcited by 3
- 2025Boolean-aware Attention for Dense Retrievalcited by 0
- 2025Evaluation of retrieval-based QA on QUEST-LOFTcited by 0
- 2026Tutorial on Reasoning for IR & IR for Reasoningcited by 0
- 2026Tutorial on Reasoning for IR & IR for Reasoning3 Feb 2026
- 2025Evaluation of retrieval-based QA on QUEST-LOFT8 Nov 2025
- 2025LogiCoL: Logically-Informed Contrastive Learning for Set-based Dense Retrieval26 May 2025
- 2025Boolean-aware Attention for Dense Retrieval3 Mar 2025
- 2024NeIn: Telling What You Don't Want9 Sep 2024