---
title: "Large-Scale Differentially Private BERT — Anil 2022"
description: "Large-Scale Differentially Private BERT shows how very large batches improve private pretraining and measures the remaining gap in accuracy."
canonical: "https://research.elamur.ai/free/en/papers/anil-2022-large-scale-differentially-private-bert/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/anil-2022-large-scale-differentially-private-bert/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2022](https://md.research.elamur.ai/free/en/papers/2022/) / Large-Scale Differentially Private BERT

# Large-Scale Differentially Private BERT

Paper · 2022 · Rohan Anil, Badih Ghazi, Vineet Gupta et al.

**Authors:** [Rohan Anil](https://md.research.elamur.ai/free/en/authors/rohan-anil/), [Badih Ghazi](https://md.research.elamur.ai/free/en/authors/badih-ghazi/), Vineet Gupta, [Ravi Kumar](https://md.research.elamur.ai/free/en/authors/ravi-kumar/) and Pasin Manurangsi · **Year:** 2022 · **Venue:** Findings of the Association for Computational Linguistics: EMNLP 2022 · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[**61** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W3188505388|W6947942523) · [Findings of the Association for Computational Linguistics: EMNLP 2022](https://aclanthology.org/volumes/2022.findings-emnlp/) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2022.findings-emnlp.484/)
- [PDF](https://aclanthology.org/2022.findings-emnlp.484.pdf)
- [DOI 10.18653/v1/2022.findings-emnlp.484](https://doi.org/10.18653/v1/2022.findings-emnlp.484)
- [OpenAlex](https://openalex.org/W3188505388)

Citations: OpenAlex, 2026-10-14.

## Summary

A system that learns from text can retain details about individual training examples. That creates a privacy problem when the result of training will be shared or adapted to other tasks. *Large-Scale Differentially Private BERT* asks how much useful language learning is possible when the protection applies during pretraining itself. The authors train BERT-Large to recover hidden text and identify sentence order, with a formal limit on how much adding or removing one training example can change the distribution of the result. The training procedure starts from the original [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/).

The authors use differentially private stochastic gradient descent, or DP-SGD, with Adam. Each example produces its own gradient, a vector that describes how changing the weights would affect the loss on that example. The procedure caps the size of each vector, combines the capped vectors, and adds Gaussian noise before the optimizer sees the update. The authors find that large batches make this noisy update more useful under a fixed budget of training steps. They also identify a problem with normalization. Privacy noise can increase the size of some weights even when changing their scale has little effect on the network’s output. As those weights grow, their gradients shrink. Strong weight decay helps keep training effective. The update rule uses [Adam](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/).

On the combined Wikipedia and Books corpus, the private run reaches 60.5% masked language modeling accuracy at a batch size of 2,097,152, with privacy parameters ε = 5 and δ = 2.89 × 10⁻⁹. Masked language modeling accuracy measures how often the system recovers a hidden token. The paper gives 70% as the non-private BERT-Large reference, so a substantial gap remains. A separate experiment starts with a smaller batch and increases it as training progresses. That schedule matches the accuracy of a fixed 1M batch while visiting 14% fewer training examples. The largest run still takes 72 hours on TPUv3-1024, so the savings in examples are distinct from the overall cost of the headline run.

The authors also test whether the trained system recovers phrases from examples deliberately repeated during pretraining. Across their measures, non-private training shows more memorization than private training. Heavy repetition can still make phrases easier to recover under private training, and the private settings show little separation in this particular test. The formal privacy guarantee and the phrase experiment answer different questions. The guarantee concerns the influence of a single example on training, while the experiment measures what happens when the same material is inserted repeatedly. The paper establishes a pretraining baseline and leaves the quality of later task adaptation and the choice of privacy parameters for particular uses open.

## Deep dive: Large-Scale Differentially Private BERT

Large-Scale Differentially Private BERT shows how very large batches improve private pretraining and measures the remaining gap in accuracy. · about 37 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Why protect the pretraining stage?

Pretraining is where BERT first learns from a large text collection. The result is a set of weights that can be used as the starting point for more specialized tasks. An organization that distributes those weights may therefore enable many uses of a single training run. The same arrangement gives privacy failures at that stage a wide reach. If training retains a distinctive phrase, later use of the weights can matter even when the original text collection is kept separate.

The paper motivates the concern with prior research on memorization in deep neural networks and on recovery of training text from large language systems. A system can learn regularities that hold throughout a corpus while also acquiring details specific to individual examples. Ordinary predictive accuracy does not tell those behaviors apart. Correctly filling a blank can reflect broad linguistic knowledge, close familiarity with the particular passage, or evidence from both. Earlier work showed that recovering material from training was a practical concern for large systems. [Extracting Training Data from Large Language Models](https://md.research.elamur.ai/free/en/papers/carlini-2020-extracting-training-data-large-language/).

Differential privacy addresses the influence of an example at the level of the training procedure. Imagine two versions of the corpus that differ by the presence of one example. For each version, consider the range of possible trained weights that the randomized procedure could produce. The privacy requirement bounds how far the probability of any chosen set of outcomes can move between the two versions. It therefore applies even when nobody has decided in advance what phrase to look for or what form a later analysis of the weights might take.

The unit of protection matters. The paper uses the addition or removal of one training example to define neighboring datasets. A training example here is a prepared pair of sentences. A person’s writing or a particular phrase can appear in several such pairs. Removing that material everywhere can change more than one example. The formal claim is tied to the chosen unit, and the paper’s later experiment with repetitions makes that distinction concrete.

The post-processing property explains why the authors care about this stage in particular. Once a training procedure has released a differentially private result, operations that use that result without further access to its private inputs preserve the original guarantee. A downstream team can start with the pretrained weights and adapt them for a specific task without spending more of the pretraining corpus’s privacy budget merely by using those weights. If adaptation uses a fresh sensitive dataset, the privacy of those new examples is a separate question. This is the practical attraction of combining private pretraining with later [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/).

#### What earlier approaches had established

The paper presents DP-SGD as a general method for training neural networks with a privacy guarantee. Its central modification is to bound each example’s contribution to a training update before adding noise. This works across different architectures because the method operates on gradients. The price is that a training system needs access to each example’s gradient at the point where the bound is applied. A conventional update can use the gradient of a batch average directly. Once that average has been formed, an unusually large individual contribution can no longer be identified and capped. [Deep Learning with Differential Privacy](https://md.research.elamur.ai/free/en/papers/abadi-2016-deep-learning-differential-privacy/).

The authors distinguish the cost of computing a private update from its usefulness for learning. Computing and clipping individual gradients can make training more expensive. Clipping also changes the learning signal, and the random noise obscures some of what remains. The paper uses prior experience with image classification to explain why both issues mattered. It describes private training as relatively close to ordinary training on the simpler MNIST task and the gap as much wider on CIFAR-10. It points to the difficulty of training privately on CIFAR-100 as another sign that a general algorithm can be far easier to use on some tasks than on others.

The authors situate their work alongside earlier differentially private training of recurrent language systems, work on adjusting the clipping rule during training, and work on adapting learning rates in private optimization. The closest BERT precedent in their discussion applies privacy during task adaptation. That work starts from weights pretrained without differential privacy on Wikipedia and BooksCorpus. Its privacy intervention therefore operates on the later training data. The present study moves the intervention to the stage that learns from the large shared corpus.

The software precedent is equally important to the authors’ account. Earlier work showed that vectorization and just-in-time compilation could make the operations needed for DP-SGD run efficiently. Vectorization lets a program describe what should happen to one example and apply the same operation across a batch. Just-in-time compilation gives the compiler an opportunity to optimize those operations together. This work made it practical to revisit how large a private BERT update could be, while leaving questions about memory, batch size, and optimization to be solved for BERT-Large.

#### Why batch size has a different role under privacy

A conventional training update has to estimate a useful direction from a sample of examples. A private update has a further source of uncertainty. After the individual gradients have been clipped, the algorithm deliberately adds a random vector. The average delivered to the optimizer contains both the direction suggested by the clipped examples and the added noise. The batch size affects how much evidence the update can gather from the corpus before the noise is introduced.

There is a competing effect. A larger randomly selected batch has a greater chance of containing a particular example. Changing the batch size therefore also changes the amount of noise required for the desired privacy guarantee. One cannot decide how the update will behave simply by imagining more examples averaged under the original noise setting. The useful comparison holds the final privacy target and the number of steps fixed, then determines the appropriate noise for each sampling rate.

The authors also distinguish a step from an epoch. A step ends with one update to the weights. Across a fixed number of steps, larger batches visit more examples, including examples that may have been drawn before. A comparison at a fixed epoch budget instead holds the amount of data processing approximately constant and allows the number of updates to change. The paper chooses the first comparison to establish the accuracy attainable under a fixed update budget. That choice is central to interpreting both the theory and the experiments.

### The method, step by step

#### From text to a private training update

The authors work with BERT-Large, an encoder built from 24 blocks, with 1024 hidden dimensions and 16 self-attention heads. Its 340M parameters occupy 1.297 GiB as reported in the paper. Self-attention lets the representation at a token position use information from other positions in the sequence. When BERT fills a masked position, the surrounding tokens can guide the prediction. The relevant architecture is the [transformer](https://md.research.elamur.ai/free/en/concepts/transformer/).

The training corpus combines Wikipedia, with 2.5B words, and the Books corpus, with 800M words. The derived dataset has about 346M examples and 389M distinct sentences. An example consists of a pair of sentences represented in 128 tokens. The authors refer to the official BERT codebase as the basis of their reimplementation, which they write in JAX using Flax. The Books corpus comes from the work on [aligning books and movies](https://md.research.elamur.ai/free/en/papers/zhu-2015-aligning-books-movies-towards-story/).

The input representation uses wordpieces from a vocabulary of 32K tokens. A word that is unavailable as a whole vocabulary item can be represented by smaller units. The examples used for ordinary pretraining replace 20 tokens with masks, described in the paper as 15% of the tokens. BERT learns to recover those tokens and to predict which sentence precedes the other. These objectives supply training signals from the prepared text itself. The segmentation scheme uses [subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/).

For a training step, the procedure draws the scheduled number of examples at random. It determines the loss and gradient for each example at the current weights. If an example produces a gradient above the clipping bound, the procedure shortens that vector while keeping its direction. An example whose gradient is already within the bound keeps its contribution. Applying this rule individually limits the effect that the presence of any one sampled record can have on the sum.

Next the procedure adds calibrated Gaussian noise to the sum and divides by the batch size. The order matters for the implementation. The examples in a large batch can be processed in groups whose clipped gradients are added to a running total. The optimizer receives the noisy average for the complete logical batch. Processing a group of examples is therefore an intermediate computation within a step, and the weights are updated after the full batch is combined.

A private BERT pretraining update The steps in order.

#### The privacy guarantee and the update equations

The paper gives the guarantee in terms of possible outputs of a randomized algorithm. Its definition is:

```
Pr[A(X) ∈ S] ≤ e^ε · Pr[A(X′) ∈ S] + δ
```

Here `A` is the randomized algorithm, `X` is a dataset, and `X′` differs from it by one added or removed training example. `S` is any set of possible outputs. `Pr` is probability over the random operation of `A`, and `∈` means the output belongs to the chosen set. The symbol `e` is the base of natural logarithms, `ε` controls the multiplicative allowance, and `δ` is the additive allowance. The bound applies for every neighboring pair, so either dataset can occupy the first position. Smaller values of the privacy parameters impose a tighter bound. With `δ` equal to `0`, the paper calls the guarantee `ε`-DP.

The underlying objective is an average of losses evaluated on individual training examples:

```
L(θ) = (1/n) · Σᵢ L(θ; xᵢ)
```

Here `θ` is the vector of trainable parameters, `n` is the number of training examples, and `xᵢ` is the example indexed by `i`. The summation `Σᵢ` runs over the entire training dataset. `L(θ; xᵢ)` is the loss for that example, and `L(θ)` is the average loss. The centered dot denotes multiplication. The full objective defines what training seeks to reduce, while individual steps use random batches.

The paper specifies the sampled, clipped, and perturbed gradient as follows:

```
gₜ = [Σₓⱼ∈Bₜ clip(∇L(θₜ₋₁; xⱼ), C) + 𝒩(0, σ²C²I)] / |Bₜ|
```

Here `t` indexes the update, `gₜ` is its noisy average gradient, and `Bₜ` is the batch of `qₜ` randomly drawn examples for that step. The sum runs over the members `xⱼ` of `Bₜ`, with `j` indexing the examples. `∇L` is the gradient of the individual loss with respect to the weights `θₜ₋₁` from the preceding step. `clip` caps the gradient’s norm at `C`. The term `𝒩` denotes a draw from a Gaussian distribution with zero mean. Its covariance is `σ²C²I`, where `σ` is the noise multiplier and `I` is the identity matrix in parameter space. Thus each coordinate receives Gaussian noise on a scale set by `σ` and `C` before division by the number of examples, `|Bₜ|`.

Clipping and noise play different roles in that equation. The norm bound limits how much the sum can change through the addition or removal of an example. The Gaussian perturbation makes different sums harder to distinguish from their randomized outputs. Dividing by the batch size converts the whole quantity to an average. Some useful gradients can themselves be shortened by clipping. Raising the bound preserves more of those gradients but also raises the scale of the noise for a given multiplier. The authors treat the bound as a setting to tune.

The rest of the step is Adam with weight decay. Adam keeps a running average of recent gradient directions:

```
mₜ = β₁mₜ₋₁ + (1 − β₁)gₜ
```

Here `mₜ` is the updated first-moment estimate, `mₜ₋₁` is its preceding value, and `gₜ` is the current noisy gradient. The coefficient `β₁` controls how much of the previous estimate persists. Its complement is the weight assigned to the latest update. The average is taken coordinate by coordinate.

Adam also maintains a running average of squared gradient coordinates:

```
vₜ = β₂vₜ₋₁ + (1 − β₂)gₜ²
```

Here `vₜ` is the updated second-moment estimate and `vₜ₋₁` is its preceding value. The coefficient `β₂` controls the persistence of this average, and `gₜ²` squares each coordinate of the noisy gradient. This gives Adam a separate estimate of the scale of recent updates for each weight.

Before the optimizer applies the update, it corrects the first-moment average:

```
m̂ₜ = mₜ / (1 − β₁^t)
```

Here `m̂ₜ` is the corrected first moment, and `β₁^t` means the first-moment decay coefficient raised to the current step `t`. The correction accounts for the low magnitude that a running average initialized at zero can have early in training.

The paper applies the corresponding correction to the second moment:

```
v̂ₜ = vₜ / (1 − β₂^t)
```

Here `v̂ₜ` is the corrected second moment, and `β₂^t` is the second-moment decay coefficient raised to `t`. The estimates going into both corrections are based on the same privatized gradient updates.

The parameter step combines the adaptive Adam direction and the decay term:

```
θₜ = θₜ₋₁ − ηₜ · [m̂ₜ / (√v̂ₜ + ξ) + λ · θₜ₋₁]
```

Here `θₜ` is the updated weight vector, `ηₜ` is the learning rate at step `t`, `m̂ₜ` is the corrected first moment, and `√v̂ₜ` is the coordinatewise square root of the corrected second moment. The small stabilizer `ξ` is set to `10⁻¹¹`. The coefficient `λ` controls weight decay, so the term containing `θₜ₋₁` pulls weights toward zero while the moment estimates determine the adaptive gradient step. The final output is `θₜ` at the last step, indexed by `T` in the algorithm. The decay term follows the approach described in [Decoupled Weight Decay Regularization](https://md.research.elamur.ai/free/en/papers/loshchilov-2017-decoupled-weight-decay-regularization/).

#### Accounting for sampling and repeated updates

The final guarantee applies to the sequence of steps taken together. A single training example may be sampled repeatedly, and the successive weights depend on previous updates. The accountant must keep track of the cumulative privacy loss arising from the sampled Gaussian steps. The authors use privacy loss distributions for that calculation, with the implementation in the Google DP Accounting Library. They describe this accounting as tighter than the Rényi-based approach they discuss. For runs whose batch sizes change, they account for the successive sampling rates within the same run.

To explain why the choice of batch size matters, the paper also gives a simplified calculation. This argument uses advanced composition to obtain a sufficient per-step privacy target from the full-run target and the number of updates. Denote that target by `ε₀` and `δ₀`. Holding the overall guarantee and the number of steps fixed holds these sufficient per-step targets fixed in the simplified calculation. The authors assume `ε₀` is below `1` and `δ₀` is below `1/n`, where `n` remains the size of the training corpus.

For a fixed batch, the probability of drawing a particular example at a step is expressed as:

```
p = q/n
```

Here `p` is the sampling probability used in the calculation, `q` is the batch size, and `n` is the number of training examples. The probability is small when the batch is small relative to the dataset. Amplification by sub-sampling uses this fact to relate the privacy of the full sampled step to that of the Gaussian mechanism before sampling is taken into account.

The corresponding multiplicative parameter for the Gaussian mechanism is:

```
ε₁ = log(1 + (e^ε₀ − 1)/p)
```

Here `ε₁` is the parameter for the Gaussian mechanism without the sampling amplification, `ε₀` is the target for the sampled step, and `p` is the sampling probability. `log` denotes the natural logarithm, and `e` is its base. A small sampling probability permits a larger `ε₁` for the same sampled-step target.

The analogous additive allowance is:

```
δ₁ = δ₀/p
```

Here `δ₁` is the additive parameter before sampling amplification, and `δ₀` is the allowance for the sampled step. Dividing by `p` expresses how much the unsampled allowance can be relaxed under this bound.

The authors express the scale needed for noise on the sum using an order-of-growth relation:

```
σ = Θ(√log(1/δ₀) / log(1 + (e^ε₀ − 1)/p))
```

Here `σ` is the Gaussian noise multiplier used on the sum at clipping scale `C`. The notation `Θ` describes the size of the quantity up to constant factors in the paper’s analysis. The numerator depends on the per-step additive allowance `δ₀`. The denominator comes from the allowed multiplicative parameter for the Gaussian mechanism. The square root and logarithms are applied to positive quantities in the regime considered.

The noise on the average is governed by the normalized multiplier:

```
σ̃ = σ/q
```

Here `σ̃` is the normalized multiplier, `σ` applies to the sum, and `q` is the fixed batch size. The distinction is important because a larger batch can require more noise on the sum while still making the noise after averaging smaller. Substituting the bound for `σ` gives the paper’s expression for `σ̃`:

```
σ̃ = Θ((1/q) · √log(1/δ₀) / log(1 + (e^ε₀ − 1)/p))
```

Here `1/q` is the conversion from the sum to the batch average, and the logarithm in the denominator reflects the change in sampling probability. The other symbols retain their roles from the bound on `σ`. Increasing the batch changes both `q` itself and `p`, so reading the explicit division by `q` alone would overstate the benefit of increasing the batch indefinitely.

For batches at or above the scale `ε₀n`, the authors use the approximation that the logarithm in the denominator has order `ε₀/p`. This gives:

```
σ̃ = Θ(√log(1/δ₀) / (ε₀n))
```

Here `ε₀n` is the product of the per-step multiplicative target and the dataset size. The resulting expression contains no batch size. In this regime the sampled example is more likely to be included as the batch grows, so the required noise on the sum increases enough to offset the extra averaging at the level of this approximation.

In the small-batch regime, away from the transition, the paper instead gives:

```
σ̃ = Θ(√log(1/δ₀) / (q · log(nε₀/q)))
```

Here `q` appears directly in the denominator and also inside a logarithm. The logarithmic term reflects the stronger amplification from selecting a smaller fraction of the corpus. It grows much more slowly than the explicit factor tied to batch size changes in the regime described. The result is an increase in noise on the average as the batch becomes small. Near the transition, the earlier expression with the full logarithm describes the calculation more directly.

These relations explain why batches can be too small to give useful private updates under a fixed step budget even though smaller draws give stronger amplification. They also explain why the same argument does not predict unlimited reductions in normalized noise from ever larger batches. The authors compare the shape of the simplified prediction with the noise multipliers obtained using their practical accountant. Agreement on the shape supports the batch-size argument without making the simplified calculation the procedure that certifies the reported runs.

#### Why the optimizer needs unusually strong decay

The paper’s explanation of weight decay starts with a fully connected layer. Before normalization, that layer computes:

```
s = Wx
```

Here `W` is a weight matrix with `m` rows and `n` columns, `x` is an input vector, and `s` is the resulting vector before normalization. In this local notation `n` is the input width. It is unrelated to the use of `n` for the corpus size in the privacy argument.

The gradient of the layer’s loss with respect to its weights has the form:

```
Gₜ = ∇ₛℓ(sₜ, yₜ) · xᵀ
```

Here `Gₜ` is the layer’s weight gradient, `ℓ` is the loss as a function of the layer’s preactivation and the target, `sₜ` is that preactivation at step `t`, and `yₜ` is the target used in the loss. The subscript `s` on `∇ₛ` identifies the quantity with respect to which the loss is differentiated. The superscript `ᵀ` transposes the layer input into a row. Multiplying gives a matrix of derivatives with the same shape as `W`.

Layer normalization centers the preactivation and divides by a scale estimated from its components:

```
f(s) = (s − E[s]) / √(Var[s] + ξ)
```

Here `f(s)` is the normalized vector in the paper’s illustration, `E[s]` is the mean across the components of `s`, and `Var[s]` is their variance. Subtracting the mean centers the vector. The symbol `ξ` in this expression is the numerical stabilizer in the normalization denominator. Positive rescaling of the weights rescales the centered vector and its standard deviation together. This gives the scale invariance described by the authors when the stabilizer’s effect is negligible. [Layer Normalization](https://md.research.elamur.ai/free/en/papers/ba-2016-layer-normalization/).

The scale of the weights and the scale of their gradients can therefore move in different directions. A positively rescaled weight matrix can implement effectively the same computation after normalization. The paper observes that the gradient norm in a scale-invariant direction falls inversely with the scale of the weights. Gaussian perturbations during training tend to increase the matrix’s Frobenius norm, which measures the magnitude of its entries taken together. As that norm grows, the signal represented by its gradients can shrink, leaving a weaker contribution relative to continued perturbations. A large decay coefficient counters this growth.

The issue can concern a group of weights. BERT’s input combines wordpiece, position, and token-type embeddings before applying normalization. Changing the scale of one embedding table changes its weight relative to the other terms in the sum. Scaling all of them together preserves those relative contributions and has the shared invariance after normalization. A noise projection designed to account for the scale of each layer separately would need to know which weights share an invariance. Tuning a common weight-decay parameter gives the authors a way to address the observed training problem without identifying each such group in advance.

#### Tuning, changing batch size, and fitting a batch in memory

The authors tune Adam with a grid search at batch size 32K, then transfer the settings to other batch sizes. The search varies the learning rate, the two moment coefficients, the weight decay, and the clipping norm. It includes 288 trials, some stopped early because the run became unstable or remained below 15% accuracy after 4000 steps. The tuning objective is masked language modeling accuracy on 10k examples. Runs use linear learning-rate warmup followed by quadratic decay, with 20K total steps and a 7.5K step warmup.

The paper also discusses the privacy cost of using training data to choose a configuration. A bound for a fixed configuration applies to a run of that configuration. A selection procedure makes a further data-dependent decision when it chooses which configuration to release. The authors discuss a theorem that combines a private randomized mechanism with scoring and selection, and then give a tighter bound for grid search.

In the theorem’s notation, a base mechanism `M` receives a dataset `A` from the domain `D` and returns an element of the result space `R`. A score `q` evaluates a result on the dataset. This use of `q` denotes a scoring function. The theorem assumes sensitivity `1` in the dataset argument, meaning that changing one example can change the score of a fixed result by at most that amount. The required probability of obtaining a result of quality `Q` or better is expressed as:

```
Pr[q(A, M(A)) ≥ Q] ≥ p
```

Here `Pr` measures probability under the base randomized mechanism, `q(A, M(A))` is the score of the returned result on `A`, `Q` is the target quality, and `p` is a positive lower bound on the chance of reaching it. In this theorem `p` is a success probability for a candidate mechanism, distinct from the sampling rate in the batch-size calculation.

The private selection result has a corresponding quality bound:

```
Pr[q(A, M′(A)) ≥ Q − (4/ε′) · log(1/(ε′κp))] ≥ 1 − κ
```

Here `M′` is the selection mechanism, `ε′` is the theorem’s additional privacy parameter, and `κ` is its allowed failure probability for the quality bound. The product `ε′κp` appears inside the natural logarithm. The expression subtracted from `Q` is the allowed drop in the sensitivity-normalized score. The inequality bounds the probability that selection achieves at least that quality.

The theorem also describes the number of calls to the base mechanism:

```
O((1/(ε′κp))² · ln(1/(ε′κp)))
```

Here `O` gives an upper order of growth for the number of calls. The reciprocal product uses the same `ε′`, `κ`, and `p` as the quality bound, and `ln` is the natural logarithm. A small probability of finding a good candidate makes private selection more costly under this guarantee.

For general selection, the paper gives the corrected privacy parameter:

```
2ε + 7ε′
```

Here `ε` is the privacy parameter of the base mechanism for the theorem and `ε′` is the additional parameter for selection. The authors flag that earlier statements of the theorem gave a different expression from the one established by the proof. For grid search, they describe an improvement to:

```
max(2ε, 7ε′)
```

Here `max` chooses the larger of the two terms. In the paper’s example, the initial `ε` is `5`, and the additional parameter can be set as large as `2ε/7 ≈ 1.428` for a final `ε` of `10`. The authors set `κ = 0.1` and use `p = 1/K`, with `K` the number of choices. Their stated bound for `K = 289` choices and `10000` validation points is a drop of `0.0024`, or `0.24%`, in validation accuracy with probability at least `0.9`. These are the parameters of their selection calculation. The paper separately reports the observed run accuracy at `ε = 5` and describes 288 training trials.

An increasing batch schedule changes where in training the examples are spent. The authors reason that the useful gradient tends to weaken as training proceeds, so averaged noise can become more consequential later. Their schedule starts at 262,144 examples and rises to 1,048,576 over 7.5K steps. The increases come at quarters of that interval, in increments of roughly 196K examples as described in the paper. The privacy accountant evaluates the schedule across all of its sampling rates. The learning-rate schedule still has its warmup and decay, so the batch schedule operates alongside it.

Memory becomes the immediate constraint when a very large data-parallel batch is processed at once. To train on the largest logical batch, the authors use a loop and a vectorized per-example computation in JAX to accumulate clipped gradients across smaller groups. The technique retains a single update for the whole logical batch while avoiding the need to process all of its examples simultaneously. All runs use the TPUv3-1024 configuration. The paper builds on earlier work describing the [Tensor Processing Unit](https://md.research.elamur.ai/free/en/papers/jouppi-2017-datacenter-performance-analysis-tensor-processing/).

### Experiments and results

#### Masked-token accuracy at the largest batch size

The primary utility measure is masked language modeling accuracy on pretraining text drawn from the Wikipedia and Books setup. It counts how frequently the predicted token matches the original token at a hidden position. The authors use masked-token prediction as the primary comparison across training configurations even though the pretraining objective also includes sentence order. They identify the 10k-example set used for hyper-parameter tuning. For the plotted accuracy comparisons and the headline private score, the paper does not specify a separately named test split.

The reference is ordinary BERT-Large pretraining. In the setup discussion, the authors describe a non-private run reaching 70% masked-token accuracy with a 32K batch in 14,063 steps. The largest private run reaches 60.5% with a batch of 2,097,152. The paper uses ε = 5 for the batch-size experiments and δ = 2.89 × 10⁻⁹ throughout. It describes the latter as the reciprocal of the number of training examples. The comparison places the private score in context. The runs differ in batch size and update budget as well as in how they treat individual gradients.

BERT-Large masked-token accuracy on Wikipedia and Books pretraining text The largest private batch improves the private baseline while ordinary pretraining remains ahead.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Non-private BERT-Large reference | 70 |
| Private BERT-Large with the largest batch (this paper) | 60.5 |

The batch size is part of the result, rather than an incidental implementation setting. For the private batch-size experiments, the authors hold the number of steps at 20K and transfer the hyper-parameters tuned at the smaller batch size. Each increase changes how many examples inform an update. Across the run it also changes how many examples are visited. The largest private configuration tests the accuracy the approach can deliver when given very large updates under the selected privacy budget. Its runtime is 72 hours on TPUv3-1024.

The paper places that batch in the context of earlier BERT training. It describes the largest batch as 32× larger than the previous non-private batch it cites in its comparison. It also discusses a separate earlier setup that used a 32K batch with sequences of length 512 while using an equivalent amount of hardware. The present work uses sequences of 128 tokens. These numbers describe different configurations. Sequence length is pertinent to memory use and helps explain why the batch sizes alone cannot serve as a comparison of training cost. [Large Batch Optimization for Deep Learning](https://md.research.elamur.ai/free/en/papers/you-2019-large-batch-optimization-deep-learning/).

#### What happens when the privacy target changes

The authors first vary ε with batch size fixed at 65,536. The runs last 20K steps and use 7500 warmup steps. They transfer hyper-parameters from tuning at a batch size of 32,768. At ε = 1.08 the reported masked-token accuracy is 33.2%, and at ε = 10.6 it is 42.85%. Both results are from the same batch-size setting on the Wikipedia and Books pretraining task, with the same δ. The outcome illustrates the utility cost of tighter privacy under that configuration.

Masked-token accuracy at different privacy settings on Wikipedia and Books The looser privacy setting yields the higher accuracy at the fixed batch size.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Private BERT-Large, ε = 1.08 | 33.2 |
| Private BERT-Large, ε = 10.6 (this paper) | 42.85 |

The authors choose ε = 5 for the remaining scaling experiments. Their choice is an operating point for comparing training configurations. The highest accuracy in the chart corresponds to a looser guarantee, and there is no common scale on which a gain in accuracy automatically justifies an increase in ε. Keeping ε fixed in the subsequent study lets the authors ask what accuracy can be gained from a different allocation of examples per step without changing that choice.

The paper’s batch scaling results are consistent with the measured gradient signal-to-noise ratio and with improvements in masked-token accuracy over training. As more clipped gradients are combined per step, the accumulated direction fares better relative to the perturbation. The run with millions of examples per batch illustrates how far this approach can be taken under gradient accumulation. The fixed-step protocol is particularly relevant here because the sampling probabilities and calibrated noise depend on the number of steps being composed.

#### The increasing-batch experiment

The schedule experiment compares training with fixed batches of 262K and 1M against a schedule that starts at 262K and reaches 1M over 7500 steps. The authors follow both gradient signal-to-noise ratio and masked-token accuracy. The scheduled run matches the accuracy of the fixed 1M run while visiting 14% fewer examples. The result refers to visits to training examples, so repeated draws are part of the count. It gives a direct measure of how much example processing the schedule saves at the reported accuracy.

The fixed smaller batch is useful as a comparison because it represents the initial condition of the schedule throughout training. The fixed larger batch represents the schedule’s eventual condition throughout training. The increasing run tests whether that larger setting is needed from the beginning to achieve its eventual utility. The reported comparison supports starting smaller for this range of batch sizes and increasing as training proceeds. The paper presents it as a proof of concept distinct from the largest accuracy run.

#### Phrase recovery after controlled repetition

For the memorization experiment, the authors prepare sentence-pair examples from a separate public-domain corpus. The new examples differ from regular pretraining inputs in the choice of what to mask. The authors hide a contiguous phrase instead of drawing scattered positions to hide. The question is whether training on a particular example makes it easier to predict its missing phrase. A held-out set made the same way provides a reference for prediction without exposure to those particular examples during training.

For frequencies from 1 through 10, the authors add 25,000 examples at each frequency. They also add some examples at higher frequencies and leave 25,000 examples out as the control. They train on the augmented corpus using private settings ε = 1, 5, 10 and an ordinary training setting. This gives a comparison across repetition levels and between private and non-private treatments. The experiment changes the pretraining data to create known differences in exposure. Its question is different from the corpus-level utility experiments, where the score rewards recovering masked tokens in general.

The paper shows two readouts. Edit distance measures how much the top predicted phrase would have to change to match the hidden one. Exposure-50 uses the negative logarithm of the estimated rank of the hidden phrase among the predictions. A phrase can receive a favorable rank without being the top prediction, so these measures reveal different aspects of recovery. The scoring approach comes from earlier work on unintended memorization. [The Secret Sharer](https://md.research.elamur.ai/free/en/papers/carlini-2018-secret-sharer-evaluating-testing-unintended/).

The repetition curves indicate considerably more memorization under ordinary training. For small numbers of repetitions, predictions under the private settings resemble those for the control examples. Heavy repetition still produces memorization, and the tested private ε values show little separation on these measures. The authors base this reading on the plotted trends. The paper gives no numerical threshold at which a phrase becomes recoverable across settings.

### What the ablations show

#### Noise and average gradients move on different scales

The paper provides several controlled comparisons, although its evidence for each part of the recipe comes from a different type of study. The privacy sweep holds batch size and training length fixed while changing ε. The batch-size sweep holds the step and privacy budgets fixed and transfers tuned settings. The schedule comparison changes when examples are processed. The tuning search and the repetition experiment answer separate questions about trainability and memorization. Taken together, these studies distinguish effects on the update from effects on the final score.

The analysis of normalized noise tests the shape predicted by the simplified privacy argument. The authors plot the noise levels calculated by their practical accountant across batch sizes. Noise on the average grows as the batch becomes small, while the decline levels out for sufficiently large batches. This is a comparison of quantities calculated to meet the privacy target. Its role is to explain part of what changes about the optimizer’s input before any accuracy is measured.

The gradient signal-to-noise diagnostic adds the actual gradients from a run. The authors define the diagnostic as the norm of the aggregated clipped gradient divided by the norm of the sampled noise vector. Both refer to the full network’s gradient. One can express the comparison in terms of the sum or the average because the same batch divisor would scale both components. A higher value indicates that the actual update contains a stronger clipped gradient relative to its Gaussian perturbation.

Larger batches have more favorable values of this ratio through training and generally achieve higher masked-token accuracy. This gives the batch comparison an intermediate measurement. It shows that a change in sampling and aggregation produces updates with a stronger measured signal relative to noise, alongside the improvement in prediction. A norm ratio still leaves out direction. It does not show which weight coordinates contribute most to the change or how much of the useful signal is needed for a particular prediction.

The curves also show that the ratio tends to fall over time as the gradient norm weakens. A batch size sufficient for the gradients early in training can therefore yield a different balance later. This observation motivates the scheduled run. The paper observes the decline, proposes a schedule that allocates larger batches later, and measures whether the final accuracy survives the cheaper start. The experiment demonstrates that such a schedule can work in the studied setup. It does not estimate a general relationship between the measured ratio and the best time to increase batch size.

#### What the tuning search says about normalization

The authors’ tuning evidence for weight decay comes from a joint search. The table’s best-trial row lists a learning rate of 5 × 10⁻⁴, `1 − β₁` of 0.25, `1 − β₂` of 0.1, weight decay of 1.0, and clipping norm of 5 × 10⁻³. The table caption says the top 5 trials all select weight decay of 1.0 and describes less sensitivity to the clipping bound. The caption and best-trial row give different orderings for the two moment complements. Both point to the same large weight-decay choice, and the table does not settle a single reading of the moment settings across the leading trials.

The strongest conclusion from the search is about that shared decay setting. The trials allow multiple settings to vary, and the authors do not report an isolated accuracy comparison that changes only weight decay while holding all other choices fixed. The architecture gives an explanation for why the observed pattern makes sense. Scale-invariant layers can accumulate larger weights without a corresponding increase in useful output variation. The resulting smaller gradients make a fixed level of noise more consequential. Decay acts on the growth of the weights, while changing the clipping norm acts directly on the contributions used to form the update.

The joint embedding example gives particular substance to the explanation. The gradients for the embedding tables belong to different parameter arrays, yet the invariance arises from rescaling their summed contribution before normalization. A study of separate layer norms can miss that relationship. The authors use this observation to motivate weight decay as the practical choice in their recipe and leave explicit handling of jointly invariant groups for later research. They do not report a separate run implementing such a projection.

#### What repetition changes

The held-out phrases show what the model can recover from context and general training without having been shown the specific prepared examples. Repetition adds evidence tied to those examples. Comparing their curves helps separate ordinary success on the language task from increased success as particular training passages are shown repeatedly. That is especially important for a masked objective, where the surrounding words can make a plausible phrase easy to guess even in the absence of memorization of the example.

Under ordinary training, increased presentation of the examples is associated with stronger recovery of their phrases. The private runs show a smaller effect at low frequencies. Their eventual movement with heavier repetition is consistent with the fact that example-level privacy bounds the effect of one addition or removal. Repeated copies can provide matching evidence through several records. The experiment offers empirical evidence about repetition and phrase recovery, while the formal guarantee follows from the accountant.

The lack of a clear separation among ε = 1, 5, 10 is also specific to this comparison. Different values still describe different bounds on changes to the output distribution. The measured phrase ranks and edit distances depend on the prepared examples, the repetition levels, and the chosen prediction procedure. Thus the result establishes how closely these private settings behave on the authors’ diagnostic and leaves open how readily another test could distinguish them.

### Limitations

#### Limits the authors identify

The paper studies pretraining. Its principal score concerns reconstructing masked tokens, a task used to learn the weights themselves. The authors leave downstream performance after private pretraining open. A usable pretrained checkpoint could have different strengths across tasks even if its masked-token accuracy is known. The post-processing property supports reuse of the checkpoint under its existing guarantee for the pretraining examples. It does not supply missing measurements of what happens to task accuracy after adaptation. The authors refer to [GLUE](https://md.research.elamur.ai/free/en/papers/wang-2018-glue-multi-task-benchmark-analysis/) in discussing later language understanding tasks.

The authors also leave the practical choice of ε open. The value used for the main experiments represents their choice for studying what batch scaling can achieve. Choosing a parameter for a deployment involves deciding what guarantee is appropriate for its data and what utility it needs. The data in the experiment come from Wikipedia and Books, while the motivation concerns sensitive user information. The paper offers a training baseline under a defined guarantee, instead of a determination of what protection a given use of sensitive text requires.

Compute remains a stated constraint. The largest experiment occupies TPUv3-1024 for 72 hours, and the authors characterize it as expensive. They point out that pretraining can be done once and reused for several downstream applications. The amount of reuse affects how the investment is shared, while the resources required for the initial run remain substantial. The authors suggest directions such as improving the optimizer, reducing memory requirements, and considering architectures that can handle longer sequences more efficiently.

The study holds architecture size to BERT-Large. The authors leave open how private pretraining accuracy varies across BERT sizes and what happens when the weights themselves need to be split across devices. Their discussion of much larger networks points to pipeline parallelism and the need to incorporate DP-SGD into that execution pattern. The demonstrated use of gradient accumulation shows how to form a large batch for BERT-Large. It does not test the proposed integration with the larger-scale parallel training setup.

The authors explain that a fixed epoch budget would raise another unresolved problem. To study large private batches while controlling the amount of training data processed, they would need to retune efficiently at very large batch sizes. Their search is instead conducted at 32K examples per batch and transferred. That design establishes a workable private baseline. It leaves open the degree to which other hyper-parameters, learning-rate schedules, or update budgets would improve utility for the same amount of training work.

#### Limits of the experimental setup

The headline private and non-private scores are best read as a baseline and a reference. Their batch sizes and update counts differ. The gap between them therefore combines the consequences of privacy with differences between the associated training configurations. A controlled estimate of the cost of privacy for some specified hardware and example budget would need to compare private and ordinary training within that budget. The smaller privacy sweep more closely controls the training configuration, but it answers how utility varies among private settings at one batch size.

The fixed-step sweep lets larger batches consume more examples. As a consequence, the improvement in final accuracy cannot on its own establish better efficiency per example. The schedule experiment addresses an efficiency question more directly by reporting visits at comparable accuracy, but that evidence applies to the interval between its starting and ending batch sizes. The 14% reduction is a count of example visits in that comparison. The paper does not provide an equivalent reduction in runtime, or demonstrate that the same schedule works for the headline 2M setting.

The formal definition, the accounting calculation, and the hyper-parameter discussion each cover a different part of the privacy story. The accountant calibrates noise for a fixed training procedure and its sequence of batch sizes. Choosing which result to report from a set of candidate runs can involve additional data-dependent processing. The paper gives a separate argument about how private selection could be done and illustrates its privacy and validation-accuracy bounds. As a result, the ε = 5 headline result and the ε = 10 selection example describe different procedures. The selection bound is a calculation, instead of an observed loss of masked-token accuracy from rerunning the experiment with private selection.

The unit of adjacency also limits what can be inferred about sensitive content. An individual can contribute more than one example, and a shared phrase may occur in records from several sources. The sensitivity bound is applied to one prepared example. Where a question concerns removing all contributions from a person or all occurrences of some text, the neighboring datasets relevant to that question may differ in multiple places. The observed recovery of heavily repeated phrases helps explain why those two questions need to be kept distinct.

The memorization test has a specific form. Its examples come from a separate public-domain corpus, and the prediction target is a deliberately hidden phrase surrounded by context. Both the training exposure and the evaluation are constructed to make the effect of repetition measurable. This setup does not measure arbitrary extraction from a deployed system, recovery of personal information, or the prevalence of memorized phrases throughout the underlying corpora. The private and non-private curves are evidence about the controlled phrase test, and the privacy claim itself rests on the training mechanism and its accounting.

Finally, the mechanism and the measurements do not fully decompose the remaining utility gap. The paper connects large batches to stronger gradient signal relative to noise and links strong decay to a plausible mechanism in normalized layers. Its comparisons give a reason to use these choices together. They do not quantify separately how much of the loss in utility comes from clipping, Gaussian perturbation, optimization settings, or interactions among them. That distinction matters when carrying the recipe to architectures with different normalization or training behavior.

### What came after

The citing works connect this paper to several lines of research on privacy, memorization, and training efficiency. Their titles establish the questions they address and the citation connects them to the BERT study. A citation alone leaves open whether a work reused the training schedule, compared against the privacy baseline, or drew on the paper as background. The two works dated 2021 are best read as part of that broader research context, since those dates precede the BERT paper’s 2022 publication.

*On the Opportunities and Risks of Foundation Models* places opportunities and risks in the same broad frame. The private-pretraining study gives that frame a concrete training question. Pretrained weights can support many subsequent uses, and the quality and privacy properties of the initial training procedure determine part of what is inherited across those uses. The relationship here is between a general account of risks and a particular experiment that tries to control one risk during pretraining. [On the Opportunities and Risks of Foundation Models](https://md.research.elamur.ai/free/en/papers/bommasani-2021-opportunities-risks-foundation-models/).

The Gopher study examines methods and analysis from scaling language training. That scaling question has a point of contact with the BERT paper’s use of much larger batches and specialized implementation. Scale in the latter is a way to improve the usefulness of a noisy private update under a fixed budget of steps. The Gopher title identifies a broader analysis of methods and training at scale, giving a separate context for the choices about optimization and resources that private pretraining makes consequential. [Scaling Language Models: Methods, Analysis & Insights from Training Gopher](https://md.research.elamur.ai/free/en/papers/rae-2021-scaling-language-models-methods-analysis/).

The survey on security and privacy challenges connects the pretraining experiment to the broader task of organizing security and privacy research. The BERT paper makes two kinds of privacy evidence visible within one study. It specifies a guarantee for its randomized training procedure and separately examines phrase recovery. That distinction helps locate the study among work concerned with what training can disclose and what evidence can establish a limit on disclosure. The survey’s relationship to the paper is identifiable at the level of this broader topic. [Security and Privacy Challenges survey](https://md.research.elamur.ai/free/en/papers/das-2024-security-privacy-challenges-large-language/).

The work on personal-information leakage turns attention to the information that can be recovered from already pretrained systems. The BERT paper’s controlled experiment measures phrases from an added corpus with known repetition levels. The leakage question is framed around personal information, a different target from the inserted phrases in that experiment. These questions are related because both concern what pretraining can leave accessible in the result. The citation does not specify whether the personal-information study uses the private checkpoint or its phrase-recovery protocol. [Are Large Pre-Trained Language Models Leaking Your Personal Information?](https://md.research.elamur.ai/free/en/papers/huang-2022-large-pre-trained-language-models/).

The work on knowledge unlearning for privacy mitigation locates intervention after information has been learned. Differentially private pretraining bounds the influence of an example during the creation of the weights. Unlearning addresses the question of removing knowledge from existing weights. The shared aim of reducing privacy risks can therefore prompt interventions at different stages, with a different question to answer about what remains accessible after each intervention. [Knowledge Unlearning for Mitigating Privacy Risks](https://md.research.elamur.ai/free/en/papers/jang-2022-knowledge-unlearning-mitigating-privacy-risks/).

*Unlearn What You Want to Forget* puts efficiency and selective forgetting at the center of its topic. This gives it a clear connection to the cost of private pretraining. The BERT study asks how to make an upfront protection tractable when each private update is expensive. The unlearning work addresses the efficiency of a targeted change to a system whose training has already occurred. These are different expenditures of training effort, and the citation does not establish a direct cost or privacy comparison. [Unlearn What You Want to Forget](https://md.research.elamur.ai/free/en/papers/chen-2023-unlearn-what-you-want-forget/).

The study of emergent and predictable memorization makes memorization itself the behavior under study. The private BERT paper uses repetition as a controlled way to see when its added phrases become easier to recover. Work on predictable memorization asks more broadly about regularity in the appearance of such behavior. The connection is the treatment of memorization as something to characterize across conditions, instead of leaving an aggregate prediction score to stand in for it. [Emergent and Predictable Memorization](https://md.research.elamur.ai/free/en/papers/biderman-2023-emergent-predictable-memorization-large-language/).

The study on preventing verbatim generation draws attention to what an observed output can establish. Exact reproduction is a visible sign that particular training text may still be accessible. Preventing that form of reproduction addresses an observation at generation time. The BERT study instead grounds its privacy claim in the distribution of training outputs, and uses empirical measurements that include closeness to the correct phrase and estimated rank. The connection is the limited scope of any single behavioral measure of memorization. [Preventing Generation of Verbatim Memorization](https://md.research.elamur.ai/free/en/papers/ippolito-2023-preventing-generation-verbatim-memorization-language/).

*The MiniPile Challenge* brings data efficiency to the foreground. In the private BERT experiments, the size of the underlying corpus and the number of examples processed in an update have separate roles. The corpus size influences the probability that a particular example is sampled, while the number processed across updates influences the cost of training. The BERT schedule reduces the latter in its comparison with a fixed large batch. MiniPile addresses data-efficient language training as its own research question, which gives the efficiency result a related context without equating fewer example visits with a different corpus design. [The MiniPile Challenge](https://md.research.elamur.ai/free/en/papers/kaddour-2023-minipile-challenge-data-efficient-language/).

## Cite

Cite as Rohan Anil, Badih Ghazi, Vineet Gupta, Ravi Kumar and Pasin Manurangsi. 2022. Large-Scale Differentially Private BERT. Findings of the Association for Computational Linguistics: EMNLP 2022.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2022.findings-emnlp.484](https://doi.org/10.18653/v1/2022.findings-emnlp.484)

```bibtex
@inproceedings{anil2022large,
  title = {{Large-Scale Differentially Private BERT}},
  author = {Rohan Anil, Badih Ghazi, Vineet Gupta, Ravi Kumar and Pasin Manurangsi},
  booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2022},
  year = {2022},
  doi = {10.18653/v1/2022.findings-emnlp.484},
  url = {https://doi.org/10.18653/v1/2022.findings-emnlp.484}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
