Ensemble method leveraging N-gram predictions refines next word prediction in language models.
π https://arxiv.org/pdf/2409.03295
Original Problem π:
Causal language modeling (CLM) can lead models to overly focus on local dependencies within sentences. N-gram prediction has been used in masked language modeling and machine translation, but not extensively explored for CLM.
-----
Solution in this Paper π‘:
β’ Introduces simple N-gram prediction framework for CLM
β’ Proposes word difference representation (WDR) as contextualized target
β’ Develops ensemble method incorporating future N word predictions
β’ Applies WDR to encoder-decoder models for neural machine translation
-----
Key Insights from this Paper π‘:
β’ Word difference representation (WDR) provides more diverse target representations than standard embeddings
β’ Higher gradient diversity from WDR may improve generalization
β’ N-gram prediction and WDR consistently improve over baseline CLM models
β’ Ensemble method further boosts performance, especially on smaller datasets
-----
Results π:
β’ WDR N-gram CLM outperforms baselines on multiple benchmarks:
- 19.2% PPL reduction on PTB vs Tensorized Transformer
- 7.5% PPL reduction on WikiText-103 vs Reformer
β’ 0.7-1.5 BLEU score improvements on IWSLT14 En-De NMT task










