Learning Unified Distance Metric Across Diverse Data Distributions with Parameter-Efficient Transfer Learning

Sungyeon Kim, Donghyun Kim, Suha Kwak
9/16/2023
cs.CVcs.AIcs.LG

No official code found. Best implementation: sung-yeon-kim/PUMA-WACV25 (2 stars, MIT, last commit 2024-12-08).

Abstract

A common practice in metric learning is to train and test an embedding model for each dataset. This dataset-specific approach fails to simulate real-world scenarios that involve multiple heterogeneous distributions of data. In this regard, we explore a new metric learning paradigm, called Unified Metric Learning (UML), which learns a unified distance metric capable of capturing relations across multiple data distributions. UML presents new challenges, such as imbalanced data distribution and bias towards dominant distributions. These issues cause standard metric learning methods to fail in learning a unified metric. To address these challenges, we propose Parameter-efficient Unified Metric leArning (PUMA), which consists of a pre-trained frozen model and two additional modules, stochastic adapter and prompt pool. These modules enable to capture dataset-specific knowledge while avoiding bias towards dominant distributions. Additionally, we compile a new unified metric learning benchmark with a total of 8 different datasets. PUMA outperforms the state-of-the-art dataset-specific models while using about 69 times fewer trainable parameters.

View on arXivView PDF

Code Implementations(1)

MIT

Official PyTorch Implementation of Learning Unified Distance Metric Across Diverse Data Distributions with Parameter-Efficient Transfer Learning, WACV 2025

20PythonApr 11, 20241 years agoMIT

Cite this paper

@article{kim2023learning,
  title  = {Learning Unified Distance Metric Across Diverse Data Distributions with Parameter-Efficient Transfer Learning},
  author = {Sungyeon Kim and Donghyun Kim and Suha Kwak},
  year   = {2023},
  eprint = {2309.08944},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.08944v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.08944.svg)](https://codeofpaper.com/paper/2309.08944)

Discussion