paper-with-me

Papers

Multidimensional Byte Pair Encoding: Shortened Sequences for Improved Visual Data Generation

2024-11-15 · Tim Elsner, Paula Usinger, Julius Nehring-Wirxel, Gregor Kobsik, Victor Czech, Yanjiang He, Isaak Lim, Leif Kobbelt

In language processing, transformers benefit greatly from text being condensed. This is achieved through a larger vocabulary that captures word fragments instead of plain characters. This is often done with Byte Pair Encoding. In the context of images, tokenisation of visual data is usually limited to regular grids obtained from quantisation methods, without global content awareness. Our work improves tokenisation of visual data by bringing Byte Pair Encoding from 1D to multiple dimensions, as a complementary add-on to existing compression. We achieve this through counting constellations of token pairs and replacing the most frequent token pair with a newly introduced token. The multidimensionality only increases the computation time by a factor of 2 for images, making it applicable even to large datasets like ImageNet within minutes on consumer hardware. This is a lossless preprocessing step. Our evaluation shows improved training and inference performance of transformers on visual data achieved by compressing frequent constellations of tokens: The resulting sequences are shorter, with more uniformly distributed information content, e.g. condensing empty regions in an image into single tokens. As our experiments show, these condensed sequences are easier to process. We additionally introduce a strategy to amplify this compression further by clustering the vocabulary.

📄 PDF Abstract BibTeX arXiv:2411.10281

Code (1)

DaiDaiLoh/MDBPE_TF 공식 구현

Similar Papers 제목 키워드 기반

Byte-Pair Encoding for Text-to-SQL Generation

2019-10-20 · Samuel Müller, Andreas Vlachos

Neural sequence-to-sequence models provide a competitive approach to the task of mapping a question in natural language to an SQL query, also referred to as text-to-SQL generation. The Byte-Pair Encoding algorithm (BPE) …

Machine TranslationText to SQLText-To-SQLTranslation

BBPE16: UTF-16-based byte-level byte-pair encoding for improved multilingual speech recognition

2026-02-02 · Hyunsik Kim, Haeri Kim, Munhak Lee, Kyungmin Lee arxiv

Multilingual automatic speech recognition (ASR) requires tokenization that efficiently covers many writing systems. Byte-level BPE (BBPE) using UTF-8 is widely adopted for its language-agnostic design and full Unicode co…

Speech Recognition

BPE Stays on SCRIPT: Structured Encoding for Robust Multilingual Pretokenization

2025-05-30 · Sander Land, Catherine Arnett

Byte Pair Encoding (BPE) tokenizers, widely used in Large Language Models, face challenges in multilingual settings, including penalization of non-Western scripts and the creation of tokens with partial UTF-8 sequences. …

Improving Natural Language Understanding by Reverse Mapping Bytepair Encoding

2019-11-01 · CONLL 2019 11 · Chaodong Tong, Huailiang Peng, Qiong Dai, Lei Jiang 외

We propose a method called reverse mapping bytepair encoding, which maps named-entity information and other word-level linguistic features back to subwords during the encoding procedure of bytepair encoding (BPE). We emp…

Natural Language UnderstandingRTESST-2

Learning variable length units for SMT between related languages via Byte Pair Encoding

2016-10-20 · WS 2017 9 · Anoop Kunchukuttan, Pushpak Bhattacharyya

We explore the use of segments learnt using Byte Pair Encoding (referred to as BPE units) as basic units for statistical machine translation between related languages and compare it with orthographic syllables, which are…

Machine TranslationTranslation