English

A Robust Contrastive Alignment Method For Multi-Domain Text Classification

Computation and Language 2022-04-27 v1

Abstract

Multi-domain text classification can automatically classify texts in various scenarios. Due to the diversity of human languages, texts with the same label in different domains may differ greatly, which brings challenges to the multi-domain text classification. Current advanced methods use the private-shared paradigm, capturing domain-shared features by a shared encoder, and training a private encoder for each domain to extract domain-specific features. However, in realistic scenarios, these methods suffer from inefficiency as new domains are constantly emerging. In this paper, we propose a robust contrastive alignment method to align text classification features of various domains in the same feature space by supervised contrastive learning. By this means, we only need two universal feature extractors to achieve multi-domain text classification. Extensive experimental results show that our method performs on par with or sometimes better than the state-of-the-art method, which uses the complex multi-classifier in a private-shared framework.

Keywords

Cite

@article{arxiv.2204.12125,
  title  = {A Robust Contrastive Alignment Method For Multi-Domain Text Classification},
  author = {Xuefeng Li and Hao Lei and Liwen Wang and Guanting Dong and Jinzheng Zhao and Jiachi Liu and Weiran Xu and Chunyun Zhang},
  journal= {arXiv preprint arXiv:2204.12125},
  year   = {2022}
}

Comments

Accepted by ICASSP 2022

R2 v1 2026-06-24T10:58:40.778Z