Abstract
This paper introduces Decomposition-based Transfer Distance Metric Learning (DTDML), a framework designed to address the challenge of learning effective distance metrics when labeled target data is extremely scarce. By representing a target distance metric as a sparse combination of "base metrics" derived from related source tasks, DTDML drastically reduces the number of parameters to be learned. This approach mitigates overfitting and enhances classification accuracy in low-supervision regimes. Experimental evaluations on digit, letter, and natural image datasets demonstrate that DTDML consistently outperforms state-of-the-art transfer metric learning methods.
Introduction
Distance Metric Learning (DML) is fundamental to many machine learning tasks, such as k-Nearest Neighbors (kNN) classification, where the goal is to learn a distance function that brings similar objects closer together while pushing dissimilar ones apart. However, traditional DML methods often require a vast amount of labeled pairs to avoid overfitting, particularly when the feature dimension $d$ is large, as they typically attempt to learn all $d^2$ entries of a distance matrix.
Transfer Metric Learning (TML) attempts to solve this by leveraging knowledge from a related "source" task. Yet, simple knowledge transfer can fail due to distribution shifts, and many TML methods still struggle with overfitting when target samples are very limited. DTDML addresses these issues through a novel decomposition strategy.
Methodology
Metric Decomposition and Variable Reduction
The core innovation of DTDML is the shift from learning a full matrix to assembling one from pre-existing components. The target metric is assumed to lie in a space spanned by the eigenvectors of metrics learned from source tasks, termed "base metrics."
- Base Representation: Instead of $d^2$ variables, the target metric is represented as a weighted combination of $m$ source-derived bases. This reduces the parameter space to approximately $md$, where $m \ll d$.
- Sparse Combination: An $L_1$-norm sparsity constraint is applied to the coefficients, ensuring the model selects only the most relevant base metrics for the target task, effectively filtering out noise from irrelevant source domains.
- Optimization: The model employs an alternating optimization strategy using Nesterov’s optimal method. This first-order technique ensures rapid convergence and computational efficiency compared to traditional semi-definite programming (SDP) approaches.
Experimental Results
The researchers evaluated DTDML against state-of-the-art methods like RDML (Regularized DML) and TML across three datasets: USPS Digits, Letter, and NUS-WIDE (natural images).
Performance in Low-Data Regimes
DTDML showed significant gains in scenarios with minimal labeled data:
- USPS Digits: With only 2 labeled samples per class, DTDML achieved 91.3% accuracy, a 3.2% improvement over TML.
- Natural Images (NUS-WIDE): In complex visual environments involving 12 animal concepts, DTDML provided an 8.1% boost in performance over TML under extreme data limitations.
The Role of Random Bases
An intriguing finding was the robustness of the decomposition framework. Even when source metrics were unavailable, using randomly generated bases (DTDML_RB) yielded competitive results, suggesting that the decomposition itself acts as a powerful regularizer.
Conclusion and Future Work
DTDML provides a robust and efficient solution for transfer distance metric learning by leveraging metric decomposition and sparsity. By reducing the complexity of the learning task, it achieves superior performance in data-starved environments.
Currently, the framework is limited to homogeneous transfer, assuming source and target tasks share the same feature space. Future research will explore extending this decomposition approach to heterogeneous transfer learning, allowing for knowledge transfer between tasks with different feature representations.
Summary updated