arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.04004stat.MLcs.LG
收藏

分布鲁棒加权$k$ -最近邻

Distributionally Robust Weighted $k$-Nearest Neighbors

Shixiang Zhu, Liyan Xie, Minghe Zhang, Rui Gao, Yao Xie

摘要:

从少量样本中学习鲁棒的分类器仍然是机器学习中的一个关键挑战。研究的一个主要重点是开发基于$k$ -最近邻($k$ -NN)的算法,该算法与捕获样本之间相似性的度量学习相结合。当样本有限时,鲁棒性对于保证分类器的泛化能力尤为重要。在本文中,我们研究了加权$k$ -最近邻的极小极大分布鲁棒公式,其目的是找到最佳的加权$k$ -NN分类器,对冲功能的不确定性。我们开发了一个算法,\texttt{Dr.k-NN},有效地解决了这个功能的优化问题和功能,在进行分类时分配最小最大的最佳权重的训练样本。这些权重是类相关的,并且由最不利场景下样本特征的相似性来确定。当不确定性集的大小被适当调整时,鲁棒分类器具有比普通$k$ -NN更小的Lipschitz范数,从而提高了泛化能力。我们还将我们的框架与基于神经网络的特征嵌入相结合。我们证明了我们的算法的竞争力的性能相比,国家的最先进的在几个训练样本设置与各种真实数据的实验。

英文摘要:

Learning a robust classifier from a few samples remains a key challenge in machine learning. A major thrust of research has been focused on developing $k$-nearest neighbor ($k$-NN) based algorithms combined with metric learning that captures similarities between samples. When the samples are limited, robustness is especially crucial to ensure the generalization capability of the classifier. In this paper, we study a minimax distributionally robust formulation of weighted $k$-nearest neighbors, which aims to find the optimal weighted $k$-NN classifiers that hedge against feature uncertainties. We develop an algorithm, \texttt{Dr.k-NN}, that efficiently solves this functional optimization problem and features in assigning minimax optimal weights to training samples when performing classification. These weights are class-dependent, and are determined by the similarities of sample features under the least favorable scenarios. When the size of the uncertainty set is properly tuned, the robust classifier has a smaller Lipschitz norm than the vanilla $k$-NN, and thus improves the generalization capability. We also couple our framework with neural-network-based feature embedding. We demonstrate the competitive performance of our algorithm compared to the state-of-the-art in the few-training-sample setting with various real-data experiments.

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

↑