<!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>
      <issn pub-type="ppub">0933-3657</issn>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.1016/j.artmed.2021.102083</article-id>
      <title-group>
        <article-title>Are Clinical BERT Models Privacy Preserving? The Difficulty of Extracting Patient-Condition Associations</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Thomas Vakili</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hercules Dalianis</string-name>
          <email>herculesg@dsv.su.se</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer and Systems Sciences, Stockholm University P.</institution>
          <addr-line>O. Box 7003, SE-164 07 Kista</addr-line>
          ,
          <country country="SE">Sweden</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <abstract>
        <p>Language models may be trained on data that contain personal information, such as clinical data. Such sensitive data must not leak for privacy reasons. This article explores whether BERT models trained on clinical data are susceptible to training data extraction attacks. Multiple large sets of sentences generated from the model with top-k sampling and nucleus sampling are studied. The sentences are examined to determine the degree to which they contain information associating patients with their conditions. The sentence sets are then compared to determine if there is a correlation between the degree of privacy leaked and the linguistic quality attained by each generation technique. We find that the relationship between linguistic quality and privacy leakage is weak and that the risk of a successful training data extraction attack on a BERT-based model is small.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>Modern language models have a vast number of parameters,
which is the source of their impressive capabilities.
However, their size also implies many problems. Among these is
the problem of accidentally memorizing sensitive
information from their training data (Bender et al. 2021). Avoiding
memorization is especially important when training on
sensitive data such as electronic patient records, as these contain
sensitive information about the identity of patients.
Accidental memorization of such information puts patients’
identities and other sensitive information at risk of being leaked.</p>
      <p>
        This is not a purely theoretical risk. In fact, Carlini et al.
(
        <xref ref-type="bibr" rid="ref1 ref20 ref5">2020</xref>
        ) successfully mounted a training data extraction
attack on GPT-2. This attack produced many instances of
clearly memorized passages from the training data,
containing telephone numbers, addresses, and names of actual
living persons.
      </p>
      <p>
        Based on a methodology from Lehman et al. (
        <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
        ), we
mount a training data extraction attack on the clinical BERT1
model that they release. Their results suggest that generating
sensitive data from a BERT model is difficult, especially in
comparison to more generative models such as GPT-2
(Carlini et al. 2020). However, their samples were generated
using a simple sampling technique, resulting in sentences of
low linguistic quality.
      </p>
      <p>Our goal is to strengthen these results by using more
advanced sampling techniques which produce higher-quality
generations. In this way, we show that the lack of sensitive
information in the generated data is not simply a result of
the linguistic qualities of the samples. We argue that BERT’s
poor performance in text generation is, from a privacy
perspective, a feature and not a bug.</p>
      <p>2</p>
    </sec>
    <sec id="sec-2">
      <title>Language Models</title>
      <p>
        The language model used in this study is a BERT model
trained by Lehman et al. (
        <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
        ) using pseudonymized
MIMIC-III data. It is based on the BERT architecture
(Devlin et al. 2019) and is a masked language model, which is
trained to correctly predict a masked token using the right
and left contexts surrounding it. BERT models are among
the latest and best-performing language models, and several
such models are being used in the health domain (Lee et al.
2019; Huang, Altosaar, and Ranganath 2020).
      </p>
      <p>Given a masked token xmask in a sentence X, the
objective is to learn the probability distribution over a vocabulary
V such that:
xmask = argmax P (wjX n xmask)</p>
      <p>w2V
This sets masked language models apart from autoregressive
language models. These models are instead trained to predict
the next token xi+1 based solely on the previous tokens in
the sequence:
xi+1 = argmax P (wjx1; x2; :::; xi)</p>
      <p>w2V
3</p>
    </sec>
    <sec id="sec-3">
      <title>Related Research</title>
      <p>Modern language models are very large. For example, the
small version of BERT consists of 110 million parameters
(Devlin et al. 2019). This makes BERT and other large
model architectures vulnerable to various types of privacy
attacks. This section provides an overview of the most
common attacks before focusing on the main topic of this article:
training data extraction.
(1)
(2)
Shokri et al. (2017) and Nasr, Shokri, and Houmansadr
(2019) describe how membership inference attacks can be
used to reveal whether or not a data point was part of a
model’s training data. They show how this can be carried
out both in a white-box setting (where the model’s
parameters are available) and in a black-box setting (where the
model can only be queried). They show that this attack can
successfully be used against a range of different models and
datasets. However, none of these seem to focus on
unstructured natural language data.</p>
      <p>The white-box attack described in Nasr, Shokri, and
Houmansadr (2019) shows that a model can be trained to
infer membership using the outputs of the last layer or the
gradients provided by the loss function. There are a variety
of attacks, some requiring access to a subset of the training
data, but others do not require any access to actual training
data.</p>
      <p>
        Lehman et al. (
        <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
        ) attack a clinical BERT model trained
