KBCNet: Independently keypoint learning for Small Object Semantic Correspondence

Hailong Jin, Huiying LiExpert Systems with Applications 2025 · DOI

Introduction

Semantic correspondence is the task of establishing dense matches between images of different objects within the same category. While deep learning has significantly advanced this field, a persistent challenge remains: Small Object Semantic Correspondence (SOSC). In scenarios involving small objects, standard neural network architectures often fail to distinguish between closely packed keypoints, leading to inaccurate, clustered predictions.

The SOSC Bottleneck: Feature Fusion

The primary issue in SOSC is "feature fusion." Convolutional neural networks (CNNs) typically use downsampling layers to extract high-level semantic features. For small objects, multiple distinct keypoints—such as the eyes and nose of a distant face—may fall within the same receptive field (e.g., a $16 \times 16$ pixel window).

Visualization of the feature fusion problem where multiple keypoints (red dots) fall into single grid cells during downsampling.

As shown in the figure above, when these points are downsampled into a single feature vector, the spatial information required to distinguish them is lost. This makes it mathematically impossible for a decoder to resolve individual points, causing them to collapse toward a single center in the output.

Proposed Methodology

To address these challenges, the authors propose a two-fold solution: a novel inference technique called Keypoint Bounding box-centered Cropping (KBC) and a high-performance framework named KBCNet.

Keypoint Bounding box-centered Cropping (KBC)

KBC is a plug-and-play inference-time method. It calculates the ratio of an object's bounding box to the total image size. If the object is identified as "small," the image is upscaled and cropped around the object back to the standard input resolution (e.g., $256 \times 256$). This physical separation of keypoints before they enter the feature extractor prevents them from being merged into the same feature vector, allowing the network to learn independent representations for each point.

The KBCNet Framework

KBCNet introduces two architectural innovations to improve matching accuracy and efficiency:

  1. Cross-Scale Feature Alignment (CSFA): This module integrates fine-grained (1/8 resolution) and deep semantic (1/32 resolution) features using a 1/16 resolution map as an anchor. This ensures that the model captures both high-level category information and low-level spatial details.
  2. Center-pivot 4D Convolution: Matching 2D points across two images typically requires 4D convolutions, which are computationally prohibitive. KBCNet simplifies the 4D kernel into two 2D kernels. This "center-pivot" approach reduces memory usage and speeds up training by 4.8x while maintaining competitive accuracy.
The KBCNet architecture overview, detailing the feature extraction, alignment, and the efficient 4D convolution modules.

Experimental Results

KBCNet was evaluated on three major benchmarks: PF-PASCAL, PF-WILLOW, and SPair-71k. The model achieved state-of-the-art performance, notably reaching 59.1% [email protected] on the challenging SPair-71k dataset—a 7.5% improvement over the baseline without KBC.

Furthermore, the KBC module demonstrated strong generalization. When integrated into existing models like SCOT and CATs, it consistently improved their performance on small objects by an average of 3.4% to 7.0%, proving its utility as a general-purpose enhancement for semantic correspondence tasks.

Conclusion and Future Work

By addressing the fundamental problem of feature fusion through spatial separation, KBCNet sets a new standard for small object semantic correspondence. While the method currently relies on bounding box estimates, future research will focus on maintaining better global context during the cropping process to improve performance on complex categories like trains or cars, where surrounding context is vital for identification.

Summary updated

BibTeX
@article{jin2025kbcnet,
  author = {Hailong Jin and Huiying Li},
  title = {{KBCNet: Independently keypoint learning for Small Object Semantic Correspondence}},
  journal = {Expert Systems with Applications},
  year = {2025},
  doi = {10.1016/j.eswa.2024.125476},
}

Loading related content...

Figure