Improving Domain Generalization with Domain Relations

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Yao, Huaxiu, Yang, Xinyu, Pan, Xinyi, Liu, Shengchao, Koh, Pang Wei, Finn, Chelsea
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929279977127936
author Yao, Huaxiu
Yang, Xinyu
Pan, Xinyi
Liu, Shengchao
Koh, Pang Wei
Finn, Chelsea
author_facet Yao, Huaxiu
Yang, Xinyu
Pan, Xinyi
Liu, Shengchao
Koh, Pang Wei
Finn, Chelsea
contents Distribution shift presents a significant challenge in machine learning, where models often underperform during the test stage when faced with a different distribution than the one they were trained on. This paper focuses on domain shifts, which occur when the model is applied to new domains that are different from the ones it was trained on, and propose a new approach called D$^3$G. Unlike previous methods that aim to learn a single model that is domain invariant, D$^3$G leverages domain similarities based on domain metadata to learn domain-specific models. Concretely, D$^3$G learns a set of training-domain-specific functions during the training stage and reweights them based on domain relations during the test stage. These domain relations can be directly obtained and learned from domain metadata. Under mild assumptions, we theoretically prove that using domain relations to reweight training-domain-specific functions achieves stronger out-of-domain generalization compared to the conventional averaging approach. Empirically, we evaluate the effectiveness of D$^3$G using real-world datasets for tasks such as temperature regression, land use classification, and molecule-protein binding affinity prediction. Our results show that D$^3$G consistently outperforms state-of-the-art methods.
format Preprint
id arxiv_https___arxiv_org_abs_2302_02609
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Improving Domain Generalization with Domain Relations
Yao, Huaxiu
Yang, Xinyu
Pan, Xinyi
Liu, Shengchao
Koh, Pang Wei
Finn, Chelsea
Machine Learning
Distribution shift presents a significant challenge in machine learning, where models often underperform during the test stage when faced with a different distribution than the one they were trained on. This paper focuses on domain shifts, which occur when the model is applied to new domains that are different from the ones it was trained on, and propose a new approach called D$^3$G. Unlike previous methods that aim to learn a single model that is domain invariant, D$^3$G leverages domain similarities based on domain metadata to learn domain-specific models. Concretely, D$^3$G learns a set of training-domain-specific functions during the training stage and reweights them based on domain relations during the test stage. These domain relations can be directly obtained and learned from domain metadata. Under mild assumptions, we theoretically prove that using domain relations to reweight training-domain-specific functions achieves stronger out-of-domain generalization compared to the conventional averaging approach. Empirically, we evaluate the effectiveness of D$^3$G using real-world datasets for tasks such as temperature regression, land use classification, and molecule-protein binding affinity prediction. Our results show that D$^3$G consistently outperforms state-of-the-art methods.
title Improving Domain Generalization with Domain Relations
topic Machine Learning
url https://arxiv.org/abs/2302.02609