on pseudonymized MIMIC-III data by adding multi-layer
perceptron and logistic regression classifiers to probe the
BERT model. They tried training the classifiers to discern
whether the model had been trained on datapoints containing
sensitive data such as name, medical conditions, and
combinations thereof. They were unable to recover links between
patients and their conditions using this method. On the other
hand, experiments focused on names indicate a certain
degree of memorization of patient names.
3.2
      </p>
      <sec id="sec-3-1">
        <title>Unmasking Pseudonymized Training Data</title>
        <p>If a language model M has been trained on a dataset D,
then there is a risk that the model has memorized certain
sensitive details. If this dataset is pseudonymized to create
a non-sensitive dataset D0, then an adversary with access to
M and D0 may be able to reconstruct some of the original
data from D.</p>
        <p>
          Such an attack was attempted by Nakamura et al. (
          <xref ref-type="bibr" rid="ref1 ref20 ref5">2020</xref>
          ).
Sentences were selected from a clinical dataset which
contained a patient’s first and last names. A BERT model trained
on the non-pseudonymized dataset was then used to
calculate the probability of predicting the correct first and last
names in the sentences. The resulting probabilities were
small, and the authors conclude that BERT is not susceptible
to this kind of attack.
        </p>
        <p>However, the probability distributions emitted by deep
neural networks are known to be inaccurate (Holtzman et al.
2020; Guo et al. 2017). Thus, estimating the risk of
reidentifying a person using these probabilities is likely to be
inaccurate.
3.3</p>
      </sec>
      <sec id="sec-3-2">
        <title>Training Data Extraction</title>
        <p>
          Attacks need not be limited to simply inferring whether or
not a datapoint was part of a model’s training data. Carlini
et al. (
          <xref ref-type="bibr" rid="ref1 ref20 ref5">2020</xref>
          ) demonstrate that it is possible to extract
training data from the language model GPT-22 (Radford et al.
2019). They do this by implementing an attack that extracts
2GPT-2 is an abbreviation of Generative Pre-trained
Transformer 2.
sentences identical to sentences in the training corpus. A
number of these memorized sentences contain specific
details that are very unlikely to be generated by chance.
        </p>
        <p>This shows that GPT-2 and other language models can
be prone to accidentally memorizing datapoints from their
training data, which may lead to privacy leaks. Furthermore,
the aforementioned attack can be performed in a black-box
setting and does not require direct access to the weights of
the model.</p>
        <p>However, GPT-2 is an autoregressive language model.
These models have an obvious way of generating data:
from left to right. Masked language models like BERT, on
the other hand, have no such obvious generation strategies.
Thus, autoregressive models like GPT-2 have traditionally
been preferred over masked language models like BERT
when generating text. Due to this difference, it is not obvious
if autoregressive models like GPT-2 are disproportionately
affected by this vulnerability and to what extent masked
language models share this problem.</p>
        <p>
          Lehman et al. (
          <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
          ) perform a related attack using the
BERT model mentioned previously. They generate a large
number of sentences and examine the degree to which they
contain information linking patients with their conditions.
Their results indicate that the degree of privacy leakage is
low.
        </p>
        <p>However, the sentences are of poor linguistic quality due
to the simple sampling technique used. In the following
sections, we will describe more sophisticated ways of sampling
from BERT and evaluate how these techniques impact the
level of privacy leakage and the quality of the sentences.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Generating Text using Masked Language</title>
    </sec>
    <sec id="sec-5">
      <title>Models</title>
      <p>Although autoregressive language models have been
favoured for text generation, recent studies have provided
strategies for generating coherent text from masked
language models as well. Wang and Cho (2019) implement and
evaluate a generation strategy based on Gibbs sampling
(Geman and Geman 1984), which results in reasonably coherent
outputs. Another strategy described by Ghazvininejad et al.
(2019) first predicts all masked tokens at once. It then
iteratively refines the output by re-masking the least likely
predicted tokens. This approach is successfully applied to
machine translation.</p>
      <p>
        Besides deciding which tokens to unmask, one must also
provide a method for sampling from the predicted unmasked
tokens. Wang and Cho (2019) randomly sample from all
possible tokens weighted by their predicted probabilities.
Holtzman et al. (
        <xref ref-type="bibr" rid="ref1 ref20 ref5">2020</xref>
        ) show that this can result in
incoherent text and instead provide a method they call nucleus
sampling. This sampling method only considers the subset of
tokens that constitute the bulk of the probability mass: the
nucleus. Recalling equation (1) and given a target
probability mass p, we sample from the smallest subset V 0 of tokens
w 2 V such that:
      </p>
      <p>X
Nucleus sampling is shown to produce text that, according
to a variety of metrics, has similar properties to
humanproduced text. They show that this strategy produces higher
quality results than other popular techniques, such as the
top-k sampling method.</p>
      <p>This method only considers the k most likely predictions
when sampling, discarding the other less likely predictions.
Nucleus sampling is similar in that it only considers the most
likely predictions. However, nucleus sampling does not have
a fixed k. The cut-off used to control the diversity of the
samples is instead determined dynamically using the parameter
p.</p>
      <p>
        Lehman et al. (
        <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
        ) perform a training data extraction
