学习率工程:从粗略单一参数到分层进化
Learning Rate Engineering: From Coarse Single Parameter to Layered Evolution
AI总结:
本文系统化学习率调度的五代演变,提出DALS框架整合多种策略,通过跨数据集分析揭示不同策略的适用场景,证明DALS在合成数据和微调任务中表现最佳。
摘要:
学习率调度从早期SGD的单一全局固定学习率发展到复杂的分层自适应策略。本文将这一演变分为五代:(Gen1) 全局固定学习率,(Gen2) 全局调度,(Gen3) 参数级适应,(Gen4) 层级区分,(Gen5) 联合层-时间调度。我们追踪每个转变的根本动机,展示从一刀切到按层和时间定制如何解决迁移学习的不可能三元组:底层需要小更新以保持通用知识,而高层需要大更新以适应新任务。基于此分类,我们提出Discriminative Adaptive Layer Scaling (DALS),一个整合了相适应余弦调度、深度感知Grokfast梯度过滤和LARS风格信任比的统一框架。我们在五个数据集上评估了18种策略,包括三种DALS变体。在合成数据上,DALS达到98.0%的准确率,而DALS-Fast在3个周期内达到90%。跨数据集分析揭示了显著的领域依赖模式——没有单一策略在所有领域获胜。关键的是,STLR+Discriminative,ULMFiT冠军,在从头开始的任务中表现惨淡(在TREC-6从头开始任务中为43.6% vs. RAdam的96.8%),证明了方向衰减偏见在没有预训练特征时是有害的。DALS避免了极端情况,既在合成数据中取得最佳结果,又在微调任务中保持竞争力。
英文摘要:
Learning rate scheduling has evolved from the single global fixed rate of early SGD to sophisticated layer-wise adaptive strategies. We systematize this evolution into five generations: (Gen1) global fixed learning rates, (Gen2) global scheduling, (Gen3) parameter-level adaptation, (Gen4) layer-level differentiation, and (Gen5) joint layer-time scheduling. We trace the fundamental motivation behind each transition, showing how the shift from one-size-fits-all to tailoring by layer and time addresses the impossible trinity of transfer learning: lower layers require small updates to preserve general knowledge while higher layers need large updates to adapt to new tasks. Building on this taxonomy, we propose Discriminative Adaptive Layer Scaling (DALS), a unified framework that integrates phase-adaptive cosine scheduling, depth-aware Grokfast gradient filtering, and LARS-style trust ratios into a single coherent optimizer. We benchmark 18 strategies including three DALS variants across all five generations on five datasets: synthetic, CIFAR-10 (from scratch), RTE, TREC-6, and IMDb (fine-tuning). On synthetic, DALS achieves the best accuracy at 98.0%, while DALS-Fast reaches 90% in just 3 epochs. The cross-dataset analysis reveals striking regime-dependent patterns -- no single strategy wins across all regimes. Critically, STLR+Discriminative, the ULMFiT champion, catastrophically fails on from-scratch tasks (43.6% on TREC-6 from scratch vs. 96.8% with RAdam), confirming that directional decay biases are harmful without pretrained features. DALS avoids either extreme, achieving the best synthetic result while maintaining competitive fine-tuning performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。