ScaleOT: Privacy-utility-scalable Offsite-tuning with Dynamic LayerReplace and Selective Rank Compression
Kai Yao, Zhaorui Tan, Tiandi Ye, Lichun Li, Yuan Zhao, Wenyan Liu, Wei Wang, Jianke Zhu
TL;DR
ScaleOT addresses the privacy-utility challenges of offsite-tuning large language models by avoiding uniform LayerDrop and costly distillation. It introduces an importance-aware Dynamic LayerReplace that uses reinforcement learning to identify which layers to replace with lightweight harmonizers, and a Selective Rank Compression that applies rank-$r$ approximations (via SVD) to compress the emulator, focusing on MHSA layers to enhance privacy with minimal utility loss. The emulator is created by the triplet $(N_a,\alpha,\beta)$, balancing the number of adapted layers, the fraction replaced by harmonizers, and the rank reduction, enabling privacy-utility-scalable emulators. Empirical results show ScaleOT can achieve nearly lossless plug-in performance compared to full fine-tuning while providing stronger model privacy across multiple model scales and tasks, illustrating its practical impact for secure, scalable offsite-tuning.
Abstract
Offsite-tuning is a privacy-preserving method for tuning large language models (LLMs) by sharing a lossy compressed emulator from the LLM owners with data owners for downstream task tuning. This approach protects the privacy of both the model and data owners. However, current offsite tuning methods often suffer from adaptation degradation, high computational costs, and limited protection strength due to uniformly dropping LLM layers or relying on expensive knowledge distillation. To address these issues, we propose ScaleOT, a novel privacy-utility-scalable offsite-tuning framework that effectively balances privacy and utility. ScaleOT introduces a novel layerwise lossy compression algorithm that uses reinforcement learning to obtain the importance of each layer. It employs lightweight networks, termed harmonizers, to replace the raw LLM layers. By combining important original LLM layers and harmonizers in different ratios, ScaleOT generates emulators tailored for optimal performance with various model scales for enhanced privacy protection. Additionally, we present a rank reduction method to further compress the original LLM layers, significantly enhancing privacy with negligible impact on utility. Comprehensive experiments show that ScaleOT can achieve nearly lossless offsite tuning performance compared with full fine-tuning while obtaining better model privacy.
