Research map / Large language models / Language, safety and interpretability
Language Models Learn Universal Representations of Numbers and Here's Why You Should Care
Michal Štefánik, Timothee Mickus, Marek Kadlčík, Bertram Højer, Michal Spiegel, Raúl Vázquez, Aman Sinha, Josef Kuchař, Philipp Mondorf, Pontus Stenetorp
Masaryk University · National Institute of Informatics · University of Helsinki · IT University of Copenhagen · Kempelen Instutite of Information Technology · Université de Lorraine - ICANS Strasbourg
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add natural-language training contexts for probes instead of synthetic math contexts | sinusoidal probes · cross-context generalization (Llama 3.2 1B) | accuracy | Improved |
| use param-sin probe instead of prior sin probe | ordinal decoding of days, months, numerals · leave-one-out matches | matches: e.g. months Llama 3 8B 6 -> 11 | Improved |
| use sin probes instead of TunedLens | multi-token number decoding · Llama 3.2 1B multi-token numbers | accuracy: 99% at offset -1; TunedLens <=50% at two steps | Improved |
| use param-sin probe instead of prior sin probe for steering | activation steering · multiplication and division error reduction | errors corrected: sin better in only four setups | Improved |
| steer activations toward sinusoidal patch on incorrect predictions | LLM arithmetic · multiplication | errors corrected: up to 30% | Improved |
| steer activations toward sinusoidal patch on incorrect predictions | LLM arithmetic · division | errors corrected: up to 42% | Improved |
| drop layers diverging from sinusoidal pattern (ablation) | LLM arithmetic · multiplication and division | accuracy: improves in 4 out of 6 cases | Mixed |
| remove layer 4 (ablation) | Llama 3.2 3B · multiplication | accuracy: 90.38% -> 92.91% | Improved |
| add L1 regularization of amplitude parameters | param-sin probe · held-out tokens | generalization | Improved |
| compare number pieces vs random pieces in cross-model Fourier IoU | LLM input embeddings · top k=63 frequencies | IoU agreement: perfect agreement for numbers | Improved |
Open problems this paper states
- “Covers only three model families and excludes models above 30B parameters.” → Larger models than the ones studied are left untested. (an open problem in pruning and circuits in LLMs)
- “Uses English-centric LLMs only, so conclusions for Chinese- or Japanese-centric models are untested.” → Evaluated on English only, so other languages are untested. (an open problem in pruning and circuits in LLMs)
Open problems in pruning and circuits in LLMs
Can circuit and interpretability findings be shown to be causal, and to hold on larger and closed models?
- Larger models than the ones studied are left untested. · 17 papers state it
- Evaluated on English only, so other languages are untested. · 11 papers state it
- Findings are correlational, with no causal test of what the model uses. · 8 papers state it
Closest papers by meaning
- Pre-trained Language Models Learn Remarkably Accurate Representations of Numbers (EMNLP 2025 · similarity 0.93)
- Interpreting and Improving Large Language Models in Arithmetic Calculation (ICML 2024 · similarity 0.88)
- Efficient numeracy in language models through single-token number embeddings (ICML 2026 · similarity 0.88)
- Number Cookbook: Number Understanding of Language Models and How to Improve It (ICLR 2025 · similarity 0.87)
- Regress, Don't Guess: A Regression-like Loss on Number Tokens for Language Models (ICML 2025 · similarity 0.86)
- OccamLLM: Fast and Exact Language Model Arithmetic in a Single Step (NeurIPS 2024 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.