Reinforced Graph of Thoughts: RL-Driven Adaptive Prompting for LLMs

Manuel Noah Riesen, Peter Alfred von Niederhäusern
5/21/2026
cs.LG
rl

No confident code implementation found for this paper.

Abstract

Graph of Thoughts (GoT), a generalized form of recent prompting paradigms for large language models (LLMs), has been shown to be useful for elaborate problem solving. By executing a graph of operations, thoughts of the LLM are structured as an arbitrary graph, forming the actual graph of thoughts.

Show full abstract

Originally, the graph of operations is defined manually, which requires in-depth knowledge about the solution of the problem to solve. Such a static graph of operations is rigid and therefore lacks adaptability. We propose Reinforced Graph of Thoughts (RGoT), an automated approach to the GoT prompting paradigm that leverages reinforcement learning (RL) to adaptively generate a graph of operations from a human-defined set. Results indicate that, under certain constraints, it is possible to construct graphs of operations adaptively to the task's complexity in an automated way.

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. Any repos shown below are weak matches — 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{riesen2026reinforced,
  title  = {Reinforced Graph of Thoughts: RL-Driven Adaptive Prompting for LLMs},
  author = {Manuel Noah Riesen and Peter Alfred von Niederhäusern},
  year   = {2026},
  eprint = {2605.22195},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.22195v1}
}

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/2605.22195.svg)](https://codeofpaper.com/paper/2605.22195)

Discussion