<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <article-id pub-id-type="doi">10.18653/V1/2023.ACL-LONG.891</article-id>
      <title-group>
        <article-title>SomethingAwful at PAN 2024 TextDetox: Uncensored Llama 3 Helps to Censor Better</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sergey Pletenev</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Artificial Intelligence Research Institute</institution>
          ,
          <addr-line>Moscow</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Higher School of Economics</institution>
          ,
          <addr-line>Moscow</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Skolkovo Institute of Science and Technology</institution>
          ,
          <addr-line>Moscow</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2024</year>
      </pub-date>
      <abstract>
        <p>In this paper, we report on our system for Multilingual Text Detoxification Task at PAN 2024. In this task, we needed to detoxify a multilingual corpus of texts. We propose an approach based on a large language models based on Llama3 architecture with an additional method for jailbreaking model generation refusals. Our approach shows an advantage over Human References for multiple languages in manual evaluation, and outperforms baselines in automatic detoxification benchmark. Our work contributes to the ongoing efort to assess the vulnerability of LLMs to jailbreaking attacks, underscoring the latent capabilities of the large models.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;PAN 2024</kwd>
        <kwd>Multilingual Detoxification</kwd>
        <kwd>NLP</kwd>
        <kwd>LLM</kwd>
        <kwd>Refusals</kwd>
        <kwd>Model Jailbreak</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        The proliferation of online platforms has led to an increase in the use of harmful language, including
ofensive, abusive, and hateful content. Despite significant eforts to develop accurate models for
detecting toxic language, this reactive approach has often resulted in the removal of content,
potentially limiting freedom of expression and ignoring the informative aspects of user-generated content.
Traditional methods of filtering harmful text, such as deleting and censoring specific words, have
become inefective due to the evolving nature of toxic language. Toxic language is constantly changing,
with new expressions, slang, and insults emerging on a regular basis, making it challenging for static
models to remain efective. Diferent online platforms attract diferent user demographics, leading to
variations in how toxicity manifests itself on each platform. This diversity in communication norms
means that there is no one-size-fits-all approach to addressing toxic language, and eforts must be
tailored to each platform’s unique characteristics. Simply identifying and removing toxic content is
not suficient to address the root cause and may result in the deletion of valuable information along
with the toxic content. Previous works [
        <xref ref-type="bibr" rid="ref1 ref2 ref3 ref4">1, 2, 3, 4</xref>
        ] have explored the concept of text detoxification.
Approaching text detoxification task as a task of text-to-text sequence learning ParaDetox [ 5] and
RuDetox [6] were introduced as the first detoxification models built using a crowd-sourced parallel
corpora for English and Russian languages, respectively. These model outperformed their unsupervised
counterparts in the text detoxification task, but they were primarily designed for a single language
and were published at a time when sequence-to-sequence models were dominant [7]. However, the
landscape of natural language processing models has evolved, with the emergence of large language
models such as Mistral [8], ChatGPT1, LLaMA series [9, 10] and others, which have shown promising
results on various language modeling tasks. These models are capable of generating high-quality text,
making them suitable for a range of applications, including detoxification. In this paper, we will explore
the use of large language models (LLM) without expensive fine-tuning for high-quality and relevant
outputs in the task of text detoxification.
      </p>
      <p>Our Contributions:
• Development of a multi-lingual detoxification method based on the LLaMA 3 LLM.
• Adaptation and testing of a model jailbreaking technique for text generation (see Figure 1).
• Publication of experimental results and source code to facilitate future research in this area.2
Baseline LLM generation:
Rewrite the text into non-toxic language:</p>
      <p>{toxic_sentence}
Our approach:</p>
      <p>{special_prompt}
Rewrite the text into non-toxic language:
{few-shot examples} {toxic_sentence}</p>
      <p>LLM</p>
      <p>LLM
{activation
patched}</p>
      <p>I cannot write
