Efficient distance metric learning by adaptive sampling and mini-batch stochastic gradient descent (SGD)

作者:Qi Qian, Rong Jin, Jinfeng Yi, Lijun Zhang, Shenghuo Zhu

摘要

Distance metric learning (DML) is an important task that has found applications in many domains. The high computational cost of DML arises from the large number of variables to be determined and the constraint that a distance metric has to be a positive semi-definite (PSD) matrix. Although stochastic gradient descent (SGD) has been successfully applied to improve the efficiency of DML, it can still be computationally expensive in order to ensure that the solution is a PSD matrix. It has to, at every iteration, project the updated distance metric onto the PSD cone, an expensive operation. We address this challenge by developing two strategies within SGD, i.e. mini-batch and adaptive sampling, to effectively reduce the number of updates (i.e. projections onto the PSD cone) in SGD. We also develop hybrid approaches that combine the strength of adaptive sampling with that of mini-batch online learning techniques to further improve the computational efficiency of SGD for DML. We prove the theoretical guarantees for both adaptive sampling and mini-batch based approaches for DML. We also conduct an extensive empirical study to verify the effectiveness of the proposed algorithms for DML.

论文关键词:Loss Function, Hybrid Approach, Adaptive Sampling, Pairwise Constraint, Stochastic Gradient Descent

论文评审过程:

论文官网地址:https://doi.org/10.1007/s10994-014-5456-x