Distance metric learning with joint representation diversification