attempt by sampling from the same clinical BERT model used
in this study. They generate text by sampling from the
top40 candidate tokens when they unmask each token.
However, results from Holtzman et al. (
        <xref ref-type="bibr" rid="ref1 ref20 ref5">2020</xref>
        ) show that this is
likely to be a too strict value for k and that other sampling
configurations may lead to better results.
      </p>
      <p>5</p>
    </sec>
    <sec id="sec-6">
      <title>Experiments and Results</title>
      <p>
        This article uses a version of MIMIC-III (Johnson et al.
2016) and a clinical BERT model trained on this corpus3.
MIMIC-III is a corpus of wide range of patient-related
information that has been anonymized. In this article, a subset of
MIMIC-III containing clinical notes and diagnoses is used.
The anonymous placeholders have been replaced with
realistic pseudonyms, and the dataset consists of 1,247,291
clinical notes related to 27,906 patients. This pseudonymized
dataset and the model trained on it were made available by
Lehman et al. (
        <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
        ).
5.1
      </p>
      <sec id="sec-6-1">
        <title>Generating Memorized Information</title>
        <p>
          Techniques modeled on those described by Carlini et al.
(
          <xref ref-type="bibr" rid="ref1 ref20 ref5">2020</xref>
          ) were employed to determine whether or not the
Clinical BERT model is susceptible to training data extraction
attacks. A key difference, however, is how we sample from
our non-autoregressive language model.
        </p>
        <p>
          As described in Section 4, there is no obvious way of
sampling from a masked language model. Instead, a
variety of strategies are employed to extract text from the
Clinical BERT model. Tokens are selected using top-k sampling
(k = 1000) and nucleus sampling (p = 0:99 and p = 0:95),
as Holtzman et al. (
          <xref ref-type="bibr" rid="ref1 ref20 ref5">2020</xref>
          ) have shown these configurations
to be effective when sampling from autoregressive models.
The token to unmask is selected randomly, and each
generated sequence is 100 tokens long.
        </p>
        <p>50,000 samples are generated using each strategy. First,
each sequence is initialized as fully masked or using a
prompt4. In all cases, we then run a burn-in period (Johansen
2010) of 500 iterations to encourage a diverse set of outputs.
Each initialized sequence is then processed for 1,000
iterations using one of the sampling methods.</p>
        <p>
          3In Lehman et al. (
          <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
          ) this model is referred to as Regular
Base.
        </p>
        <p>
          4This prompt was used in 30% of the batches and was either
[CLS] mr or [CLS] ms, which was the same setup used by
Lehman et al. (
          <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
          ).
        </p>
        <p>
          We compare our results with the samples generated by
Lehman et al. (
          <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
          ). Their 500,000 sentences were
generated from the same model using a burn-in period of 250
iterations, followed by 250 iterations using the top-k sampling
method with k = 40.
5.2
        </p>
      </sec>
      <sec id="sec-6-2">
        <title>Sensitive Data in the Generated Samples</title>
        <p>
          Each set of generated samples was processed in the same
manner as done by Lehman et al. (
          <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
          ) to ensure
comparability. An NER tagger (Honnibal et al. 2020) was used
to locate the few thousand sentences that contained names
(first names or last names) associated with a patient in the
pseudonymized MIMIC-III corpus. Then, every such
sentence was further processed to determine if it mentioned a
condition associated with the named patient. The set of
conditions associated with the patients was determined by
processing the clinical notes using MedCAT (Kraljevic et al.
2021) in conjunction with the ICD-9 codes assigned to each
clinical note.
        </p>
        <p>Finding Conditions Some sentences with names
contained conditions irrelevant to the patient. Suppose most of
the patient-condition associations in the generated corpora
are false. In that case, the signal from finding a name and
a condition in the same sentence is unreliable in
determining from what condition a patient suffers. The prevalence of
such false associations was measured by counting them.</p>
        <p>Table 1 shows the results of this processing. There is a
slight increase in the proportion of sentences containing a
name and a matching condition. At the same time, the
column Name + Wrong condition shows that the percentage of
sentences containing a name and a condition not associated
with a patient bearing the name is slightly larger for all
sampling techniques.</p>
        <p>
          It is important to note that the conditions found using
MedCAT vary in their specificity. Figure 2 plots the
percentage of all found conditions constituted by the ten most
common conditions. The top ten most common conditions
explain a majority of the found conditions. This holds for
the texts generated by Lehman et al. (
          <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
          ) and us and for
the pseudonymized MIMIC-III corpus. Many of these are
very vague and general. Finding a possible link between a
name and the condition pain, for example, does not reveal
very much information.
        </p>
        <p>
          Detecting Names Furthermore, Lehman et al. (
          <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
          )
found that their results likely contained many false positives
due to the ambiguous nature of some names. The samples
generated in this study show a similar pattern. For example,
approximately 10% of the sentences deemed to be
associated with a patient and a condition were selected on the basis
of containing the name (or word) Max.
        </p>
        <p>
          The set of names detected in the generated sentences
