VeilTune: Secure Fine-Tuning of Private LoRA Adapters on Public Pretrained Language Models
Huiyu Xie, Tanping Zhou, Tao Hu, Xinlei Liu, Hailong Ma
Abstract
Fine-tuning public pretrained language models with lightweight adapters such as LoRA has become the mainstream way to adapt them to downstream tasks. A service provider often trains its adapter on a data owner's samples, so two assets need protection: the data owner's samples and the provider's adapter. Existing secure fine-tuning protocols protect the samples but reveal to the data owner intermediate results of every training step, such as the hidden representations or logits of its inputs. We show that a single step suffices to copy the adapter: from the hidden representations of one mini-batch of 32 samples, the data owner fits an adapter that agrees with the provider's on 99.2% of test inputs, and logits alone yield about 94%. Protecting both assets therefore requires that no value that depends on the adapter be revealed throughout training. We present VeilTune, to the best of our knowledge the first protocol that fine-tunes a pretrained language model with backpropagation entirely in secure multi-party computation (MPC). VeilTune computes only what the loss depends on, replaces generic MPC operators with training-aware nonlinear operators that stay accurate on the values that training produces, and obliviously skips the steps corrupted by truncation failures. On four few-shot tasks with RoBERTa-large, VeilTune nearly matches plaintext training and is 5.3 points more accurate on average than SecP-Tuning, the state-of-the-art secure fine-tuning protocol. On SST-2, it achieves a 3.5x end-to-end speedup and a 3.6x reduction in communication over SecP-Tuning, and 26x and 17x over full fine-tuning in MPC.
Create a lesson
Related papers
Safety Direction Adapter: A Training-Free Post-Hoc Safety Patch for Fine-Tuned Open-Weight LLMs
Shared title terminology · Chansu Han, Takeshi Takahashi
Felid: A Flexible and Efficient Design for Transformer Fine-Tuning over Encrypted Data
Shared title terminology · Linru Zhang, Jun Jie Sim, Xiangning Wang et al.
Erased but Recoverable: On the Fragility of Concept Erasure Under Fine-Tuning
Shared title terminology · Jun Li, Lizhi Xiong, Ziqiang Li et al.
ReplayAudit: Auditing Outsourced LLM Fine-Tuning via Sealed Records and Selective Replay
Shared title terminology · Yihan Xia, Wenxin Xu, Taotao Wang
MobileProbe: Adaptive Security Evaluation of Mobile Agents via Trajectory-Aware Injection
Shared title terminology · Yingbin Jin, Ji'an Wang, HaoYang Chai et al.
On Private Knowledge Retrieval and Private Inference for secure multi-agent systems
Shared title terminology · Vicenç Torra, Maria Bras-Amorós