AutoClip-DPZO:自动选择差分隐私零阶微调裁剪阈值的方法
AutoClip-DPZO: Practical Private Clipping Selection for Differentially Private Zeroth-Order LLM Fine-Tuning
调差分隐私微调的人应该都踩过裁剪阈值 C 的坑,以前只能反复试跑烧隐私预算。这篇论文把它变成一个分位数估计问题,不用搜索就能逼近最优效果,跑本地隐私微调的团队可以直接省一大块调参成本。
Differentially private zeroth-order optimization(DPZO)因零阶优化不反传梯度而内存开销低,是隐私保护 LLM 微调的热门路线,但它的效果高度依赖裁剪阈值 C——这个 DP 特有超参数决定注入噪声与裁剪偏差之间的平衡。
现有 DPZO 方法靠反复微调、逐个评估候选 C 并报告最好结果来调参,既费算力,又会在差分隐私预算中额外消耗隐私成本。AutoClip-DPZO 把裁剪阈值选择转化为一个私有分位数估计问题:目标分位数只依赖公开的隐私参数和训练参数,作者还给出了 DPZO 误差随 C 变化的刻画,同时覆盖噪声方差和裁剪偏差。实验显示该方法能达到接近最优 C 的效用,免去重复搜索,额外开销可忽略,且不依赖敏感超参。
论文作者指出,为 DPSGD 设计的裁剪选择方法因误差机制根本不同而无法直接迁移到 DPZO,AutoClip-DPZO 补上了这一空白。对需要在本地数据上做隐私合规微调、又受显存限制的企业和研究者来说,这条路线的调参成本大幅降低。
AutoClip-DPZO: Practical Private Clipping Selection for Differentially Private Zeroth-Order LLM Fine-Tuning
Differentially private zeroth-order optimization (DPZO) is a promising approach for privacy-preserving LLM fine-tuning, offering exceptional memory efficiency. However, its utility is highly sensitive to the clipping threshold $C$, a key DP-specific hyperparameter that controls the trade-off between noise injection and clipping bias. Existing DPZO methods typically tune $C$ by repeatedly evaluating candidate values and reporting the best result, which is computationally expensive and incurs additional privacy cost that must be accounted for under DP. Designing a practical DP procedure for selecting $C$ in DPZO is challenging because no fixed choice performs well across settings, straightforward search-based strategies suffer from poor utility and efficiency, and existing clipping-selection methods for DPSGD do not transfer well to DPZO due to its fundamentally different error regime. In this paper, we propose AutoClip-DPZO, a practical DP method that automatically and efficiently selects $C$ for DPZO. Our key idea is to avoid fine-tuning-based search by reducing clipping selection to a private quantile estimation problem, where the target quantile depends only on public privacy and training parameters. To derive this selection rule, we develop a novel characterization of DPZO error as a function of $C$ that captures both noise variance and clipping bias while remaining accurate and easy to optimize. Experiments show that AutoClip-DPZO achieves utility comparable to that obtained with the optimal $C$, while avoiding repeated fine-tuning-based search and incurring negligible additional overhead. Moreover, AutoClip-DPZO does not rely on sensitive hyperparameters.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include differential privacy, DPZO, fine-tuning, model training.
Source attribution: curated from arXiv cs.LG (@Xinghe Chen, Haichao Sha, Zihao Wang, Xiaokui Xiao, XiaoFeng Wang, Wei Dong).