On the Empirical Complexity of Reasoning and Planning in LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kang, Liwei, Zhao, Zirui, Hsu, David, Lee, Wee Sun
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917696416776192
author Kang, Liwei
Zhao, Zirui
Hsu, David
Lee, Wee Sun
author_facet Kang, Liwei
Zhao, Zirui
Hsu, David
Lee, Wee Sun
contents Chain-of-thought (CoT), tree-of-thought (ToT), and related techniques work surprisingly well in practice for some complex reasoning tasks with Large Language Models (LLMs), but why? This work seeks the underlying reasons by conducting experimental case studies and linking the performance benefits to well-established sample and computational complexity principles in machine learning. We experimented with 6 reasoning tasks, ranging from grade school math, air travel planning, ..., to Blocksworld. The results suggest that (i) both CoT and ToT benefit significantly from task decomposition, which breaks a complex reasoning task into a sequence of steps with low sample complexity and explicitly outlines the reasoning structure, and (ii) for computationally hard reasoning tasks, the more sophisticated tree structure of ToT outperforms the linear structure of CoT. These findings provide useful guidelines for the use of LLM in solving reasoning tasks in practice.
format Preprint
id arxiv_https___arxiv_org_abs_2404_11041
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle On the Empirical Complexity of Reasoning and Planning in LLMs
Kang, Liwei
Zhao, Zirui
Hsu, David
Lee, Wee Sun
Artificial Intelligence
Machine Learning
Chain-of-thought (CoT), tree-of-thought (ToT), and related techniques work surprisingly well in practice for some complex reasoning tasks with Large Language Models (LLMs), but why? This work seeks the underlying reasons by conducting experimental case studies and linking the performance benefits to well-established sample and computational complexity principles in machine learning. We experimented with 6 reasoning tasks, ranging from grade school math, air travel planning, ..., to Blocksworld. The results suggest that (i) both CoT and ToT benefit significantly from task decomposition, which breaks a complex reasoning task into a sequence of steps with low sample complexity and explicitly outlines the reasoning structure, and (ii) for computationally hard reasoning tasks, the more sophisticated tree structure of ToT outperforms the linear structure of CoT. These findings provide useful guidelines for the use of LLM in solving reasoning tasks in practice.
title On the Empirical Complexity of Reasoning and Planning in LLMs
topic Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2404.11041