Test-Time Adaptation with Principal Component Analysis
Cordier, Thomas, Bouvier, Victor, Hénaff, Gilles, Hudelot, Céline
–arXiv.org Artificial Intelligence
Machine Learning models are prone to fail when test data are different from training data, a situation often encountered in real applications known as distribution shift. While still valid, the training-time knowledge becomes less effective, requiring a test-time adaptation to maintain high performance. Following approaches that assume batch-norm layer and use their statistics for adaptation, we propose a Test-Time Adaptation with Principal Component Analysis (TTAwPCA), which presumes a fitted PCA and adapts at test time a spectral filter based on the singular values of the PCA for robustness to corruptions. TTAwPCA combines three components: the output of a given layer is decomposed using a Principal Component Analysis (PCA), filtered by a penalization of its singular values, and reconstructed with the PCA inverse transform. This generic enhancement adds fewer parameters than current methods. Experiments on CIFAR-10-C and CIFAR- 100-C demonstrate the effectiveness and limits of our method using a unique filter of 2000 parameters.
arXiv.org Artificial Intelligence
Sep-13-2022
- Country:
- North America
- United States
- New York > New York County
- New York City (0.04)
- Massachusetts > Middlesex County
- Cambridge (0.04)
- California > San Diego County
- San Diego (0.04)
- New York > New York County
- Canada > Ontario
- Toronto (0.14)
- United States
- Europe > France
- Île-de-France > Paris
- Paris (0.04)
- Hauts-de-France > Nord
- Lille (0.04)
- Île-de-France > Paris
- North America
- Genre:
- Research Report (0.64)
- Technology: