Alternative Weighting Schemes for ELMo Embeddings
Nils Reimers, Iryna Gurevych

TL;DR
This paper evaluates alternative methods for combining ELMo's three-layer embeddings to improve downstream NLP task performance, finding that weighting only the first two layers often yields better results and faster training.
Contribution
It introduces and empirically tests new weighting schemes for ELMo embeddings, showing that excluding the third layer can enhance performance and training efficiency.
Findings
Weighted averaging of first two layers improves task performance.
Excluding the third layer increases training speed by up to 44%.
Optimal layer combination varies across datasets.
Abstract
ELMo embeddings (Peters et. al, 2018) had a huge impact on the NLP community and may recent publications use these embeddings to boost the performance for downstream NLP tasks. However, integration of ELMo embeddings in existent NLP architectures is not straightforward. In contrast to traditional word embeddings, like GloVe or word2vec embeddings, the bi-directional language model of ELMo produces three 1024 dimensional vectors per token in a sentence. Peters et al. proposed to learn a task-specific weighting of these three vectors for downstream tasks. However, this proposed weighting scheme is not feasible for certain tasks, and, as we will show, it does not necessarily yield optimal performance. We evaluate different methods that combine the three vectors from the language model in order to achieve the best possible performance in downstream NLP tasks. We notice that the third layer…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsElectromagnetic Simulation and Numerical Methods · Model Reduction and Neural Networks · Non-Destructive Testing Techniques
MethodsSigmoid Activation · Tanh Activation · GloVe Embeddings · Long Short-Term Memory · Bidirectional LSTM · Softmax · ELMo
