arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.02373cs.LGcs.CR
收藏

SelectFormer:面向Transformer的隐私且实用的数据选择

SelectFormer: Private and Practical Data Selection for Transformers

University of Virginia(弗吉尼亚大学)

Xu Ouyang, Felix Xiaozhu Lin, Yangfeng Ji

AI总结:

本文提出SelectFormer,一种基于MPC的隐私数据选择新流程,通过低维MLP模拟高维非线性算子及多阶段并行调度,将Transformer模型评估延迟从数千小时降至数十小时,准确率仅降约0.20%。

摘要:

自由数据市场的关键在于隐私数据选择,即模型所有者在双方达成交易前,从数据所有者处选择并评估训练数据。为保护数据与模型隐私,该过程需通过多方计算(MPC)评估待训练的目标模型。尽管先前研究认为在MPC上评估基于Transformer的模型成本过高,本文使其在数据选择场景中变得实用。我们的贡献有三点:(1)一种在MPC上进行隐私数据选择的新流程;(2)利用低维MLP模拟高维非线性算子,这些MLP在少量感兴趣数据上训练;(3)以并行、多阶段方式调度MPC。我们在多种Transformer模型和NLP/CV基准上评估了该方法。与直接在MPC上评估目标模型相比,我们的方法将延迟从数千小时降至数十小时,且使用所选数据训练时准确率仅下降约0.20%。

英文摘要:

Critical to a free data market is $\textit{private data selection}$, i.e. the model owner selects and then appraises training data from the data owner before both parties commit to a transaction. To keep the data and model private, this process shall evaluate the target model to be trained over Multi-Party Computation (MPC). While prior work suggests that evaluating Transformer-based models over MPC is prohibitively expensive, this paper makes it practical for the purpose of data selection. Our contributions are three: (1) a new pipeline for private data selection over MPC; (2) emulating high-dimensional nonlinear operators with low-dimension MLPs, which are trained on a small sample of the data of interest; (3) scheduling MPC in a parallel, multiphase fashion. We evaluate our method on diverse Transformer models and NLP/CV benchmarks. Compared to directly evaluating the target model over MPC, our method reduces the delay from thousands of hours to tens of hours, while only seeing around 0.20% accuracy degradation from training with the selected data.

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

↑