BPE (Byte Pair Encoding) is a tokenization method that splits words into subwords (parts of words) by repeatedly merging the pair of characters that most often appear next to each other in text into a single symbol. It was originally a data compression method proposed by Gage in 1994, and in 2016 Sennrich et al. adopted it as a way to split words in machine translation.
Using whole words as the vocabulary makes it hard to handle words absent from the training data (unknown words) and rare words. If the vocabulary is limited to tens of thousands of words, all remaining words become an "unknown" symbol. Conversely, splitting into single characters can represent any word, but the sequences become long and it is harder for the model to grasp meaning.
BPE sits in between. Frequent words remain single symbols, and rare words are represented by splitting them into frequent parts. For example, even if "lowest" is not in the training data, splitting it into "low" and "est" lets both be treated as known parts. Today, many language models, starting with the GPT family, use BPE or one of its variants.

