atlas

Research map / Architectures and efficiency / Attention and transformers

The Belief State Transformer

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer block and depth design · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes the Belief State Transformer, a jointly trained forward and backward encoder model that predicts the next prefix token and previous suffix token, and shows gains on star graph planning and TinyStories story generation.

Problem

Forward-only transformers struggle with planning-heavy, goal-conditioned tasks (e.g., star graph path finding) and with goal-conditioned story infilling because next-token training yields flawed shortcuts and non-compact belief states.

Approach

Train two encoders (forward over prefix, backward over suffix) with two output heads that jointly predict the next token after the prefix and the previous token before the suffix over all prefix-suffix pairs; theory shows the forward encoding becomes a belief state, and at inference the backward encoder is replaced by an empty-suffix embedding.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the improved BST configuration with shared encoders and subsampled training pairsBST (original) · TinyStoriesnext token loss: 1.013 -> 0.926Helped
Use the improved BST configuration with shared encoders and subsampled training pairsBST (original) · TinyStoriesprevious token loss: 1.110 -> 1.268Hurt
Use shared encoders and subsample 2% of prefix-suffix pairsBST · TinyStoriestraining speed (iterations/second): $\sim0.205$ -> $\sim0.801$Helped
Use Belief State Transformer instead of Fill-in-the-MiddleTinyStories goal-conditioned story generation · TinyStoriesGPT4 preference: 64\% preference; confidence interval $\left[54\%,74\%\right]$Helped
Use Belief State Transformer instead of Fill-in-the-MiddleTinyStories unconditional text generation · TinyStoriesGPT4 preferenceHelped
Remove the previous-token decoder and its objective (ablation)Belief State Transformer · Star graph navigationpath accuracyHurt
Remove the backward encoder (ablation)Belief State Transformer · Star graph navigationpath accuracyHurt
Use beam search instead of the priority queue scheme (ablation)Belief State Transformer goal-conditioned generation · TinyStoriesstory qualityHurt
Use the next head instead of the previous head to score the suffix (ablation)Belief State Transformer unconditional generation · TinyStoriesstory qualityHurt
Subsample prefix-suffix pairs during trainingBelief State Transformer · TinyStoriesfinal performanceNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: TinyStories Star graph synthetic data (N=50)

Benchmarks: Star graph path accuracy G(2,5), G(5,5), G(2,20) TinyStories pairwise winrate

Metrics: path accuracy winrate binomial confidence interval probe accuracy log loss

Baselines: Forward-only next-token prediction Data augmentation Fill-in-the-middle Multi-token prediction Belief w/o Prev Belief w/o Backward

Builds on: GPT-2 Fill-in-the-Middle Next-Token-Failures star graph setup BERT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy