arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.23085cs.IRcs.AI
收藏

OrLog:利用LLM和概率推理解决复杂查询

OrLog: Resolving Complex Queries with LLMs and Probabilistic Reasoning

Radboud University(拉德堡德大学);Eindhoven University of Technology(埃因霍温理工大学);University of Amsterdam(阿姆斯特丹大学)

Mohanna Hoveyda, Jelle Piepenbrock, Arjen P de Vries, Maarten de Rijke, Faegheh Hasibi

AI总结:

OrLog通过结合LLM和概率推理,实现约束感知的高效检索,提升查询精度并减少token消耗。

摘要:

解决带有多个约束条件的复杂信息需求时,应考虑在候选答案集上强制执行查询中编码的逻辑运算符(即合取、析取、否定)。当前检索系统要么在神经嵌入中忽略这些约束,要么在生成性推理过程中近似这些约束,这可能导致不一致和不可靠。尽管适用于结构化推理,但现有神经符号方法仍局限于形式逻辑或数学问题,因为它们通常假设查询是明确的,并且可以访问完整的证据和条件,这在信息检索中很少满足。为弥合这一差距,我们引入了OrLog,一种神经符号检索框架,它将谓词级别的可信度估计与逻辑推理分离:一个大型语言模型(LLM)在无生成的前向传递中为原子谓词提供可信度评分,从这些评分中,概率推理引擎推导出查询满足的后验概率。我们评估了OrLog在多个基础LLM、不同外部知识访问级别和多种逻辑约束下的表现,并将其与基础检索器和LLM作为推理器的方法进行了比较。在提供实体描述的情况下,OrLog相比LLM推理在顶级排名精度上有显著提升,尤其在析取查询上提升更明显。OrLog还更高效,每个查询-实体对的平均token数减少了约90%。这些结果表明,无生成的谓词可信度估计结合概率推理能够实现约束感知的检索,其性能优于单一推理方法,同时使用更少的token。

英文摘要:

Resolving complex information needs that come with multiple constraints should consider enforcing the logical operators encoded in the query (i.e., conjunction, disjunction, negation) on the candidate answer set. Current retrieval systems either ignore these constraints in neural embeddings or approximate them in a generative reasoning process that can be inconsistent and unreliable. Although well-suited to structured reasoning, existing neuro-symbolic approaches remain confined to formal logic or mathematics problems as they often assume unambiguous queries and access to complete evidence, conditions rarely met in information retrieval. To bridge this gap, we introduce OrLog, a neuro-symbolic retrieval framework that decouples predicate-level plausibility estimation from logical reasoning: a large language model (LLM) provides plausibility scores for atomic predicates in one decoding-free forward pass, from which a probabilistic reasoning engine derives the posterior probability of query satisfaction. We evaluate OrLog across multiple backbone LLMs, varying levels of access to external knowledge, and a range of logical constraints, and compare it against base retrievers and LLM-as-reasoner methods. Provided with entity descriptions, OrLog can significantly boost top-rank precision compared to LLM reasoning with larger gains on disjunctive queries. OrLog is also more efficient, cutting mean tokens by $\sim$90\% per query-entity pair. These results demonstrate that generation-free predicate plausibility estimation combined with probabilistic reasoning enables constraint-aware retrieval that outperforms monolithic reasoning while using far fewer tokens.

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

↑