Skip to main content
QUICK REVIEW

[Paper Review] Bipartite Mode Matching for Vision Training Set Search from a Hierarchical Data Server

Yue Yao, Ruining Yang|arXiv (Cornell University)|Jan 14, 2026
Advanced Image and Video Retrieval TechniquesComputer Science0 citations
TL;DR

The paper presents Bipartite Mode Matching (BMM) to search and prune training sets from a hierarchical data server by aligning target and source modes via bipartite matching, improving domain alignment for re-ID and detection.

ABSTRACT

We explore a situation in which the target domain is accessible, but real-time data annotation is not feasible. Instead, we would like to construct an alternative training set from a large-scale data server so that a competitive model can be obtained. For this problem, because the target domain usually exhibits distinct modes (i.e., semantic clusters representing data distribution), if the training set does not contain these target modes, the model performance would be compromised. While prior existing works improve algorithms iteratively, our research explores the often-overlooked potential of optimizing the structure of the data server. Inspired by the hierarchical nature of web search engines, we introduce a hierarchical data server, together with a bipartite mode matching algorithm (BMM) to align source and target modes. For each target mode, we look in the server data tree for the best mode match, which might be large or small in size. Through bipartite matching, we aim for all target modes to be optimally matched with source modes in a one-on-one fashion. Compared with existing training set search algorithms, we show that the matched server modes constitute training sets that have consistently smaller domain gaps with the target domain across object re-identification (re-ID) and detection tasks. Consequently, models trained on our searched training sets have higher accuracy than those trained otherwise. BMM allows data-centric unsupervised domain adaptation (UDA) orthogonal to existing model-centric UDA methods. By combining the BMM with existing UDA methods like pseudo-labeling, further improvement is observed.

Motivation & Objective

  • Address the challenge of constructing effective training sets from large, unannotated data servers when real-time labeling is infeasible.
  • Introduce a hierarchical data server to capture multi-level semantic modes for better mode matching.
  • Develop a bipartite mode matching (BMM) framework to align target modes with source server modes in a one-to-one manner.
  • Demonstrate that BMM-trained models achieve smaller domain gaps and higher accuracy across re-ID and object detection tasks.
  • Show that combining BMM with unsupervised domain adaptation methods yields further gains.

Proposed method

  • Build a hierarchical data server by extracting features with a pre-trained model and applying balanced hierarchical clustering to obtain multiple modes (S^1,...,S^H).
  • Create target modes by flat clustering of the target dataset (T^1,...,T^L).
  • Construct a bipartite graph with server modes X and target modes Y, using Fréchet Inception Distance (FID) as edge costs.
  • Solve a minimum-weight bipartite matching (Hungarian algorithm) to assign each target mode to a distinct source mode and form the searched training set S^*.
  • Optionally prune the resulting training set and combine with unsupervised domain adaptation methods (e.g., pseudo-labeling) for further gains.
  • Provide time complexity notes: overall BMM time is O(J^3) with preprocessing, while per-target matching is O(logJ * J * L).
Figure 1: Motivation illustration. Our research explores the often-overlooked potential of optimizing the structure of the data server. To explain, when aligning target modes with server modes, it is often challenging (a) due to granularity mismatches. In this paper, we propose a hierarchical server
Figure 1: Motivation illustration. Our research explores the often-overlooked potential of optimizing the structure of the data server. To explain, when aligning target modes with server modes, it is often challenging (a) due to granularity mismatches. In this paper, we propose a hierarchical server

Experimental results

Research questions

  • RQ1Can a hierarchical data server structure improve mode-level alignment between source and target domains for vision tasks?
  • RQ2Does one-to-one bipartite mode matching (via Hungarian algorithm and FID costs) reduce domain gaps and improve model accuracy compared to flat clustering or random selection?
  • RQ3Can combining BMM with existing unsupervised domain adaptation methods yield additional performance gains?

Key findings

  • BMM reduces domain gap (FID) and increases accuracy (e.g., improvements over baseline and direct match in re-ID and detection tasks).
  • Hierarchical server clustering outperforms flat clustering by enabling robust mode matching across varying mode sizes.
  • One-to-one mode assignment via Hungarian matching maintains data diversity while reducing redundancy and domain gap.
  • Joint use of BMM with pseudo-labeling UDA methods yields further performance gains in re-ID and detection tasks.
  • BMM demonstrates consistent improvements across multiple target domains and tasks (person re-ID, vehicle re-ID, and object detection).
  • Ablation studies show that both hierarchical server structure and mode matching are necessary to achieve significant gains.
Figure 2: Workflow of BMM. (Top left): For a given target, we extract modes using flat clustering (Lloyd 1982 ; MacQueen and others 1967 ) . (Bottom left): For our data server, we extract modes using hierarchical clustering (Müllner 2011 ) . For modes existing in both target and the data server, we
Figure 2: Workflow of BMM. (Top left): For a given target, we extract modes using flat clustering (Lloyd 1982 ; MacQueen and others 1967 ) . (Bottom left): For our data server, we extract modes using hierarchical clustering (Müllner 2011 ) . For modes existing in both target and the data server, we

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.