CLLGFeb 15, 2022

Impact of Pretraining Term Frequencies on Few-Shot Reasoning

arXiv:2202.07206v2183 citations
AI Analysis

This highlights a potential limitation in model generalization for researchers evaluating few-shot reasoning tasks.

The paper investigates how pretraining term frequencies affect few-shot reasoning in language models, finding that models are significantly more accurate on instances with more frequent terms, with absolute accuracy differences up to 70% between top and bottom 10% frequent terms.

Pretrained Language Models (LMs) have demonstrated ability to perform numerical reasoning by extrapolating from a few examples in few-shot settings. However, the extent to which this extrapolation relies on robust reasoning is unclear. In this paper, we investigate how well these models reason with terms that are less frequent in the pretraining data. In particular, we examine the correlations between the model performance on test instances and the frequency of terms from those instances in the pretraining data. We measure the strength of this correlation for a number of GPT-based language models (pretrained on the Pile dataset) on various numerical deduction tasks (e.g., arithmetic and unit conversion). Our results consistently demonstrate that models are more accurate on instances whose terms are more prevalent, in some cases above $70\%$ (absolute) more accurate on the top 10\% frequent terms in comparison to the bottom 10\%. Overall, although LMs exhibit strong performance at few-shot numerical reasoning tasks, our results raise the question of how much models actually generalize beyond pretraining data, and we encourage researchers to take the pretraining data into account when interpreting evaluation results.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes