paper-with-me

홈 › Papers

One Size Does Not Fit All: Finding the Optimal Subword Sizes for FastText Models across Languages

2021-02-04 · RANLP 2021 9 · Vít Novotný, Eniafe Festus Ayetiran, Dalibor Bačovský, Dávid Lupták, Michal Štefánik, Petr Sojka

Unsupervised representation learning of words from large multilingual corpora is useful for downstream tasks such as word sense disambiguation, semantic text similarity, and information retrieval. The representation precision of log-bilinear fastText models is mostly due to their use of subword information. In previous work, the optimization of fastText's subword sizes has not been fully explored, and non-English fastText models were trained using subword sizes optimized for English and German word analogy tasks. In our work, we find the optimal subword sizes on the English, German, Czech, Italian, Spanish, French, Hindi, Turkish, and Russian word analogy tasks. We then propose a simple n-gram coverage model and we show that it predicts better-than-default subword sizes on the Spanish, French, Hindi, Turkish, and Russian word analogy tasks. We show that the optimization of fastText's subword sizes matters and results in a 14% improvement on the Czech word analogy task. We also show that expensive parameter optimization can be replaced by a simple n-gram coverage model that consistently improves the accuracy of fastText models on the word analogy tasks by up to 3% compared to the default subword sizes, and that it is within 1% accuracy of the optimal subword sizes.

📄 PDF Abstract BibTeX arXiv:2102.02585

Code (0)

등록된 구현이 없습니다.

Tasks

AllHyperparameter OptimizationInformation RetrievalMachine TranslationRepresentation LearningRetrievalText Classificationtext similarityWord Sense Disambiguation

Methods 이 논문이 사용한 방법론

fastText fastText embeddings exploit subword information to construct word embeddings. Representations are learnt of character $n$-grams, and words represented as the sum of the…

Similar Papers 제목 키워드 기반

Optimal Word Segmentation for Neural Machine Translation into Dravidian Languages

2021-08-01 · ACL (WAT) 2021 8 · Prajit Dhar, Arianna Bisazza, Gertjan van Noord

Dravidian languages, such as Kannada and Tamil, are notoriously difficult to translate by state-of-the-art neural models. This stems from the fact that these languages are morphologically very rich as well as being low-r…

Machine TranslationSegmentationTranslation

Tomato, Tomahto, Tomate: Measuring the Role of Shared Semantics among Subwords in Multilingual Language Models

2024-11-07 · Xinyu Zhang, Jing Lu, Vinh Q. Tran, Tal Schuster 외

Human understanding of language is robust to different word choices as far as they represent similar semantic concepts. To what extent does our human intuition transfer to language models, which represent all subwords as…

Morphology Informed Selections for Subword Vocabulary Size

2021-11-16 · ACL ARR November 2021 11 · Anonymous

Currently, guidance around selection of an optimal or appropriate subword vocabulary size is incomplete and confusing at best. Using a measure of subword-morpheme overlap, our analysis shows that one can find a "sweet sp…

SampoNLP: A Self-Referential Toolkit for Morphological Analysis of Subword Tokenizers

2026-01-08 · Iaroslav Chelombitko, Ekaterina Chelombitko, Aleksey Komissarov arxiv

The quality of subword tokenization is critical for Large Language Models, yet evaluating tokenizers for morphologically rich Uralic languages is hampered by the lack of clean morpheme lexicons. We introduce SampoNLP, a …

Lattice-Based Transformer Encoder for Neural Machine Translation

2019-06-04 · ACL 2019 7 · Fengshun Xiao, Jiangtong Li, Hai Zhao, Rui Wang 외

Neural machine translation (NMT) takes deterministic sequences for source representations. However, either word-level or subword-level segmentations have multiple choices to split a source sequence with different word se…

DiversityMachine TranslationNMTTranslation