Length bias in Encoder Decoder Models and a Case for Global Conditioning
Not on the map. Why?
Abstract (arXiv)
Encoder-decoder networks are popular for modeling sequences probabilistically in many applications. These models use the power of the Long Short-Term Memory (LSTM) architecture to capture the full dependence among variables, unlike earlier models like CRFs that typically assumed conditional independence among non-adjacent variables. However in practice encoder-decoder models exhibit a bias towards short sequences that surprisingly gets worse with increasing beam size. In this paper we show that such phenomenon is due to a discrepancy between the full sequence margin and the per-element margin enforced by the locally conditioned training objective of a encoder-decoder model. The discrepancy more adversely impacts long sequences, explaining the bias towards predicting short sequences. For the case where the predicted sequences come from a closed set, we show that a globally conditioned model alleviates the above problems of encoder-decoder models. From a practical point of view, our proposed model also eliminates the need for a beam-search during inference, which reduces to an efficient dot-product based search in a vector-space.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Jun 2016.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 2; 2023: 3; 2024: 2; 2025: 1.
14 papers.
Sort:
By area:
- 2024ODIN: Disentangled Reward Mitigates Hacking in RLHFcited by 133
- 2023End-to-End Speech Recognition: A Surveycited by 127
- 2021Language Model Evaluation Beyond Perplexitycited by 77
- 2024User-LLM: Efficient LLM Contextualization with User Embeddingscited by 74
- 2021Sampling-Based Approximations to Minimum Bayes Risk Decoding for Neural Machine Translationcited by 63
- 2025Beyond Reward Hacking: Causal Rewards for Large Language Model Alignmentcited by 42
- 2021Searchable Hidden Intermediates for End-to-End Models of Decomposable Sequence Taskscited by 24
- 2022Jam or Cream First? Modeling Ambiguity in Neural Machine Translation with SCONEScited by 10
- 2022Uncertainty Determines the Adequacy of the Mode and the Tractability of Decoding in Sequence-to-Sequence Modelscited by 9
- 2023Chunked Attention-based Encoder-Decoder Model for Streaming Speech Recognitioncited by 7
- 2021Learning Federated Representations and Recommendations with Limited Negativescited by 6
- 2021Multi-Sentence Resampling: A Simple Approach to Alleviate Dataset Length Bias and Beam-Search Degradationcited by 4
2 more
- 2025Beyond Reward Hacking: Causal Rewards for Large Language Model Alignment16 Jan 2025
- 2024User-LLM: Efficient LLM Contextualization with User Embeddings21 Feb 2024
- 2024ODIN: Disentangled Reward Mitigates Hacking in RLHF11 Feb 2024
- 2023Chunked Attention-based Encoder-Decoder Model for Streaming Speech Recognition15 Sep 2023
- 2023RASR2: The RWTH ASR Toolkit for Generic Sequence-to-sequence Speech Recognition28 May 2023
- 2023End-to-End Speech Recognition: A Survey3 Mar 2023
- 2022Jam or Cream First? Modeling Ambiguity in Neural Machine Translation with SCONES2 May 2022
- 2022Uncertainty Determines the Adequacy of the Mode and the Tractability of Decoding in Sequence-to-Sequence Models1 Apr 2022
- 2021Multi-Sentence Resampling: A Simple Approach to Alleviate Dataset Length Bias and Beam-Search Degradation13 Sep 2021
- 2021Learning Federated Representations and Recommendations with Limited Negatives18 Aug 2021
- 2021Sampling-Based Approximations to Minimum Bayes Risk Decoding for Neural Machine Translation10 Aug 2021
- 2021Mode recovery in neural autoregressive sequence modeling10 Jun 2021
2 more
- 2024ODIN: Disentangled Reward Mitigates Hacking in RLHFcited by 133
- 2025Beyond Reward Hacking: Causal Rewards for Large Language Model Alignmentcited by 42
- 2023End-to-End Speech Recognition: A Surveycited by 127
- 2021Language Model Evaluation Beyond Perplexitycited by 77
- 2024User-LLM: Efficient LLM Contextualization with User Embeddingscited by 74
- 2021Sampling-Based Approximations to Minimum Bayes Risk Decoding for Neural Machine Translationcited by 63
- 2021Searchable Hidden Intermediates for End-to-End Models of Decomposable Sequence Taskscited by 24
- 2022Jam or Cream First? Modeling Ambiguity in Neural Machine Translation with SCONEScited by 10
- 2022Uncertainty Determines the Adequacy of the Mode and the Tractability of Decoding in Sequence-to-Sequence Modelscited by 9
- 2023Chunked Attention-based Encoder-Decoder Model for Streaming Speech Recognitioncited by 7
- 2021Learning Federated Representations and Recommendations with Limited Negativescited by 6
- 2021Multi-Sentence Resampling: A Simple Approach to Alleviate Dataset Length Bias and Beam-Search Degradationcited by 4
- 2023RASR2: The RWTH ASR Toolkit for Generic Sequence-to-sequence Speech Recognitioncited by 3
- 2021Mode recovery in neural autoregressive sequence modelingcited by 1
- 2024User-LLM: Efficient LLM Contextualization with User Embeddings21 Feb 2024
- 2023Chunked Attention-based Encoder-Decoder Model for Streaming Speech Recognition15 Sep 2023
- 2023RASR2: The RWTH ASR Toolkit for Generic Sequence-to-sequence Speech Recognition28 May 2023
- 2023End-to-End Speech Recognition: A Survey3 Mar 2023
- 2022Jam or Cream First? Modeling Ambiguity in Neural Machine Translation with SCONES2 May 2022
- 2022Uncertainty Determines the Adequacy of the Mode and the Tractability of Decoding in Sequence-to-Sequence Models1 Apr 2022
- 2021Multi-Sentence Resampling: A Simple Approach to Alleviate Dataset Length Bias and Beam-Search Degradation13 Sep 2021
- 2021Learning Federated Representations and Recommendations with Limited Negatives18 Aug 2021
- 2021Sampling-Based Approximations to Minimum Bayes Risk Decoding for Neural Machine Translation10 Aug 2021
- 2021Mode recovery in neural autoregressive sequence modeling10 Jun 2021
- 2021Language Model Evaluation Beyond Perplexity31 May 2021
- 2021Searchable Hidden Intermediates for End-to-End Models of Decomposable Sequence Tasks2 May 2021