CLApr 5, 2019

Alternative Weighting Schemes for ELMo Embeddings

arXiv:1904.02954v123 citationsHas Code
Originality Incremental advance
AI Analysis

This work addresses a specific integration challenge for NLP practitioners using ELMo embeddings, offering incremental improvements in efficiency and performance for downstream tasks.

The paper tackled the problem of suboptimal performance and complexity in integrating ELMo embeddings into NLP architectures by evaluating alternative weighting schemes for the three vectors per token, finding that using only the first two layers with a weighted average improves performance and reduces training time by 19-44% for many datasets.

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 of the published language model often decreases the performance. By learning a weighted average of only the first two layers, we are able to improve the performance for many datasets. Due to the reduced complexity of the language model, we have a training speed-up of 19-44% for the downstream task.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes