paper-with-me

홈 › Papers

Efficient numeracy in language models through single-token number embeddings

2025-10-08 · Linus Kreitner, Paul Hager, Jonathan Mengedoht, Georgios Kaissis, Daniel Rueckert, Martin J. Menten arxiv

To drive progress in science and engineering, large language models (LLMs) must be able to process large amounts of numerical data and solve long calculations efficiently. This is currently only possible through the use of external tools or extensive reasoning chains, either weakening the numerical representations of LLMs or limiting the length of problems they can solve. We show that frontier LLMs require excessive amounts of reasoning tokens to solve even basic calculations, which is exacerbated by their tokenization strategies that split single numbers into multiple tokens. This motivates the need for efficient and effective single-token number encodings. We introduce a set of desiderata for such encodings and show that existing approaches fail to fulfill them. To address these shortcomings, we propose BitTokens, a novel encoding strategy that represents any number as a single token using its IEEE 754 binary floating-point representation. Through extensive experiments we show that our BitTokens allow even small language models to learn algorithms that solve basic arithmetic operations nearly perfectly. This newly gained efficiency could expand the length and complexity of problems language models can solve.

📄 PDF Abstract BibTeX arXiv:2510.06824

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Do NLP Models Know Numbers? Probing Numeracy in Embeddings

2019-09-17 · IJCNLP 2019 11 · Eric Wallace, Yizhong Wang, Sujian Li, Sameer Singh 외

The ability to understand and work with numbers (numeracy) is critical for many complex reasoning tasks. Currently, most NLP models treat numbers in text in the same way as other tokens---they embed them as distributed v…

Question Answering

Arithmetic-Based Pretraining -- Improving Numeracy of Pretrained Language Models

2022-05-13 · Dominic Petrak, Nafise Sadat Moosavi, Iryna Gurevych

State-of-the-art pretrained language models tend to perform below their capabilities when applied out-of-the-box on tasks that require understanding and working with numbers. Recent work suggests two main reasons for thi…

Contrastive LearningReading ComprehensionTable-to-Text GenerationText Generation

Learning Numeracy: A Simple Yet Effective Number Embedding Approach Using Knowledge Graph

2021-11-01 · Findings (EMNLP) 2021 11 · Hanyu Duan, Yi Yang, Kar Yan Tam

Numeracy plays a key role in natural language understanding. However, existing NLP approaches, not only traditional word2vec approach or contextualized transformer-based language models, fail to learn numeracy. As the re…

Graph EmbeddingKnowledge Graph EmbeddingNatural Language Understanding

Investigating Numeracy Learning Ability of a Text-to-Text Transfer Model

2021-09-10 · Findings (EMNLP) 2021 11 · Kuntal Kumar Pal, Chitta Baral

The transformer-based pre-trained language models have been tremendously successful in most of the conventional NLP tasks. But they often struggle in those tasks where numerical understanding is required. Some possible r…

Transfer Learning

Numeracy in Large Language Models: Fundamental Limitations and Paths to Improvement

2026-08-13 · Aoxin Ni arxiv

Large language models (LLMs) achieve strong results on mathematical reasoning benchmarks yet remain unreliable on elementary numerical tasks, including magnitude comparison, large-integer arithmetic, fractions, and scien…

Mathematical Reasoning