mlsanityData to 14 Oct 2026

Evaluating Transformer Language Models on Arithmetic Operations Using Number Decomposition

arXiv 2304.10977 ↗First posted 21 Apr 2023cs.CL stat.MLcited by 15

Not on the map. Why?

Abstract (arXiv)

In recent years, Large Language Models such as GPT-3 showed remarkable capabilities in performing NLP tasks in the zero and few shot settings. On the other hand, the experiments highlighted the difficulty of GPT-3 in carrying out tasks that require a certain degree of reasoning, such as arithmetic operations. In this paper we evaluate the ability of Transformer Language Models to perform arithmetic operations following a pipeline that, before performing computations, decomposes numbers in units, tens, and so on. We denote the models fine-tuned with this pipeline with the name Calculon and we test them in the task of performing additions, subtractions and multiplications on the same test sets of GPT-3. Results show an increase of accuracy of 63% in the five-digit addition task. Moreover, we demonstrate the importance of the decomposition pipeline introduced, since fine-tuning the same Language Model without decomposing numbers results in 0% accuracy in the five-digit addition task.

Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Builds on 17 of its 23 references that are in the map. First posted on arXiv 21 Apr 2023.

Builds on

17 of 23 references.

References · 17

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  6. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  7. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  8. 2018Deep contextualized word representationscited by 2,290
  9. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  10. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
  11. 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
  12. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 335
5 more
  1. 2019Do NLP Models Know Numbers? Probing Numeracy in Embeddingscited by 159
  2. 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 139
  3. 2020Injecting Numerical Reasoning Skills into Language Modelscited by 133
  4. 2021Representing Numbers in NLP: a Survey and a Visioncited by 83
  5. 2020Do Language Embeddings Capture Scales?cited by 63

Built on by

Cited by year

Citing papers per year: 2023: 8; 2024: 6; 2025: 1.

15 papers.

Sort:

By area: