Self-guided Knowledgeable Network of Thoughts: Amplifying Reasoning with Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Chen, Chao-Chi, Yeh, Chin-Yuan, Chen, Hsi-Wen, Yang, De-Nian, Chen, Ming-Syan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915075037593600
author Chen, Chao-Chi
Yeh, Chin-Yuan
Chen, Hsi-Wen
Yang, De-Nian
Chen, Ming-Syan
author_facet Chen, Chao-Chi
Yeh, Chin-Yuan
Chen, Hsi-Wen
Yang, De-Nian
Chen, Ming-Syan
contents We introduce Knowledgeable Network of Thoughts (kNoT): a prompt scheme that advances the capabilities of large language models (LLMs) beyond existing paradigms like Chain-of-Thought (CoT), Tree of Thoughts (ToT), and Graph of Thoughts (GoT). The key innovation of kNoT is the LLM Workflow Template (LWT), which allows for an executable plan to be specified by LLMs for LLMs. LWT allows these plans to be arbitrary networks, where single-step LLM operations are nodes, and edges correspond to message passing between these steps. Furthermore, LWT supports selection of individual elements through indexing, facilitating kNoT to produce intricate plans where each LLM operation can be limited to elementary operations, greatly enhancing reliability over extended task sequences. We demonstrate that kNoT significantly outperforms the state of the art on six use cases, while reducing the need for extensive prompt engineering. For instance, kNoT finds 92% accuracy for sorting 32 numbers over 12% and 31% for ToT and GoT, while utilizing up to 84.4% and 87.3% less task-specific prompts, respectively.
format Preprint
id arxiv_https___arxiv_org_abs_2412_16533
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Self-guided Knowledgeable Network of Thoughts: Amplifying Reasoning with Large Language Models
Chen, Chao-Chi
Yeh, Chin-Yuan
Chen, Hsi-Wen
Yang, De-Nian
Chen, Ming-Syan
Multiagent Systems
Computation and Language
Machine Learning
We introduce Knowledgeable Network of Thoughts (kNoT): a prompt scheme that advances the capabilities of large language models (LLMs) beyond existing paradigms like Chain-of-Thought (CoT), Tree of Thoughts (ToT), and Graph of Thoughts (GoT). The key innovation of kNoT is the LLM Workflow Template (LWT), which allows for an executable plan to be specified by LLMs for LLMs. LWT allows these plans to be arbitrary networks, where single-step LLM operations are nodes, and edges correspond to message passing between these steps. Furthermore, LWT supports selection of individual elements through indexing, facilitating kNoT to produce intricate plans where each LLM operation can be limited to elementary operations, greatly enhancing reliability over extended task sequences. We demonstrate that kNoT significantly outperforms the state of the art on six use cases, while reducing the need for extensive prompt engineering. For instance, kNoT finds 92% accuracy for sorting 32 numbers over 12% and 31% for ToT and GoT, while utilizing up to 84.4% and 87.3% less task-specific prompts, respectively.
title Self-guided Knowledgeable Network of Thoughts: Amplifying Reasoning with Large Language Models
topic Multiagent Systems
Computation and Language
Machine Learning
url https://arxiv.org/abs/2412.16533