arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.06736cs.LGcs.CL
收藏

ZOQO: 零阶量化优化

ZOQO: Zero-Order Quantized Optimization

Tel Aviv University(特拉维夫大学);KLA(科磊公司)

Noga Bar, Raja Giryes

AI总结:

针对深度学习在资源受限环境下的计算与内存挑战,提出零阶量化优化方法ZOQO,利用梯度符号零阶近似维持参数量化、无需全精度梯度计算,在大模型微调和黑盒对抗攻击实验中取得媲美全精度方法的性能。

摘要:

深度学习中不断增长的计算与内存需求带来了严峻挑战,在资源受限环境中尤为突出。我们提出了一种零阶量化优化(ZOQO)方法,用于训练参数与运算均经过量化的模型。该方法利用梯度符号的零阶近似,调整学习过程以维持参数量化,无需进行全精度梯度计算。我们通过大语言模型微调以及黑盒对抗攻击实验验证了ZOQO的有效性。尽管存在零阶与量化运算训练的局限性,该方法与全精度方法相比仍取得了具有竞争力的性能,凸显了其在低资源环境下的应用潜力。

英文摘要:

The increasing computational and memory demands in deep learning present significant challenges, especially in resource-constrained environments. We introduce a zero-order quantized optimization (ZOQO) method designed for training models with quantized parameters and operations. Our approach leverages zero-order approximations of the gradient sign and adapts the learning process to maintain the parameters' quantization without the need for full-precision gradient calculations. We demonstrate the effectiveness of ZOQO through experiments in fine-tuning of large language models and black-box adversarial attacks. Despite the limitations of zero-order and quantized operations training, our method achieves competitive performance compared to full-precision methods, highlighting its potential for low-resource environments.

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

↑