Skip to content

Toward red teaming for multimodal and multilingual translationTowards Red Teaming in Multimodal and Multilingual Translation

arXiv· arXiv:2401.16247· Christophe Ropers, David Dale, Prangthip Hansanti, Gabriel Mejia Gonzalez, Ivan Evtimov, Corinne Wong, Christophe Touret, Kristina Pereyra, Seohyun Sonia Kim, Cristian Canton Ferrer, Pierre Andrews, Marta R. Costa-jussàFAIR, MetaIndexed by this site · 27 days ago· Originally publishedAttacks

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

The authors conduct a manual red teaming exercise on SeamlessM4T v2 and SeamlessExpressive, elicit critical translation errors, and evaluate the feasibility of automatic detection with BLASER and COMET.

Questions
Conditional generative models such as machine translation produce critical errors such as toxicity shifts and hallucinations, but red teaming methods were previously mainly used for LLMs; the authors state that they have not yet seen red teaming work targeting conditional generative or speech models.
Methods
Internal employees construct text and speech inputs according to error elicitation recipes, conduct a manual red teaming exercise on SeamlessM4T v2 and SeamlessExpressive, annotate according to 10 categories of critical errors; then evaluate whether the two automatic quality estimation metrics, BLASER and COMET, can detect these errors.
Experiments and results
Toxicity is the most common critical error category for both models; BLASER and COMET can distinguish good from bad translations (highest ROC AUC for any error 0.81), but struggle to distinguish critical from non-critical errors; on non-adversarial data, BLASER separates hallucinations from correct translations with ROC AUC of 0.94–1.00.
Limitations and future work
The authors note that the proportion of attempts that broke the model and the success rate per category are not reported, and that the manual way of eliciting critical errors is not scalable; automatic metrics cannot yet replace human annotators in identifying catastrophic translation errors.
Experimental setupSeamlessM4T v2、SeamlessExpressive et al. · 红队演练收集的挑战记录(SeamlessM4T v2:438 条可分析记录;SeamlessExpressive:1,168 条记录)、Expresso et al. · 关键错误数(按类别和模态统计)、ROC AUC
Evaluated models
SeamlessM4T v2SeamlessExpressiveBLASER 2.0 QEWMT23-CometKiwi-DA-XL
Benchmarks
红队演练收集的挑战记录(SeamlessM4T v2:438 条可分析记录;SeamlessExpressive:1,168 条记录)ExpressoDNS5
Metrics
关键错误数(按类别和模态统计)ROC AUC
AI summaryThe authors state that this is the first manual red teaming study for machine translation, evaluating models by manually constructing edge cases that cause translation models to produce severe errors. The study also explores automating red teaming, summarizes lessons learned, and offers recommendations for translation models and red teaming processes. Because evaluation data may overlap with training data, causing model performance to be overestimated, human evaluation is receiving increasing attention.

