Test-Time Adaptation with Perturbation Consistency Learning

Yi Su, Yixin Ji, Juntao Li, Hai Ye, Min Zhang
4/25/2023
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Currently, pre-trained language models (PLMs) do not cope well with the distribution shift problem, resulting in models trained on the training set failing in real test scenarios. To address this problem, the test-time adaptation (TTA) shows great potential, which updates model parameters to suit the test data at the testing time. Existing TTA methods rely on well-designed auxiliary tasks or self-training strategies based on pseudo-label. However, these methods do not achieve good trade-offs regarding performance gains and computational costs. To obtain some insights into such a dilemma, we take two representative TTA methods, i.e., Tent and OIL, for exploration and find that stable prediction is the key to achieving a good balance. Accordingly, in this paper, we propose perturbation consistency learning (PCL), a simple test-time adaptation method to promote the model to make stable predictions for samples with distribution shifts. Extensive experiments on adversarial robustness and cross-lingual transferring demonstrate that our method can achieve higher or comparable performance with less inference time over strong PLM backbones and previous state-of-the-art TTA methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{su2023testtime,
  title  = {Test-Time Adaptation with Perturbation Consistency Learning},
  author = {Yi Su and Yixin Ji and Juntao Li and Hai Ye and Min Zhang},
  year   = {2023},
  eprint = {2304.12764},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.12764v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.12764.svg)](https://codeofpaper.com/paper/2304.12764)

Discussion