ViDA
A ViT-base classifier with high-rank and low-rank adapter branches for continual test-time adaptation.
Image classification · 543 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Image classification
- Parameters
- 93.7M
- Operations
- 543
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICLR 2024
- Cited by
- 13 (as of 26 October 2026)
- Authors
- Jiaming Liu, Senqiao Yang, Peidong Jia and others
- Source
- GitHub: Yangsenqiao/vida
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m21343
- Graph hash
- 079024f528c82758fbde63d071abe074e62689028ba816d3d0ca3b05e9f2ae5d
- Skeleton hash
- 98871a76fa90924b838cd3aad8d8f9fe0a3b53a6fe7137f22b52abb2277302ef
- Architecture hash
- 772c3b706e166e467701b462849fbf9ce3921153d5b6304b6223713f47374e1d
- Diagram SHA-256
- 4c8a3a9d39ed3ed4157ca86b4fb9bd29268c6f1a38ac56d7c1346a557aad1b2e
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
This model is a ViT-base classifier with the ViDA branches attached, the backbone for which the paper resizes input images to 224x224.
ViDA, the Visual Domain Adapter, is a pair of adapter branches injected into a pre-trained vision model so that it can keep adapting at test time. The setting is Continual Test-Time Adaptation (CTTA), in which a pre-trained model must adapt to target domains that keep changing. The paper argues that earlier self-training methods suffer from noisy pseudo labels, which lead to error accumulation and catastrophic forgetting.
Each adapted layer has three branches: the original linear or Conv layer in the middle, flanked by a high-rank ViDA and a low-rank ViDA. Both adapters are bottlenecks with no non-linear layer, and the paper gives 128 and 1 as example middle dimensions for the high-rank and low-rank branches. The high-rank features adapt to the current domain and the low-rank features keep the knowledge shared across domains. The two adapter outputs are added to the original layer's output through scale factors, which a Homeostatic Knowledge Allotment (HKA) strategy sets for each input from an uncertainty value.
On ImageNet-to-ImageNet-C with ViT-base, the paper reports a 12.4% improvement over the source model. Because the adapters are linear, they can be merged into the pre-trained model by re-parameterization at inference, which adds no parameters to the original model.
Key idea. ViDA injects high-rank and low-rank adapters into a pre-trained model to adapt to the current domain while keeping domain-shared knowledge during continual test-time adaptation.
- vida
- visual domain adapter
- continual test-time adaptation
- ctta
- test-time adaptation
- domain adapter
- homeostatic knowledge allotment
- hka
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{liu2024vidahomeostaticvisualdomain,
title={ViDA: Homeostatic Visual Domain Adapter for Continual Test Time Adaptation},
author={Jiaming Liu and Senqiao Yang and Peidong Jia and Renrui Zhang and Ming Lu and Yandong Guo and Wei Xue and Shanghang Zhang},
year={2024},
eprint={2306.04344},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2306.04344},
}