scimeatlas

Research map / Large language models / Language, safety and interpretability

NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristics

Ximing Lu, Sean Welleck, Peter West, Liwei Jiang, Jungo Kasai, Daniel Khashabi, Ronan Le Bras, Lianhui Qin, Youngjae Yu, Rowan Zellers, Noah A. Smith, Yejin Choi

NAACL 2022Large language models › Language, safety and interpretabilityapproach: Parallel and early-exit decodingopen problems in this approach200 citations (OpenAlex)

University of Washington · Allen Institute for Artificial Intelligence

Read the paperPlace an idea next to itCheck your own paper ↗

15measured effects
9improved
3no clear effect
2hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add lookahead heuristics to NeuroLogic decodingNeuroLogic (GPT-2, supervised) · CommonGen testBLEU-4: 26.7 -> 28.2Improved
add lookahead heuristics to NeuroLogic decodingNeuroLogic (off-the-shelf GPT-2) · CommonGen test (zero-shot)BLEU-4: 24.7 -> 28.6Improved
add lookahead heuristics to NeuroLogic decodingNeuroLogic (Marian MT) · WMT17 EN-DE constrained MTBLEU: 33.4 -> 33.7Improved
add lookahead heuristics to NeuroLogic decodingNeuroLogic (two-layer transformer) · WMT17 EN-DE, 2+ constraint termsTerm%: 93.7 -> 96.5Improved
add lookahead heuristics to NeuroLogic decodingNeuroLogic (few-shot GPT-2, 0.1%) · E2ENLG testBLEU: 47.6 -> 49.2Improved
reduce amount of few-shot training dataNeuroLogic* vs NeuroLogic · E2ENLG testBLEU: gain over NeuroLogic larger at 0.1% (+1.6) than at 5% (+0.5)Improved
add lookahead heuristics to NeuroLogic decodingNeuroLogic (off-the-shelf GPT-2) · Interrogative question generationBLEU: 11.2 -> 14.7Improved
add lookahead heuristics to beam searchbeam search (GPT-2) · RocStories testhuman overall score: 2.32 -> 2.63Improved
add lookahead heuristics to top-k samplingtop-k sampling (GPT-2) · RocStories testhuman overall score: 2.15 -> 2.47Improved
add lookahead heuristics to top-k samplingtop-k sampling (GPT-2) · RocStories testunique 3-grams: 48.36k -> 48.44kNo clear effect
use beam vs greedy lookahead (ablation)NeuroLogic* · CommonGen testhuman evaluation: 2.60 vs 2.59 overallNo clear effect
increase greedy lookahead horizon beyond 5-7 steps (ablation)NeuroLogic* (greedy) · CommonGenperformanceHurt

Open problems in parallel and early-exit decoding

Which fast-decoding methods keep quality when used with batching, thresholds that need no tuning, and models they cannot open up?

All 5 open problems and what was already tried →

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