Table of Contents
Fetching ...

VERUS-LM: a Versatile Framework for Combining LLMs with Symbolic Reasoning

Benjamin Callewaert, Simon Vandevelde, Joost Vennekens

TL;DR

The paper addresses limitations of existing neurosymbolic reasoning approaches by introducing VERUS-LM, a two-phase framework that separates domain knowledge from queries and uses a generic prompting pipeline. A symbolic reasoning engine operates on a reusable FO($\cdot$) knowledge base to support diverse tasks such as verification, optimization, and explanation. A semantic refinement step, grounded in satisfiability checks, improves KB correctness beyond syntax fixes. Empirical results show substantial gains on the diverse AR-LSAT dataset and competitive performance on standard benchmarks, demonstrating scalable, versatile neurosymbolic AI.

Abstract

A recent approach to neurosymbolic reasoning is to explicitly combine the strengths of large language models (LLMs) and symbolic solvers to tackle complex reasoning tasks. However, current approaches face significant limitations, including poor generalizability due to task-specific prompts, inefficiencies caused by the lack of separation between knowledge and queries, and restricted inferential capabilities. These shortcomings hinder their scalability and applicability across diverse domains. In this paper, we introduce VERUS-LM, a novel framework designed to address these challenges. VERUS-LM employs a generic prompting mechanism, clearly separates domain knowledge from queries, and supports a wide range of different logical reasoning tasks. This framework enhances adaptability, reduces computational cost, and allows for richer forms of reasoning, such as optimization and constraint satisfaction. We show that our approach succeeds in diverse reasoning on a novel dataset, markedly outperforming LLMs. Additionally, our system achieves competitive results on common reasoning benchmarks when compared to similar state-of-the-art approaches, and significantly surpasses them on the difficult AR-LSAT dataset. By pushing the boundaries of hybrid reasoning, VERUS-LM represents a significant step towards more versatile neurosymbolic AI systems.

VERUS-LM: a Versatile Framework for Combining LLMs with Symbolic Reasoning

TL;DR

The paper addresses limitations of existing neurosymbolic reasoning approaches by introducing VERUS-LM, a two-phase framework that separates domain knowledge from queries and uses a generic prompting pipeline. A symbolic reasoning engine operates on a reusable FO() knowledge base to support diverse tasks such as verification, optimization, and explanation. A semantic refinement step, grounded in satisfiability checks, improves KB correctness beyond syntax fixes. Empirical results show substantial gains on the diverse AR-LSAT dataset and competitive performance on standard benchmarks, demonstrating scalable, versatile neurosymbolic AI.

Abstract

A recent approach to neurosymbolic reasoning is to explicitly combine the strengths of large language models (LLMs) and symbolic solvers to tackle complex reasoning tasks. However, current approaches face significant limitations, including poor generalizability due to task-specific prompts, inefficiencies caused by the lack of separation between knowledge and queries, and restricted inferential capabilities. These shortcomings hinder their scalability and applicability across diverse domains. In this paper, we introduce VERUS-LM, a novel framework designed to address these challenges. VERUS-LM employs a generic prompting mechanism, clearly separates domain knowledge from queries, and supports a wide range of different logical reasoning tasks. This framework enhances adaptability, reduces computational cost, and allows for richer forms of reasoning, such as optimization and constraint satisfaction. We show that our approach succeeds in diverse reasoning on a novel dataset, markedly outperforming LLMs. Additionally, our system achieves competitive results on common reasoning benchmarks when compared to similar state-of-the-art approaches, and significantly surpasses them on the difficult AR-LSAT dataset. By pushing the boundaries of hybrid reasoning, VERUS-LM represents a significant step towards more versatile neurosymbolic AI systems.
Paper Structure (23 sections, 1 figure, 6 tables)

This paper contains 23 sections, 1 figure, 6 tables.

Figures (1)

  • Figure 1: Flowchart depicting steps of VERUS-LM framework and the used system in each step