paper-with-me

홈 › Papers

Adaptive BPE Tokenization for Enhanced Vocabulary Adaptation in Finetuning Pretrained Language Models

2024-10-04 · Gunjan Balde, Soumyadeep Roy, Mainack Mondal, Niloy Ganguly

In this work, we show a fundamental limitation in vocabulary adaptation approaches that use Byte-Pair Encoding (BPE) tokenization scheme for fine-tuning pretrained language models (PLMs) to expert domains. Current approaches trivially append the target domain-specific vocabulary at the end of the PLM vocabulary. This approach leads to a lower priority score and causes sub-optimal tokenization in BPE that iteratively uses merge rules to tokenize a given text. To mitigate this issue, we propose AdaptBPE where the BPE tokenization initialization phase is modified to first perform the longest string matching on the added (target) vocabulary before tokenizing at the character level. We perform an extensive evaluation of AdaptBPE versus the standard BPE over various classification and summarization tasks; AdaptBPE improves by 3.57% (in terms of accuracy) and 1.87% (in terms of Rouge-L), respectively. AdaptBPE for MEDVOC works particularly well when reference summaries have high OOV concentration or are longer in length. We also conduct a human evaluation, revealing that AdaptBPE generates more relevant and more faithful summaries as compared to MEDVOC. We make our codebase publicly available at https://github.com/gb-kgp/adaptbpe.

📄 PDF Abstract BibTeX arXiv:2410.03258

Code (1)

gb-kgp/adaptbpe 공식 구현

Methods 이 논문이 사용한 방법론

BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

Towards Simple and Efficient Task-Adaptive Pre-training for Text Classification

2022-09-26 · Arnav Ladkat, Aamir Miyajiwala, Samiksha Jagadale, Rekha Kulkarni 외

Language models are pre-trained using large corpora of generic data like book corpus, common crawl and Wikipedia, which is essential for the model to understand the linguistic characteristics of the language. New studies…

Domain Adaptationtext-classificationText Classification

Task-Adaptive Tokenization: Enhancing Long-Form Text Generation Efficacy in Mental Health and Beyond

2023-10-09 · Siyang Liu, Naihao Deng, Sahand Sabour, Yilin Jia 외

We propose task-adaptive tokenization as a way to adapt the generation pipeline to the specifics of a downstream task and enhance long-form generation in mental health. Inspired by insights from cognitive science, our ta…

FormQuestion AnsweringText Generation

Should we find another model?: Improving Neural Machine Translation Performance with ONE-Piece Tokenization Method without Model Modification

2021-06-01 · NAACL 2021 4 · Chanjun Park, Sugyeong Eo, Hyeonseok Moon, Heuiseok Lim

Most of the recent Natural Language Processing(NLP) studies are based on the Pretrain-Finetuning Approach (PFA), but in small and medium-sized enterprises or companies with insufficient hardware there are many limitation…

Machine TranslationmodelTranslation

Impact of Tokenization on LLaMa Russian Adaptation

2023-12-05 · Mikhail Tikhomirov, Daniil Chernyshev

Latest instruction-tuned large language models (LLM) show great results on various tasks, however, they often face performance degradation for non-English input. There is evidence that the reason lies in inefficient toke…

LangMAP: A Language-Adaptive Approach to Tokenization

2026-06-22 · Clara Meister, Suchir Salhan, Andrzej Szablewski, Pietro Lesci 외 arxiv

Language-specific tokenizers improve tokenization quality and the downstream performance of models on those languages. However, using such a tokenizer comes at a cost: either a new model must be trained from scratch, or …