FoNE: Precise Single-Token Number Embeddings via Fourier Features
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) typically represent numbers using multiple tokens, which requires the model to aggregate these tokens to interpret numerical values. This fragmentation makes both training and inference less efficient and adversely affects the model's performance on number-related tasks. Inspired by the observation that pre-trained LLMs internally learn Fourier-like features for number tokens, we propose Fourier Number Embedding (FoNE), a novel method that directly maps numbers into the embedding space with their Fourier features. FoNE encodes each number as a single token with only two embedding dimensions per digit, effectively capturing numerical values without fragmentation. This compact representation accelerates both training and inference. Compared to traditional subword and digit-wise embeddings, FoNE not only reduces computational overhead but also achieves higher accuracy across various numerical tasks including addition, subtraction and multiplication. On 6-digit decimal addition, FoNE requires 64× less data to achieve 99% accuracy than subword and digit-wise embeddings while using 3× and 6× fewer tokens per number, respectively. Furthermore, FoNE is the only method that yields 100% accuracy on over 100,000 test examples for addition, subtraction, and multiplication. The codes and visualization are available at https://fouriernumber.github.io/.
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 47 of its 63 references that are in the map. First posted on arXiv 13 Feb 2025.
Builds on
47 of 63 references.
References · 47
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2023Mistral 7Bcited by 3,065
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,170
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
35 more
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 724
- 2023Time-LLM: Time Series Forecasting by Reprogramming Large Language Modelscited by 680
- 2023One Fits All:Power General Time Series Analysis by Pretrained LMcited by 615
- 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 509
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 198
- 2023TheoremQA: A Theorem-driven Question Answering datasetcited by 189
- 2023TEMPO: Prompt-based Generative Pre-trained Transformer for Time Series Forecastingcited by 170
- 2024Are Language Models Actually Useful for Time Series Forecasting?cited by 163
- 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoningcited by 142
- 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 136
- 2023Teaching Arithmetic to Small Transformerscited by 121
- 2021Representing Numbers in NLP: a Survey and a Visioncited by 83
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2024Transformers Can Do Arithmetic with the Right Embeddingscited by 77
- 2022Improving Vision Transformers by Revisiting High-frequency Componentscited by 75
- 2025Language Models Use Trigonometry to Do Additioncited by 68
- 2024Are LLMs Capable of Data-based Statistical and Causal Reasoning? Benchmarking Advanced Quantitative Reasoning with Datacited by 61
- 2023Positional Description Matters for Transformers Arithmeticcited by 56
- 2023A Survey on Time-Series Pre-Trained Modelscited by 52
- 2023SNIP: Bridging Mathematical Symbolic and Numeric Realms with Unified Pre-trainingcited by 41
- 2024Pre-trained Large Language Models Use Fourier Features to Compute Additioncited by 38
- 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalizationcited by 37
- 2024Language Models Encode Numbers Using Digit Representations in Base 10cited by 32
- 2024How Numerical Precision Affects Arithmetical Reasoning Capabilities of LLMscited by 24
- 2025Mathematical Reasoning in Large Language Models: Assessing Logical and Arithmetic Errors across Wide Numerical Rangescited by 24
- 2024When Raw Data Prevails: Are Large Language Model Embeddings Effective in Numerical Data Representation for Medical Machine Learning Applications?cited by 11
- 2024Benchmarking ChatGPT on Algorithmic Reasoningcited by 8
- 2024Salsa Fresca: Angular Embeddings and Pre-Training for ML Attacks on Learning With Errorscited by 7
- 2023A polar prediction model for learning to represent visual transformationscited by 6
- 2024How to Leverage Digit Embeddings to Represent Numbers?cited by 5
Built on by
Citing papers per year: 2025: 3; 2026: 18.
21 papers.
Sort:
By area:
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 22
- 2025Computational Algebra with Attention: Transformer Oracles for Border Basis Algorithmscited by 7
- 2025Efficient numeracy in language models through single-token number embeddingscited by 6
- 2026Convergent Evolution: How Different Language Models Learn Similar Number Representationscited by 5
- 2026Structuring Sparsity: Block-Sparse Featurizers Capture Visual Concept Manifoldscited by 3
- 2026Evaluating Relational Reasoning in LLMs with RELcited by 2
- 2025RELATE: A Schema-Agnostic Perceiver Encoder for Multimodal Relational Graphscited by 1
- 2026Representing Time Series as Structured Programs for LLM Reasoningcited by 1
- 2026TabFM: A Zero-Shot Foundation Model for Tabular Datacited by 1
- 2026Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embeddingcited by 0
- 2026CONE: Embeddings for Complex Numerical Data Preserving Unit and Variable Semanticscited by 0
- 2026Large Language Models as Amortized Pareto-Front Generators for Constrained Bi-Objective Convex Optimizationcited by 0
9 more
- 2026The Importance of Being Statistically Earnest: A Critical Re-evaluation of GSM-Symboliccited by 0
- 2026From Symbolic to Geometric: Enabling Spatial Reasoning in Large Language Modelscited by 0
- 2026Prime Fourier Embeddings: A Principled Basis for Modular Arithmeticcited by 0
- 2026Speaking Numbers to LLMs: Multi-Wavelet Number Embeddings for Time Series Forecastingcited by 0
- 2026Enhancing Numerical Prediction in LLMs via Smooth MMD Alignmentcited by 0
- 2026A Multimodal Foundation Model for Longitudinal Patient Representation and Scalable Insight Generation in Oncologycited by 0
- 2026One Sequence, Many Decodings: CAGenMol-2 Recasts Drug Design as Masked Molecular Inferencecited by 0
- 2026TabFM-Auto: Self-Evolving Pipelines for Tabular Foundation Modelscited by 0
- 2026ANI: Adaptive Numerical Injection for Unifying Semantic and Arithmetic Representations in Numerical Reasoningcited by 0
- 2026ANI: Adaptive Numerical Injection for Unifying Semantic and Arithmetic Representations in Numerical Reasoning30 Sep 2026
- 2026TabFM-Auto: Self-Evolving Pipelines for Tabular Foundation Models29 Sep 2026
- 2026TabFM: A Zero-Shot Foundation Model for Tabular Data29 Sep 2026
- 2026One Sequence, Many Decodings: CAGenMol-2 Recasts Drug Design as Masked Molecular Inference28 Sep 2026
- 2026A Multimodal Foundation Model for Longitudinal Patient Representation and Scalable Insight Generation in Oncology25 Aug 2026
- 2026Enhancing Numerical Prediction in LLMs via Smooth MMD Alignment26 Jun 2026
- 2026Speaking Numbers to LLMs: Multi-Wavelet Number Embeddings for Time Series Forecasting25 Jun 2026
- 2026Structuring Sparsity: Block-Sparse Featurizers Capture Visual Concept Manifolds23 Jun 2026
- 2026Prime Fourier Embeddings: A Principled Basis for Modular Arithmetic22 Jun 2026
- 2026Representing Time Series as Structured Programs for LLM Reasoning10 Jun 2026
- 2026From Symbolic to Geometric: Enabling Spatial Reasoning in Large Language Models3 Jun 2026
- 2026The Importance of Being Statistically Earnest: A Critical Re-evaluation of GSM-Symbolic27 May 2026
9 more
- 2026Large Language Models as Amortized Pareto-Front Generators for Constrained Bi-Objective Convex Optimization12 May 2026
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behavior6 May 2026
- 2026Convergent Evolution: How Different Language Models Learn Similar Number Representations22 Apr 2026
- 2026Evaluating Relational Reasoning in LLMs with REL14 Apr 2026
- 2026CONE: Embeddings for Complex Numerical Data Preserving Unit and Variable Semantics5 Mar 2026
- 2026Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embedding17 Jan 2026
- 2025RELATE: A Schema-Agnostic Perceiver Encoder for Multimodal Relational Graphs22 Oct 2025
- 2025Efficient numeracy in language models through single-token number embeddings8 Oct 2025
- 2025Computational Algebra with Attention: Transformer Oracles for Border Basis Algorithms29 May 2025
- 2026Evaluating Relational Reasoning in LLMs with RELcited by 2
- 2026Representing Time Series as Structured Programs for LLM Reasoningcited by 1
- 2026The Importance of Being Statistically Earnest: A Critical Re-evaluation of GSM-Symboliccited by 0
- 2026From Symbolic to Geometric: Enabling Spatial Reasoning in Large Language Modelscited by 0
- 2026ANI: Adaptive Numerical Injection for Unifying Semantic and Arithmetic Representations in Numerical Reasoningcited by 0
- 2026ANI: Adaptive Numerical Injection for Unifying Semantic and Arithmetic Representations in Numerical Reasoning30 Sep 2026
- 2026Representing Time Series as Structured Programs for LLM Reasoning10 Jun 2026
- 2026From Symbolic to Geometric: Enabling Spatial Reasoning in Large Language Models3 Jun 2026
- 2026The Importance of Being Statistically Earnest: A Critical Re-evaluation of GSM-Symbolic27 May 2026
- 2026Evaluating Relational Reasoning in LLMs with REL14 Apr 2026
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 22
- 2025Computational Algebra with Attention: Transformer Oracles for Border Basis Algorithmscited by 7
- 2025Efficient numeracy in language models through single-token number embeddingscited by 6
- 2026Convergent Evolution: How Different Language Models Learn Similar Number Representationscited by 5
- 2026Structuring Sparsity: Block-Sparse Featurizers Capture Visual Concept Manifoldscited by 3
- 2025RELATE: A Schema-Agnostic Perceiver Encoder for Multimodal Relational Graphscited by 1
- 2026TabFM: A Zero-Shot Foundation Model for Tabular Datacited by 1
- 2026Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embeddingcited by 0
- 2026CONE: Embeddings for Complex Numerical Data Preserving Unit and Variable Semanticscited by 0
- 2026Large Language Models as Amortized Pareto-Front Generators for Constrained Bi-Objective Convex Optimizationcited by 0
- 2026Prime Fourier Embeddings: A Principled Basis for Modular Arithmeticcited by 0
- 2026Speaking Numbers to LLMs: Multi-Wavelet Number Embeddings for Time Series Forecastingcited by 0
12 most cited of 15 All 15 (JSON)
- 2026TabFM: A Zero-Shot Foundation Model for Tabular Data29 Sep 2026
- 2026One Sequence, Many Decodings: CAGenMol-2 Recasts Drug Design as Masked Molecular Inference28 Sep 2026
- 2026A Multimodal Foundation Model for Longitudinal Patient Representation and Scalable Insight Generation in Oncology25 Aug 2026
- 2026Enhancing Numerical Prediction in LLMs via Smooth MMD Alignment26 Jun 2026
- 2026Speaking Numbers to LLMs: Multi-Wavelet Number Embeddings for Time Series Forecasting25 Jun 2026
- 2026Structuring Sparsity: Block-Sparse Featurizers Capture Visual Concept Manifolds23 Jun 2026
- 2026Prime Fourier Embeddings: A Principled Basis for Modular Arithmetic22 Jun 2026
- 2026Large Language Models as Amortized Pareto-Front Generators for Constrained Bi-Objective Convex Optimization12 May 2026
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behavior6 May 2026
- 2026Convergent Evolution: How Different Language Models Learn Similar Number Representations22 Apr 2026
- 2026CONE: Embeddings for Complex Numerical Data Preserving Unit and Variable Semantics5 Mar 2026
- 2026Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embedding17 Jan 2026
12 newest of 15 All 15 (JSON)