Lexically Grounded Subword Segmentation

Jindřich Libovický, Jindřich Helcl
6/19/2024
cs.CL

No official code found. Best implementation: ufal/legros (2 stars, MIT, last commit 2025-03-05). 1 more below.

Abstract

We present three innovations in tokenization and subword segmentation. First, we propose to use unsupervised morphological analysis with Morfessor as pre-tokenization. Second, we present an algebraic method for obtaining subword embeddings grounded in a word embedding space. Based on that, we design a novel subword segmentation algorithm that uses the embeddings, ensuring that the procedure considers lexical meaning. Third, we introduce an efficient segmentation algorithm based on a subword bigram model that can be initialized with the lexically aware segmentation method to avoid using Morfessor and large embedding tables at inference time. We evaluate the proposed approaches using two intrinsic metrics and measure their performance on two downstream tasks: part-of-speech tagging and machine translation. Our experiments show significant improvements in the morphological plausibility of the segmentation when evaluated using segmentation precision on morpheme boundaries and improved Rényi efficiency in 8 languages. Although the proposed tokenization methods do not have a large impact on automatic translation quality, we observe consistent performance gains in the arguably more morphological task of part-of-speech tagging.

View on arXivView PDF

Code Implementations(2)

ufal/legrosCommunity100%
MIT

Word-embedding-based subword segmentation algorithm with bigrams!

20C++, CMakeMay 24, 20231 years agoMIT
ufal/legros-paperCommunity100%
MIT

Neural extension to the SentencePiece algorithm

00Shell, PythonMay 4, 20221 years agoMIT

Similar Papers

Cite this paper

@article{libovick2024lexically,
  title  = {Lexically Grounded Subword Segmentation},
  author = {Jindřich Libovický and Jindřich Helcl},
  year   = {2024},
  eprint = {2406.13560},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.13560v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.13560.svg)](https://codeofpaper.com/paper/2406.13560)

Discussion