Lune

ICML2025顶会

Regress, Don't Guess: A Regression-like Loss on Number Tokens for Language Models

Jonas Zausinger, Lars Pennig, Anamarija Kozina, Sean Sdahl, Julian Sikora, Adrian Dendorfer, Timofey Kuznetsov, Mohamad Hagog, Nina Wiedemann, Kacper Chlodny, Vincent Limbach, Anna Ketteler

摘要

While language models have exceptional capabilities at text generation, they lack a natural inductive bias for emitting numbers and thus struggle in tasks involving quantitative reasoning, especially arithmetic. One fundamental limitation is the nature of the cross-entropy (CE) loss, which assumes a nominal scale and thus cannot convey proximity between generated number tokens. In response, we here present a regression-like loss that operates purely on token level. Our proposed Number Token Loss (NTL) comes in two flavors and minimizes either the L p norm or the Wasserstein distance between the numerical values of the real and predicted number tokens. NTL can easily be added to any language model and extend the CE objective during training without runtime overhead. We evaluate the proposed scheme on various mathematical datasets and find that it consistently improves performance in math-related tasks. In a direct comparison on a regression task, we find that NTL can match the performance of a regression head, despite operating on token level. Finally, we scale NTL up to 3B parameter models and observe improved performance, demonstrating its potential for seamless integration into LLMs. We hope to inspire LLM developers to improve their pretraining objectives and distribute NTL as a minimalistic and lightweight PyPI package ntloss: https://github.com/ai4sd/number- token-loss. Development code for full paper reproduction is available separately.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • CONE: Embeddings for Complex Numerical Data Preserving Unit and Variable Semantics 引用了 FoNE: Precise Single-Token Number Embeddings via Fourier Features
  • PAL: Program-aided Language Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Enhancing Numerical Prediction in LLMs via Smooth MMD Alignment 引用了 PAL: Program-aided Language Models
  • Enhancing Numerical Prediction in LLMs via Smooth MMD Alignment 引用了 FoNE: Precise Single-Token Number Embeddings via Fourier Features
  • Enhancing Numerical Prediction in LLMs via Smooth MMD Alignment 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • FoNE: Precise Single-Token Number Embeddings via Fourier Features 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • FoNE: Precise Single-Token Number Embeddings via Fourier Features 引用了 Faith and Fate: Limits of Transformers on Compositionality
  • The Pitfalls of Next-Token Prediction 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • The Pitfalls of Next-Token Prediction 引用了 Faith and Fate: Limits of Transformers on Compositionality
  • LLM2Fx-Tools: Tool Calling for Music Post-Production 引用了 PAL: Program-aided Language Models
  • LLM2Fx-Tools: Tool Calling for Music Post-Production 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Faith and Fate: Limits of Transformers on Compositionality 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. FoNE: Precise Single-Token Number Embeddings via Fourier FeaturesTianyi Zhou, Deqing Fu, Mahdi Soltanolkotabi, Robin Jia 等ICLR 2026 · 24 次引用
  2. LLM2Fx-Tools: Tool Calling for Music Post-ProductionSeungHeon Doh, Junghyun Koo, Marco A. Martínez-Ramírez, Woosung Choi 等ICLR 2026 · 10 次引用
  3. Beyond Token-level Supervision: Unlocking the Potential of Decoding-based Regression via Reinforcement LearningMing Chen, Sheng Tang, Rong-Xi Tan, Ziniu Li 等ICML 2026 · 2 次引用
  4. CONE: Embeddings for Complex Numerical Data Preserving Unit and Variable SemanticsGyanendra Shrestha, Anna Pyayt, Michael N. GubanovSIGMOD 2026
  5. Enhancing Numerical Prediction in LLMs via Smooth MMD AlignmentZhuo Zuo, Li Yue, Wenhao Zheng, Chenpeng Wang 等ICML 2026

它引用的 Paper16

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
  2. On Layer Normalization in the Transformer ArchitectureRuibin Xiong, Yunchang Yang, Di He, Kai Zheng 等ICML 2020 · 1,388 次引用
  3. Faith and Fate: Limits of Transformers on CompositionalityNouha Dziri, Ximing Lu, Melanie Sclar, Xiang Lorraine Li 等NeurIPS 2023 · 728 次引用
  4. PAL: Program-aided Language ModelsLuyu Gao, Aman Madaan, Shuyan Zhou, Uri Alon 等ICML 2023 · 700 次引用
  5. The Pitfalls of Next-Token PredictionGregor Bachmann, Vaishnavh NagarajanICML 2024 · 163 次引用

相关 Paper

  1. Enhancing Numerical Prediction of MLLMS With Soft LabelingPei Wang, Zhaowei Cai, Hao Yang, Davide Modolo 等ICCV 2025 · 1 次引用
  2. Do Language Models Understand Measurements?Sungjin Park, Seungwoo Ryu, Edward ChoiEMNLP Findings 2022 · 5 次引用
  3. GeoNum: Bridging Numerical Continuity and Language Semantics via Geometric EmbeddingShengkai Jin, Tianyu Chen, Chonghan Gao, Jun HanAAAI 2026
  4. Revisiting the Scaling Properties of Downstream Metrics in Large Language Model TrainingJakub Krajewski, Amitis Shidani, Dan Busbridge, Sam Wiseman 等ICLR 2026 · 8 次引用
  5. Efficient numeracy in language models through single-token number embeddingsLinus Kreitner, Paul Hager, Jonathan Mengedoht, Georgios Kaissis 等ICML 2026 · 5 次引用
黄昏的海面,两侧是细线勾勒的悬崖