Skip to content
Last Dictionary

domain adaptation

nounAlso: unsupervised domain adaptation, UDA, domain shift, source domain, target domain, domain generalization, domain-adversarial training

In plain wordsAdjusting a model trained on one kind of data, such as daytime photos or one hospital's records, so that it still works on a different but related kind, such as night photos or another hospital's.

  1. A form of transfer learningtransfer learning, n.: Reusing what a model learned on one task to get a head start on another — like a pianist picking up the organ faster than a beginner. It lets models learn new jobs from little data. in which a model trained on labeled data from a source domain is adapted to perform well on a target domain whose data distribution differs while the task stays the same: from synthetic to real images, from one hospital's scanners to another's, or from product reviews to social-media posts. In unsupervised domain adaptation the target data are unlabeled; semi-supervised and supervised variants have some or many target labels. Approaches include reweighting source examples by estimated density ratios to correct covariate shiftcovariate shift, n.: A kind of mismatch where the inputs an AI system sees change — say, photos from a new camera — while the right answer for any given input stays the same.; learning domain-invariant features, for instance by adversarial training against a domain classifier (gradient reversal) or by matching feature statistics across domains; self-training with pseudo-labels on target data; and re-estimating normalization statistics or fine-tuningfine-tuning, n.: Taking an AI model that has already learned a lot and training it a little more on a smaller, focused set of examples so it gets better at one job or behaves a certain way. on target data. Theory by Shai Ben-David and colleagues bounds target error by source error plus a measure of divergence between the domains, explaining when adaptation can succeed. Domain generalization is the harder setting in which no target data are available during training.

    Domain adaptation with a gradient-reversal layer recovered most of the accuracy lost moving from synthetic to real street scenes.

Origin

Studied in statistics and natural language processing in the 2000s: Hidetoshi Shimodaira's 2000 analysis of importance weighting under covariate shift, Hal Daumé III and Daniel Marcu's 'Domain Adaptation for Statistical Classifiers' (2006), and the theory of Shai Ben-David and colleagues (2007; journal version 2010). Yaroslav Ganin and Victor Lempitsky's domain-adversarial training (2015) brought it into deep learning.

Related

See also
  • transfer learningtransfer learning, n.: Reusing what a model learned on one task to get a head start on another — like a pianist picking up the organ faster than a beginner. It lets models learn new jobs from little data.
  • distribution shiftdistribution shift, n.: When the data an AI system meets in real use differs from the data it was trained on — new users, places, times or habits — often making it perform worse than tests suggested.
  • covariate shiftcovariate shift, n.: A kind of mismatch where the inputs an AI system sees change — say, photos from a new camera — while the right answer for any given input stays the same.
  • out-of-distributionout-of-distribution, adj.: Describes inputs that differ from anything an AI system saw in training — like a model trained on daytime photos facing a night scene — where its answers become less reliable.
  • fine-tuningfine-tuning, n.: Taking an AI model that has already learned a lot and training it a little more on a smaller, focused set of examples so it gets better at one job or behaves a certain way.
  • sim-to-real transfersim-to-real transfer, n.: Training a robot's AI in a computer simulation, where practice is fast, cheap and safe, and then making it work on the real robot despite the differences between simulation and reality.
  • domain randomizationdomain randomization, n.: Training a robot's AI in a simulation whose colors, lighting, weights, friction and other details are shuffled at random on every run, so that the real world holds few surprises it has not already practiced for.

Sources

  1. Ben-David, S., Blitzer, J., Crammer, K., Kulesza, A., Pereira, F. & Vaughan, J. W. (2010). A Theory of Learning from Different Domains. Machine Learning 79.
  2. Daumé III, H. & Marcu, D. (2006). Domain Adaptation for Statistical Classifiers. Journal of Artificial Intelligence Research 26.
  3. Ganin, Y. & Lempitsky, V. (2015). Unsupervised Domain Adaptation by Backpropagation. Proc. ICML 2015.