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

Chao-Chi Chen, Chin-Yuan Yeh, Hsi-Wen Chen, De-Nian Yang, Ming-Syan Chen
12/21/2024
cs.MAcs.CLcs.LG

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2024selfguided,
  title  = {Self-guided Knowledgeable Network of Thoughts: Amplifying Reasoning with Large Language Models},
  author = {Chao-Chi Chen and Chin-Yuan Yeh and Hsi-Wen Chen and De-Nian Yang and Ming-Syan Chen},
  year   = {2024},
  eprint = {2412.16533},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.16533v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.16533.svg)](https://codeofpaper.com/paper/2412.16533)

Discussion