Clustering-Based Validation Splits for Model Selection under Domain Shift

Andrea Napoli, Paul White
5/29/2024
cs.LGcs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

This paper considers the problem of model selection under domain shift. Motivated by principles from distributionally robust optimisation and domain adaptation theory, it is proposed that the training-validation split should maximise the distribution mismatch between the two sets. By adopting the maximum mean discrepancy (MMD) as the measure of mismatch, it is shown that the partitioning problem reduces to kernel k-means clustering. A constrained clustering algorithm, which leverages linear programming to control the size, label, and (optionally) group distributions of the splits, is presented. The algorithm does not require additional metadata, and comes with convergence guarantees. In experiments, the technique consistently outperforms alternative splitting strategies across a range of datasets and training algorithms, for both domain generalisation and unsupervised domain adaptation tasks. Analysis also shows the MMD between the training and validation sets to be well-correlated with test domain accuracy, further substantiating the validity of this approach.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{napoli2024clusteringbased,
  title  = {Clustering-Based Validation Splits for Model Selection under Domain Shift},
  author = {Andrea Napoli and Paul White},
  year   = {2024},
  eprint = {2405.19461},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.19461v3}
}

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/2405.19461.svg)](https://codeofpaper.com/paper/2405.19461)

Discussion