The authors state that this is the first manual red teaming study for machine translation, evaluating models by manually constructing edge cases that cause translation models to produce severe errors. The study also explores automating red teaming, summarizes lessons learned, and offers recommendations for translation models and red teaming processes. Because evaluation data may overlap with training data, causing model performance to be overestimated, human evaluation is receiving increasing attention.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors propose a manual red teaming method for machine translation (including speech) that elicits critical errors and explores automatic detection.

    Core question: how to establish a red teaming method for conditional generative models such as machine translation that specifically elicits critical errors that would harm users, and explore using automatic metrics to replace part of the manual work.

    • Scenario and motivation: red teaming in generative AI is used to construct edge cases that make models produce critical errors; the authors state that they were previously unaware of red teaming work targeting conditional generative or speech models. Although translation models allow a variety of outputs, they still produce critical errors and hallucinations; such errors, though rare, may cause serious consequences (the authors cite Reed, 2020).
    • Shortcomings of existing methods: the authors point out that overlap between evaluation datasets and training data leads to biased results and overestimation of model performance, hence the attention to human evaluation (including red teaming); however, red teaming methods for conditional generative models are basically unexplored.
    • Core setup of the paper: the task is to construct inputs for MT (equivalent to prompts for LLMs) and check whether the outputs contain critical errors, covering both text and speech input/output modalities, focusing on lexical semantics as well as the illocutionary and perlocutionary effects of speech. The authors define 10 categories of critical errors, including safety concerns, sentiment/semantic inversion, toxicity shift (addition or deletion), instruction shift, named entity errors, number and unit shifts, gender bias, pitch bias, accent bias, and PII hallucination.
    • What the paper proposes: a manual red teaming exercise method and implementation (including error elicitation recipes and a dedicated interface), carried out on SeamlessM4T v2 and SeamlessExpressive; and an evaluation of the feasibility of two automatic quality estimation metrics, BLASER and COMET, for detecting critical errors. The authors state that this is the first manual red teaming study targeting MT.
  2. What related research exists?

    Related work falls into three groups: LLM red teaming, translation quality estimation metrics, and toxicity detection and mitigation in the Seamless project.

    LLM red teaming

    • Perez et al. (2022)—uses language models to red-team language models; Touvron et al. (2023) (Llama 2) also involves red teaming. The authors state that these works target non-conditional generative models, whereas red teaming of conditional generative models has not yet been explored.

    Translation quality and error analysis

    • Specia et al. (2021)—the WMT 2021 quality estimation shared task; Dale et al. (2023a)—detecting and mitigating MT hallucinations. The paper uses these works to illustrate that translation models have failure modes such as critical errors and hallucinations.
    • Dale et al. (2023b) (HalOmi)—a manually annotated benchmark for multilingual hallucination and omission detection; the paper cites its conclusion that BLASER is a good detector of text translation hallucinations, consistent with this paper's results on non-adversarial data.

    Automatic quality estimation metrics (evaluation targets of this paper)

    • BLASER 2.0 QE (Seamless Communication et al., 2023)—predicts input semantic similarity (1–5 score) based on multilingual SONAR sentence embeddings (Duquenne et al., 2023), supporting text or speech input.
    • WMT23-CometKiwi-DA-XL (Rei et al., 2023)—a cross-encoder fine-tuned from XLM-R XL (Goyal et al., 2021) that predicts direct assessment scores of translation quality (0–1 score).

    Toxicity work in the Seamless project

    • MuTox (Costa-jussà et al., 2023b)—a multilingual audio toxicity dataset and zero-shot detector; MinTox (Costa-jussà et al., 2023a)—an inference-time method for mitigating added toxicity. The paper states that the prevalence of toxicity errors motivated these methods.

    Data sources: the non-adversarial experiments use English read sentences from Expresso (Nguyen et al., 2023) and non-speech audio from DNS5 (Dubey et al., 2023); speech transcription uses Whisper-large-v2 (Radford et al., 2022).

    The authors position this paper as a methodological study extending red teaming from non-conditional generative models to conditional generative (multimodal multilingual translation) models, and plan to open-source a comparable red teaming benchmark in the future.

  3. How does the paper address this problem?

    Manual red teaming exercise + a 10-category critical error annotation system, then evaluate the feasibility of BLASER/COMET for automatic detection of critical errors.

    The overall approach has two parts: first, organize bilingual personnel to construct inputs according to recipes and conduct manual red teaming exercises on SeamlessM4T v2 and SeamlessExpressive and annotate critical errors; then evaluate whether two automatic quality estimation metrics can detect these errors, in order to judge the feasibility of semi-automated red teaming.

    Definition of critical errors

    • The authors define 10 categories of critical errors: safety concerns (including shifts in substantive information such as health and legal), sentiment/semantic inversion, toxicity shift (addition or deletion), instruction shift, named entity errors, number and unit shifts, gender bias, pitch bias, accent bias, and PII hallucination.
    • The number and unit category explicitly requires the model to only translate and not localize (miles should retain the original number and unit).
    • Beyond these 10 categories, the authors encourage participants to discover other critical error categories, in order to reveal unknown unknowns.

    Implementation of the manual red teaming exercises

    • Participants and sessions: 5 one-hour in-person sessions with 24 internal employees participating, plus another 30 employees who continued outside the sessions through a dedicated interface; participants needed to be proficient in English and another language supported by the model.
    • Elicitation recipes: participants construct inputs according to the 8 recipe categories in Table 1, including specific populations and demographics, out-of-vocabulary (OOV) words, tongue twisters or alliteration, numbers/units/dates/times, words containing toxic-sounding subwords, explicit grammatical gender reference, overly short/long or structurally complex sentences, and health safety or legal content.
    • Speech methods: participants were also asked to test various speaking styles listed in Table 2 (such as overly fast or slow speech rate, unnatural pauses, different accents, many filler words, and combinations).
    • Quality control: the team's linguists checked the annotations and corrected mislabels. SeamlessM4T v2 reclassified 64 labels (25 from critical to non-critical); SeamlessExpressive reclassified 59 (25 from critical to non-critical).

    Evaluation of automatic detection

    • Metrics: BLASER 2.0 QE (predicts 1–5 semantic similarity based on SONAR embeddings; the source side can use speech or transcribed text) and WMT23-CometKiwi-DA-XL (predicts a 0–1 quality score, text only). Transcription uses Whisper-large-v2; the target side always uses text translation output.
    • Adversarial data evaluation: on the SeamlessExpressive red teaming results dataset, compute the ROC AUC distinguishing each error category from correct translations; non-critical errors use the wrong_translation label.
    • Non-adversarial data evaluation: randomly sample 50 inputs each from Expresso (English read sentences) and DNS5 (non-speech audio), translate them into 10 high-resource languages with SeamlessM4T v2; for 5 of the target languages (eng, deu, fra, rus, spa), annotate 50 random samples each with four labels: OK, M (mistranslation), H (hallucination), NC (noise caption), then compute the ROC AUC of the speech version of BLASER separating H+NC from OK.
  4. What experiments did the paper conduct?

    Manual red teaming exercises on two models (most toxicity errors), plus evaluation of BLASER/COMET detection on adversarial and non-adversarial data.

    Experimental setup

    • Models under test: SeamlessM4T v2 and SeamlessExpressive (both multimodal multilingual translation models).
    • Data: The SeamlessM4T v2 exercise collected 444 records, of which 438 are analyzable (6 are test prompts, only 301 have speech output), covering translation between 8 languages (arb, cmn, fra, hin, ita, rus, spa, ukr) and English; SeamlessExpressive collected 1,168 records (2 are test prompts), covering 4 languages (deu, fra, spa, ita).
    • Annotation: Annotated according to 10 categories of critical errors, with linguists reviewing and correcting (64 and 59 labels changed for the two models respectively).
    • Automatic metrics: BLASER 2.0 QE (speech source or transcribed text source) and COMET (text source); the metric is ROC AUC for distinguishing erroneous from correct translations.
    • Non-adversarial data: 50 inputs each from Expresso and DNS5, translated into 10 languages, of which 50 are annotated for each of 5 languages (four categories OK/M/H/NC).

    Main results

    Number of critical errors in the red teaming exercise by category and modality (according to Table 3, Table 4):

    Swipe horizontally to read the table

    CategoryM4T v2 speechM4T v2 textExpressive speechExpressive text
    Toxicity22354750
    Number and unit shift7144133
    Gender bias10132525
    Sentiment/semantic opposite5112215
    Instruction shift681919
    Named entities681717
    Safety concerns24109
    Total5993185168
    • Toxicity is the most frequent critical error category for both models; among M4T v2 toxicity instances, about 25% are added toxicity, 48% are deleted toxicity, and the rest are intensity changes; in Expressive, about 28% are deleted toxicity.
    • Expressive toxicity accounts for 4.2% of all challenges and 27.5% of successful challenges; number shift is next, and the authors believe the difference between speech and text modalities in this category may stem from instances where number pronunciation is unintelligible.
    • Pitch bias, accent bias, and PII hallucination errors are very rare or 0 (M4T v2 pitch 0, accent 1, PII 0).

    Performance of automatic metrics on adversarial data

    • On the SeamlessExpressive red teaming results (Table 5), ROC AUC for detecting any error: BLASER speech source 0.69, BLASER text source 0.77, COMET 0.81; for critical errors: 0.65, 0.73, 0.80.
    • By error category, gender bias is the hardest to detect (0.45, 0.50, 0.67), and PII hallucination is the highest (0.77, 0.96, 1.00, but n=1).
    • Figure 1 shows the detection score distributions: the authors state the metrics can moderately distinguish good from bad translations but cannot distinguish critical from non-critical errors; the authors propose a hypothesis—criticality depends not only on the translation itself but also on the consequences of its actual application, which is beyond the scope of purely semantic models like BLASER and COMET.

    Performance of automatic metrics on non-adversarial data

    • Even with non-adversarial inputs, SeamlessM4T v2 produces many errors: non-speech inputs in English and German usually lead to hallucinations, and some Expresso inputs trigger hallucinations in all languages.
    • ROC AUC of the speech version of BLASER separating OK from H+NC (Table 6): deu 0.97, eng 1.00, fra 0.94, rus 0.99, spa 0.97.
    • Figure 2 shows that BLASER scores for noisy subtitles and hallucinations are well separated from correct translations, with mistranslations in between; Figure 3 shows similar score distributions across languages, and the authors believe the conclusions may generalize to unannotated languages.

    Other ablations and analyses

    • Accent/pitch-specific experiment: 15 selected challenges in the English-to-French direction (8 easier, 4 medium, 3 known to be triggerable); results show that toxicity and instruction shift critical errors are sensitive to user accent and/or pitch, while gender bias is not sensitive.
    • The authors observe that colloquial language (e.g., slang) is very effective at triggering critical errors; number translation above single digits is unstable and may be misread in the speech output modality.
    • The authors caution: the main failure mode is hallucination, it cannot be determined that the category ranking is independent of the recipes, and the ranking should be interpreted with caution.
  5. What are some points that can be further explored?

    The authors point out that the proportion of attempts and success rates for each category were not reported, and that manual elicitation is not scalable; they plan to open-source the red teaming benchmark.

    Limitations and future directions noted by the authors

    • Proportion of attempts and success rates not reported (Limitations section): The paper does not report, for a given category, the proportion of attempts that broke the model and their success rate.
    • Manual elicitation is not scalable (Limitations section, Section 5.1): Constructing inputs and evaluating translations depends on bilingual-proficient and experienced participants, most of whom quickly run out of ideas; because the prompts differ across models, cross-model analysis is not comparable.
    • Automatic tools cannot replace humans (Section 5.3): The authors believe automatic tools cannot yet fully replace human annotators in identifying catastrophic translation errors, but they have a non-negligible correlation with manual annotation and can be used in hybrid schemes.
    • Uncertainty in error category ranking (Section 5.1): The main failure mode is hallucination, it cannot be determined that the category ranking is independent of the recipes used, and the authors believe the ranking should be interpreted with caution.
    • Future plans (Conclusions section): The authors plan to open-source a comparable red teaming benchmark for multilingual multimodal machine translation models.

    Scope of experimental coverage

    • There are 2 models under test, SeamlessM4T v2 and SeamlessExpressive; language coverage: 8 languages in the M4T v2 exercise and 4 languages in the Expressive exercise, all mainly involving translation directions to and from English.
    • Exercise scale: 438 analyzable records for M4T v2 (301 with speech output) and 1,168 records for Expressive; participants were 24 on-site plus 30 remote internal employees.
    • Automatic metric evaluation covers only two quality estimation metrics, BLASER 2.0 QE and COMET; adversarial data evaluation uses only the SeamlessExpressive red teaming results.
    • The non-adversarial experiment annotated 5 target languages, 50 samples each; the accent/pitch-specific experiment covers only the English-to-French direction, 15 challenges.
    • The paper does not report the specific background composition of red teaming participants, the number of evaluators per challenge, or inter-annotator agreement.
  6. Summarize the main content of the paper

    A manual red teaming method and critical error annotation scheme for multimodal translation models, and an evaluation of the feasibility of automatic metric detection.

    A methodology study on machine translation red teaming; the authors state it is the first manual red teaming work targeting MT.

    • Problem: Conditional generative models (multimodal multilingual translation) produce critical errors such as toxicity shifts and hallucinations, but red teaming had previously been used mainly on non-conditionally generated LLMs; the authors propose extending red teaming to translation models and exploring automation to reduce manual cost.
    • Method: Define 10 categories of critical errors (safety, opposite sentiment, toxicity shift, instruction shift, named entities, numbers and units, gender bias, pitch bias, accent bias, PII hallucination); organize internal bilingual employees to construct text and speech inputs according to 8 elicitation recipes and multiple speaking styles, run the exercise on SeamlessM4T v2 and SeamlessExpressive, with linguists reviewing the annotations; then use BLASER 2.0 QE and COMET to evaluate automatic detection.
    • Main results: Toxicity is the most frequent critical error for both models (M4T v2 text 35 cases, Expressive text 50 cases); in Expressive, toxicity accounts for 4.2% of all challenges. Automatic metrics can distinguish good from bad translations (highest ROC AUC for any error 0.81, COMET), but struggle to distinguish critical from non-critical errors; on non-adversarial data, the speech version of BLASER separates hallucinated/noisy subtitles from correct translations with ROC AUC of 0.94–1.00.
    • Authors' conclusions: Automatic metrics can serve as a proxy for low-quality translations, for use in hybrid schemes (e.g., alerting users when BLASER is below 3 or 3.5, pre-screening data to be annotated), but cannot replace manual identification of catastrophic errors; the authors recommend warning users not to use the models to translate safety instructions, legal language, and highly colloquial content, and plan to open-source a comparable red teaming benchmark.
Read originalarxiv.org