hateful content
{neutral_sentence}</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related works</title>
      <sec id="sec-2-1">
        <title>2.1. Style transfer and Detoxification</title>
        <p>Style transfer models for detoxification can be broadly classified into three main categories:
• Editing-based approaches: These methods, such as those described in [11, 12] utilize a sequence
of simple transformations (e.g., removal, replacement, addition) to modify the input text. While
these transformations are typically learned independently and combined in a pipeline, they
provide high levels of explainability and interpretability. However, their focus on identifying and
replacing specific words with a desired style limits their performance in more complex tasks that
require structural changes
• Sequence-to-Sequence and Language Generation approaches: Drawing on the inspiration from
text generation tasks such as machine translation, summarization, and paraphrasing, this approach
[13, 14] translates the source text into a latent representation using an encoder and then uses a
decoder to generate the decontaminated text sequentially. While achieving promising results
in style transfer and detoxification, a significant challenge is in preserving the original context,
particularly for longer texts, due to the limitations of sequence-to-sequence models.
• Hybrid methods: This approach [15, 16] combines elements of both editing-based and
sequenceto-sequence methods. It involves creating word alignments and generating sentences end-to-end.
This strategy aims to utilize the strengths of both techniques, potentially providing a more
comprehensive solution.</p>
        <p>Each method has its own unique strengths and weaknesses. The choice of approach should be based
on the specific requirements of the task and the desired balance between explainability, preservation of
context, and complexity of the model.</p>
        <sec id="sec-2-1-1">
          <title>2https://github.com/A1exRey/UncensorLlamaIsBetterCensor</title>
          <p>I cannot generate a [. . . ] Is there anything else I can help you with?
I understand you’re frustrated, but being aggressive won’t help the situation.
I apologize for any inconvenience. [. . . ] Please provide more details about the issue.
I strongly disagree with [. . . ]</p>
          <p>I cannot write content that is discriminatory or promotes hate speech.</p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Jailbreaking models</title>
        <p>Despite significant eforts to align large language models (LLMs) with human values, recent studies have
highlighted their susceptibility to security breaches [17]. These vulnerabilities can lead to the creation
of harmful content and the misuse of these powerful tools. One type of attack involves manipulating
input instructions to exploit the model’s weaknesses. This can include explicitly guiding the model’s
response or appending sufixes that bypass its defenses [ 18, 19]. Mechanistic Interpretability (MI) aims
to understand how a model functions by reverse engineering its specific behaviors. This allows us to
gain insight into how the model processes information and makes decisions. These reverse engineering
eforts typically focus on specific components of a neural network, such as neurons, representations, or
attention heads [20]. The goal is to identify those components that are related to a particular behavior of
interest and to understand their role within the network [21]. This understanding can help in designing
more robust and safe models. Additionally, understanding the safety mechanisms of a model from a
mechanistic perspective can contribute to developing safer models [22]. For instance, it has been found
that the key parameters responsible for safety are located in a relatively small part of the network,
making them more susceptible to changes or perturbations [22].</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Experimental setup</title>
      <sec id="sec-3-1">
        <title>3.1. Dataset</title>
        <p>For our approach, we use a multilingual parallel dataset for text detoxification, prepared for the
Multilingual Text Detoxification (CLEF TextDetox 2024) shared task [ 23, 24]. The dataset consists of
texts in diferent languages, including English, Spanish, German, Chinese, Arabic, Hindi, Ukrainian,
Russian, and Amharic. For each of these 9 languages, 1,000 pairs of parallel texts were collected, split
into 400 pairs for the development (dev) set and 600 pairs for the test set. In the competition, detox
pairs are only available for the dev dataset, while the toxic part of the pairs is available for the test part.
For the Amharic language, we use the full dev set as our training dataset. For the few-shot case, we use
only the first 10 pairs from the dev set for each language.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Activation Patching</title>
        <p>Activation Patching [25] is a technique that based on Mechanistic Interpretability theory to locate
