paper-with-me

홈 › Papers

Benchmarking Large Language Models on Floating-Point Error Classification

2026-06-30 · Lisa Taldir, Muhammad Ahmad Saeed, David Defour, Pablo de Oliveira Castro, Eric Petit arxiv

This paper investigates the capability of Large Language Models (LLMs) to detect and classify floating-point errors statically in software code. We introduce InterFLOPBench, a benchmark of 90 C kernels with 1 130 test samples designed to evaluate LLMs across six categories of floating-point error: cancellation, comparison, division by zero, overflow, underflow and NaN, compared across 14 LLMs. The evaluation framework treats floating-point error detection as a multi-label classification problem and employs the F1-score metric to measure performance. Results demonstrate that latest models (Qwen 3 32b, Gemini 2.5 Flash, Phi 4 Reasoning, DeepSeek R1T2, and gpt-oss 20b and 120b) achieve a performance greater than 0.88 overall F1-score. Performance varies between error categories, between explicit operations such as division by zero (Average F1-score: 0.8479) and more subtle numerical phenomena such as underflow (Average F1-score: 0.6059) and cancellation (Average F1-score: 0.6164).

📄 PDF Abstract BibTeX arXiv:2606.31308

Code (0)

등록된 구현이 없습니다.

Tasks

Multi-Label Classification

Similar Papers 제목 키워드 기반

Benchmarking Post-Training Quantization of Large Language Models under Microscaling Floating Point Formats

2026-01-14 · Manyi Zhang, Ji-Fu Li, Zhongao Sun, Haoli Bai 외 arxiv

Microscaling Floating-Point (MXFP) has emerged as a promising low-precision format for large language models (LLMs). Despite various post-training quantization (PTQ) algorithms being proposed, they mostly focus on intege…

Addition is All You Need for Energy-efficient Language Models

2024-10-01 · Hongyin Luo, Wei Sun

Large neural networks spend most computation on floating point tensor multiplications. In this work, we find that a floating point multiplier can be approximated by one integer adder with high precision. We propose the l…

AllNatural Language UnderstandingQuestion Answering

MGS: Markov Greedy Sums for Accurate Low-Bitwidth Floating-Point Accumulation

2025-04-12 · Vikas Natesh, H. T. Kung, David Kong

We offer a novel approach, MGS (Markov Greedy Sums), to improve the accuracy of low-bitwidth floating-point dot products in neural network computations. In conventional 32-bit floating-point summation, adding values with…

image-classificationImage Classification

EFloat: Entropy-coded Floating Point Format for Compressing Vector Embedding Models

2021-02-04 · NeurIPS 2021 12 · Rajesh Bordawekar, Bulent Abali, Ming-Hung Chen

In a large class of deep learning models, including vector embedding models such as word and database embeddings, we observe that floating point exponent values cluster around a few unique values, permitting entropy base…

Data Compression

On the Expressive Power of Floating-Point Transformers

2026-01-23 · Sejun Park, Yeachan Park, Geonho Hwang arxiv

The study on the expressive power of transformers shows that transformers are permutation equivariant, and they can approximate all permutation-equivariant continuous functions on a compact domain. However, these results…