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

基于安全多方计算的快速隐私保护文本分类

Fast Privacy-Preserving Text Classification based on Secure Multiparty Computation

University of Campinas(坎皮纳斯大学);University of Washington Tacoma(华盛顿大学塔科马分校);Monash University(莫纳什大学);Aarhus University(奥胡斯大学)

Amanda Resende, Davis Railsback, Rafael Dowsley, Anderson C. A. Nascimento, Diego F. Aranha

摘要:

我们提出了一个隐私保护的朴素贝叶斯分类器,并将其应用于私人文本分类问题。在此设置中,一方(Alice)持有文本消息,而另一方(Bob)持有分类器。在协议结束时,Alice只会学习应用于她的文本输入的分类器的结果,而Bob什么也不会学到。我们的解决方案是基于安全多方计算(SMC)。我们的Rust实现为非结构化文本的分类提供了一个快速安全的解决方案。将我们的解决方案应用于垃圾邮件检测的情况(该解决方案是通用的,并且可以在可以采用朴素贝叶斯分类器的任何其他场景中使用),在Bob的模型的字典大小包括所有单词(n = 5200)并且Alice的SMS具有至多m = 160个一元词的情况下,我们可以在小于340 ms内将SMS分类为垃圾邮件或火腿。在n = 369和m = 8(数据库中垃圾短信的平均值)的情况下,我们的解决方案只需要21毫秒。

英文摘要:

We propose a privacy-preserving Naive Bayes classifier and apply it to the problem of private text classification. In this setting, a party (Alice) holds a text message, while another party (Bob) holds a classifier. At the end of the protocol, Alice will only learn the result of the classifier applied to her text input and Bob learns nothing. Our solution is based on Secure Multiparty Computation (SMC). Our Rust implementation provides a fast and secure solution for the classification of unstructured text. Applying our solution to the case of spam detection (the solution is generic, and can be used in any other scenario in which the Naive Bayes classifier can be employed), we can classify an SMS as spam or ham in less than 340ms in the case where the dictionary size of Bob's model includes all words (n = 5200) and Alice's SMS has at most m = 160 unigrams. In the case with n = 369 and m = 8 (the average of a spam SMS in the database), our solution takes only 21ms.

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

↑