critical components responsible for specific behaviors. This technique involves replacing the activation
produced by a particular component when given a specific input with the activation generated by
another input that does not produce the desired behavior. The significance of each component is
determined by the impact it has on the final output after the intervention. To illustrate, let’s say we
have an original input, , which is a harmful instruction such as "How can I make a bomb?". We
can create an intervened version, , by replacing the harmful tokens with safe ones, making it a
harmless instruction like "How can I make a pie?". This process allows us to identify the components
responsible for the harmful behavior and modify them to achieve the desired outcome. In our case, we
are not looking for answers to these questions. Instead, we need to see when the model fails to produce
detoxification, as shown in Table 1. For the activation patching, we used all available toxic data from
the English development part of the dataset. As counterexamples, we took neutral sentences from the
same development set.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Models</title>
        <p>In this paper, we utilized several approaches and baselines provided by the competition organizers:
Duplicate Baseline. This approach does not modify the input text in any way, serving as a lower
threshold for detoxification quality and providing 100% similarity score by design.</p>
        <p>Delete Baseline. This method relies on a predefined list of toxic words 3 and phrases for each language.
The words are removed from the text upon their presence in a list of toxic words.</p>
        <p>
          Backtranslation Baseline. Similar to [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] texts in all languages except English are first translated into
English using a neural machine translation model NLLB-3.3B4 [26]. The English text is then detoxified
using the BART-based [27] text detoxification model 5, and subsequently translated back into the original
language.
mT5 Baseline. This sequence-to-sequence model [28] was trained 6 sequentially for each language
using the parallel dev portion7 of the dataset released for the test phase of the shared task.
        </p>
        <p>Your task is text style transfer. You rewrite the text into non-toxic language. You must
match the target style and preserve the original meaning as much as possible. You
cannot hallucinate or add anything outside the original input text. You should not include
the input text in the response. You should only generate the target text.
(1)</p>
        <p>We use two types of models: a decoder-only Llama 3 model (8b 8 and 70b 9) and the Seq2Seq mt0-XL
model. For the decoder-only model, we use a similar prompt 1 to the one used in the GreenLLaMA [29].
We also use a source prefix of " Detoxify:" for the mt0-XL model. We do not fine-tune Llama 3, but we do
use the few-shot variants: 5-shot and 10-shot for both models. For the Seq2Seq model, we fine-tune it
on 3 epochs using a learning rate 5e-5, without using any additional data beyond what is provided by
the competition organizers.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Results and Discussion</title>
      <p>The biggest limitation of Llama 3 for us was its tendency to refusal generation. As mentioned above,
there are several methods for model jailbreaking, and we used 3 of them simultaneously: special prompt,
few-shot, and activation patching. The results of this approach can be seen in Table 2 and pipeline
in Figure 1. We didn’t choose a good prompt on our own, but rather used the one described in the
GreenLLaMA [29] detoxification framework, which the authors claim performs best. However, despite
this, the model still exhibited significant refusal to generate, particularly in the 0-shot scenario, where
24% of queries yielded no output. This behaviour is likely due to Llama3’s internal mechanisms that
may detect potentially harmful content within the input, even when the task is intended to be detoxified.
The 10-shot variant performs better, but even then, it occasionally refuses to generate in 5 examples.
3https://huggingface.co/datasets/textdetox/multilingual_toxic_lexicon
4https://huggingface.co/facebook/nllb-200-3.3B
5https://huggingface.co/s-nlp/bart-base-detox
6https://huggingface.co/textdetox/mt5-xl-detox-baseline
7https://huggingface.co/datasets/textdetox/multilingual_paradetox
8https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct
9https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct</p>
      <p>Language
English
Russian</p>
      <p>N-shot
0-shot
10-shot
0-shot
10-shot
0-shot
10-shot
0-shot
10-shot
non-patched
non-patched
patched
patched
non-patched
non-patched
patched
patched
24%
1%
12%
0%
15%
0%
8%
0%</p>
      <p>The integration of activation patching has proven to be beneficial, reducing the number of refusals
