Beyond Positive Scaling: How Negation Impacts Scaling Trends of Language Models


ACL 2023 Findings


Yuhui Zhang*†, Michihiro Yasunaga*, Zhengping Zhou*, Jeff Z. HaoChen*, James Zou, Percy Liang, Serena Yeung

†Correspondence to: yuhuiz@stanford.edu


Stanford University


[Paper] [Code]

Abstract

Language models have been shown to exhibit positive scaling, where performance improves as models are scaled up in terms of size, compute, or data. In this work, we introduce NeQA, a dataset consisting of questions with negation in which language models do not exhibit straightforward positive scaling. We show that this task can exhibit inverse scaling, U-shaped scaling, or positive scaling, and the three scaling trends shift in this order as we use more powerful prompting methods or model families. We hypothesize that solving NeQA depends on two subtasks: question answering (task 1) and negation understanding (task 2). We find that task 1 has linear scaling, while task 2 has sigmoid-shaped scaling with an emergent transition point, and composing these two scaling trends yields the final scaling trend of NeQA. Our work reveals and provides a way to analyze the complex scaling trends of language models.

Poster

Bibtex

@inproceedings{  zhang2023beyond,  title={Beyond Positive Scaling: How Negation Impacts Scaling Trends of Language Models},  author={Yuhui Zhang and Michihiro Yasunaga and Zhengping Zhou and Jeff Z. HaoChen and James Zou and Percy Liang and Serena Yeung},  booktitle={Findings of the Association for Computational Linguistics (ACL Findings)},  year={2023}}