Computer Science > Computation and Language
[Submitted on 19 Apr 2021 (v1), last revised 28 Feb 2022 (this version, v6)]
Title:When FastText Pays Attention: Efficient Estimation of Word Representations using Constrained Positional Weighting
View PDFAbstract:In 2018, Mikolov et al. introduced the positional language model, which has characteristics of attention-based neural machine translation models and which achieved state-of-the-art performance on the intrinsic word analogy task. However, the positional model is not practically fast and it has never been evaluated on qualitative criteria or extrinsic tasks. We propose a constrained positional model, which adapts the sparse attention mechanism from neural machine translation to improve the speed of the positional model. We evaluate the positional and constrained positional models on three novel qualitative criteria and on language modeling. We show that the positional and constrained positional models contain interpretable information about the grammatical properties of words and outperform other shallow models on language modeling. We also show that our constrained model outperforms the positional model on language modeling and trains twice as fast.
Submission history
From: Vít Novotný [view email][v1] Mon, 19 Apr 2021 23:52:19 UTC (2,568 KB)
[v2] Wed, 21 Apr 2021 06:43:41 UTC (2,567 KB)
[v3] Sun, 19 Sep 2021 21:32:45 UTC (2,576 KB)
[v4] Fri, 12 Nov 2021 14:39:55 UTC (3,220 KB)
[v5] Wed, 12 Jan 2022 22:15:14 UTC (3,177 KB)
[v6] Mon, 28 Feb 2022 10:38:31 UTC (2,468 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.