arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.11838cs.LGcs.AI
收藏

对监督微调的分层分析

A Layer-wise Analysis of Supervised Fine-Tuning

Hefei University(合肥大学);Lanzhou University(兰州大学)

Qinghua Zhao, Xueling Gong, Xinyu Chen, Zhongfeng Kang, Xinlu Li

AI总结:

本文通过信息论、几何和优化指标分析模型规模,揭示了中间层稳定而顶层敏感的分层特性,并提出Mid-Block Efficient Tuning方法,在GSM8K数据集上优于LoRA,证明有效对齐是局部而非分布的。

摘要:

尽管对对齐至关重要,监督微调(SFT)会带来灾难性遗忘的风险,但指令遵循能力的分层出现仍不明确。我们通过信息论、几何和优化指标的全面分析,研究了模型规模(1B-32B)下的机制。实验揭示了深度依赖模式:中间层(20%-80%)稳定,而顶层敏感。基于此,我们提出Mid-Block Efficient Tuning,选择性更新这些关键中间层。实验证明,该方法在GSM8K(OLMo2-7B)上比标准LoRA高出10.2%,参数开销减少,表明有效对齐是架构局部而非分布的。代码可在https://anonymous.4open.science/r/base_sft公开获取。

英文摘要:

While critical for alignment, Supervised Fine-Tuning (SFT) incurs the risk of catastrophic forgetting, yet the layer-wise emergence of instruction-following capabilities remains elusive. We investigate this mechanism via a comprehensive analysis utilizing information-theoretic, geometric, and optimization metrics across model scales (1B-32B). Our experiments reveal a distinct depth-dependent pattern: middle layers (20\%-80\%) are stable, whereas final layers exhibit high sensitivity. Leveraging this insight, we propose Mid-Block Efficient Tuning, which selectively updates these critical intermediate layers. Empirically, our method outperforms standard LoRA up to 10.2\% on GSM8K (OLMo2-7B) with reduced parameter overhead, demonstrating that effective alignment is architecturally localized rather than distributed. The code is publicly available at https://anonymous.4open.science/r/base_sft.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