Semantic Tokenizer for Enhanced Natural Language Processing

Sandeep Mehta, Darpan Shah, Ravindra Kulkarni, Cornelia Caragea
4/24/2023
cs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Traditionally, NLP performance improvement has been focused on improving models and increasing the number of model parameters. NLP vocabulary construction has remained focused on maximizing the number of words represented through subword regularization. We present a novel tokenizer that uses semantics to drive vocabulary construction. The tokenizer includes a trainer that uses stemming to enhance subword formation. Further optimizations and adaptations are implemented to minimize the number of words that cannot be encoded. The encoder is updated to integrate with the trainer. The tokenizer is implemented as a drop-in replacement for the SentencePiece tokenizer. The new tokenizer more than doubles the number of wordforms represented in the vocabulary. The enhanced vocabulary significantly improves NLP model convergence, and improves quality of word and sentence embeddings. Our experimental results show top performance on two Glue tasks using BERT-base, improving on models more than 50X in size.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mehta2023semantic,
  title  = {Semantic Tokenizer for Enhanced Natural Language Processing},
  author = {Sandeep Mehta and Darpan Shah and Ravindra Kulkarni and Cornelia Caragea},
  year   = {2023},
  eprint = {2304.12404},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.12404v1}
}

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/2304.12404.svg)](https://codeofpaper.com/paper/2304.12404)

Discussion