To all reviewers: details of new experiments
Thanks to all reviewers. Here are some additional details on the new results we intend to include in the final revision of the paper. Note that all experiments have already been run, but we only include a subset of them in this comment due to space considerations.
**Scaling of myopia gap on Pythia family**
We investigate the myopia gap on a range of model sizes from the Pythia family, ranging from 70M to 2.8B parameters. In particular, we are interested in how the myopia gap scales with model size — multiple reviewers suggested that the insignificant gap observed in GPT-2 may be explained by it being a relatively small model. Our experiments reveal a trend towards myopia gap increasing with scale; this suggests that pre-caching is indeed more explanative of the behavior of larger models. Further, we measure the gap not only on validation cross-entropy loss but also a suite of standard NLP benchmarks (LAMBADA, PIQA, WinoGrande, SciQ, ARC), which may be a more realistic measure of the role of pre-caching in real-world language tasks. Comparisons of the myopia gap between these benchmarks may offer insight into what kinds of tasks benefit more from pre-caching.
As a sample, here are the results on the LAMBADA benchmark [1]:
size | 14M | 31M | 70M | 160M | 410M | 1B | 1.4B | 2.8B
--- | --- | --- | --- | --- | --- | -- | --- | ---
vanilla accuracy | 0.06 | 0.10 | 0.19 | 0.28 | 0.43 | 0.47 | 0.54 | 0.59
myopic accuracy | 0.02 | 0.07 | 0.13 | 0.21 | 0.29 | 0.35 | 0.38 | 0.40
myopia gap | 0.04 | 0.03 | 0.06 | 0.07 | 0.14 | 0.12 | 0.16 | 0.19
Note that, unlike in the case of GPT-2, we are unable to train the Pythia models from random initialization (due to limitations in compute). Thus, our methodology is to start from the provided pre-trained checkpoints, and to fine-tune using either vanilla or myopic gradient descent on a further 640M tokens subsampled from the Pile dataset.
**Multiplication and filler tokens**
We also train and evaluate the GPT-2 architecture, using either vanilla or myopic gradient descent, on the task of integer multiplication. We again observe a subtle but nonzero myopia gap in this setting.
Furthermore, we investigate the role of pre-caching in computations on the forward pass of filler tokens, in the sense of Pfau et al [2]. We train vanilla and myopic transformers on multiplication of up to five-digit numbers, but with each multiplicand zero-padded either to length 5 or length 10. Our experiments show that vanilla transformers perform better on this task given more zero-padding tokens, while myopic transformers actually do worse. We interpret this as showing that pre-caching is necessary for making effective use of these filler tokens — without pre-caching, these filler tokens are mere noise, and actually degrade performance. The below table contains the accuracies of both models on multiplication of two five-digit multiplicands, each either zero-padded to length 5 or length 10.
model | pad5 acc. | pad10 acc.
-- | -- | --
vanilla | 0.40 | 0.99
myopic | 0.39 | 0.05
[1] Paperno et al. "The LAMBADA dataset: Word prediction requiring a broad discourse context."
[2] Jacob Pfau, William Merrill, Samuel R. Bowman. “Let's Think Dot by Dot: Hidden Computation in Transformer Language Models.”