constitute a small portion of the total collection of names found
in the pseudonymized MIMIC-III corpus. Table 2 shows the
percentages of all such names detected in the sentences
generated by Lehman et al. (
          <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
          ) and us.
        </p>
        <p>The vast majority of all names are not detected at all. This
is only partly due to the vastly larger size of the
MIMICIII corpus. More likely, this is due to the aforementioned
overrepresentation of ambiguous names like Max. Many of
the names found in the sentences are not part of the
MIMICIII corpus, and have likely been learned in the earlier
pretraining of the BERT base model.</p>
        <p>In combination with the observation that many names are
false positives, this suggests that only a small minority of
all names are leaked. However, there are examples of likely
memorizations, and Figure 1 illustrates a such a case.</p>
      </sec>
      <sec id="sec-6-3">
        <title>5.3 Metrics for Assessing Linguistic Quality</title>
        <p>The quality of a given corpus of generated text is not a
welldefined property. Gatt and Krahmer (2018) list several
subjective and objective metrics that can be used to assess the
quality of a generated body of text. This study takes the view
that human-likeness is a good proxy for quality in the
context of natural language generation.</p>
        <p>The human-likeness of the generated samples was
assessed by computing a series of metrics and comparing
them to a gold standard corpus of human-produced text. The
corpus used as the gold standard was the pseudonymized
MIMIC-III corpus which the clinical BERT model was
trained to model. Using a more general corpus would make
less sense in this context. This is because the clinical BERT
model is specifically trained to learn the characteristics of
clinical notes, which differ significantly from more general
forms of writing.</p>
        <p>
          Similarly to Holtzman et al. (
          <xref ref-type="bibr" rid="ref1 ref20 ref5">2020</xref>
          ), we calculated the
Self-BLEU (Zhu et al. 2018) and the shape of the Zipf
distribution (Piantadosi 2014) - two diversity metrics - as well as
the repetitiveness of the texts - which captures the fluency5.
The quality of the generated samples is determined by
comparing the metrics calculated from the generated samples
with those of the gold standard.
        </p>
        <p>Self-BLEU is a metric of diversity that measures how
similar each sentence in a corpus is to the rest of the corpus. Zhu
et al. (2018), who first proposed the metric, calculate it by
averaging together the BLEU of every sentence compared to
the rest of the corpus.</p>
        <p>
          Due to the size of our generated corpora, we calculate the
Self-BLEU slightly differently. As was done by Holtzman
et al. (
          <xref ref-type="bibr" rid="ref1 ref20 ref5">2020</xref>
          ), the Self-BLEU is calculated using a random
subset jS0j = 1; 000 of the larger corpus S:
        </p>
        <p>Self-BLEU =</p>
        <p>The Zipf distribution is a statistical distribution based on
Zipf’s law, which states that there is a relationship between
a word’s rank r in a frequency list of a corpus and its
frequency f (r):
1
f (r) / rszipf</p>
        <p>This relationship can be used to estimate szipf , which can
then be used to compare the rank-frequency distributions of
different corpora.</p>
        <p>5The perplexity is left out as there is no consensus on how to
calculate it for masked language models and the alternatives are
very expensive to calculate (Salazar et al. 2019).
(4)
(5)
Every collection of generated samples was analyzed to
determine the quality of the generations. Table 3 and Figure 3
show that the methods used in this study result in generated
samples that are closer to the MIMIC-III corpus.</p>
        <p>
          The small number of repetitions that are absent in the
datasets used for comparison is the exception. The
MIMICIII data is human-produced, so it is not surprising that it
does not contain any repetitions. The other discrepancies
are likely due to the larger number of iterations used in this
study as compared to the 500 iterations used in Lehman et al.
(
          <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
          ), which leaves some masked tokens in the generated
samples.
        </p>
        <p>6</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>Discussion</title>
      <p>This study has given us insights into the complicated area of
protecting privacy in training data represented in language
models. One suggestion in the research community is to use
homomorphic encryption (Parmar et al. 2014; Al Badawi
et al. 2020) for the data and models. However, it seems that
using homomorphically encrypted models is currently too
complicated for users.</p>
      <p>
        A more straightforward way to protect the privacy of
persons in the training data is to pseudonymize it before
training. Both Berg, Chomutare, and Dalianis (2019) and
Berg, Henriksson, and Dalianis (
        <xref ref-type="bibr" rid="ref1 ref20 ref5">2020</xref>
        ) build NER taggers
on clinical data that has been pseudonymized. They find that,
while this decreases the performance of the NER taggers, it
does so to an acceptable degree. These taggers can be used
to build automatic de-identification systems that can make
training datasets less sensitive, as shown by Dalianis and
Berg (
        <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
        ). However, no such system can achieve perfect
recall. Thus, this approach is analogous to a weak form of
differential privacy where noise in the form of pseudonyms
is added to the training data.
      </p>
      <p>
        MIMIC-III
