Scholay

学术搜索 · AI 审稿 · LaTeX 协作

Demystifying Chains, Trees, and Graphs of Thoughts

作者:Maciej Besta, Florim Memedi, Zhenyu Zhang, Robert Gerstenberger, Guangyuan Piao, Nils Blach, Piotr Nyczyk, Marcin Copik, Grzegorz Kwaśniewski, J Müller, Lukas Gianinazzi, Ales Kubicek, H. Niewiadomski, Aidan O'Mahony, Onur Mutlu, Torsten Hoefler · 发表于:IEEE Transactions on Pattern Analysis and Machine Intelligence · 年份:2025 · DOI:10.1109/tpami.2025.3598182 · 被引用次数:10 · 研究领域:Topic Modeling、Advanced Graph Neural Networks、Semantic Web and Ontologies

The field of natural language processing (NLP) has witnessed significant progress in recent years, with a notable focus on improving large language models' (LLM) performance through innovative prompting techniques. Among these, prompt engineering coupled with structures has emerged as a promising paradigm, with designs such as Chain-of-Thought, Tree of Thoughts, or Graph of Thoughts, in which the overall LLM reasoning is guided by a structure such as a graph. As illustrated with numerous examples, this paradigm significantly enhances the LLM's capability to solve numerous tasks, ranging from logical or mathematical reasoning to planning or creative writing. To facilitate the understanding of this growing field and pave the way for future developments, we devise a general blueprint for effective and efficient LLM reasoning schemes. For this, we conduct an in-depth analysis of the prompt execution pipeline, clarifying and clearly defining different concepts. We then build the first taxonomy of structure-enhanced LLM reasoning schemes. We focus on identifying fundamental classes of harnessed structures, and we analyze the representations of these structures, algorithms executed with these structures, and many others. We refer to these structures as reasoning topologies, because their representation becomes to a degree spatial, as they are contained within the LLM context. Our study compares existing prompting schemes using the proposed taxonomy, discussing how certain design cho...