Multi-Paced Dictionary Learning for cross-domain retrieval and recognition