Saved in:
Bibliographic Details
Main Authors: Shen, Yanzhen, Chen, Sihao, Xu, Xueqiang, Zhang, Yunyi, Malaviya, Chaitanya, Roth, Dan
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.19588
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909623098802176
author Shen, Yanzhen
Chen, Sihao
Xu, Xueqiang
Zhang, Yunyi
Malaviya, Chaitanya
Roth, Dan
author_facet Shen, Yanzhen
Chen, Sihao
Xu, Xueqiang
Zhang, Yunyi
Malaviya, Chaitanya
Roth, Dan
contents While significant progress has been made with dual- and bi-encoder dense retrievers, they often struggle on queries with logical connectives, a use case that is often overlooked yet important in downstream applications. Current dense retrievers struggle with such queries, such that the retrieved results do not respect the logical constraints implied in the queries. To address this challenge, we introduce LogiCoL, a logically-informed contrastive learning objective for dense retrievers. LogiCoL builds upon in-batch supervised contrastive learning, and learns dense retrievers to respect the subset and mutually-exclusive set relation between query results via two sets of soft constraints expressed via t-norm in the learning objective. We evaluate the effectiveness of LogiCoL on the task of entity retrieval, where the model is expected to retrieve a set of entities in Wikipedia that satisfy the implicit logical constraints in the query. We show that models trained with LogiCoL yield improvement both in terms of retrieval performance and logical consistency in the results. We provide detailed analysis and insights to uncover why queries with logical connectives are challenging for dense retrievers and why LogiCoL is most effective.
format Preprint
id arxiv_https___arxiv_org_abs_2505_19588
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LogiCoL: Logically-Informed Contrastive Learning for Set-based Dense Retrieval
Shen, Yanzhen
Chen, Sihao
Xu, Xueqiang
Zhang, Yunyi
Malaviya, Chaitanya
Roth, Dan
Information Retrieval
Artificial Intelligence
While significant progress has been made with dual- and bi-encoder dense retrievers, they often struggle on queries with logical connectives, a use case that is often overlooked yet important in downstream applications. Current dense retrievers struggle with such queries, such that the retrieved results do not respect the logical constraints implied in the queries. To address this challenge, we introduce LogiCoL, a logically-informed contrastive learning objective for dense retrievers. LogiCoL builds upon in-batch supervised contrastive learning, and learns dense retrievers to respect the subset and mutually-exclusive set relation between query results via two sets of soft constraints expressed via t-norm in the learning objective. We evaluate the effectiveness of LogiCoL on the task of entity retrieval, where the model is expected to retrieve a set of entities in Wikipedia that satisfy the implicit logical constraints in the query. We show that models trained with LogiCoL yield improvement both in terms of retrieval performance and logical consistency in the results. We provide detailed analysis and insights to uncover why queries with logical connectives are challenging for dense retrievers and why LogiCoL is most effective.
title LogiCoL: Logically-Informed Contrastive Learning for Set-based Dense Retrieval
topic Information Retrieval
Artificial Intelligence
url https://arxiv.org/abs/2505.19588