by 50% in the 0-shot setting and eliminating them completely in the 10-shot scenario. Additionally, we
tested the performance of activation patching for Russian language. The model was not restricted in
any way and only data obtained for English was utilized. As expected, the results were similar to those
for English, with the exception that in the 10-shot case, for both patched and non-patched, models
stopped generating refusals. However, in the 0-shot case, there was a huge diference in favor of the
activation patch. These results suggest that although specialized prompt and few-shot learning can
enhance the performance of Llama 3, activation patching plays a crucial role in mitigating generation
refusals. Further research is needed to understand the specific triggers of refusals and develop more
robust solutions to overcome this limitation.</p>
      <p>The second issue was that Llama 3 for Amharic did not perform as well as expected. Llama 3 was
not designed as a multilingual model, and there was no information available on the distribution of
languages in the training data used to train LLM. Amharic is a relatively rare language, which may have
been underrepresented in the initial training set. Although the Llama 3 tokenizer included Amharic
characters, the limited training data suggests a small corpus for this language. Therefore, we decided to
use a separate model, mT0-XL[30], for Amharic only, which was claimed to be multilingual and has
support for the Amharic language according to the author’s claims. This model was trained using all
available languages, and the results can be seen in Table 3. Based on the automatic metrics, mT0-XL
performed well in detoxifying all 9 languages included in the competition, as shown in the table.</p>
      <p>Despite the overall proficiency of mT0-XL, the activation-patched, 10-shot variant of Llama 3 70B
