Large Language Models Are Neurosymbolic Reasoners

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Fang, Meng, Deng, Shilong, Zhang, Yudi, Shi, Zijing, Chen, Ling, Pechenizkiy, Mykola, Wang, Jun
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914643591561216
author Fang, Meng
Deng, Shilong
Zhang, Yudi
Shi, Zijing
Chen, Ling
Pechenizkiy, Mykola
Wang, Jun
author_facet Fang, Meng
Deng, Shilong
Zhang, Yudi
Shi, Zijing
Chen, Ling
Pechenizkiy, Mykola
Wang, Jun
contents A wide range of real-world applications is characterized by their symbolic nature, necessitating a strong capability for symbolic reasoning. This paper investigates the potential application of Large Language Models (LLMs) as symbolic reasoners. We focus on text-based games, significant benchmarks for agents with natural language capabilities, particularly in symbolic tasks like math, map reading, sorting, and applying common sense in text-based worlds. To facilitate these agents, we propose an LLM agent designed to tackle symbolic challenges and achieve in-game objectives. We begin by initializing the LLM agent and informing it of its role. The agent then receives observations and a set of valid actions from the text-based games, along with a specific symbolic module. With these inputs, the LLM agent chooses an action and interacts with the game environments. Our experimental results demonstrate that our method significantly enhances the capability of LLMs as automated agents for symbolic reasoning, and our LLM agent is effective in text-based games involving symbolic tasks, achieving an average performance of 88% across all tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2401_09334
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Large Language Models Are Neurosymbolic Reasoners
Fang, Meng
Deng, Shilong
Zhang, Yudi
Shi, Zijing
Chen, Ling
Pechenizkiy, Mykola
Wang, Jun
Computation and Language
Artificial Intelligence
A wide range of real-world applications is characterized by their symbolic nature, necessitating a strong capability for symbolic reasoning. This paper investigates the potential application of Large Language Models (LLMs) as symbolic reasoners. We focus on text-based games, significant benchmarks for agents with natural language capabilities, particularly in symbolic tasks like math, map reading, sorting, and applying common sense in text-based worlds. To facilitate these agents, we propose an LLM agent designed to tackle symbolic challenges and achieve in-game objectives. We begin by initializing the LLM agent and informing it of its role. The agent then receives observations and a set of valid actions from the text-based games, along with a specific symbolic module. With these inputs, the LLM agent chooses an action and interacts with the game environments. Our experimental results demonstrate that our method significantly enhances the capability of LLMs as automated agents for symbolic reasoning, and our LLM agent is effective in text-based games involving symbolic tasks, achieving an average performance of 88% across all tasks.
title Large Language Models Are Neurosymbolic Reasoners
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2401.09334