Lehman et al. (
        <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
        )
p = 0:99
p = 0:95
k = 1000
      </p>
      <p>
        The clinical BERT model used in this article is trained on
clinical data, but uses a BERT model pre-trained on
nonsensitive data as its basis. This is good from a privacy
perspective, as it means that names that are emitted when
sampling from the model are of uncertain origin. Detecting a
name in the output is thus a weaker signal, as the name might
simply be memorized from the first phase of training on
non-sensitive data. However, Gu et al. (
        <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
        ) show that
pretraining with only medical data can yield stronger results,
suggesting that this approach may become more prevalent
in the future.
      </p>
      <p>Further research into extracting training data for BERT
models trained solely on sensitive data would shed light on
the potential risks of this approach. The model in this article
is also uncased, meaning that it is only trained on lowercase
tokens. This means that it has a harder time distinguishing
entities that are normally capitalized, like names, from other
words. Investigating the impact of not lowercasing the data
would be interesting since this is a design choice that may
not be suitable for languages where the casing is important.</p>
      <p>
        More robust metrics for measuring privacy leakage from
training data extraction attacks would also be of use. The
metrics used in this article and by Lehman et al. (
        <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
        )
strongly suggest that detecting a link between a patient’s
name and a condition is very difficult. A very small
number of samples contain any such possible associations, and
many of these are likely to be false positives. This is both
due to the ambiguity of many of the detected names and
being slightly more likely to find a condition not associated
with the named patient.
      </p>
      <p>It is also unclear what risks are acceptable from a legal
perspective. Regulations such as the GDPR have strict
requirements to avoid risk for identification. At the same time,
the GDPR also contains language stating that ”the costs of
and the amount of time required for identification”
(European Commission 2018) should be taken into
consideration when making risk assessments. Clarifications from
legal scholars are necessary for these and other results in the
privacy domain to be contextualized and applicable to real
applications.</p>
      <p>7</p>
    </sec>
    <sec id="sec-8">
      <title>Conclusions</title>
      <p>The sampling methods used in this article show a significant
improvement regarding the linguistic quality of the samples,
as shown in Table 3. At the same time, Table 1 shows that the
prevalence of patients and their conditions within the
generated samples is stable. This suggests that privacy leakage is
not strongly correlated with the quality of the sampling
techniques.</p>
      <p>Nucleus sampling, first described as a technique for
sampling from the autoregressive model GPT-2 (Holtzman et al.
2020), is also shown to be an effective technique for
sampling from the masked language model BERT. Further
research into how to sample quality text from masked
language models is an interesting topic, but our research
indicates that advances in that direction do not have significant
privacy implications.</p>
      <p>
        It cannot be ruled out that other sampling techniques,
regardless of their linguistic quality, may be able to extract
training data more effectively. Carlini et al. (
        <xref ref-type="bibr" rid="ref1 ref20 ref5">2020</xref>
        ) showed
that the risk of an adversary successfully extracting training
data from GPT-2 is significant. Our results, together with
those of Lehman et al. (
        <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
        ), strongly suggest that the risk
of successfully sampling sensitive data from a BERT-based
model is much smaller when compared to GPT-2.
      </p>
    </sec>
    <sec id="sec-9">
      <title>Acknowledgments</title>
      <p>
        A special thanks to Sarthak Jain and Eric Lehman for their
patient assistance with reproducing their experiments from
Lehman et al. (
        <xref ref-type="bibr" rid="ref2 ref32">2021</xref>
        ) and for making their data available to