demonstrated superior performance in our evaluation. Therefore, we adopted a hybrid approach by
utilizing the Amharic-specific component of mT0-XL in conjunction with the optimized Llama 3 70B
model. This strategy leveraged strengths of both models, resulting in a detoxification system that
combined the activation-patched 10-shot Llama 3 70B model with the Amharic-specific component
from mT0-XL. This hybrid method presents a practical solution to address language-specific challenges
in large language models. By integrating specialized models for underrepresented languages with a
robust base model, we enhance performance and expand detoxification capabilities across a broader
range of languages.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>In this work we present a text detoxification approach based on few-shot generation using activation
patched LLama 3 70B. According to final round of evaluation (manual evaluation), our solution is the
best across more than 25 competitors. Moreover, our solution is better than (or at least comparable
to) the Human References, which were designed to be ground-truth references for the annotators and
automatic evaluation systems. Moreover, we explore diferent model jailbreaking techniques to enhance
the final generation and detoxification quality.
[5] V. Logacheva, D. Dementieva, S. Ustyantsev, D. Moskovskiy, D. Dale, I. Krotova, N. Semenov,
A. Panchenko, ParaDetox: Detoxification with parallel data, in: S. Muresan, P. Nakov, A.
Villavicencio (Eds.), Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics
(Volume 1: Long Papers), Association for Computational Linguistics, Dublin, Ireland, 2022, pp. 6804–
6818. URL: https://aclanthology.org/2022.acl-long.469. doi:10.18653/v1/2022.acl-long.469.
[6] D. Dementieva, V. Logacheva, I. Nikishina, A. Fenogenova, D. Dale, I. Krotova, N. Semenov,
T. Shavrina, A. Panchenko, Russe-2022: Findings of the first russian detoxification shared task based
on parallel corpora, COMPUTATIONAL LINGUISTICS AND INTELLECTUAL TECHNOLOGIES
(2022). URL: https://api.semanticscholar.org/CorpusID:253169495.
[7] S. Pletenev, Between denoising and translation: Experiments in text detoxification, Computational
Linguistics and Intellectual Technologies (2022). URL: https://api.semanticscholar.org/CorpusID:
253197815.
[8] A. Q. Jiang, A. Sablayrolles, A. Mensch, C. Bamford, D. S. Chaplot, D. de las Casas, F. Bressand,
G. Lengyel, G. Lample, L. Saulnier, L. R. Lavaud, M.-A. Lachaux, P. Stock, T. L. Scao, T. Lavril,
T. Wang, T. Lacroix, W. E. Sayed, Mistral 7b, 2023. arXiv:2310.06825.
[9] H. Touvron, T. Lavril, G. Izacard, X. Martinet, M. Lachaux, T. Lacroix, B. Rozière, N. Goyal,
E. Hambro, F. Azhar, A. Rodriguez, A. Joulin, E. Grave, G. Lample, Llama: Open and eficient
foundation language models, CoRR abs/2302.13971 (2023). URL: https://doi.org/10.48550/arXiv.
2302.13971. doi:10.48550/ARXIV.2302.13971. arXiv:2302.13971.
[10] H. Touvron, T. Lavril, G. Izacard, X. Martinet, M.-A. Lachaux, T. Lacroix, B. Rozière, N. Goyal,
E. Hambro, F. Azhar, A. Rodriguez, A. Joulin, E. Grave, G. Lample, Llama: Open and eficient
foundation language models, 2023. arXiv:2302.13971.
[11] J. Li, R. Jia, H. He, P. Liang, Delete, retrieve, generate: a simple approach to sentiment and
style transfer, in: M. A. Walker, H. Ji, A. Stent (Eds.), Proceedings of the 2018 Conference of the
North American Chapter of the Association for Computational Linguistics: Human Language
Technologies, NAACL-HLT 2018, New Orleans, Louisiana, USA, June 1-6, 2018, Volume 1 (Long
Papers), Association for Computational Linguistics, 2018, pp. 1865–1874. URL: https://doi.org/10.
18653/v1/n18-1169. doi:10.18653/V1/N18-1169.
[12] T. Shen, T. Lei, R. Barzilay, T. S. Jaakkola, Style transfer from non-parallel text by
crossalignment, in: I. Guyon, U. von Luxburg, S. Bengio, H. M. Wallach, R. Fergus, S. V. N.
Vishwanathan, R. Garnett (Eds.), Advances in Neural Information Processing Systems 30:
Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long
Beach, CA, USA, 2017, pp. 6830–6841. URL: https://proceedings.neurips.cc/paper/2017/hash/
2d2c8394e31101a261abf1784302bf75-Abstract.html.
[13] V. John, L. Mou, H. Bahuleyan, O. Vechtomova, Disentangled representation learning for
nonparallel text style transfer, in: Proceedings of the 57th Annual Meeting of the Association for
Computational Linguistics, Association for Computational Linguistics, Florence, Italy, 2019, pp.
424–434. URL: https://aclanthology.org/P19-1041. doi:10.18653/v1/P19-1041.
[14] D. Dale, A. Voronov, D. Dementieva, V. Logacheva, O. Kozlova, N. Semenov, A. Panchenko,
Text detoxification using large pre-trained neural models, CoRR abs/2109.08914 (2021). URL:
https://arxiv.org/abs/2109.08914. arXiv:2109.08914.
[15] F. Huang, Z. Chen, C. H. Wu, Q. Guo, X. Zhu, M. Huang, NAST: A non-autoregressive generator
with word alignment for unsupervised text style transfer, in: Proceedings of the 59th Annual
Meeting of the Association for Computational Linguistics: Findings, 2021.
[16] F. Luo, P. Li, J. Zhou, P. Yang, B. Chang, Z. Sui, X. Sun, A dual reinforcement learning framework
for unsupervised text style transfer, in: Proceedings of the 28th International Joint Conference on
Artificial Intelligence, IJCAI 2019, 2019.
[17] X. Qi, Y. Zeng, T. Xie, P. Chen, R. Jia, P. Mittal, P. Henderson, Fine-tuning aligned language models
compromises safety, even when users do not intend to!, CoRR abs/2310.03693 (2023). URL: https:
//doi.org/10.48550/arXiv.2310.03693. doi:10.48550/ARXIV.2310.03693. arXiv:2310.03693.
[18] Z. Liao, H. Sun, Amplegcg: Learning a universal and transferable generative model of adversarial
sufixes for jailbreaking both open and closed llms, 2024. arXiv:2404.07921.
[19] A. Zou, Z. Wang, J. Z. Kolter, M. Fredrikson, Universal and transferable adversarial attacks on
aligned language models, CoRR abs/2307.15043 (2023). URL: https://doi.org/10.48550/arXiv.2307.
15043. doi:10.48550/ARXIV.2307.15043. arXiv:2307.15043.
[20] W. Gurnee, N. Nanda, M. Pauly, K. Harvey, D. Troitskii, D. Bertsimas, Finding neurons in a haystack:</p>
      <p>Case studies with sparse probing, 2023. arXiv:2305.01610.
