atlas

Research map / Large language models / Reasoning and chain of thought

Amortizing intractable inference in large language models

ICLR 2024 · Large language models › Reasoning and chain of thought · approach: Theory of autoregressive reasoning · 4 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 fine-tuning LLMs with GFlowNet (subtrajectory balance) objectives to amortize sampling from intractable posteriors over continuations, latent chain-of-thought rationales, and tool-use sequences.

Problem

Autoregressive LLMs only support tractable left-to-right sampling, while infilling, constrained generation, sequence continuation, and latent chain-of-thought reasoning require sampling from intractable posterior distributions; reward-maximizing RL and MCMC either collapse to modes or are slow.

Approach

Initialize a GFlowNet policy from a pretrained LLM and train it with a modified subtrajectory balance objective so that sampled sequences are proportional to an LM-computed reward (e.g., p_LM(XZY)), amortizing posterior inference over inputs; combined with EM-style SFT this gives a latent-variable view of chain-of-thought.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
fine-tune with GFlowNet instead of supervised fine-tuningGPT-2 Large · ROCStories test infillingBERTScore: 0.094±0.007 -> 0.184±0.004Helped
fine-tune with GFlowNet instead of supervised fine-tuningGPT-2 Large · ROCStories test infillingBLEU-4: 1.6± 0.8 -> 2.1± 0.2Helped
fine-tune with GFlowNet instead of supervised fine-tuningGPT-2 Large · ROCStories test infillingGLEU-4: 3.7± 0.4 -> 4.2± 0.7Helped
fine-tune with GFlowNet instead of supervised fine-tuningGPT-2 Large · ROCStories test infillingGPT4Eval: 2.7 -> 3.4Helped
use GFlowNet fine-tuning instead of supervised fine-tuningInstruct-GPT-J 6B · SUBJ test, 10 training samplesaccuracy (%): 64.3±2.8 -> 71.4±1.8Helped
use GFlowNet fine-tuning instead of supervised fine-tuningInstruct-GPT-J 6B · SUBJ test, 20 training samplesaccuracy (%): 69.1±0.8 -> 81.1±0.4Helped
use GFlowNet fine-tuning instead of supervised fine-tuningInstruct-GPT-J 6B · SUBJ test, 50 training samplesaccuracy (%): 89.7±0.4 -> 87.7±2.2Hurt
add supervised fine-tuning after GFlowNet fine-tuning (ablation)Instruct-GPT-J 6B · SUBJ test, 10 training samplesaccuracy (%): 71.4±1.8 -> 75.2±1.8Helped
add supervised fine-tuning after GFlowNet fine-tuning (ablation)Instruct-GPT-J 6B · SUBJ test, 20 training samplesaccuracy (%): 81.1±0.4 -> 78.7±1.6Hurt
add supervised fine-tuning after GFlowNet fine-tuning (ablation)Instruct-GPT-J 6B · SUBJ test, 50 training samplesaccuracy (%): 87.7±2.2 -> 89.9±0.2Helped
fine-tune with GFlowNet instead of supervised fine-tuningInstruct-GPT-J 6B · Integer arithmetic, 3 operandsaccuracy (%): 72.1± 1.3 -> 95.2± 1.3Helped
fine-tune with GFlowNet instead of supervised fine-tuningInstruct-GPT-J 6B · Integer arithmetic, 4 operandsaccuracy (%): 19.6±2.2 -> 75.4 ± 2.9Helped

Surprising findings

Limitations

Experimental setup

Datasets: OpenWebText ROCStories SUBJ synthetic arithmetic expressions

Benchmarks: SUBJ ROCStories infilling integer arithmetic (3-5 operands) OpenWebText continuation prompts

Metrics: test accuracy BERTScore BLEU-4 GLEU-4 GPT-4 coherence rating log-likelihood embedding cosine diversity

Baselines: beam search diverse beam search nucleus sampling few-shot prompting supervised fine-tuning PPO zero-shot chain-of-thought prompting

Builds on: GFlowNet subtrajectory balance PPO LoRA expectation-maximization

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