Skip to main content
QUICK REVIEW

[Paper Review] Numeracy from Literacy: Data Science as an Emergent Skill from Large Language Models

David Noever, Forrest McKee|arXiv (Cornell University)|Jan 31, 2023
Machine Learning and Data ClassificationComputer Science12 citations
TL;DR

The paper investigates whether next-token prediction in large language models can exhibit emergent numeracy skills, demonstrated through data-science–like tasks such as descriptive statistics, grouping, feature importance, correlations, and linear regression on datasets.

ABSTRACT

Large language models (LLM) such as OpenAI's ChatGPT and GPT-3 offer unique testbeds for exploring the translation challenges of turning literacy into numeracy. Previous publicly-available transformer models from eighteen months prior and 1000 times smaller failed to provide basic arithmetic. The statistical analysis of four complex datasets described here combines arithmetic manipulations that cannot be memorized or encoded by simple rules. The work examines whether next-token prediction succeeds from sentence completion into the realm of actual numerical understanding. For example, the work highlights cases for descriptive statistics on in-memory datasets that the LLM initially loads from memory or generates randomly using python libraries. The resulting exploratory data analysis showcases the model's capabilities to group by or pivot categorical sums, infer feature importance, derive correlations, and predict unseen test cases using linear regression. To extend the model's testable range, the research deletes and appends random rows such that recall alone cannot explain emergent numeracy.

Motivation & Objective

  • Motivate whether literacy-to-numeracy translation is achievable in large language models (LLMs) and test emergent numeric reasoning abilities.
  • Use complex data manipulations that cannot be memorized or encoded by simple rules to probe LLM numeracy.
  • Assess if next-token prediction extends from sentence completion to actual numerical understanding in data-science contexts.

Proposed method

  • Analyze four complex datasets using arithmetic manipulations beyond memorization.
  • Perform descriptive statistics on in-memory or randomly generated data loaded via Python libraries.
  • Demonstrate capabilities such as grouping by or pivoting, inferring feature importance, deriving correlations, and predicting unseen test cases with linear regression.
  • Extend testable range by deleting and appending random rows to prevent recall-based explanations of numeracy.

Experimental results

Research questions

  • RQ1Can next-token prediction in LLMs exhibit emergent numeracy for data-science tasks?
  • RQ2To what extent can LLMs perform descriptive statistics, grouping, feature importance, correlations, and regression on datasets?
  • RQ3Do manipulations that disrupt memorization (e.g., random row deletion/addition) still yield numeracy capabilities in LLMs?
  • RQ4How does numeracy in LLMs compare to prior smaller transformer models with limited arithmetic abilities?

Key findings

  • LLMs show emergent numeracy capabilities for data-science tasks such as grouping, pivoting, and predicting test cases.
  • Models can infer feature importance and derive correlations from datasets loaded or generated for analysis.
  • Linear regression and prediction on unseen data are demonstrated, indicating numerical understanding beyond memorization.
  • Random-row deletion and appending are used to challenge recall-based explanations of numeracy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.