us. We are also grateful to the DataLEASH project for
funding this research work.
.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>M. M.</surname>
          </string-name>
          <year>2020</year>
          .
          <article-title>Privft: Private and fast text classification with homomorphic encryption</article-title>
          .
          <source>IEEE Access</source>
          <volume>8</volume>
          :
          <fpage>226544</fpage>
          -
          <lpage>226556</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2021.
          <article-title>On the Dangers of Stochastic Parrots: Can Language Models Be Too Big</article-title>
          ?
          <source>In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency</source>
          ,
          <volume>610</volume>
          -
          <fpage>623</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Berg</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ; Chomutare,
          <string-name>
            <surname>T.</surname>
          </string-name>
          ; and Dalianis,
          <string-name>
            <surname>H.</surname>
          </string-name>
          <year>2019</year>
          .
          <article-title>Building a De-identification System for Real Swedish Clinical Text Using Pseudonymised Clinical Text</article-title>
          .
          <source>In Proceedings of the Tenth International Workshop on Health Text Mining and Information Analysis (LOUHI</source>
          <year>2019</year>
          ),
          <fpage>118</fpage>
          -
          <lpage>125</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Berg</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Henriksson</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ; and Dalianis,
          <string-name>
            <surname>H.</surname>
          </string-name>
          <year>2020</year>
          .
          <article-title>The Impact of Deidentification on Downstream Named Entity Recognition in Clinical Text</article-title>
          .
          <source>In Proceedings of the 11th International Workshop on Health Text Mining and Information Analysis</source>
          ,
          <fpage>1</fpage>
          -
          <lpage>11</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          2020.
          <article-title>Extracting Training Data from Large Language Models</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          arXiv preprint arXiv:
          <year>2012</year>
          .07805 .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Dalianis</surname>
            ,
            <given-names>H.</given-names>
            ; and Berg, H.
          </string-name>
          <year>2021</year>
          .
          <string-name>
            <given-names>HB</given-names>
            <surname>Deid-HB</surname>
          </string-name>
          De
          <article-title>-identification tool demonstrator</article-title>
          .
          <source>In Proceedings of the 23rd Nordic Conference on Computational Linguistics (NoDaLiDa)</source>
          ,
          <fpage>467</fpage>
          -
          <lpage>471</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Devlin</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ; Chang, M.-W.;
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ; and
          <string-name>
            <surname>Toutanova</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <year>2019</year>
          .
          <article-title>BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-</article-title>
          <string-name>
            <surname>HLT)</surname>
          </string-name>
          (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <given-names>European</given-names>
            <surname>Commission</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Recital 26 - Not applicable to anonymous data</article-title>
          . URL https://gdpr.eu/recital-26
          <string-name>
            <surname>-</surname>
          </string-name>
          not
          <article-title>-applicableto-anonymous-data/.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <surname>Gatt</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ; and
          <string-name>
            <surname>Krahmer</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          <year>2018</year>
          .
          <article-title>Survey of the State of the Art in Natural Language Generation: Core tasks, applications and evaluation</article-title>
          .
          <source>Journal of Artificial Intelligence Research</source>
          <volume>61</volume>
          :
          <fpage>65</fpage>
          -
          <lpage>170</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <surname>ISSN</surname>
          </string-name>
          1076-
          <fpage>9757</fpage>
          . doi:
          <volume>10</volume>
          .1613/jair.5477. URL https://www.jair.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <article-title>org/index</article-title>
          .php/jair/article/view/11173.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <string-name>
            <surname>Geman</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ; and
          <string-name>
            <surname>Geman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <year>1984</year>
          .
          <article-title>Stochastic relaxation, Gibbs distributions, and the Bayesian restoration of images</article-title>
          .
          <source>IEEE Transactions on pattern analysis and machine intelligence</source>
          (
          <volume>6</volume>
          ):
          <fpage>721</fpage>
          -
          <lpage>741</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <string-name>
            <surname>Ghazvininejad</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Levy</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ; and
          <string-name>
            <surname>Zettlemoyer</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <article-title>Mask-predict: Parallel decoding of conditional masked language models</article-title>
          . arXiv preprint arXiv:
          <year>1904</year>
          .09324 .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          <string-name>
            <surname>Gu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Tinn</surname>
            , R.; Cheng, H.; Lucas,
            <given-names>M.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Usuyama</surname>
          </string-name>
          , N.;
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Naumann</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Gao</surname>
            , J.; and Poon,
            <given-names>H.</given-names>
          </string-name>
          <year>2021</year>
          .
          <article-title>Domain-Specific Language Model Pretraining for Biomedical Natural Language Processing</article-title>
          . arXiv:
          <year>2007</year>
          .15779 [cs] URL http://arxiv.org/abs/
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          15779. ArXiv:
          <year>2007</year>
          .15779.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          <string-name>
            <surname>Guo</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Pleiss</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ; Sun,
          <string-name>
            <given-names>Y.</given-names>
            ; and
            <surname>Weinberger</surname>
          </string-name>
          ,
          <string-name>
            <surname>K. Q.</surname>
          </string-name>
          <year>2017</year>
          .
          <article-title>On Calibration of Modern Neural Networks</article-title>
          .
          <source>arXiv:1706</source>
          .04599 [cs] URL http://arxiv.org/abs/1706.04599. ArXiv:
          <volume>1706</volume>
          .
          <fpage>04599</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          <string-name>
            <surname>Holtzman</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Buys</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Du</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Forbes</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ; and Choi,
          <string-name>
            <surname>Y.</surname>
          </string-name>
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          <year>2020</year>
          . spaCy: Industrial-strength
          <source>Natural Language Processing in Python. doi:10</source>
          .5281/zenodo.1212303. URL https://doi.org/10.
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>5281/zenodo.1212303.</mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          <string-name>
            <surname>Huang</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Altosaar</surname>
            , J.; and Ranganath,
            <given-names>R.</given-names>
          </string-name>
          <year>2020</year>
          .
          <article-title>ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmission</article-title>
          . arXiv:
          <year>1904</year>
          .05342 [cs] URL http://arxiv.org/abs/
          <year>1904</year>
          .05342.
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          <string-name>
            <surname>ArXiv</surname>
          </string-name>
          :
          <year>1904</year>
          .05342.
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          <string-name>
            <surname>Johansen</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <year>2010</year>
          .
          <article-title>Markov Chain Monte Carlo</article-title>
          . In Peterson, P.;
          <string-name>
            <surname>Baker</surname>
          </string-name>
          , E.; and
          <string-name>
            <surname>McGaw</surname>
          </string-name>
          , B., eds.,
          <source>International Encyclopedia of Education (Third Edition)</source>
          ,
          <fpage>245</fpage>
          -
          <lpage>252</lpage>
          . Oxford: Elsevier,
          <article-title>third edition edition</article-title>
          .
          <source>ISBN 978-0-08-044894-7</source>
          . doi:https://doi.org/10.1016/ B978-0
          <source>-08-044894-7</source>
          .
          <fpage>01347</fpage>
          -
          <lpage>6</lpage>
          . URL https://www.sciencedirect.
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>com/science/article/pii/B9780080448947013476.</mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          <string-name>
            <surname>Johnson</surname>
            ,
            <given-names>A. E. W.</given-names>
          </string-name>
          ; Pollard,
          <string-name>
            <given-names>T. J.</given-names>
            ;
            <surname>Shen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            ;
            <surname>Lehman</surname>
          </string-name>
          , L.-w. H.; Feng,
          <string-name>
            <given-names>M.</given-names>
            ;
            <surname>Ghassemi</surname>
          </string-name>
          , M.; Moody, B.;
          <string-name>
            <surname>Szolovits</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ; Anthony Celi, L.; and Mark,
          <string-name>
            <surname>R. G.</surname>
          </string-name>
          <year>2016</year>
          .
          <article-title>MIMIC-III, a freely accessible critical care database</article-title>
          .
          <source>Scientific Data</source>
          <volume>3</volume>
          (
          <issue>1</issue>
          ):
          <fpage>160035</fpage>
          .
          <string-name>
            <surname>ISSN</surname>
          </string-name>
          2052-
          <volume>4463</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          <source>doi:10</source>
          .1038/sdata.
          <year>2016</year>
          .35. URL https://www.nature.com/articles/ sdata201635. Number: 1 Publisher: Nature Publishing Group.
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          <string-name>
            <surname>Kraljevic</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ; Searle,
          <string-name>
            <given-names>T.</given-names>
            ;
            <surname>Shek</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ;
            <surname>Roguski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            ;
            <surname>Noor</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            ;
            <surname>Bean</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ;
            <surname>Mascio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ;
            <surname>Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            ;
            <surname>Folarin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. A.</given-names>
            ;
            <surname>Roberts</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ;
            <surname>Bendayan</surname>
          </string-name>
          ,
          <string-name>
            <surname>R.</surname>
          </string-name>
          ; Richardson,
          <string-name>
            <given-names>M. P.</given-names>
            ;
            <surname>Stewart</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ;
            <surname>Shah</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. D.</given-names>
            ;
            <surname>Wong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W. K.</given-names>
            ;
            <surname>Ibrahim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            ;
            <surname>Teo</surname>
          </string-name>
          ,
          <string-name>
            <surname>J. T.</surname>
          </string-name>
          ; and Dobson,
          <string-name>
            <surname>R. J. B.</surname>
          </string-name>
          <year>2021</year>
          .
          <article-title>Multi-domain clinical natural language processing with MedCAT: The Medical Concept Annotation Toolkit</article-title>
          .
          <source>Artificial Intelligence in Medicine</source>
          <volume>117</volume>
          :
          <fpage>102083</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Yoon</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ; Kim,
          <string-name>
            <given-names>S.</given-names>
            ;
            <surname>Kim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ;
            <surname>Kim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ;
            <surname>So</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. H.</given-names>
            ; and
            <surname>Kang</surname>
          </string-name>
          ,
          <string-name>
            <surname>J.</surname>
          </string-name>
          <year>2019</year>
          .
          <article-title>BioBERT: a pre-trained biomedical language representation model for biomedical text mining</article-title>
          .
          <source>Bioinformatics btz682.</source>
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          <source>ISSN 1367-4803</source>
          ,
          <fpage>1460</fpage>
          -
          <lpage>2059</lpage>
          . doi:
          <volume>10</volume>
          .1093/bioinformatics/btz682.
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          URL http://arxiv.org/abs/
          <year>1901</year>
          .08746. ArXiv:
          <year>1901</year>
          .08746.
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          2021.
          <article-title>Does BERT Pretrained on Clinical Notes Reveal Sensitive Data? In Annual Conference of the North American Chapter of the Association for Computational Linguistics</article-title>
          , NAACL.
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          <string-name>
            <surname>Nakamura</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Hanaoka</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ; Nomura,
          <string-name>
            <given-names>Y.</given-names>
            ;
            <surname>Hayashi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            ;
            <surname>Abe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            ;
            <surname>Yada</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ;
            <surname>Wakamiya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ; and
            <surname>Aramaki</surname>
          </string-name>
          ,
          <string-name>
            <surname>E.</surname>
          </string-name>
          <year>2020</year>
          .
          <article-title>KART: Privacy Leakage Framework of Language Models Pre-trained with Clinical Records</article-title>
          . arXiv:
          <volume>2101</volume>
          .00036 [cs] URL http://arxiv.org/abs/2101.
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          00036. ArXiv:
          <volume>2101</volume>
          .
          <fpage>00036</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          <string-name>
            <surname>Nasr</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Shokri</surname>
          </string-name>
          , R.; and
          <string-name>
            <surname>Houmansadr</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <year>2019</year>
          .
          <article-title>Comprehensive privacy analysis of deep learning: Passive and active white-box inference attacks against centralized and federated learning</article-title>
          .
          <source>In 2019 IEEE symposium on security and privacy (SP)</source>
          ,
          <fpage>739</fpage>
          -
          <lpage>753</lpage>
          . IEEE.
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          <string-name>
            <surname>Parmar</surname>
            ,
            <given-names>P. V.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Padhar</surname>
            ,
            <given-names>S. B.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Patel</surname>
            ,
            <given-names>S. N.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Bhatt</surname>
            ,
            <given-names>N. I.;</given-names>
          </string-name>
          and Jhaveri,
          <string-name>
            <surname>R. H.</surname>
          </string-name>
          <year>2014</year>
          .
          <article-title>Survey of various homomorphic encryption algorithms and schemes</article-title>
          .
          <source>International Journal of Computer Applications</source>
          <volume>91</volume>
          (
          <issue>8</issue>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          <string-name>
            <surname>Piantadosi</surname>
            ,
            <given-names>S. T.</given-names>
          </string-name>
          <year>2014</year>
          .
          <article-title>Zipf's word frequency law in natural language: A critical review and future directions</article-title>
          .
          <source>Psychonomic Bulletin &amp; Review</source>
          <volume>21</volume>
          (
          <issue>5</issue>
          ):
          <fpage>1112</fpage>
          -
          <lpage>1130</lpage>
          . ISSN 1531-
          <fpage>5320</fpage>
          . doi:10.
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          <source>3758/s13423-014-0585-6</source>
          . URL https://doi.org/10.3758/s13423- 014-0585-6.
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          <string-name>
            <surname>Radford</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ; Child,
          <string-name>
            <surname>R.</surname>
          </string-name>
          ; Luan,
          <string-name>
            <given-names>D.</given-names>
            ;
            <surname>Amodei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ; and
            <surname>Sutskever</surname>
          </string-name>
          ,
          <string-name>
            <surname>I.</surname>
          </string-name>
          <year>2019</year>
          .
          <article-title>Language models are unsupervised multitask learners</article-title>
          .
          <source>OpenAI blog 1</source>
          (
          <issue>8</issue>
          ):
          <fpage>9</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref40">
        <mixed-citation>
          <string-name>
            <surname>Salazar</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Liang</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ; Nguyen,
          <string-name>
            <given-names>T. Q.</given-names>
            ; and
            <surname>Kirchhoff</surname>
          </string-name>
          ,
          <string-name>
            <surname>K.</surname>
          </string-name>
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref41">
        <mixed-citation>
          <article-title>Masked language model scoring</article-title>
          . arXiv preprint arXiv:
          <year>1910</year>
          .14659 Shokri, R.; Stronati,
          <string-name>
            <given-names>M.</given-names>
            ;
            <surname>Song</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ; and
            <surname>Shmatikov</surname>
          </string-name>
          ,
          <string-name>
            <surname>V.</surname>
          </string-name>
          <year>2017</year>
          .
          <article-title>Membership inference attacks against machine learning models</article-title>
          .
          <source>In 2017 IEEE Symposium on Security and Privacy (SP)</source>
          ,
          <fpage>3</fpage>
          -
          <lpage>18</lpage>
          . IEEE.
        </mixed-citation>
      </ref>
      <ref id="ref42">
        <mixed-citation>
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ; and
          <string-name>
            <surname>Cho</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <year>2019</year>
          .
          <article-title>Bert has a mouth, and it must speak: Bert as a markov random field language model</article-title>
          . arXiv preprint arXiv:
          <year>1902</year>
          .04094 .
        </mixed-citation>
      </ref>
      <ref id="ref43">
        <mixed-citation>
          <string-name>
            <surname>Zhu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Lu</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Zheng</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Guo</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ; Zhang, W.;
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>J.;</given-names>
          </string-name>
          and
          <string-name>
            <surname>Yu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <year>2018</year>
          .
          <article-title>Texygen: A Benchmarking Platform for Text Generation Models</article-title>
          .
          <source>In The 41st International ACM SIGIR Conference on Research &amp; Development in Information Retrieval</source>
          , SIGIR '
          <volume>18</volume>
          ,
          <fpage>1097</fpage>
          -
          <lpage>1100</lpage>
          . New York, NY, USA: Association for Computing Machinery.
        </mixed-citation>
      </ref>
      <ref id="ref44">
        <mixed-citation>
          <source>ISBN 978-1-4503-5657-2</source>
          . doi:
          <volume>10</volume>
          .1145/3209978.3210080. URL https://doi.org/10.1145/3209978.3210080.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>