Research map / Large language models / Language, safety and interpretability
Best-k Search Algorithm for Neural Text Generation
Jiacheng Xu, Caiming Xiong, Silvio Savarese, Yingbo Zhou
Salesforce
Read the paperPlace an idea next to itCheck your own paper ↗
12measured effects
9improved
1no clear effect
2hurt
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 changed | Where | Measured | Effect |
|---|---|---|---|
| replace beam search with best-k search (BKS_mean) | MixQG-large · QuoRef question generation | number of unique outputs: 10 -> 20 unique sentences, ROUGE-1 25.9 -> 27.0 | Improved |
| replace beam search with BKS_mean | MixQG-large · QuoRef question generation | MAUVE: 59.5 -> 83.0 | Improved |
| use BKS_mean instead of nucleus p=0.9 beam sampling | MixQG-large · DROP question generation | average distinctness: 10.8 -> 30.3 (avg ROUGE 26.5 -> 25.5) | Improved |
| use BKS_last instead of BKS_mean (ablation) | BART-large-xsum · XSum summarization | average ROUGE: 31.9 -> 28.9 | Hurt |
| use BKS_mean instead of beam search on XSum | BART-large-xsum · XSum summarization | MAUVE: 98.0 -> 99.5 | Improved |
| rerank BKS outputs with COMET-QE | mBART-50 · WMT14 En-De | BLEU: 26.1 -> 31.1 (BKS_last) | Improved |
| rerank beam-sample outputs with COMET-QE | mBART-50 · WMT14 En-De | BLEU: 34.9 -> 34.9 (nucleus beam sample p=0.8, change 0.0) | No clear effect |
| use length-normalised score (alpha=1.0) instead of raw log-likelihood (alpha=0) (ablation) | best-k search · summarization completion | incomplete rate: 79.5% -> 1.8% | Improved |
| increase temporal decay weight kappa (ablation) | best-k search with alpha=0.5 · completion rate | completion rate: 66% -> 92% | Improved |
| use best-k search instead of beam search (decoding speed) | mixed models · decoding time per example | seconds: 0.7s -> 1.2s (k=10) | Hurt |
| add parallel exploration (batched top-k popping) to best-first search (ablation) | best-first search · decoding speed | seconds | Improved |
| use BKS_mean instead of beam search on QuoRef | MixQG-large · QuoRef question generation | Distinct-1: 44.8 -> 50.8 | Improved |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- Massive-scale Decoding for Text Generation using Lattices (NAACL 2022 · similarity 0.89)
- The Curious Case of Neural Text Degeneration (ICLR 2020 · similarity 0.88)
- Unsupervised Text Generation by Learning from Search (NeurIPS 2020 · similarity 0.88)
- Decoding Game: On Minimax Optimality of Heuristic Text Generation Strategies (ICLR 2025 · similarity 0.87)
- Top-H Decoding: Adapting the Creativity and Coherence with Bounded Entropy in Text Generation (NeurIPS 2025 · similarity 0.87)
- Improving Open-Ended Text Generation via Adaptive Decoding (ICML 2024 · similarity 0.85)
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.