SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2104.03624 · ICLR · 2021

Post-Hoc Domain Adaptation via Guided Data Homogenization

Kurt Willis, Luis Oala

arXiv · PDF · Open in the Atlas

Code that ran

We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Addressing shifts in data distributions is an important prerequisite for the deployment of deep learning models to real-world settings. A general approach to this problem involves the adjustment of models to a new domain through transfer learning. However, in many cases, this is not applicable in a post-hoc manner to deployed models and further parameter adjustments jeopardize safety certifications that were established beforehand. In such a context, we propose to deal with changes in the data distribution via guided data homogenization which shifts the burden of adaptation from the model to the data. This approach makes use of information about the training data contained implicitly in the deep learning model to learn a domain transfer function. This allows for a targeted deployment of models to unknown scenarios without changing the model itself. We demonstrate the potential of data homogenization through experiments on the CIFAR-10 and MNIST data sets. A routine assumption in machine learning is that data in the training and testing environment is identically distributed. In reality, data distributions may differ (Hendrycks et al., 2020), leading to performance degradations for models trained with standard deep learning algorithms. Transfer learning (Pan & Yang, 2010) has emerged as a field that aims to transfer knowledge of models from a learned source task to a target task by exploiting underlying commonalities. Domain adaptation in particular, addresses a mismatch in either the input space X or the data distribution P of a source and target task: (X s , P s ) = (X t , P t ). A common approach to this challenge is to encourage the model to learn a domain invariant representation of the data. This is typically done through the use of the joint distribution, requiring access to the source data set. This work proposes domain adaptation through homogenization of the data in a post-hoc-manner. This eliminates the need to anticipate numerous possible test-time scenarios during training and the original model is kept intact -a desirable property for security and robustness certification (Balunovic et al., 2019;Oala et al., 2020). In detail, an explicit domain mapping function is learned through an optimization objective adopted from work by Yin et al. (2020). This does not assume access to the source data set; instead, the data statistics measured in an appropriate feature space are sufficient. These statistics are readily available in networks that make use of the widely adapted batch normalization layers (Ioffe & Szegedy, 2015).

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2104.03624")
get_code_for_paper("2104.03624")
have("2104.03624")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2104.03624.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2104.03624.svg)](https://syntology.ai/paper/2104.03624)

Connect an agent — have() is free.