AGGC: Adaptive Group Gradient Clipping for Stabilizing Large Language Model Training

Zhiyuan Li, Yuan Wu, Yi Chang
1/17/2026
cs.LGcs.CL

No official code found. Best implementation: ZhiyuanLi218/AGGC (1 star, last commit 2026-04-10).

Abstract

To stabilize the training of Large Language Models (LLMs), gradient clipping is a nearly ubiquitous heuristic used to alleviate exploding gradients. However, traditional global norm clipping erroneously presupposes gradient homogeneity across different functional modules, leading to an adverse "spill-over" effect where volatile parameters force unnecessary scaling on stable ones. To overcome this, we propose Adaptive Group-wise Gradient Clipping (AGGC). AGGC partitions parameters into groups based on functional types and regulates each according to its historical behavior using an Exponential Moving Average (EMA). Specifically, it constructs an adaptive interval to simultaneously mitigate gradient explosion and vanishing, while employing a time-dependent scheduling mechanism to balance exploration and convergence. Experiments on LLaMA 2-7B, Mistral-7B, and Gemma-7B models show that AGGC consistently outperforms LoRA and frequently surpasses Full Fine-Tuning. On the GSM8K benchmark, Mistral-7B fine-tuned with AGGC achieves an accuracy of 72.93%, exceeding LoRA's 69.5%. AGGC also effectively stabilizes Reinforcement Learning with Verifiable Rewards (RLVR), enhancing the logic deduction of Qwen 2.5 and Llama 3.2 models. Experimental results demonstrate that AGGC effectively addresses the limitations of traditional gradient clipping methods, particularly in overcoming gradient heterogeneity, by utilizing a modular, adaptive clipping strategy to stabilize the training process. Due to its lightweight design, AGGC can be seamlessly integrated into existing post-training pipelines with negligible overhead.

View on arXivView PDF

Code Implementations(1)

ZhiyuanLi218/AGGCCommunity75%

The official GitHub page for the ACL 2026 paper "AGGC: Adaptive Group Gradient Clipping for Stabilizing Large Language Model Training".

10ANTLR, JinjaJan 17, 20266 months ago

Similar Papers

Cite this paper

@article{li2026aggc,
  title  = {AGGC: Adaptive Group Gradient Clipping for Stabilizing Large Language Model Training},
  author = {Zhiyuan Li and Yuan Wu and Yi Chang},
  year   = {2026},
  eprint = {2601.11864},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.11864v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.11864.svg)](https://codeofpaper.com/paper/2601.11864)

Discussion