Semantic-Aware Fine-Grained Correspondence

Yingdong Hu, Renhao Wang, Kaifeng Zhang, Yang Gao

TL;DR

Researchers have developed Semantic-aware Fine-grained Correspondence (SFC), a framework that achieves state-of-the-art visual tracking by combining high-level "what is this object" knowledge with low-level "where is this exact pixel" precision. By fusing off-the-shelf semantic models with a new, dense self-supervised objective, SFC outperforms previous methods on video segmentation and pose tracking tasks—remarkably, without even needing video data for its fine-grained training.

What Problem Does This Paper Address?

Establishing visual correspondence—identifying the same point or object across different images or video frames—is a cornerstone of computer vision. It’s what allows a computer to track a soccer ball, segment a moving car, or follow a dancer's limbs.

Currently, self-supervised methods for this task fall into two camps, both with flaws:

  1. Image-level methods (e.g., MoCo): These understand "semantics" (e.g., "this is a dog") but are "blurry" at the pixel level. They can't pinpoint an exact spot on the dog's ear.
  2. Correspondence-specific methods (e.g., CRW): These are great at matching local textures but often lack a deeper understanding of the object. They might track a patch of fur perfectly until another dog walks by, at which point they get confused because they don't "know" which dog is which.

As shown in Figure 1, there is a clear trade-off: methods that excel at tracking (label propagation) often fail at semantic tasks like classification, and vice versa.

Fig. 1. We compare Contrastive Random Walk (CRW) [33] and MoCo [25] on three different downstream tasks. CRW surpasses MoCo on the label propagation task, but is dramatically outperformed by MoCo on semantic segmentation and image classification (details in Appendix B.3).

Methods

The authors propose a two-stream approach called SFC that decouples these two types of information and then fuses them.

1. The Semantic Stream

The authors observe that standard image-level self-supervised models (like MoCo) implicitly learn semantic correspondence in their middle layers. They use an off-the-shelf MoCo v2 model to provide a "global" understanding of the scene.

2. The Fine-Grained Correspondence (FC) Stream

To capture pixel-level detail, they designed a new Fine-grained Correspondence (FC) network. It uses a dense version of the BYOL (Bootstrap Your Own Latent) architecture.

  • The Objective: Given two different crops of the same image, the network is trained to pull the feature vectors of the same spatial regions close together.
  • Static Training: Unlike most tracking models, this stream is trained on static images, not videos. It learns that a specific texture or edge should look consistent regardless of how the image is cropped or resized.

3. Late Fusion

A key finding of the paper is that you cannot simply train one network to do both. Semantic tasks require large receptive fields and heavy color augmentation, while fine-grained tasks require small receptive fields and are actually hurt by color jittering.

To solve this, SFC uses late fusion: it runs both networks independently and concatenates their feature maps (after L2 normalization) to create a final, robust representation for downstream tracking.

Fig. 2. Overview of Semantic-aware Fine-grained Correspondence learning framework. By maximizing agreement between positive (similar) image pairs, con- volutional representations capture semantic correspondences between similar objects implicitly. By encouraging the spatially close local feature vectors to be consistent, model can learn fine-grained correspondence explicitly. For downstream task, we uti- lize two kinds of correspondence together to achieve complementary effects.

Datasets

  • Training:
    • ImageNet: Used for the semantic backbone.
  • YouTube-VOS: Used for the fine-grained (FC) backbone. Interestingly, they treat the video frames as a collection of static images, discarding all temporal information during training.
  • Evaluation:
    • DAVIS-2017: The gold standard for video object segmentation.
  • JHMDB: For human pose (keypoint) tracking.
  • Video Instance Parsing (VIP): For tracking specific human body parts.

Key Insights and Ideas

  • Orthogonality is Key: Semantic and fine-grained features are "orthogonal" sources of information. They provide different benefits that don't overlap, making their fusion highly effective.
  • The "Shortcut" Problem: The authors point out that many current self-supervised tracking methods rely on "shortcuts"—low-level feature matching that works frame-to-frame but fails when objects undergo significant changes or occlusions.
  • Video is Optional for Training: One of the most surprising results is that the FC network, trained only on static images, is competitive with state-of-the-art methods trained on massive video datasets (like Kinetics-400). This suggests that spatial consistency in static images is a powerful proxy for temporal consistency in videos.
  • Joint Training Fails: Attempting to optimize for both semantic and local losses in a single backbone leads to a "sub-optimal solution" for both, justifying the decoupled two-stream architecture.

Key Results

SFC sets a new state-of-the-art for self-supervised convolutional networks:

  • DAVIS-2017: Achieved a 71.2 J&Fm score, significantly outperforming MoCo (65.9) and the previous best, CRW (67.6).
  • Qualitative Superiority: As seen in Figure 5, MoCo's correspondence maps are scattered (semantic but vague), while the FC maps are concentrated (precise but sometimes lost). SFC combines them to produce a highly accurate, concentrated map that tracks the correct object part.
Visualization of correspondence maps for MoCo, FC, and SFC.

Limitations and Future Work

  • CNN vs. ViT: The study focuses on Convolutional Neural Networks (CNNs). While they mention that Vision Transformers (ViTs) like DINO show strong correspondence properties, they leave the exploration of how SFC might benefit ViTs to future work.
  • Temporal Context: While the FC stream succeeds without video, the authors acknowledge that incorporating temporal context (like motion cues or viewpoint changes) could further improve performance, especially on complex datasets like VIP.
  • Fusion Complexity: The current fusion is a simple channel-wise concatenation. More sophisticated fusion mechanisms might yield even better results.

Summary updated

BibTeX
@inproceedings{hu2022semantic,
  author = {Yingdong Hu and Renhao Wang and Kaifeng Zhang and Yang Gao},
  title = {{Semantic-Aware Fine-Grained Correspondence}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=zxHBELrrGF},
}
Figure