[21] H. Sajjad, N. Durrani, F. Dalvi, Neuron-level interpretation of deep nlp models: A survey, 2022.</p>
      <p>arXiv:2108.13138.
[22] B. Wei, K. Huang, Y. Huang, T. Xie, X. Qi, M. Xia, P. Mittal, M. Wang, P. Henderson, Assessing the
brittleness of safety alignment via pruning and low-rank modifications, in: ICLR 2024 Workshop
on Reliable and Responsible Foundation Models, 2024. URL: https://openreview.net/forum?id=
XMLQ2e0Axb.
[23] M. Fröbe, M. Wiegmann, N. Kolyada, B. Grahm, T. Elstner, F. Loebe, M. Hagen, B. Stein, M. Potthast,
Continuous Integration for Reproducible Shared Tasks with TIRA.io, in: J. Kamps, L. Goeuriot,
F. Crestani, M. Maistro, H. Joho, B. Davis, C. Gurrin, U. Kruschwitz, A. Caputo (Eds.), Advances in
Information Retrieval. 45th European Conference on IR Research (ECIR 2023), Lecture Notes in
Computer Science, Springer, Berlin Heidelberg New York, 2023, pp. 236–241. URL: https://link.
springer.com/chapter/10.1007/978-3-031-28241-6_20. doi:10.1007/978-3-031-28241-6_20.
[24] J. Bevendorf, X. B. Casals, B. Chulvi, D. Dementieva, A. Elnagar, D. Freitag, M. Fröbe, D.
Korenčić, M. Mayerl, A. Mukherjee, A. Panchenko, M. Potthast, F. Rangel, P. Rosso, A. Smirnova,
E. Stamatatos, B. Stein, M. Taulé, D. Ustalov, M. Wiegmann, E. Zangerle, Overview of PAN 2024:
Multi-Author Writing Style Analysis, Multilingual Text Detoxification, Oppositional Thinking
Analysis, and Generative AI Authorship Verification, in: Experimental IR Meets Multilinguality,
Multimodality, and Interaction. Proceedings of the Fourteenth International Conference of the
CLEF Association (CLEF 2024), Lecture Notes in Computer Science, Springer, Berlin Heidelberg
New York, 2024.
[25] A. Arditi, O. Obeso, A. Syed, D. Paleka, N. Rimsky, W. Gurnee, N. Nanda, Refusal in
language models is mediated by a single direction, 2024. URL: https://arxiv.org/abs/2406.11717.
arXiv:2406.11717.
[26] M. R. Costa-jussà, J. Cross, O. Çelebi, M. Elbayad, K. Heafield, K. Hefernan, E. Kalbassi, J. Lam,
D. Licht, J. Maillard, A. Y. Sun, S. Wang, G. Wenzek, A. Youngblood, B. Akula, L. Barrault, G. M.
Gonzalez, P. Hansanti, J. Hofman, S. Jarrett, K. R. Sadagopan, D. Rowe, S. Spruit, C. Tran, P. Andrews,
N. F. Ayan, S. Bhosale, S. Edunov, A. Fan, C. Gao, V. Goswami, F. Guzmán, P. Koehn, A. Mourachko,
C. Ropers, S. Saleem, H. Schwenk, J. Wang, No language left behind: Scaling human-centered
machine translation, CoRR abs/2207.04672 (2022). URL: https://doi.org/10.48550/arXiv.2207.04672.
doi:10.48550/ARXIV.2207.04672. arXiv:2207.04672.
[27] M. Lewis, Y. Liu, N. Goyal, M. Ghazvininejad, A. Mohamed, O. Levy, V. Stoyanov, L. Zettlemoyer,
BART: Denoising sequence-to-sequence pre-training for natural language generation, translation,
and comprehension, in: D. Jurafsky, J. Chai, N. Schluter, J. Tetreault (Eds.), Proceedings of the 58th
Annual Meeting of the Association for Computational Linguistics, Association for Computational
Linguistics, Online, 2020, pp. 7871–7880. URL: https://aclanthology.org/2020.acl-main.703. doi:10.
18653/v1/2020.acl-main.703.
[28] L. Xue, N. Constant, A. Roberts, M. Kale, R. Al-Rfou, A. Siddhant, A. Barua, C. Rafel, mt5: A
massively multilingual pre-trained text-to-text transformer, in: K. Toutanova, A. Rumshisky,
L. Zettlemoyer, D. Hakkani-Tür, I. Beltagy, S. Bethard, R. Cotterell, T. Chakraborty, Y. Zhou
(Eds.), Proceedings of the 2021 Conference of the North American Chapter of the Association for
Computational Linguistics: Human Language Technologies, NAACL-HLT 2021, Online, June 6-11,
2021, Association for Computational Linguistics, 2021, pp. 483–498. URL: https://doi.org/10.18653/
v1/2021.naacl-main.41. doi:10.18653/V1/2021.NAACL-MAIN.41.
[29] M. T. I. Khondaker, M. Abdul-Mageed, L. V. S. Lakshmanan, Greenllama: A framework for
detoxification with explanations, CoRR abs/2402.15951 (2024). URL: https://doi.org/10.48550/arXiv.
2402.15951. doi:10.48550/ARXIV.2402.15951. arXiv:2402.15951.
[30] N. Muennighof, T. Wang, L. Sutawika, A. Roberts, S. Biderman, T. L. Scao, M. S. Bari, S. Shen,</p>
      <sec id="sec-5-1">
        <title>Crosslingual generalization through multitask finetuning, in:</title>
        <p>A. Rogers, J. L. Boyd-Graber, N. Okazaki (Eds.), Proceedings of the 61st Annual Meeting of
