Deep Relative Distance Learning: Tell the Difference between Similar Vehicles

Hongye Liu, Yonghong Tian, Yaowei Wang, Lu Pang, Tiejun HuangCVPR 2016

Abstract

Vehicle re-identification (Re-ID) is a critical task in urban surveillance, yet it remains challenging due to the high intra-class similarity among mass-produced vehicles. This paper presents Deep Relative Distance Learning (DRDL), an end-to-end framework designed to identify specific vehicle instances. By employing a novel Coupled Clusters Loss (CCL) and a mixed difference network architecture, DRDL maps vehicle images into a Euclidean space where distance correlates with identity. The authors also introduce VehicleID, a massive dataset of over 200,000 images, to facilitate large-scale vehicle Re-ID research.

The Challenge of Intra-Class Similarity

In public security, identifying a specific vehicle across a city-wide camera network is often hindered when license plates are obscured or faked. The primary obstacle is intra-class similarity: thousands of vehicles share the same make, model, and color. Standard classification models, which categorize vehicles into broad types (e.g., sedan vs. truck), are insufficient for instance-level identification.

Examples of unique "special marks" such as stickers, dashboard decorations, and ornaments used to distinguish identical vehicle models.

To successfully distinguish between identical models, a system must focus on subtle "special marks"—such as custom paintings, dashboard decorations, or specific scratches—rather than just the general vehicle category.

Deep Relative Distance Learning (DRDL)

The proposed DRDL framework addresses the Re-ID problem by learning a discriminative embedding space. The architecture consists of two primary components:

  1. Coupled Clusters Loss (CCL): Traditional triplet loss compares an anchor to one positive and one negative sample, but it is highly sensitive to anchor selection. CCL improves upon this by using a cluster center (the mean of multiple positive images) as the target. This stabilizes training by pulling all images of the same vehicle toward a central point while pushing negative samples away.
  2. Mixed Difference Network: Identity is hierarchical. The authors utilize a two-branch CNN where one branch captures "inter-model" differences (e.g., Honda vs. BMW) and the other focuses on "intra-model" nuances (e.g., two different white Hondas). These features are merged into a 1024-dimensional "fingerprint" vector.
The DRDL framework maps positive and negative image sets through a deep convolutional network into a Euclidean space for efficient retrieval.

The VehicleID Dataset

A significant contribution of this work is the release of VehicleID, a large-scale benchmark containing 221,763 images of 26,267 unique vehicles. Captured by real-world surveillance cameras, each image is labeled with a ground-truth ID derived from license plates. This dataset shifts the focus of the field from simple model classification to precise, instance-level vehicle search.

Key Results and Insights

The DRDL method demonstrates superior performance over traditional triplet loss and state-of-the-art classification models:

  • Match Rate: On the VehicleID "Small" test set (800 vehicles), DRDL achieved a 49.0% Top-1 match rate, significantly outperforming the 40.4% achieved by standard triplet loss.
  • Top-5 Accuracy: The model reached 73.5% accuracy, proving its utility in narrowing down candidates for human operators.
  • Retrieval Efficiency: By mapping images into a Euclidean embedding, the system allows for rapid retrieval via simple L2 distance calculations.

Limitations and Future Directions

While DRDL marks a significant step forward, several challenges remain. The current model is sensitive to extreme viewpoint changes, such as matching a front-view image to a side-view. Future improvements could integrate spatio-temporal context—using the physical constraints of vehicle movement—or explicit attention mechanisms to better localize the "special marks" that define a vehicle's unique identity.

Summary updated

BibTeX
@inproceedings{liu2016deep,
  author = {Hongye Liu and Yonghong Tian and Yaowei Wang and Lu Pang and Tiejun Huang},
  title = {{Deep Relative Distance Learning: Tell the Difference between Similar Vehicles}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.238},
}
Figure