haley.io
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Artificial Intelligence@lemmy.worldEnglish · 3 months ago

Tree of Thoughts: Deliberate Problem Solving with Large Language Models

arxiv.org

external-link
message-square
0
fedilink
  • cross-posted to:
  • technology@lemmy.ml
3
external-link

Tree of Thoughts: Deliberate Problem Solving with Large Language Models

arxiv.org

cm0002@lemmy.world to Artificial Intelligence@lemmy.worldEnglish · 3 months ago
message-square
0
fedilink
  • cross-posted to:
  • technology@lemmy.ml
Language models are increasingly being deployed for general problem solving across a wide range of tasks, but are still confined to token-level, left-to-right decision-making processes during inference. This means they can fall short in tasks that require exploration, strategic lookahead, or where initial decisions play a pivotal role. To surmount these challenges, we introduce a new framework for language model inference, Tree of Thoughts (ToT), which generalizes over the popular Chain of Thought approach to prompting language models, and enables exploration over coherent units of text (thoughts) that serve as intermediate steps toward problem solving. ToT allows LMs to perform deliberate decision making by considering multiple different reasoning paths and self-evaluating choices to decide the next course of action, as well as looking ahead or backtracking when necessary to make global choices. Our experiments show that ToT significantly enhances language models' problem-solving abilities on three novel tasks requiring non-trivial planning or search: Game of 24, Creative Writing, and Mini Crosswords. For instance, in Game of 24, while GPT-4 with chain-of-thought prompting only solved 4% of tasks, our method achieved a success rate of 74%. Code repo with all prompts: https://github.com/princeton-nlp/tree-of-thought-llm.
alert-triangle
You must log in or register to comment.

Artificial Intelligence@lemmy.world

ai_@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !ai_@lemmy.world

Welcome to the AI Community!

Let’s explore AI passionately, foster innovation, and learn together. Follow these guidelines for a vibrant and respectful community:

  • Be kind and respectful.
  • Share high-quality contributions.
  • Stay on-topic.
  • Enhance accessibility.
  • Verify information.
  • Encourage meaningful discussions.

You can access the AI Wiki at the following link: AI Wiki

Let’s create a thriving AI community together!

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2 users / day
  • 90 users / week
  • 225 users / month
  • 817 users / 6 months
  • 1 local subscriber
  • 1.7K subscribers
  • 149 Posts
  • 106 Comments
  • Modlog
  • mods:
  • ikidd@lemmy.world
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org