[Paper Review] Language-Independent Tokenisation Rivals Language-Specific Tokenisation for Word Similarity Prediction
This paper compares language-independent tokenisation (LIT) using BPE and language modelling with language-specific tokenisation (LST) for multilingual word similarity prediction. Using GloVe embeddings composed via SIF, LIT outperforms LST on smaller vocabularies (<100K), demonstrating that LIT is viable for low-resource languages or compact models, while subword spaces preserve semantic and syntactic structure.
Language-independent tokenisation (LIT) methods that do not require labelled language resources or lexicons have recently gained popularity because of their applicability in resource-poor languages. Moreover, they compactly represent a language using a fixed size vocabulary and can efficiently handle unseen or rare words. On the other hand, language-specific tokenisation (LST) methods have a long and established history, and are developed using carefully created lexicons and training resources. Unlike subtokens produced by LIT methods, LST methods produce valid morphological subwords. Despite the contrasting trade-offs between LIT vs. LST methods, their performance on downstream NLP tasks remain unclear. In this paper, we empirically compare the two approaches using semantic similarity measurement as an evaluation task across a diverse set of languages. Our experimental results covering eight languages show that LST consistently outperforms LIT when the vocabulary size is large, but LIT can produce comparable or better results than LST in many languages with comparatively smaller (i.e. less than 100K words) vocabulary sizes, encouraging the use of LIT when language-specific resources are unavailable, incomplete or a smaller model is required. Moreover, we find that smoothed inverse frequency (SIF) to be an accurate method to create word embeddings from subword embeddings for multilingual semantic similarity prediction tasks. Further analysis of the nearest neighbours of tokens show that semantically and syntactically related tokens are closely embedded in subword embedding spaces
Motivation & Objective
- To evaluate whether language-independent tokenisation (LIT) can match or exceed language-specific tokenisation (LST) in multilingual word similarity prediction.
- To assess the impact of vocabulary size on the performance of LIT versus LST across diverse languages.
- To investigate the effectiveness of smoothed inverse frequency (SIF) for composing word embeddings from subword embeddings.
- To examine whether subword embedding spaces preserve semantic, syntactic, and analogical relationships found in word embeddings.
- To compare training efficiency between LIT methods (BPE and language modelling) on large-scale corpora.
Proposed method
- LIT methods—Byte Pair Encoding (BPE) and language modelling (LM)—were applied to eight languages without language-specific resources.
- LST methods were trained using manually tokenised corpora and language-specific lexicons.
- Subword embeddings were learned using GloVe on tokenised corpora from both LIT and LST.
- Word embeddings were composed from subword embeddings using the smoothed inverse frequency (SIF) method, which weights subwords by unigram probability and removes the first principal component.
- Semantic similarity between word pairs was computed as cosine similarity between their composed word embeddings.
- Nearest neighbour analysis and analogy solving were used to evaluate structural properties in subword embedding spaces.
Experimental results
Research questions
- RQ1Does language-independent tokenisation (LIT) achieve comparable or better performance than language-specific tokenisation (LST) in word similarity prediction across diverse languages?
- RQ2How does vocabulary size affect the relative performance of LIT versus LST in semantic similarity tasks?
- RQ3Is the smoothed inverse frequency (SIF) method effective for composing word embeddings from subword embeddings in multilingual settings?
- RQ4Do subword embedding spaces preserve semantic and syntactic relationships, such as those seen in word embedding spaces?
- RQ5How do training times of BPE and language modelling (LM) LIT methods scale with increasing corpus size?
Key findings
- For vocabulary sizes below 100K, LIT methods (BPE and LM) outperform LST methods in word similarity prediction, indicating their suitability for low-resource or compact model scenarios.
- When vocabulary size exceeds 100K, LST consistently outperforms LIT, suggesting that LST benefits from larger, high-quality linguistic resources.
- The smoothed inverse frequency (SIF) method effectively composes word embeddings from subword embeddings, improving performance on multilingual semantic similarity tasks.
- Nearest neighbour analysis shows that semantically and syntactically related subtokens are retrieved as top neighbours in subword embedding spaces, indicating structural coherence.
- Analogical relationships—such as those between English suffixes, Japanese kanji compounds, and Turkish verb inflections—can be recovered in subword embedding spaces, confirming relational structure.
- Language modelling (LM) is significantly faster than BPE and scales better with vocabulary size, with training time decreasing as vocabulary size increases, unlike BPE.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.