Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Enhancing Retrieval Systems with Inference-Time Logical Reasoning

About

Traditional retrieval methods rely on transforming user queries into vector representations and retrieving documents based on cosine similarity within an embedding space. While efficient and scalable, this approach often fails to handle complex queries involving logical constructs such as negations, conjunctions, and disjunctions. In this paper, we propose a novel inference-time logical reasoning framework that explicitly incorporates logical reasoning into the retrieval process. Our method extracts logical reasoning structures from natural language queries and then composes the individual cosine similarity scores to formulate the final document scores. This approach enables the retrieval process to handle complex logical reasoning without compromising computational efficiency. Our results on both synthetic and real-world benchmarks demonstrate that the proposed method consistently outperforms traditional retrieval methods across different models and datasets, significantly improving retrieval performance for complex queries.

Felix Faltings, Wei Wei, Yujia Bao• 2025

Related benchmarks

TaskDatasetResultRank
Logical RetrievalNFCorpus BEIR v1 (test)
nDCG@100.74
12
Logical RetrievalSciFact BEIR v1 (test)
nDCG@100.64
12
Logical RetrievalArguAna BEIR v1 (test)
nDCG@100.67
12
Showing 3 of 3 rows

Other info

Follow for update