about
In Defense of Pure 16-Bit Floating-Point Neural Networks (arxiv.org)
2 points by PaulHoule on May 22, 2023 | hide | past | pdf | discuss on HN

In plain words: They checked whether training with 16-bit numbers alone can match the usual 32-bit or mixed 16/32-bit setups, using math on rounding error plus many experiments. It matched their accuracy while running faster, so cheaper hardware can be used.

Abstract · Revisiting 16-bit Neural Network Training: A Practical Approach for Resource-Limited Learning

With the increasing complexity of machine learning models, managing computational resources like memory and processing power has become a critical concern. Mixed precision techniques, which leverage different numerical precisions during model training and inference to optimize resource usage, have been widely adopted. However, access to hardware that supports lower precision formats (e.g., FP8 or FP4) remains limited, especially for practitioners with hardware constraints. For many with limited resources, the available options are restricted to using 32-bit, 16-bit, or a combination of the two. While it is commonly believed that 16-bit precision can achieve results comparable to full (32-bit) precision, this study is the first to systematically validate this assumption through both rigorous theoretical analysis and extensive empirical evaluation. Our theoretical formalization of floating-point errors and classification tolerance provides new insights into the conditions under which 16-bit precision can approximate 32-bit results. This study fills a critical gap, proving for the first time that standalone 16-bit precision neural networks match 32-bit and mixed-precision in accuracy while boosting computational speed. Given the widespread availability of 16-bit across GPUs, these findings are especially valuable for machine learning practitioners with limited hardware resources to make informed decisions.

Juyoung Yun, Sol Choi, Francois Rameau, Byungkon Kang, Zhoulai Fu
arXiv:2305.10947 · cs.LG, cs.AI, cs.CV, cs.PF · submitted May 18, 2023 · updated Apr 17, 2026
abstract · pdf · html

add comment on HN
Also discussed: May 2023 (92 points, 45 comments)