← Search

Juan Gastaldi

2 accepted papers

2023

A Formal Perspective on Byte-Pair Encoding

ACL 2023findings

Byte-Pair Encoding (BPE) is a popular algorithm used for tokenizing data in NLP, despite being devised initially as a compression method.BPE appears to be a greedy algorithm at face value, but the underlying optimization problem that BPE seeks to solve has not yet been laid down. We formalize BPE as…

2023

Tokenization and the Noiseless Channel

ACL 2023long

Subword tokenization is a key part of most NLP pipelines. However, little is known about why some tokenizer and hyperparameter combinations lead to improved downstream model performance over others. We propose that good tokenizers lead to efficient channel usage, where the channel is the means by wh…