English

Automatic Domain Adaptation by Transformers in In-Context Learning

Machine Learning 2024-05-28 v1 Machine Learning

Abstract

Selecting or designing an appropriate domain adaptation algorithm for a given problem remains challenging. This paper presents a Transformer model that can provably approximate and opt for domain adaptation methods for a given dataset in the in-context learning framework, where a foundation model performs new tasks without updating its parameters at test time. Specifically, we prove that Transformers can approximate instance-based and feature-based unsupervised domain adaptation algorithms and automatically select an algorithm suited for a given dataset. Numerical results indicate that in-context learning demonstrates an adaptive domain adaptation surpassing existing methods.

Keywords

Cite

@article{arxiv.2405.16819,
  title  = {Automatic Domain Adaptation by Transformers in In-Context Learning},
  author = {Ryuichiro Hataya and Kota Matsui and Masaaki Imaizumi},
  journal= {arXiv preprint arXiv:2405.16819},
  year   = {2024}
}
R2 v1 2026-06-28T16:41:18.284Z