arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.08712stat.MLcs.LGstat.CO

面向点积核的改进随机特征

Improved Random Features for Dot Product Kernels

EURECOM(欧洲电信研究与信息学院);KAUST(阿卜杜拉国王科技大学)

Jonas Wacker, Motonobu Kanagawa, Maurizio Filippone

AI总结:

该研究针对点积核随机特征近似效率问题,通过复值特征推广现有方法、推导方差闭式表达式开展理论分析,并提出数据驱动优化方法,显著提升了近似效果,适用于大规模学习场景。

摘要:

点积核(例如多项式核与指数(softmax)核)是机器学习中应用最广泛的核函数之一,这类核能够对输入特征之间的交互关系建模,这在计算机视觉、自然语言处理、推荐系统等应用中至关重要。我们为提升点积核随机特征近似的效率做出了多项创新性贡献,让这类核在大规模学习中更具实用价值。首先,我们利用复值随机特征,对现有的多项式核随机特征近似方法(包括Rademacher sketch、Gaussian sketch以及TensorSRHT)进行了推广。我们通过实验证明,使用复值特征能够显著降低这些近似方法的方差。其次,我们通过推导各类随机特征近似方差的闭式表达式,开展了理论分析以明确影响各类随机特征近似效率的因素。这些方差公式阐明了部分近似方法(例如TensorSRHT)方差低于其他方法(例如Rademacher sketch)的适用条件,以及使用复值特征比实值特征方差更低的适用条件。第三,借助这些可在实际中计算评估的方差公式,我们提出了一种数据驱动的优化方法,用于改进通用点积核的随机特征近似,该方法同样适用于Gaussian核。我们通过在多种任务和数据集上开展的大量实验,阐述了这些贡献带来的性能提升。

英文摘要:

Dot product kernels, such as polynomial and exponential (softmax) kernels, are among the most widely used kernels in machine learning, as they enable modeling the interactions between input features, which is crucial in applications like computer vision, natural language processing, and recommender systems. We make several novel contributions for improving the efficiency of random feature approximations for dot product kernels, to make these kernels more useful in large scale learning. First, we present a generalization of existing random feature approximations for polynomial kernels, such as Rademacher and Gaussian sketches and TensorSRHT, using complex-valued random features. We show empirically that the use of complex features can significantly reduce the variances of these approximations. Second, we provide a theoretical analysis for understanding the factors affecting the efficiency of various random feature approximations, by deriving closed-form expressions for their variances. These variance formulas elucidate conditions under which certain approximations (e.g., TensorSRHT) achieve lower variances than others (e.g., Rademacher sketches), and conditions under which the use of complex features leads to lower variances than real features. Third, by using these variance formulas, which can be evaluated in practice, we develop a data-driven optimization approach to improve random feature approximations for general dot product kernels, which is also applicable to the Gaussian kernel. We describe the improvements brought by these contributions with extensive experiments on a variety of tasks and datasets.

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

↑