paper-with-me

Papers

Language Models can be Logical Solvers

2023-11-10 · Jiazhan Feng, Ruochen Xu, Junheng Hao, Hiteshi Sharma, Yelong Shen, Dongyan Zhao, Weizhu Chen

Logical reasoning is a fundamental aspect of human intelligence and a key component of tasks like problem-solving and decision-making. Recent advancements have enabled Large Language Models (LLMs) to potentially exhibit reasoning capabilities, but complex logical reasoning remains a challenge. The state-of-the-art, solver-augmented language models, use LLMs to parse natural language logical questions into symbolic representations first and then adopt external logical solvers to take in the symbolic representations and output the answers. Despite their impressive performance, any parsing errors will inevitably result in the failure of the execution of the external logical solver and no answer to the logical questions. In this paper, we introduce LoGiPT, a novel language model that directly emulates the reasoning processes of logical solvers and bypasses the parsing errors by learning to strict adherence to solver syntax and grammar. LoGiPT is fine-tuned on a newly constructed instruction-tuning dataset derived from revealing and refining the invisible reasoning process of deductive solvers. Experimental results on two public deductive reasoning datasets demonstrate that LoGiPT outperforms state-of-the-art solver-augmented LMs and few-shot prompting methods on competitive LLMs like ChatGPT or GPT-4.

📄 PDF Abstract BibTeX arXiv:2311.06158

Code (0)

등록된 구현이 없습니다.

Tasks

Decision MakingLanguage ModelingLanguage ModellingLogical Reasoning

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Residual Connection 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음

Similar Papers 제목 키워드 기반

Can Language Models Pretend Solvers? Logic Code Simulation with LLMs

2024-03-24 · Minyu Chen, Guoqiang Li, Ling-I Wu, Ruibang Liu 외

Transformer-based large language models (LLMs) have demonstrated significant potential in addressing logic problems. capitalizing on the great capabilities of LLMs for code-related activities, several frameworks leveragi…

A Closer Look at Logical Reasoning with LLMs: The Choice of Tool Matters

2024-06-01 · Long Hei Matthew Lam, Ramya Keerthy Thatikonda, Ehsan Shareghi

The emergence of Large Language Models (LLMs) has demonstrated promising progress in solving logical reasoning tasks effectively. Several recent approaches have proposed to change the role of the LLM from the reasoner in…

Logical ReasoningTranslation

Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning

2023-05-20 · Liangming Pan, Alon Albalak, Xinyi Wang, William Yang Wang

Large Language Models (LLMs) have shown human-like reasoning abilities but still struggle with complex logical problems. This paper introduces a novel framework, Logic-LM, which integrates LLMs with symbolic solvers to i…

Logical Reasoning

Instantiation-based Formalization of Logical Reasoning Tasks using Language Models and Logical Solvers

2025-01-28 · Mohammad Raza, Natasa Milic-Frayling

Robustness of reasoning remains a significant challenge for large language models, and addressing it is essential for the practical applicability of AI-driven reasoning systems. We introduce Semantic Self-Verification (S…

Logical Reasoning

Adaptive LLM-Symbolic Reasoning via Dynamic Logical Solver Composition

2025-10-08 · Lei Xu, Pierre Beckmann, Marco Valentino, André Freitas arxiv

Neuro-symbolic NLP methods aim to leverage the complementary strengths of large language models and formal logical solvers. However, current approaches are mostly static in nature, i.e., the integration of a target solve…