mlsanityData to 7 Oct 2026

How to Leverage Digit Embeddings to Represent Numbers?

arXiv 2407.00894 ↗First posted 1 Jul 2024cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

Within numerical reasoning, understanding numbers themselves is still a challenge for existing language models. Simple generalisations, such as solving 100+200 instead of 1+2, can substantially affect model performance (Sivakumar and Moosavi, 2023). Among various techniques, character-level embeddings of numbers have emerged as a promising approach to improve number representation. However, this method has limitations as it leaves the task of aggregating digit representations to the model, which lacks direct supervision for this process. In this paper, we explore the use of mathematical priors to compute aggregated digit embeddings and explicitly incorporate these aggregates into transformer models. This can be achieved either by adding a special token to the input embeddings or by introducing an additional loss function to enhance correct predictions. We evaluate the effectiveness of incorporating this explicit aggregation, analysing its strengths and shortcomings, and discuss future directions to better benefit from this approach. Our methods, while simple, are compatible with any pretrained model, easy to implement, and have been made publicly available.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 25 of its 42 references that are in the map. First posted on arXiv 1 Jul 2024.

Builds on

25 of 42 references.

References · 25

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  6. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  7. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  8. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  9. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
  10. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
  11. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
  12. 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 483
13 more
  1. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
  2. 2023Think before you speak: Training Language Models With Pause Tokenscited by 254
  3. 2019Do NLP Models Know Numbers? Probing Numeracy in Embeddingscited by 157
  4. 2020Injecting Numerical Reasoning Skills into Language Modelscited by 133
  5. 2021Representing Numbers in NLP: a Survey and a Visioncited by 83
  6. 2020Do Language Embeddings Capture Scales?cited by 63
  7. 2019NumNet: Machine Reading Comprehension with Numerical Reasoningcited by 59
  8. 2018Numeracy for Language Models: Evaluating and Improving their Ability to Predict Numberscited by 42
  9. 2021Seeking Patterns, Not just Memorizing Procedures: Contrastive Learning for Solving Math Word Problemscited by 30
  10. 2023Evaluating Transformer Language Models on Arithmetic Operations Using Number Decompositioncited by 15
  11. 2018Numeral Understanding in Financial Tweets for Fine-grained Crowd-based Forecastingcited by 6
  12. 2022Semantic-based Data Augmentation for Math Word Problemscited by 5
  13. 2023FERMAT: An Alternative to Accuracy for Numerical Reasoningcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.