paper-with-me

홈 › Papers

Stolen Subwords: Importance of Vocabularies for Machine Translation Model Stealing

2024-01-29 · Vilém Zouhar

In learning-based functionality stealing, the attacker is trying to build a local model based on the victim's outputs. The attacker has to make choices regarding the local model's architecture, optimization method and, specifically for NLP models, subword vocabulary, such as BPE. On the machine translation task, we explore (1) whether the choice of the vocabulary plays a role in model stealing scenarios and (2) if it is possible to extract the victim's vocabulary. We find that the vocabulary itself does not have a large effect on the local model's performance. Given gray-box model access, it is possible to collect the victim's vocabulary by collecting the outputs (detokenized subwords on the output). The results of the minimum effect of vocabulary choice are important more broadly for black-box knowledge distillation.

📄 PDF Abstract BibTeX arXiv:2401.16055

Code (1)

zouharvi/vocab-stealing 공식 구현

Tasks

Knowledge DistillationMachine TranslationTranslation

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 제목 키워드 기반

Subword Mapping and Anchoring across Languages

2021-09-09 · Findings (EMNLP) 2021 11 · Giorgos Vernikos, Andrei Popescu-Belis

State-of-the-art multilingual systems rely on shared vocabularies that sufficiently cover all considered languages. To this end, a simple and frequently used approach makes use of subword vocabularies constructed jointly…

Cross-Lingual Natural Language InferenceMachine TranslationNatural Language InferenceTranslation

Neural Machine Translation with Byte-Level Subwords

2019-09-07 · Changhan Wang, Kyunghyun Cho, Jiatao Gu

Almost all existing machine translation models are built on top of character-based vocabularies: characters, subwords or words. Rare characters from noisy text or character-rich languages such as Japanese and Chinese how…

Machine TranslationTranslation

Assessing the Importance of Frequency versus Compositionality for Subword-based Tokenization in NMT

2023-06-02 · Benoist Wolleb, Romain Silvestri, Giorgos Vernikos, Ljiljana Dolamic 외

Subword tokenization is the de facto standard for tokenization in neural language models and machine translation systems. Three advantages are frequently cited in favor of subwords: shorter encoding of frequent tokens, c…

de-enMachine TranslationNMTTranslation

Morphological evaluation of subwords vocabulary used by BETO language model

2024-10-03 · Óscar García-Sierra, Ana Fernández-Pampillón Cesteros, Miguel Ortega-Martín

Subword tokenization algorithms used by Large Language Models are significantly more efficient and can independently build the necessary vocabulary of words and subwords without human intervention. However, those subword…

Language ModelingLanguage Modelling

Revisiting Syllables in Language Modelling and their Application on Low-Resource Machine Translation

2022-10-05 · COLING 2022 10 · Arturo Oncevay, Kervy Dante Rivas Rojas, Liz Karen Chavez Sanchez, Roberto Zariquiey

Language modelling and machine translation tasks mostly use subword or character inputs, but syllables are seldom used. Syllables provide shorter sequences than characters, require less-specialised extracting rules than …

Language ModellingMachine TranslationSegmentationTranslation