paper-with-me

Papers

Can Language Models Pretend Solvers? Logic Code Simulation with LLMs

2024-03-24 · Minyu Chen, Guoqiang Li, Ling-I Wu, Ruibang Liu, Yuxin Su, Xi Chang, Jianxin Xue

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 leveraging logical solvers for logic reasoning have been proposed recently. While existing research predominantly focuses on viewing LLMs as natural language logic solvers or translators, their roles as logic code interpreters and executors have received limited attention. This study delves into a novel aspect, namely logic code simulation, which forces LLMs to emulate logical solvers in predicting the results of logical programs. To further investigate this novel task, we formulate our three research questions: Can LLMs efficiently simulate the outputs of logic codes? What strength arises along with logic code simulation? And what pitfalls? To address these inquiries, we curate three novel datasets tailored for the logic code simulation task and undertake thorough experiments to establish the baseline performance of LLMs in code simulation. Subsequently, we introduce a pioneering LLM-based code simulation technique, Dual Chains of Logic (DCoL). This technique advocates a dual-path thinking approach for LLMs, which has demonstrated state-of-the-art performance compared to other LLM prompt strategies, achieving a notable improvement in accuracy by 7.06% with GPT-4-Turbo.

📄 PDF Abstract BibTeX arXiv:2403.16097

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SimInf: An R package for Data-driven Stochastic Disease Spread Simulations

2016-05-04 · Stefan Widgren, Pavol Bauer, Robin Eriksson, Stefan Engblom

We present the R package SimInf which provides an efficient and very flexible framework to conduct data-driven epidemiological modeling in realistic large scale disease spread simulations. The framework integrates infect…

C++ code

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

Language Models can be Logical Solvers

2023-11-10 · Jiazhan Feng, Ruochen Xu, Junheng Hao, Hiteshi Sharma 외

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 …

Decision MakingLanguage ModelingLanguage ModellingLogical Reasoning

Self-Blinding and Counterfactual Self-Simulation Mitigate Biases and Sycophancy in Large Language Models

2026-01-21 · Brian Christian, Matan Mazor arxiv

Fair decisions require ignoring irrelevant, potentially biasing, information. To achieve this, decision-makers need to approximate what decision they would have made had they not known certain facts, such as the gender o…

DiLA: Enhancing LLM Tool Learning with Differential Logic Layer

2024-02-19 · Yu Zhang, Hui-Ling Zhen, Zehua Pei, Yingzhao Lian 외

Considering the challenges faced by large language models (LLMs) in logical reasoning and planning, prior efforts have sought to augment LLMs with access to external solvers. While progress has been made on simple reason…

Language ModelingLanguage ModellingLogical Reasoning