A Continuous Relaxation of Beam Search for End-to-end Training of Neural Sequence Models
Not on the map. Why?
Abstract (arXiv)
Beam search is a desirable choice of test-time decoding algorithm for neural sequence models because it potentially avoids search errors made by simpler greedy methods. However, typical cross entropy training procedures for these models do not directly consider the behaviour of the final decoding method. As a result, for cross-entropy trained models, beam decoding can sometimes yield reduced test performance when compared with greedy decoding. In order to train models that can more effectively make use of beam search, we propose a new training procedure that focuses on the final loss metric (e.g. Hamming loss) evaluated on the output of beam search. While well-defined, this "direct loss" objective is itself discontinuous and thus difficult to optimize. Hence, in our approach, we form a sub-differentiable surrogate objective by introducing a novel continuous approximation of the beam search decoding procedure. In experiments, we show that optimizing this new training objective yields substantially better results on two sequence tasks (Named Entity Recognition and CCG Supertagging) when compared with both cross entropy trained greedy decoding and cross entropy trained beam decoding baselines.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). First posted on arXiv 1 Aug 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2018: 1; 2019: 0; 2020: 1; 2021: 2; 2022: 2; 2023: 2; 2024: 1; 2025: 0; 2026: 1.
10 papers.
- 2020Text Generation by Learning from Demonstrationscited by 64
- 2022Monotonic Differentiable Sorting Networkscited by 25
- 2022Differentiable Top-k Classification Learningcited by 21
- 2018Learning Beam Search Policies via Imitation Learningcited by 9
- 2021Incremental Beam Manipulation for Natural Language Generationcited by 6
- 2023Beam Tree Recursive Cellscited by 6
- 2024Newton Losses: Using Curvature Information for Learning with Differentiable Algorithmscited by 2
- 2026Spend Search Where It Pays: Value-Guided Structured Sampling and Optimization for Generative Recommendationcited by 2
- 2023Learning to Summarize Videos by Contrasting Clipscited by 1
- 2021Learning Energy-Based Approximate Inference Networks for Structured Applications in NLPcited by 0
- 2026Spend Search Where It Pays: Value-Guided Structured Sampling and Optimization for Generative Recommendation11 Feb 2026
- 2024Newton Losses: Using Curvature Information for Learning with Differentiable Algorithms24 Oct 2024
- 2023Beam Tree Recursive Cells31 May 2023
- 2023Learning to Summarize Videos by Contrasting Clips12 Jan 2023
- 2022Differentiable Top-k Classification Learning15 Jun 2022
- 2022Monotonic Differentiable Sorting Networks17 Mar 2022
- 2021Learning Energy-Based Approximate Inference Networks for Structured Applications in NLP27 Aug 2021
- 2021Incremental Beam Manipulation for Natural Language Generation4 Feb 2021
- 2020Text Generation by Learning from Demonstrations16 Sep 2020
- 2018Learning Beam Search Policies via Imitation Learning1 Nov 2018