[Paper Review] Noisy Parallel Approximate Decoding for Conditional Recurrent Language Model
This paper proposes Noisy Parallel Approximate Decoding (NPAD), a novel, embarrassingly parallel decoding strategy for conditional recurrent language models that injects Gaussian noise into the hidden state transitions during decoding. By running multiple independent chains of a base decoding algorithm (e.g., greedy or beam search) in parallel and selecting the highest-scoring hypothesis, NPAD improves decoding quality without communication overhead, achieving significant gains over greedy and beam search, especially in low-beam-width settings, while maintaining wall-clock efficiency.
Recent advances in conditional recurrent language modelling have mainly focused on network architectures (e.g., attention mechanism), learning algorithms (e.g., scheduled sampling and sequence-level training) and novel applications (e.g., image/video description generation, speech recognition, etc.) On the other hand, we notice that decoding algorithms/strategies have not been investigated as much, and it has become standard to use greedy or beam search. In this paper, we propose a novel decoding strategy motivated by an earlier observation that nonlinear hidden layers of a deep neural network stretch the data manifold. The proposed strategy is embarrassingly parallelizable without any communication overhead, while improving an existing decoding algorithm. We extensively evaluate it with attention-based neural machine translation on the task of En->Cz translation.
Motivation & Objective
- To address the under-investigation of decoding strategies in conditional recurrent language models, despite advances in network architectures and training.
- To improve decoding quality beyond standard greedy and beam search methods, which are often suboptimal or computationally expensive.
- To develop a decoding strategy that is both effective and highly parallelizable, enabling practical deployment in real-world applications.
- To explore whether noise injection in the hidden state space can enhance diversity and quality of generated sequences.
Proposed method
- NPAD injects unstructured Gaussian noise into the hidden state transition function of a recurrent language model during decoding.
- It runs multiple independent decoding chains—each based on a deterministic strategy like greedy or beam search—simultaneously in parallel.
- Each chain processes the same input but with different noise realizations, exploring diverse paths in the hypothesis space.
- After generation, the highest-scoring hypothesis across all chains is selected as the final output.
- The method is designed to be communication-free during decoding, enabling near-linear speedup on distributed systems.
- The noise variance is annealed over time, starting from a higher initial value and decreasing to zero.
Experimental results
Research questions
- RQ1Can injecting noise into the hidden state transitions of a recurrent language model improve decoding quality?
- RQ2Does a parallel, communication-free decoding strategy outperform standard greedy and beam search in terms of generation quality?
- RQ3How does NPAD compare to diverse decoding and stochastic sampling in neural machine translation?
- RQ4Can NPAD effectively close the performance gap between fast greedy search and more accurate but slower beam search?
Key findings
- NPAD significantly improves decoding performance over greedy search, reducing NLL from 20.1842 to 19.6674 and increasing BLEU from 17.03 to 18.78 on the test set with beam width 10.
- When combined with beam search (NPAD+B), the method reduces NLL from 19.9173 to 19.7888 and increases BLEU from 18.59 to 18.68, showing consistent gains even with high beam widths.
- The performance gap between greedy and beam search narrows substantially under NPAD: NLL difference drops from 7.9617 to 0.7789, and BLEU difference from 1.66 to 0.43.
- NPAD outperforms diverse decoding in the same setup, with higher BLEU scores and more consistent improvements, suggesting broader applicability without requiring auxiliary models.
- The method achieves these gains with no communication overhead, making it highly efficient and suitable for real-time deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.