发明名称 Fast methods of learning distance metric for classification and retrieval
摘要 A nearest-neighbor-based distance metric learning process includes applying an exponential-based loss function to provide a smooth objective; and determining an objective and a gradient of both hinge-based and exponential-based loss function in a quadratic time of the number of instances using a computer.
申请公布号 US8873843(B2) 申请公布日期 2014.10.28
申请号 US201213479256 申请日期 2012.05.23
申请人 NEC Laboratories America, Inc. 发明人 Zhu Shenghuo;Huang Chang;Yu Kai
分类号 G06K9/62 主分类号 G06K9/62
代理机构 代理人 Kolodka Joseph
主权项 1. A nearest-neighbor-based distance metric learning process implemented by a computer, comprising: applying an exponential-based loss function to provide a smooth objective; and determining an objective and a gradient of both hinge-based and exponential-based loss function in a quadratic time of the number of instances using a computer;wherein the loss function and its gradient comprises:l=Ex,y∼x⁢1Nx-[(1+d2⁡(y,x))⁢Zx,y-∑z∈Zx,y⁢⁢d2⁡(z,x)]l.=Ex,y∼x⁢1Nx-⁢∑z∈Zx,y⁢{(y-x)⁢(y-x)-(z-x)⁢(z-x)}=∑x,v⁢⁢wx,v⁡(v-x)⁢(v-x)=X⁡(S-W-W)⁢X where d is distance, x and y are data points, z is sampled from a class which x does not belong to, Zx,y is the set of data not belonging to the class of x and satifying 1+d2(y,x)≧d2(z,x), wx,v isZx,vNNx+⁢Nx-if v in the same class of x, wx,v is-Yx,vNNx+⁢Nx-if v is not in the same class as x, X is an p×N matrix whose j-th column is the feature vector of xj, W is an N×N matrix whose i,j-th element is wxi,xj, S is an N×N diagonal matrix whose i-th diagonal element is Σj(wij+wji), NNx+ is the size of class of x, Nx− is the size of data not in the class of x, and E is the expection over values x,y˜x.
地址 Princeton NJ US