# Poster 30568

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/30568

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everyone, I'm excited to present our work Number Cookbook, Number Understanding of Language Models and How to Improve It. I'm Hao Tong, a fourth year PhD student at Peking University. My research focuses on the reasoning ability of large language models. A critical observation in LLMs is their surprising failures on basic number-related tasks.
Such as comparison, addition, multiplication or extracting digits from large numbers. Currently, most benchmarks mix number processing with other tasks and simplify numbers, making them impractical for evaluating the raw number understanding and processing abilities of LLMs. Therefore, we need a benchmark specifically focused on numbers.
To address this, we introduce the NUPAR test, short for Number Understanding and Processing Ability. Our benchmark includes four types of numbers, integers, floats, fractions and scientific notations, and 17 tasks across four categories, elementary arithmetic, comparison, digital understanding, and conversion between representations. This combines into 41 distinct tasks.
We then evaluate in preventing LLMs on our benchmark. Our findings reveal that while current LLMs, especially the most powerful ones, perform well on typical tasks, their performance drops on less common ones. Tasks involving long numbers and digit-based reasoning remain particularly challenging.
To make this results more accessible, we've created an interactive report where you can explore specific tasks and model performance. Now let's talk about improving number ability in LLMs. Our research highlights a few key insights. First, the tokenizer plays a crucial role.
While there is a trend to increase vocabulary size, we find that using a one-digit tokenizer yields the best results for number-related tasks. It improves both in-domain performance and out-of-domain generalization, and training is faster compared to using two or three-digit tokenizers. Another key conclusion is about post-training fine-tuning.
We found that fine-tuning can significantly boost task performance, allowing the LAMA 3.1 model with 8 billion parameters to nearly match GPT-4-0's accuracy. However, we also discovered that techniques like changing tokenizers, positional encodings, and data formats cannot be directly applied during the fine-tuning stage.
It is a string of thoughts, a promising approach for solving number-related tasks. To explore this, we fine-tune the model to follow a specific COT format called rule -following COT, which guides models to adhere to predefined rules when solving tasks. Given that the NUPAR tasks have clear rules, this approach is particularly well-suited for them.
Over-redundance showed that motors using rule-following CLT achieve better accuracy on several tasks. However, this improvement comes at a cost. This model requires much longer context and increased inference times, which can significantly hinder their practical usability.
In summary, we present the NUPA test, a comprehensive benchmark to assess LLM's number understanding and processing ability. Our findings show that current LLMs struggle with less common tasks and long numbers. While some techniques improve performance in the pre-train stage, they don't directly transfer to post-training fine-tuning.
COT is a possible way to improve the NUPA, but increased time and context window are its bottlenecks. For more details, you can check out the paper and our GitHub page. Also welcome to my personal and group sites by scanning the QR code. Thank you for your attention.
