Thought-Like-Pro: Enhancing Reasoning of Large Language Models through Self-Driven Prolog-based Chain-of-Thought

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Tan, Xiaoyu, Deng, Yongxin, Qiu, Xihe, Xu, Weidi, Qu, Chao, Chu, Wei, Xu, Yinghui, Qi, Yuan
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917746090967040
author Tan, Xiaoyu
Deng, Yongxin
Qiu, Xihe
Xu, Weidi
Qu, Chao
Chu, Wei
Xu, Yinghui
Qi, Yuan
author_facet Tan, Xiaoyu
Deng, Yongxin
Qiu, Xihe
Xu, Weidi
Qu, Chao
Chu, Wei
Xu, Yinghui
Qi, Yuan
contents Large language models (LLMs) have shown exceptional performance as general-purpose assistants, excelling across a variety of reasoning tasks. This achievement represents a significant step toward achieving artificial general intelligence (AGI). Despite these advancements, the effectiveness of LLMs often hinges on the specific prompting strategies employed, and there remains a lack of a robust framework to facilitate learning and generalization across diverse reasoning tasks. To address these challenges, we introduce a novel learning framework, THOUGHT-LIKE-PRO In this framework, we utilize imitation learning to imitate the Chain-of-Thought (CoT) process which is verified and translated from reasoning trajectories generated by a symbolic Prolog logic engine. This framework proceeds in a self-driven manner, that enables LLMs to formulate rules and statements from given instructions and leverage the symbolic Prolog engine to derive results. Subsequently, LLMs convert Prolog-derived successive reasoning trajectories into natural language CoT for imitation learning. Our empirical findings indicate that our proposed approach substantially enhances the reasoning abilities of LLMs and demonstrates robust generalization across out-of-distribution reasoning tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2407_14562
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Thought-Like-Pro: Enhancing Reasoning of Large Language Models through Self-Driven Prolog-based Chain-of-Thought
Tan, Xiaoyu
Deng, Yongxin
Qiu, Xihe
Xu, Weidi
Qu, Chao
Chu, Wei
Xu, Yinghui
Qi, Yuan
Artificial Intelligence
Computation and Language
I.2.7
Large language models (LLMs) have shown exceptional performance as general-purpose assistants, excelling across a variety of reasoning tasks. This achievement represents a significant step toward achieving artificial general intelligence (AGI). Despite these advancements, the effectiveness of LLMs often hinges on the specific prompting strategies employed, and there remains a lack of a robust framework to facilitate learning and generalization across diverse reasoning tasks. To address these challenges, we introduce a novel learning framework, THOUGHT-LIKE-PRO In this framework, we utilize imitation learning to imitate the Chain-of-Thought (CoT) process which is verified and translated from reasoning trajectories generated by a symbolic Prolog logic engine. This framework proceeds in a self-driven manner, that enables LLMs to formulate rules and statements from given instructions and leverage the symbolic Prolog engine to derive results. Subsequently, LLMs convert Prolog-derived successive reasoning trajectories into natural language CoT for imitation learning. Our empirical findings indicate that our proposed approach substantially enhances the reasoning abilities of LLMs and demonstrates robust generalization across out-of-distribution reasoning tasks.
title Thought-Like-Pro: Enhancing Reasoning of Large Language Models through Self-Driven Prolog-based Chain-of-Thought
topic Artificial Intelligence
Computation and Language
I.2.7
url https://arxiv.org/abs/2407.14562