paper-with-me

홈 › Papers

GradES: Significantly Faster Training in Transformers with Gradient-Based Early Stopping

2025-09-01 · Qifu Wen, Xi Zeng, Zihan Zhou, Shuaijun Liu, Mehdi Hosseinzadeh, Ningxin Su, Reza Rawassizadeh arxiv

Early stopping monitors global validation loss and halts all parameter updates simultaneously, which is computationally costly for large transformers due to the extended time required for validation inference. We propose \textit{GradES}, a novel gradient-based early stopping approach that operates within transformer components (attention projections and Feed-Forward layer matrices). We found that different components converge at varying rates during fine-tuning for both language and vision-language models. \textit{GradES} tracks the magnitude of gradient changes in backpropagation for these matrices during training. When a projection matrix's magnitude of gradient changes fall below a convergence threshold $τ$, we exclude that projection matrix from further updates individually, eliminating costly validation passes while allowing slow converging matrices to continue learning. \textit{GradES} speeds up training time by 1.57--7.22$\times$ while simultaneously enhancing generalization through early prevention of overfitting, resulting in 1.2\% higher average accuracy in language tasks and 3.88\% on multimodal benchmarks.

📄 PDF Abstract BibTeX arXiv:2509.01842

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Transformers without Tears: Improving the Normalization of Self-Attention

2019-10-14 · EMNLP (IWSLT) 2019 11 · Toan Q. Nguyen, Julian Salazar

We evaluate three simple, normalization-centric changes to improve Transformer training. First, we show that pre-norm residual connections (PreNorm) and smaller initializations enable warmup-free, validation-based traini…

DecoderMachine TranslationTranslationWord Embeddings

Combining Global Sparse Gradients with Local Gradients in Distributed Neural Network Training

2019-11-01 · IJCNLP 2019 11 · Alham Fikri Aji, Kenneth Heafield, Nikolay Bogoychev

One way to reduce network traffic in multi-node data-parallel stochastic gradient descent is to only exchange the largest gradients. However, doing so damages the gradient and degrades the model{'}s performance. Transfor…

Machine TranslationTranslation

Fast Training of Recurrent Neural Networks with Stationary State Feedbacks

2025-03-29 · Paul Caillon, Erwan Fagnou, Alexandre Allauzen

Recurrent neural networks (RNNs) have recently demonstrated strong performance and faster inference than Transformers at comparable parameter budgets. However, the recursive gradient computation with the backpropagation …

Language ModelingLanguage Modelling

ABPT: Amended Backpropagation through Time with Partially Differentiable Rewards

2025-01-24 · Fanxing Li, Fangyu Sun, Tianbao Zhang, Danping Zou

Quadrotor control policies can be trained with high performance using the exact gradients of the rewards to directly optimize policy parameters via backpropagation-through-time (BPTT). However, designing a fully differen…

Towards Efficient and Scalable Sharpness-Aware Minimization

2022-03-05 · CVPR 2022 1 · Yong liu, Siqi Mai, Xiangning Chen, Cho-Jui Hsieh 외

Recently, Sharpness-Aware Minimization (SAM), which connects the geometry of the loss landscape and generalization, has demonstrated significant performance boosts on training large-scale models such as vision transforme…