paper-with-me

홈 › Papers

To FP8 and Back Again: Quantifying Reduced Precision Effects on LLM Training Stability

2024-05-29 · Joonhyung Lee, Jeongin Bae, Byeongwook Kim, Se Jung Kwon, Dongsoo Lee

The massive computational costs associated with large language model (LLM) pretraining have spurred great interest in reduced-precision floating-point representations to accelerate the process. As a result, the BrainFloat16 (BF16) precision has become the de facto standard for LLM training, with hardware support included in recent generations of accelerators. This trend has gone even further in the latest processors, where FP8 has recently been introduced. However, prior experience with FP16, which was found to be less stable than BF16, raises concerns as to whether FP8, with even fewer bits than FP16, can be a cost-effective option for LLM training. We argue that reduced-precision training schemes must have similar training stability and hyperparameter sensitivities to their higher-precision counterparts in order to be cost-effective. However, we find that currently available methods for FP8 training are not robust enough to allow their use as economical replacements. This prompts us to investigate the stability of reduced-precision LLM training in terms of robustness across random seeds, learning rates, and datasets. To this end, we propose new evaluation techniques and a new metric for quantifying loss landscape sharpness in autoregressive language models. By simulating incremental bit reductions in floating-point representations, we analyze the relationship between representational power and training stability with the intent of aiding future research into the field.

📄 PDF Abstract BibTeX arXiv:2405.18710

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModellingLarge Language Model

Similar Papers 제목 키워드 기반

Not Half Bad: Exploring Half-Precision in Graph Convolutional Neural Networks

2020-10-23 · John Brennan, Stephen Bonner, Amir Atapour-Abarghouei, Philip T Jackson 외

With the growing significance of graphs as an effective representation of data in numerous applications, efficient graph analysis using modern machine learning is receiving a growing level of attention. Deep learning app…

GPULink Prediction

Nearest is Not Dearest: Towards Practical Defense against Quantization-conditioned Backdoor Attacks

2024-05-21 · CVPR 2024 1 · Boheng Li, Yishuo Cai, Haowei Li, Feng Xue 외

Model quantization is widely used to compress and accelerate deep neural networks. However, recent studies have revealed the feasibility of weaponizing model quantization via implanting quantization-conditioned backdoors…

Quantization

Lidar Light Scattering Augmentation (LISA): Physics-based Simulation of Adverse Weather Conditions for 3D Object Detection

2021-07-14 · Velat Kilic, Deepti Hegde, Vishwanath Sindagi, A. Brinton Cooper 외

Lidar-based object detectors are critical parts of the 3D perception pipeline in autonomous navigation systems such as self-driving cars. However, they are known to be sensitive to adverse weather conditions such as rain…

3D Object DetectionAutonomous Navigationobject-detectionObject Detection+1

Reduced Precision Strategies for Deep Learning: A High Energy Physics Generative Adversarial Network Use Case

2021-03-18 · Florian Rehm, Sofia Vallecorsa, Vikram Saletore, Hans Pabst 외

Deep learning is finding its way into high energy physics by replacing traditional Monte Carlo simulations. However, deep learning still requires an excessive amount of computational resources. A promising approach to ma…

Deep LearningGenerative Adversarial NetworkQuantization

Translational Quantum Machine Intelligence for Modeling Tumor Dynamics in Oncology

2022-02-21 · Nam Nguyen, Kwang-cheng Chen

Quantifying the dynamics of tumor burden reveals useful information about cancer evolution concerning treatment effects and drug resistance, which play a crucial role in advancing model-informed drug developments (MIDD) …

Bayesian OptimizationDecision MakingRepresentation Learning