ANI: Adaptive Numerical Injection for Unifying Semantic and Arithmetic Representations in Numerical Reasoning
Jinsung Jeon, Seung-won Hwang
Key points
From the paper's conclusion- To combine the complementary strengths, we propose \textbf{ANI (Adaptive Numerical Injection)}, a hybrid framework that governs the selective injection of numerical features based on the semantic context.
Abstract
Precise numerical reasoning with Large Language Models (LLMs) is essential for expanding their applicability to complex real-world tasks. However, text-based tokenization often fragments numbers, significantly hindering precise arithmetic reasoning. Meanwhile, numerical embeddings, despite arithmetic precision, rely on context-agnostic substitution that disregards the semantic role of numbers as identifiers. To combine the complementary strengths, we propose \textbf{ANI (Adaptive Numerical Injection)}, a hybrid framework that governs the selective injection of numerical features based on the semantic context. By employing a context-aware gating mechanism, we selectively inject numerical embeddings (specifically FoNE) into the latent space, explicitly preserving nominal identifiers while enhancing quantitative operands. Through extensive evaluations across various LLMs, we demonstrate that ANI enhances MATH performance by 9.5 points over the official reference model, while maintaining robust performance on general linguistic benchmarks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Survey on Large Language Models for Mathematical ReasoningACM Computing Surveys · 2025
- Beyond Tokens: NumAnchor for Address-Grounded Numeric Operand Representation in Assembly Language ModelsarXiv · 2026
- Learning to Couple: Context-Adaptive Joint Denoising for Diffusion Language ModelsarXiv · 2026
- A CPU Inside an LLM: Zero-Gradient Compilation of Exact Circuits into Pretrained WeightsarXiv · 2026
- Recursive Self-Editing: LLMs Program Their Own Weight Edits for Self-ImprovementarXiv · 2026
- Universal Textual Teaching for LLMsarXiv · 2026