[Paper Review] Reinforcement Learning with Large Action Spaces for Neural Machine Translation
This paper proposes improving reinforcement learning (RL) in neural machine translation (NMT) by reducing the effective size of the action space through better target embedding initialization and freezing. By using high-quality BERT-based target embeddings instead of randomly initialized ones, the model achieves a 1.5 BLEU point average improvement in RL fine-tuning, especially benefiting low-probability tokens, demonstrating that action space complexity is a key bottleneck in RL for NMT.
Applying Reinforcement learning (RL) following maximum likelihood estimation (MLE) pre-training is a versatile method for enhancing neural machine translation (NMT) performance. However, recent work has argued that the gains produced by RL for NMT are mostly due to promoting tokens that have already received a fairly high probability in pre-training. We hypothesize that the large action space is a main obstacle to RL's effectiveness in MT, and conduct two sets of experiments that lend support to our hypothesis. First, we find that reducing the size of the vocabulary improves RL's effectiveness. Second, we find that effectively reducing the dimension of the action space without changing the vocabulary also yields notable improvement as evaluated by BLEU, semantic similarity, and human evaluation. Indeed, by initializing the network's final fully connected layer (that maps the network's internal dimension to the vocabulary dimension), with a layer that generalizes over similar actions, we obtain a substantial improvement in RL performance: 1.5 BLEU points on average.
Motivation & Objective
- To investigate why RL provides limited gains in NMT despite its theoretical advantages.
- To identify the large action space (vocabulary size) as a key obstacle to effective RL in NMT.
- To explore methods for reducing the effective dimensionality of the action space without altering vocabulary size.
- To evaluate the impact of initializing and freezing target embeddings on RL performance in NMT.
- To compare the semantic generalization ability of MLE-trained vs. BERT-based target embeddings.
Proposed method
- Replace standard randomly initialized target embedding layers with BERT-based embeddings to improve semantic generalization.
- Freeze the BERT-based target embedding layer during RL fine-tuning to stabilize learning and improve performance.
- Conduct ablation studies comparing RL performance using standard MLE embeddings vs. BERT embeddings with and without freezing.
- Reduce vocabulary size in low-resource settings to evaluate the impact on RL gains.
- Use cosine similarity on word pairs (synonyms, inflections, random) to analyze semantic generalization of target embeddings.
- Apply policy gradient RL with BLEU as the reward function, fine-tuning MLE-pretrained NMT models.
Experimental results
Research questions
- RQ1Does reducing the vocabulary size improve RL performance in NMT?
- RQ2Can initializing target embeddings with pre-trained contextual embeddings (e.g., BERT) enhance RL effectiveness?
- RQ3Does freezing target embeddings during RL fine-tuning lead to performance gains?
- RQ4How do BERT-based target embeddings compare to MLE-trained embeddings in capturing semantic similarity?
- RQ5Does RL with improved target embeddings better optimize for low-probability tokens not well-predicted by the MLE model?
Key findings
- Reducing vocabulary size leads to a substantial average improvement of approximately 1 BLEU point in RL fine-tuning, even in cases where the MLE model was not already accurate.
- Using BERT-based target embeddings instead of MLE-trained ones results in a 1.5 BLEU point average improvement in RL performance.
- Freezing BERT-based target embeddings during RL training yields additional performance gains beyond initialization alone.
- BERT embeddings show significantly better semantic generalization, with distinct cosine similarity distributions for synonyms and inflections, unlike MLE embeddings which show overlapping distributions across all word pair types.
- RL with BERT-based embeddings improves prediction for target tokens that had low probability in the MLE pre-training phase, indicating broader optimization scope.
- The combination of BERT-based initialization and freezing of target embeddings leads to consistent improvements across automatic metrics (BLEU, semantic similarity) and human evaluation.
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.