arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.00910cs.ITcs.AIcs.LGmath.IT
收藏

曲率加权容量分配:一种基于最小描述长度原理的层适应性大语言模型优化框架

Curvature-Weighted Capacity Allocation: A Minimum Description Length Framework for Layer-Adaptive Large Language Model Optimization

Bellini College of Artificial Intelligence, Cybersecurity and Computing(人工智能与网络安全与计算学院);University of South Florida(佛罗里达州立大学)

Theophilus Amaefuna, Hitesh Vaidya, Anshuman Chhabra, Ankur Mali

AI总结:

本文提出基于最小描述长度原理的曲率加权容量分配框架,用于层适应性大语言模型优化,通过曲率调整的层增益计算,实现高效容量分配和剪枝,具有理论保证和计算效率。

摘要:

大语言模型中的层级容量高度非均匀:一些层对损失减少有不成比例的贡献,而其他层则几乎冗余。现有方法利用这种非均匀性,如基于影响函数的层评分,产生敏感性估计,但没有提供在硬件约束下将它们转化为分配或剪枝决策的系统机制。我们通过一个统一的、曲率感知的框架来填补这一空白,该框架基于最小描述长度(MDL)原理。我们的核心量是曲率调整的层增益ζ_k² = g_k^T H_kk~^{-1} g_k,我们证明其等于通过单独更新层k可实现的实证风险最大二阶减少的两倍,并且严格优于基于梯度范数的评分,因为它纳入了局部曲率。将这些增益标准化为层质量评分q_k,我们提出了两个凸MDL程序:一个容量分配程序,该程序在递减收益下将专家槽位或LoRA秩优先分配给高曲率层,以及一个剪枝程序,该程序将稀疏性集中在低增益层上,同时保护高增益层免受降级影响。这两个程序都允许由单一对偶变量参数化的唯一闭式解,可通过二分法在O(K log 1/ε)时间内计算。我们证明了一个O(δ²)的转移遗憾界,表明当曲率评分漂移时,源域分配在目标任务上仍接近最优,具有与目标程序条件数相关的显式常数。这些结果将逐层容量优化从经验启发式提升到理论基础、计算高效且具有证明最优性和泛化保证的框架。

英文摘要:

Layer-wise capacity in large language models is highly non-uniform: some layers contribute disproportionately to loss reduction, whereas others are nearly redundant. Existing layer-scoring methods provide sensitivity estimates but do not give a principled rule for converting those estimates into allocation or pruning decisions under a global hardware budget. We introduce a curvature-aware, MDL-inspired framework built around the layer gain $ζ_k^2=g_k^\top\widetilde H_{kk}^{-1}g_k$. This quantity equals twice the maximal decrease predicted by the regularized layer-restricted quadratic model and incorporates inverse local curvature; it is therefore a local surrogate for reducible risk, not a universal dominance claim over gradient-norm scores. After normalizing the gains into scores $q_k$, we formulate two convex programs: one allocates expert slots under diminishing returns, and the other assigns layer-wise pruning ratios while protecting high-score layers. Both continuous programs have unique globally optimal solutions characterized by one dual variable and computable in $O(K\log(1/\varepsilon))$ time by bisection. We also prove a quadratic transfer-regret bound: when source and target score vectors differ by at most $δ$, the target surrogate cost of the transferred decision is within $O(δ^2)$ of the target optimum. Experiments on Mistral-7B and Gemma-7B show clear allocation gains in some settings and competitive, though mixed, pruning performance. The framework therefore replaces an empirical score-to-decision heuristic with a budget-feasible optimization procedure whose guarantees apply to the stated continuous surrogates. Code is available on github repo - [TKAI-LAB-Mali/Curvature-Weighted-Capacity-Allocation](https://github.com/TKAI-LAB-Mali/Curvature-Weighted-Capacity-Allocation.git)

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

↑