Concept

Breadth-First Search for Left-to-Right Token Generation

A breadth-first search (BFS) over the token generation search tree corresponds to a left-to-right generation process. By exploring the tree level by level, BFS systematically evaluates all sequences of a certain length before extending them, which naturally implements the incremental, left-to-right nature of autoregressive language modeling.

0

1

Updated 2026-05-03

Contributors are:

Who are from:

Tags

Ch.5 Inference - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences