LUNA: Language Understanding with Number Augmentations on Transformers via Number Plugins and Pre-training
Not on the map. Why?
Abstract (arXiv)
Transformers are widely used in NLP tasks. However, current approaches to leveraging transformers to understand language expose one weak spot: Number understanding. In some scenarios, numbers frequently occur, especially in semi-structured data like tables. But current approaches to rich-number tasks with transformer-based language models abandon or lose some of the numeracy information - e.g., breaking numbers into sub-word tokens - which leads to many number-related errors. In this paper, we propose the LUNA framework which improves the numerical reasoning and calculation capabilities of transformer-based language models. With the number plugin of NumTok and NumBed, LUNA represents each number as a whole to model input. With number pre-training, including regression loss and model distillation, LUNA bridges the gap between number and vocabulary embeddings. To the best of our knowledge, this is the first work that explicitly injects numeracy capability into language models using Number Plugins. Besides evaluating toy models on toy tasks, we evaluate LUNA on three large-scale transformer models (RoBERTa, BERT, TabBERT) over three different downstream tasks (TATQA, TabFact, CrediTrans), and observe the performances of language models are constantly improved by LUNA. The augmented models also improve the official baseline of TAT-QA (EM: 50.15 -> 59.58) and achieve SOTA performance on CrediTrans (F1 = 86.17).
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 16 of its 19 references that are in the map. First posted on arXiv 6 Dec 2022.
Builds on
16 of 19 references.
References · 16
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,612
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
- 2019TabFact: A Large-scale Dataset for Table-based Fact Verificationcited by 425
- 2021TAT-QA: A Question Answering Benchmark on a Hybrid of Tabular and Textual Content in Financecited by 402
- 2019Time2Vec: Learning a Vector Representation of Timecited by 208
- 2021Representing Numbers in NLP: a Survey and a Visioncited by 83
4 more
- 2020Tabular Transformers for Modeling Multivariate Time Seriescited by 77
- 2020Do Language Embeddings Capture Scales?cited by 63
- 2018Numeracy for Language Models: Evaluating and Improving their Ability to Predict Numberscited by 42
- 2022Why are NLP Models Fumbling at Elementary Math? A Survey of Deep Learning based Word Problem Solverscited by 9
Built on by
Citing papers per year: 2023: 4; 2024: 1; 2025: 3.
8 papers.
- 2023MLCopilot: Unleashing the Power of Large Language Models in Solving Machine Learning Taskscited by 66
- 2023Exploring the Numerical Reasoning Capabilities of Language Models: A Comprehensive Analysis on Tabular Datacited by 33
- 2024CABINET: Content Relevance based Noise Reduction for Table Question Answeringcited by 23
- 2023FATA-Trans: Field And Time-Aware Transformer for Sequential Tabular Datacited by 14
- 2023One Transformer for All Time Series: Representing and Training with Time-Dependent Heterogeneous Tabular Datacited by 12
- 2025Efficient numeracy in language models through single-token number embeddingscited by 6
- 2025multivariateGPT: a decoder-only transformer for multivariate categorical and numeric datacited by 1
- 2025DiagnoLLM: A Hybrid Bayesian Neural Language Framework for Interpretable Disease Diagnosiscited by 0
- 2025DiagnoLLM: A Hybrid Bayesian Neural Language Framework for Interpretable Disease Diagnosis8 Nov 2025
- 2025Efficient numeracy in language models through single-token number embeddings8 Oct 2025
- 2025multivariateGPT: a decoder-only transformer for multivariate categorical and numeric data27 May 2025
- 2024CABINET: Content Relevance based Noise Reduction for Table Question Answering2 Feb 2024
- 2023Exploring the Numerical Reasoning Capabilities of Language Models: A Comprehensive Analysis on Tabular Data3 Nov 2023
- 2023FATA-Trans: Field And Time-Aware Transformer for Sequential Tabular Data20 Oct 2023
- 2023MLCopilot: Unleashing the Power of Large Language Models in Solving Machine Learning Tasks28 Apr 2023
- 2023One Transformer for All Time Series: Representing and Training with Time-Dependent Heterogeneous Tabular Data13 Feb 2023