mlsanityData to 7 Oct 2026

FoNE: Precise Single-Token Number Embeddings via Fourier Features

arXiv 2502.09741 ↗First posted 13 Feb 2025cs.CL cs.LGcited by 21

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2024The Llama 3 Herd of Modelscited by 14,192
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  7. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  8. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  9. 2023Mistral 7Bcited by 3,065
  10. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  11. 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,170
  12. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
35 more
  1. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  2. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
  3. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  4. 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 724
  5. 2023Time-LLM: Time Series Forecasting by Reprogramming Large Language Modelscited by 680
  6. 2023One Fits All:Power General Time Series Analysis by Pretrained LMcited by 615
  7. 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 509
  8. 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
  9. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
  10. 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 198
  11. 2023TheoremQA: A Theorem-driven Question Answering datasetcited by 189
  12. 2023TEMPO: Prompt-based Generative Pre-trained Transformer for Time Series Forecastingcited by 170
  13. 2024Are Language Models Actually Useful for Time Series Forecasting?cited by 163
  14. 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoningcited by 142
  15. 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 136
  16. 2023Teaching Arithmetic to Small Transformerscited by 121
  17. 2021Representing Numbers in NLP: a Survey and a Visioncited by 83
  18. 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
  19. 2024Transformers Can Do Arithmetic with the Right Embeddingscited by 77
  20. 2022Improving Vision Transformers by Revisiting High-frequency Componentscited by 75
  21. 2025Language Models Use Trigonometry to Do Additioncited by 68
  22. 2024Are LLMs Capable of Data-based Statistical and Causal Reasoning? Benchmarking Advanced Quantitative Reasoning with Datacited by 61
  23. 2023Positional Description Matters for Transformers Arithmeticcited by 56
  24. 2023A Survey on Time-Series Pre-Trained Modelscited by 52
  25. 2023SNIP: Bridging Mathematical Symbolic and Numeric Realms with Unified Pre-trainingcited by 41
  26. 2024Pre-trained Large Language Models Use Fourier Features to Compute Additioncited by 38
  27. 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalizationcited by 37
  28. 2024Language Models Encode Numbers Using Digit Representations in Base 10cited by 32
  29. 2024How Numerical Precision Affects Arithmetical Reasoning Capabilities of LLMscited by 24
  30. 2025Mathematical Reasoning in Large Language Models: Assessing Logical and Arithmetic Errors across Wide Numerical Rangescited by 24
  31. 2024When Raw Data Prevails: Are Large Language Model Embeddings Effective in Numerical Data Representation for Medical Machine Learning Applications?cited by 11
  32. 2024Benchmarking ChatGPT on Algorithmic Reasoningcited by 8
  33. 2024Salsa Fresca: Angular Embeddings and Pre-Training for ML Attacks on Learning With Errorscited by 7
  34. 2023A polar prediction model for learning to represent visual transformationscited by 6
  35. 2024How to Leverage Digit Embeddings to Represent Numbers?cited by 5

Built on by

Cited by year (2026 to 7 Oct)

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

21 papers.

Sort:

By area:

  1. 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 22
  2. 2025Computational Algebra with Attention: Transformer Oracles for Border Basis Algorithmscited by 7
  3. 2025Efficient numeracy in language models through single-token number embeddingscited by 6
  4. 2026Convergent Evolution: How Different Language Models Learn Similar Number Representationscited by 5
  5. 2026Structuring Sparsity: Block-Sparse Featurizers Capture Visual Concept Manifoldscited by 3
  6. 2026Evaluating Relational Reasoning in LLMs with RELcited by 2
  7. 2025RELATE: A Schema-Agnostic Perceiver Encoder for Multimodal Relational Graphscited by 1
  8. 2026Representing Time Series as Structured Programs for LLM Reasoningcited by 1
  9. 2026TabFM: A Zero-Shot Foundation Model for Tabular Datacited by 1
  10. 2026Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embeddingcited by 0
  11. 2026CONE: Embeddings for Complex Numerical Data Preserving Unit and Variable Semanticscited by 0
  12. 2026Large Language Models as Amortized Pareto-Front Generators for Constrained Bi-Objective Convex Optimizationcited by 0
9 more
  1. 2026The Importance of Being Statistically Earnest: A Critical Re-evaluation of GSM-Symboliccited by 0
  2. 2026From Symbolic to Geometric: Enabling Spatial Reasoning in Large Language Modelscited by 0
  3. 2026Prime Fourier Embeddings: A Principled Basis for Modular Arithmeticcited by 0
  4. 2026Speaking Numbers to LLMs: Multi-Wavelet Number Embeddings for Time Series Forecastingcited by 0
  5. 2026Enhancing Numerical Prediction in LLMs via Smooth MMD Alignmentcited by 0
  6. 2026A Multimodal Foundation Model for Longitudinal Patient Representation and Scalable Insight Generation in Oncologycited by 0
  7. 2026One Sequence, Many Decodings: CAGenMol-2 Recasts Drug Design as Masked Molecular Inferencecited by 0
  8. 2026TabFM-Auto: Self-Evolving Pipelines for Tabular Foundation Modelscited by 0
  9. 2026ANI: Adaptive Numerical Injection for Unifying Semantic and Arithmetic Representations in Numerical Reasoningcited by 0