paper-with-me

홈 › Papers

Scaling Behavior of Machine Translation with Large Language Models under Prompt Injection Attacks

2024-03-14 · Zhifan Sun, Antonio Valerio Miceli-Barone

Large Language Models (LLMs) are increasingly becoming the preferred foundation platforms for many Natural Language Processing tasks such as Machine Translation, owing to their quality often comparable to or better than task-specific models, and the simplicity of specifying the task through natural language instructions or in-context examples. Their generality, however, opens them up to subversion by end users who may embed into their requests instructions that cause the model to behave in unauthorized and possibly unsafe ways. In this work we study these Prompt Injection Attacks (PIAs) on multiple families of LLMs on a Machine Translation task, focusing on the effects of model size on the attack success rates. We introduce a new benchmark data set and we discover that on multiple language pairs and injected prompts written in English, larger models under certain conditions may become more susceptible to successful attacks, an instance of the Inverse Scaling phenomenon (McKenzie et al., 2023). To our knowledge, this is the first work to study non-trivial LLM scaling behaviour in a multi-lingual setting.

📄 PDF Abstract BibTeX arXiv:2403.09832

Code (1)

avmb/mt_scaling_prompt_injection 공식 구현

Tasks

Machine TranslationTranslation

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Scaling Laws for Multilingual Neural Machine Translation

2023-02-19 · Patrick Fernandes, Behrooz Ghorbani, Xavier Garcia, Markus Freitag 외

In this work, we provide a large-scale empirical study of the scaling properties of multilingual neural machine translation models. We examine how increases in the model size affect the model performance and investigate …

Machine TranslationTranslation

Scaling Laws for Neural Machine Translation

2021-09-16 · ICLR 2022 4 · Behrooz Ghorbani, Orhan Firat, Markus Freitag, Ankur Bapna 외

We present an empirical study of scaling properties of encoder-decoder Transformer models used in neural machine translation (NMT). We show that cross-entropy loss as a function of model size follows a certain scaling la…

DecoderMachine TranslationNMTTranslation

The Impact of Model Scaling on Seen and Unseen Language Performance

2025-01-10 · Rhitabrat Pokharel, Sina Bagheri Nezhad, Ameeta Agrawal, Suresh Singh

The rapid advancement of Large Language Models (LLMs), particularly those trained on multilingual corpora, has intensified the need for a deeper understanding of their performance across a diverse range of languages and …

Machine TranslationMultilingual text classificationtext-classificationText Classification+1

Beyond Many-Shot Translation: Scaling In-Context Demonstrations For Low-Resource Machine Translation

2026-02-04 · Luis Frentzen Salim, Esteban Carlin, Alexandre Morinvil, Xi Ai 외 arxiv

Building machine translation (MT) systems for low-resource languages is notably difficult due to the scarcity of high-quality data. Although Large Language Models (LLMs) have improved MT system performance, adapting them…

Machine Translation

Scaling Laws for Downstream Task Performance of Large Language Models

2024-02-06 · Berivan Isik, Natalia Ponomareva, Hussein Hazimeh, Dimitris Paparas 외

Scaling laws provide important insights that can guide the design of large language models (LLMs). Existing work has primarily focused on studying scaling laws for pretraining (upstream) loss. However, in transfer learni…

Machine TranslationTransfer LearningTranslation