The Foundations of Tokenization: Statistical and Computational Concerns

AmazUtah_NLP at SemEval-2024 Task 9: A MultiChoice Question Answering System for Commonsense Defying Reasoning


View a PDF of the paper titled The Foundations of Tokenization: Statistical and Computational Concerns, by Juan Luis Gastaldi and 4 other authors

View PDF
HTML (experimental)

Abstract:Tokenization – the practice of converting strings of characters from an alphabet into sequences of tokens over a vocabulary – is a critical step in the NLP pipeline. The use of token representations is widely credited with increased model performance but is also the source of many undesirable behaviors, such as spurious ambiguity or inconsistency. Despite its recognized importance as a standard representation method in NLP, the theoretical underpinnings of tokenization are not yet fully understood. In particular, the impact of tokenization on statistical estimation has been investigated mostly through empirical means. The present paper contributes to addressing this theoretical gap by proposing a unified formal framework for representing and analyzing tokenizer models. Based on the category of stochastic maps, this framework enables us to establish general conditions for a principled use of tokenizers, and most importantly, the necessary and sufficient conditions for a tokenizer model to preserve the consistency of statistical estimators. Additionally, we discuss statistical and computational concerns crucial for designing and implementing tokenizer models, such as inconsistency, ambiguity, tractability, and boundedness. The framework and results advanced in this paper contribute to building robust theoretical foundations for representations in neural language modeling that can inform future empirical research.

Submission history

From: Juan Luis Gastaldi [view email]
[v1]
Tue, 16 Jul 2024 11:12:28 UTC (51 KB)
[v2]
Thu, 8 Aug 2024 20:49:37 UTC (51 KB)
[v3]
Mon, 4 Nov 2024 22:42:38 UTC (56 KB)



Source link
lol

By stp2y

Leave a Reply

Your email address will not be published. Required fields are marked *

No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.