HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

UDALM: Unsupervised Domain Adaptation through Language Modeling

Constantinos Karouzos Georgios Paraskevopoulos Alexandros Potamianos

UDALM: Unsupervised Domain Adaptation through Language Modeling

Abstract

In this work we explore Unsupervised Domain Adaptation (UDA) of pretrained language models for downstream tasks. We introduce UDALM, a fine-tuning procedure, using a mixed classification and Masked Language Model loss, that can adapt to the target domain distribution in a robust and sample efficient manner. Our experiments show that performance of models trained with the mixed loss scales with the amount of available target data and the mixed loss can be effectively used as a stopping criterion during UDA training. Furthermore, we discuss the relationship between A-distance and the target error and explore some limitations of the Domain Adversarial Training approach. Our method is evaluated on twelve domain pairs of the Amazon Reviews Sentiment dataset, yielding $91.74\%$ accuracy, which is an $1.11\%$ absolute improvement over the state-of-the-art.

Code Repositories

ckarouzos/slp_daptmlm
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
sentiment-analysis-on-multi-domain-sentimentUDALM: Unsupervised Domain Adaptation through Language Modeling
Average: 91.74
Books: 90.63
DVD: 89.78
Electronics: 92.78
Kitchen: 93.77

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
UDALM: Unsupervised Domain Adaptation through Language Modeling | Papers | HyperAI