the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2023, Toronto,</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>A. Appendix</title>
      <p>method.</p>
      <p>Examples from the original dev dataset, with additional examples generated by baseline (mt5 baseline) and our
i \’m so fucking sick of reddit assuming people with a dissenting opinion are being paid by someone else .
i \’m so sick of reddit assuming people with a dissenting opinion are being paid by someone else
I’m so sick of reddit assuming people with a dissenting opinion are being paid by someone
I’m so tired of Reddit assuming people with dissenting opinions are being paid by someone else.
p. s. i do own all of those pictures bitch .
i own all those pictures.</p>
      <p>I do own all of those pictures.</p>
      <p>P.S. I do own all of those pictures.</p>
      <p>You are an idiot and you can\’t block anyone.</p>
      <p>You can\’t block anyone.</p>
      <p>You can’t block anyone.</p>
      <p>You are misinformed, and you can’t block anyone.
throwing his ass in jail is the best thing possible , since it protects others from his willful drunk driving .</p>
      <p>Being sent to jail is the best thing possible, since it protects others from willful drunk driving.
throwing him in jail is the best thing possible, since it protects others from his
Throwing him in jail is the best possible outcome, as it protects others from his reckless behavior.
the object is to waste peoples time deconstructing your foolish efusions .
the object is to waste peoples time deconstructing your efusions .</p>
      <p>The object is to waste peoples time deconstructing your ideas.</p>
      <p>The object is to waste people’s time deconstructing your statements.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>C.</surname>
          </string-name>
          <article-title>Nogueira dos Santos, I. Melnyk, I. Padhi, Fighting ofensive language on social media with unsupervised text style transfer</article-title>
          , in: I. Gurevych, Y. Miyao (Eds.),
          <source>Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume</source>
          <volume>2</volume>
          :
          <string-name>
            <surname>Short</surname>
            <given-names>Papers)</given-names>
          </string-name>
          ,
          <source>Association for Computational Linguistics</source>
          , Melbourne, Australia,
          <year>2018</year>
          , pp.
          <fpage>189</fpage>
          -
          <lpage>194</lpage>
          . URL: https://aclanthology. org/P18-2031. doi:
          <volume>10</volume>
          .18653/v1/
          <fpage>P18</fpage>
          -2031.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>D.</given-names>
            <surname>Dale</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            <surname>Markov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Logacheva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Kozlova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Semenov</surname>
          </string-name>
          ,
          <string-name>
            <surname>A. Panchenko,</surname>
          </string-name>
          <article-title>SkoltechNLP at SemEval2021 task 5: Leveraging sentence-level pre-training for toxic span detection</article-title>
          , in: A.
          <string-name>
            <surname>Palmer</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Schneider</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Schluter</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          <string-name>
            <surname>Emerson</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Herbelot</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          Zhu (Eds.),
          <source>Proceedings of the 15th International Workshop on Semantic Evaluation (SemEval-2021)</source>
          ,
          <article-title>Association for Computational Linguistics</article-title>
          , Online,
          <year>2021</year>
          , pp.
          <fpage>927</fpage>
          -
          <lpage>934</lpage>
          . URL: https://aclanthology.org/
          <year>2021</year>
          .semeval-
          <volume>1</volume>
          .126. doi:
          <volume>10</volume>
          .18653/v1/
          <year>2021</year>
          .semeval-
          <volume>1</volume>
          .
          <fpage>126</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>D.</given-names>
            <surname>Moskovskiy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Dementieva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Panchenko</surname>
          </string-name>
          ,
          <article-title>Exploring cross-lingual text detoxification with large multilingual language models</article-title>
          ., in: S. Louvan,
          <string-name>
            <given-names>A.</given-names>
            <surname>Madotto</surname>
          </string-name>
          ,
          <string-name>
            <surname>B.</surname>
          </string-name>
          Madureira (Eds.),
          <source>Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: Student Research Workshop</source>
          , Association for Computational Linguistics, Dublin, Ireland,
          <year>2022</year>
          , pp.
          <fpage>346</fpage>
          -
          <lpage>354</lpage>
          . URL: https://aclanthology.org/
          <year>2022</year>
          .acl-srw.
          <volume>26</volume>
          . doi:
          <volume>10</volume>
          .18653/v1/
          <year>2022</year>
          .acl-srw.
          <volume>26</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>D.</given-names>
            <surname>Dementieva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Moskovskiy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Dale</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Panchenko</surname>
          </string-name>
          ,
          <article-title>Exploring methods for cross-lingual text style transfer: The case of text detoxification</article-title>
          , in: J. C. Park,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Arase</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Hu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Lu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Wijaya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Purwarianti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Krisnadhi</surname>
          </string-name>
          (Eds.),
          <source>Proceedings of the 13th International Joint Conference on Natural Language Processing and the 3rd</source>
          <article-title>Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), Association for Computational Linguistics</article-title>
          , Nusa Dua, Bali,
          <year>2023</year>
          , pp.
          <fpage>1083</fpage>
          -
          <lpage>1101</lpage>
          . URL: https://aclanthology.org/
          <year>2023</year>
          .ijcnlp-main.
          <volume>70</volume>
          . doi:
          <volume>10</volume>
          . 18653/v1/
          <year>2023</year>
          .ijcnlp-main.
          <volume>70</volume>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>