[Paper Review] Learning to cluster in order to transfer across domains and tasks
The paper learns a transferable pairwise similarity function and a clustering network to enable unsupervised cross-task and cross-domain transfer without requiring target labels, achieving state-of-the-art clustering and domain adaptation results.
This paper introduces a novel method to perform transfer learning across domains and tasks, formulating it as a problem of learning to cluster. The key insight is that, in addition to features, we can transfer similarity information and this is sufficient to learn a similarity function and clustering network to perform both domain adaptation and cross-task transfer learning. We begin by reducing categorical information to pairwise constraints, which only considers whether two instances belong to the same class or not. This similarity is category-agnostic and can be learned from data in the source domain using a similarity network. We then present two novel approaches for performing transfer learning using this similarity function. First, for unsupervised domain adaptation, we design a new loss function to regularize classification with a constrained clustering loss, hence learning a clustering network with the transferred similarity metric generating the training inputs. Second, for cross-task learning (i.e., unsupervised clustering with unseen categories), we propose a framework to reconstruct and estimate the number of semantic clusters, again using the clustering network. Since the similarity network is noisy, the key is to use a robust clustering algorithm, and we show that our formulation is more robust than the alternative constrained and unconstrained clustering approaches. Using this method, we first show state of the art results for the challenging cross-task problem, applied on Omniglot and ImageNet. Our results show that we can reconstruct semantic clusters with high accuracy. We then evaluate the performance of cross-domain transfer using images from the Office-31 and SVHN-MNIST tasks and present top accuracy on both datasets. Our approach doesn't explicitly deal with domain discrepancy. If we combine with a domain adaptation loss, it shows further improvement.
Motivation & Objective
- Motivate transfer learning beyond features by transferring pairwise semantic similarity.
- Propose a learnable clustering objective that uses predicted similarity as a transferable constraint.
- Develop a similarity prediction network and a constrained clustering network to enable cross-task and cross-domain transfer.
- Demonstrate state-of-the-art clustering on Omniglot and ImageNet via cross-task transfer.
- Show strong domain-adaptation gains on Office-31 and SVHN–MNIST using the proposed framework.
Proposed method
- Introduce a transfer learning framework based on learning to cluster (LCO) that transfers pairwise similarity information.
- Learn a similarity prediction function G from an auxiliary labeled dataset A to predict whether pairs belong to the same category.
- Formulate a constrained clustering objective (LCO) that operates on cluster assignment distributions via KL-divergence to pairwise similar/dissimilar pairs.
- Construct a dense, pair-wise clustering loss by enumerating pairwise combinations within mini-batches (CCN).
- Extend CCN to cross-domain transfer by combining a supervised classification loss on source-like data with the LCO, yielding CCN+ and CCN++ when integrating domain-adaptation signals.
- Optionally combine with existing domain-discrepancy losses (e.g., DANN) to further improve performance.
- Demonstrate scalability to ImageNet-scale tasks by using ResNet backbones and comparing against standard clustering baselines.
Experimental results
Research questions
- RQ1Can transferable pairwise similarity (instead of raw features or labels) support both cross-task and cross-domain transfer in unsupervised settings?
- RQ2How robust are predicted similarity constraints when used directly in clustering objectives?
- RQ3Does jointly optimizing feature representation and clustering with a learned similarity function yield superior results to traditional constrained clustering or pure feature-based transfer?
- RQ4What are the performance gains when combining LCO with domain-adaptation losses on standard benchmarks (Office-31, SVHN–MNIST) and large-scale datasets (ImageNet)?
Key findings
- For cross-task transfer on Omniglot, CCN achieves top ACC/NMI results, including 82.4% ACC and 0.889 NMI when K is known, and 78.1% ACC and 0.874 NMI with K unknown (K=100).
- When evaluated with ImageNet, CCN outperforms K-means, LSC, and LPNMF, achieving 73.8% ACC with known K and 65.2% with unknown K.
- In unsupervised cross-domain transfer on Office-31, CCN+ reaches 77.5% average accuracy, beating DANN (75.7%), and JAN (76.9%), with further gains to 78.5% in CCN++.
- On SVHN→MNIST (with Omniglot as auxiliary data), CCN+ achieves a new top performance of 89.1%.
- Ablation results indicate that jointly optimizing the clustering loss with learned similarity (CCN) yields robustness to noisy similarity predictions and outperforms methods that only use similarity for metric learning.
- Using dense pairwise similarity information improves clustering robustness and transfer performance even when similarity predictions are imperfect (precision ~0.39, recall ~0.93 for similar pairs).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.