Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
60 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
8 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

ChatLogic: Integrating Logic Programming with Large Language Models for Multi-Step Reasoning (2407.10162v1)

Published 14 Jul 2024 in cs.AI

Abstract: LLMs such as ChatGPT and GPT-4 have demonstrated impressive capabilities in various generative tasks. However, their performance is often hampered by limitations in accessing and leveraging long-term memory, leading to specific vulnerabilities and biases, especially during long interactions. This paper introduces ChatLogic, an innovative framework specifically targeted at LLM reasoning tasks that can enhance the performance of LLMs in multi-step deductive reasoning tasks by integrating logic programming. In ChatLogic, the LLM plays a central role, acting as a controller and participating in every system operation stage. We propose a novel method of converting logic problems into symbolic integration with an inference engine. This approach leverages LLMs' situational understanding and imitation skills and uses symbolic memory to enhance multi-step deductive reasoning capabilities. Our results show that the ChatLogic framework significantly improves the multi-step reasoning capabilities of LLMs. The source code and data are available at \url{https://github.com/Strong-AI-Lab/ChatLogic}

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (5)
  1. Zhongsheng Wang (2 papers)
  2. Jiamou Liu (53 papers)
  3. Qiming Bao (12 papers)
  4. Hongfei Rong (2 papers)
  5. Jingfeng Zhang (66 papers)
Github Logo Streamline Icon: https://streamlinehq.com