训练大语言模型(LLMs)因其庞大的规模和异构的架构而面临挑战。尽管 AdamW 等自适应优化器有助于应对梯度变化,但它们在高效且有效的逐参数学习率估计方面仍然存在困难,导致训练不稳定、收敛缓慢,并且与参数高效微调(PEFT)技术的兼容性较差。本文提出了梯度分组缩放(Scaling with Gradient Grouping,SGG),这是一种优化器包装器,通过动态分组和分组特定缩放来改进自适应学习率估计。SGG 首先将每一层中的梯度统计量分组为簇,然后应用簇特定缩放来校准每个参数的学习率,从而在保持精确的逐参数自适应的同时施加集体的分组约束。在多种(多模态)大语言模型基准上的实验表明,SGG 能够与现有优化器无缝集成,并在不同模型规模下相比基线方法提供一致的增益和更快的收敛。其在变化的批量大小和学习率下的稳定性使 SGG 成为大语言模型优化的稳健选择。
英文摘要:
Training large language models (LLMs) poses challenges due to their massive scale and heterogeneous architectures. While adaptive optimizers like AdamW help address gradient variations, they still struggle with efficient and effective parameter-wise learning rate estimation, resulting in training instability, slow convergence, and poor compatibility with parameter-efficient fine-tuning (PEFT) techniques. This work introduces Scaling with Gradient Grouping (SGG), an optimizer wrapper that improves adaptive learning rate estimation by dynamic grouping and group-specific scaling. SGG first groups gradient statistics in each layer into clusters and then applies cluster-specific scaling to calibrate learning rates for each parameter, thus imposing collective group-wise constraints while maintaining precise per-parameter adaptation. Experiments on diverse (M)LLM benchmarks show that SGG integrates seamlessly with existing optimizers, and offers consistent gains and faster convergence over baselines, with various model sizes. Its stability across varying batch sizes and learning rates establishes SGG as a robust choice for LLM optimization.
OffQ: Taming Structured Outliers in LLM Quantization by Offsetting
School of Computer and Communication Sciences, EPFL, Switzerland(瑞士联邦理工学院计算机与通信科学学院);Huawei, Switzerland(华为公司);Swiss Data Science Center, ETHZ & EPFL, Switzerland(瑞士数据科学中心,苏黎世联邦理工学院与联邦理工学院)
Calibration and Transformation-Free Weight-Only LLMs Quantization via Dynamic Grouping
Division of Artificial Intelligence, School of Data Science, Lingnan University, Hong Kong, China(岭南大学人工智能学院);Department of Computer Science and Engineering, The Hong Kong University of Science and Technology, Hong Kong, China(香港理工大学计算机科学与工程系);Department of Computing, The Hong Kong Polytechnic University, Hong Kong, China(香港理工大学计算机系);Xiaoi Robot Inc., Shanghai, China(小蚁机器人有限公司)
The Gray Zone of Faithfulness: Taming Ambiguity in Unfaithfulness Detection
Key Lab of Intelligent Information Processing, Institute of Computing Technology, Chinese Academy of Sciences (CAS)(中国科学院信息处理重点实验室);State Key Lab of Al Safety(人工智能安全国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学)
PowerLens: Taming LLM Agents for Safe and Personalized Mobile Power Management
China University of Geosciences (Beijing)(中国地质大学(北京));Shenzhen University(深圳大学);Hong Kong University of Science and Technology(香港科学与技术大学);City University of Hong Kong(香港城市大学)
Achieving binary weight and activation for LLMs using Post-Training Quantization
MAIS, Institute of Automation, Chinese Academy of Sciences(自动化研究所,中国科学院);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Central Media Technology Institute, Huawei Technologies Ltd.(华为技术有限公司媒体技术研究所)
Information Technologies Group, atlanTTic, University of Vigo, Vigo, Spain(信息科技组,atlanTTic,维戈大学);Research on Economics, Management and Information Technologies, Universidade Portucalense, Porto, Portugal(经济学、管理与信息科技研究,葡萄牙波尔图大学);ISEP, Polytechnic of Porto, Porto, Portugal(ISEP,波尔图理工学院);Institute for Systems and Computer Engineering, Technology and Science, Porto, Portugal(系统与计算机工程、技术与科学研究所)
Prompting is not enough: supervised baselines and leakage control for measuring shared decision-making with LLMs in pediatric encounters
University of Utah(犹他大学);University of Utah Spencer Fox Eccles School of Medicine(犹他大学斯宾塞·福克斯·埃克尔斯医学院);Kahlert School of Computing, University of Utah(犹他大学卡勒特计算机学院);Huntsman Cancer Institute, University of Utah(犹他大学亨茨曼癌症研究所)
Mind What You Ask For: Emotional and Rational Faces of Persuasion by Large Language Models
Warsaw University of Technology(华沙理工大学);Wrocław University of Science and Technology(弗罗茨瓦夫理工大学);University of Warsaw(华沙大学);Lincoln University College(林肯大学学院)
Speed Always Wins: A Survey on Efficient Architectures for Large Language Models
Shanghai AI Laboratory(上海人工智能实验室);HKUST (GZ)(香港科技大学);University of Macau(澳门大学);Institute of Automation Chinese Academy of Sciences(中国科学院自动化研究所);Soochow University(苏州大学);KTH Royal Institute of Technology(皇家理工学院);Peking University(北京大学);The Chinese University of Hong Kong(香港中文大学)
Quest: Query-centric Data Synthesis Approach for Long-context Scaling of Large Language Model
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Xiaohongshu Inc(小红书科技有限公司)