构建复杂逻辑查询基准,揭示现有检索模型在否定查询上的短板
ComLQ: Benchmarking Complex Logical Queries in Information Retrieval
- 用大模型生成带逻辑结构的查询,确保语义与证据分布合理
- 2909个查询、1.1万条候选段落,覆盖合取、析取、否定等复杂逻辑
- 提出新指标LSNC@$K$,专门评估检索结果是否违反否定条件
信息检索系统在应对信息过载中至关重要。现有基准主要关注语义上类似单跳和多跳关系的简单查询,忽视了涉及一阶逻辑运算(如合取∧、析取∨、否定¬)的复杂逻辑查询。为此,我们提出一种基于大语言模型的方法,构建新数据集ComLQ,包含2,909个查询和11,251条候选段落。核心挑战在于从非结构化文本中捕捉隐含逻辑结构。通过设计带子图指示符的提示模板,引导大模型(如GPT-4o)根据选定段落生成具有特定逻辑结构的查询。所有查询-段落对均经专家标注,确保结构一致性与证据分布合理性。为进一步评估检索器处理否定查询的能力,我们提出新指标Log-Scaled Negation Consistency (LSNC@$K$),补充传统相关性指标(如nDCG、mAP),衡量前K名召回段落是否违反查询中的否定条件。零样本实验表明,现有检索模型在复杂逻辑查询上表现有限,尤其在否定类查询上,暴露出建模排除关系的不足。
原文摘要 · Abstract (English)
Information retrieval (IR) systems play a critical role in navigating information overload across various applications. Existing IR benchmarks primarily focus on simple queries that are semantically analogous to single- and multi-hop relations, overlooking \emph{complex logical queries} involving first-order logic operations such as conjunction ($\land$), disjunction ($\lor$), and negation ($\lnot$). Thus, these benchmarks can not be used to sufficiently evaluate the performance of IR models on complex queries in real-world scenarios. To address this problem, we propose a novel method leveraging large language models (LLMs) to construct a new IR dataset \textbf{ComLQ} for \textbf{Com}plex \textbf{L}ogical \textbf{Q}ueries, which comprises 2,909 queries and 11,251 candidate passages. A key challenge in constructing the dataset lies in capturing the underlying logical structures within unstructured text. Therefore, by designing the subgraph-guided prompt with the subgraph indicator, an LLM (such as GPT-4o) is guided to generate queries with specific logical structures based on selected passages. All query-passage pairs in ComLQ are ensured \emph{structure conformity} and \emph{evidence distribution} through expert annotation. To better evaluate whether retrievers can handle queries with negation, we further propose a new evaluation metric, \textbf{Log-Scaled Negation Consistency} (\textbf{LSNC@$K$}). As a supplement to standard relevance-based metrics (such as nDCG and mAP), LSNC@$K$ measures whether top-$K$ retrieved passages violate negation conditions in queries. Our experimental results under zero-shot settings demonstrate existing retrieval models' limited performance on complex logical queries, especially on queries with negation, exposing their inferior capabilities of modeling exclusion.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。