Deep Metric Learning with BIER: Boosting Independent Embeddings Robustly
About
Learning similarity functions between image pairs with deep neural networks yields highly correlated activations of embeddings. In this work, we show how to improve the robustness of such embeddings by exploiting the independence within ensembles. To this end, we divide the last embedding layer of a deep network into an embedding ensemble and formulate training this ensemble as an online gradient boosting problem. Each learner receives a reweighted training sample from the previous learners. Further, we propose two loss functions which increase the diversity in our ensemble. These loss functions can be applied either for weight initialization or during training. Together, our contributions leverage large embedding sizes more effectively by significantly reducing correlation of the embedding and consequently increase retrieval accuracy of the embedding. Our method works with any differentiable loss function and does not introduce any additional parameters during test time. We evaluate our metric learning method on image retrieval tasks and show that it improves over state-of-the-art methods on the CUB 200-2011, Cars-196, Stanford Online Products, In-Shop Clothes Retrieval and VehicleID datasets.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Retrieval | CUB-200-2011 (test) | Recall@165.5 | 251 | |
| Image Retrieval | Stanford Online Products (test) | Recall@174.2 | 220 | |
| Image Retrieval | CUB-200 2011 | Recall@157.5 | 146 | |
| Image Retrieval | CARS196 (test) | Recall@182 | 134 | |
| Deep Metric Learning | CUB200 2011 (test) | Recall@157.5 | 129 | |
| Image Retrieval | In-shop Clothes Retrieval Dataset | Recall@183.1 | 120 | |
| Image Retrieval | CUB | Recall@157.5 | 87 | |
| In-shop clothes retrieval | in-shop clothes retrieval dataset (test) | Recall@183.1 | 78 | |
| Image Retrieval | CARS196 | Recall@182 | 56 | |
| Image Retrieval | CARS 196 (test) | Recall@182 | 56 |