Détail du document
Identifiant

oai:arXiv.org:2410.11720

Sujet
Computer Science - Distributed, Pa... Computer Science - Machine Learnin... C.1.4 B.2.3 I.2.7
Auteur
Liang, Yuhang Li, Xinyi Ren, Jie Li, Ang Fang, Bo Chen, Jieyang
Catégorie

Computer Science

Année

2024

Date de référencement

05/02/2025

Mots clés
language faults attnchecker training
Métrique

Résumé

Large Language Models (LLMs) have demonstrated remarkable performance in various natural language processing tasks.

However, the training of these models is computationally intensive and susceptible to faults, particularly in the attention mechanism, which is a critical component of transformer-based LLMs.

In this paper, we investigate the impact of faults on LLM training, focusing on INF, NaN, and near-INF values in the computation results with systematic fault injection experiments.

We observe the propagation patterns of these errors, which can trigger non-trainable states in the model and disrupt training, forcing the procedure to load from checkpoints.

To mitigate the impact of these faults, we propose ATTNChecker, the first Algorithm-Based Fault Tolerance (ABFT) technique tailored for the attention mechanism in LLMs.

ATTNChecker is designed based on fault propagation patterns of LLM and incorporates performance optimization to adapt to both system reliability and model vulnerability while providing lightweight protection for fast LLM training.

Evaluations on four LLMs show that ATTNChecker incurs on average 7% overhead on training while detecting and correcting all extreme errors.

Compared with the state-of-the-art checkpoint/restore approach, ATTNChecker reduces recovery overhead by up to 49x.

Liang, Yuhang,Li, Xinyi,Ren, Jie,Li, Ang,Fang, Bo,Chen, Jieyang, 2024, ATTNChecker: Highly-Optimized Fault Tolerant Attention for Large Language Model Training

Document

Ouvrir

Partager

Source

Articles recommandés par ES/IODE IA

Skin cancer prevention behaviors, beliefs, distress, and worry among hispanics in Florida and Puerto Rico
skin cancer hispanic/latino prevention behaviors protection motivation theory florida puerto rico variables rico psychosocial behavior response efficacy levels skin cancer participants prevention behaviors spanish-preferring tampeños puerto hispanics