用压缩距离实现小模型客户端分类,隐私安全且高效
Tiny, Hardware-Independent, Compression-based Classification
- 以压缩距离替代传统度量,适配客户端小数据场景
- 仅需少量样本训练即达高精度,计算开销低
- 适合资源受限设备上的隐私保护型分类任务
机器学习发展加剧了平台与用户之间的隐私矛盾。随着用户对数据隐私意识增强,客户端本地存储与分析成为主流趋势。然而,现有方法依赖大量标注数据且计算开销大,难以在资源受限设备上部署。本文研究基于压缩的距离度量(归一化压缩距离,NCD),发现其并非严格度量;将其拓展至核方法框架,提升复杂数据建模能力,并提出加速训练的技术。实验表明,NCD在分类性能上媲美甚至优于其他度量与核函数,仅需微增计算成本,且无需满足正式度量性质。最终实现极简模型,在极少样本下仍保持高准确率,可完全在客户端设备运行,仅使用用户自身数据。
原文摘要 · Abstract (English)
The recent developments in machine learning have highlighted a conflict between online platforms and their users in terms of privacy. The importance of user privacy and the struggle for power over user data has been intensified as regulators and operators attempt to police online platforms. As users have become increasingly aware of privacy issues, client-side data storage, management, and analysis have become a favoured approach to large-scale centralised machine learning. However, state-of-the-art machine learning methods require vast amounts of labelled user data, making them unsuitable for models that reside client-side and only have access to a single user's data. State-of-the-art methods are also computationally expensive, which degrades the user experience on compute-limited hardware and also reduces battery life. A recent alternative approach has proven remarkably successful in classification tasks across a wide variety of data -- using a compression-based distance measure (called normalised compression distance) to measure the distance between generic objects in classical distance-based machine learning methods. In this work, we demonstrate that the normalised compression distance is actually not a metric; develop it for the wider context of kernel methods to allow modelling of complex data; and present techniques to improve the training time of models that use this distance measure. We demonstrate that the normalised compression distance works as well as and sometimes better than other metrics and kernels -- while requiring only marginally more computational costs and in spite of the lack of formal metric properties. The end results is a simple model with remarkable accuracy even when trained on a very small number of samples allowing for models that are small and effective enough to run entirely on a client device using only user-supplied data.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。