QINA: Quantum-Inspired Nonlinear Adapters for Pretrained Vision Models
Organizations: Pioneer Centre for AI University of Copenhagen
Abstract
Adapting large pretrained vision models under limited data and frozen-backbone constraints remains a central challenge in transfer learning. While lightweight adapters and parameter-efficient fine-tuning methods are widely adopted, most rely on generic multilayer perceptrons or low-rank linear updates, offering limited control over the spectral and geometric structure of feature transformations. We investigate whether structured nonlinear feature lifting can improve representational alignment in frozen regimes. We introduce Quantum-Inspired Nonlinear Adapters (QINA), compact modules that perform learnable trigonometric feature lifting followed by bounded nonlinear aggregation. The design induces structured oscillatory basis functions with an explicit norm-dependent Lipschitz bound, enabling spectral reshaping of pretrained representations without increasing the receptive field or significantly expanding parameter count. Importantly, the method operates entirely within standard deep learning frameworks and does not require quantum hardware. Through systematic experiments across natural and medical imaging datasets, classification and segmentation tasks, multiple adapters and placements, and varying training budgets, we show that performance in frozen regimes is primarily representation-limited. Nonlinear lifting improves adaptation, and the proposed structured trigonometric formulation consistently outperforms identity baselines, fixed Fourier feature mappings, and parameter-matched baseline adapters. Within the evaluated frozen-backbone settings, structured spectral parameterization provides a more effective inductive bias than generic nonlinear adapters. This work highlights the importance of geometry- and spectrum-aware adaptation mechanisms for large pretrained vision models.
Figures & tables
| Dataset | Domain | Task | Dimension | # Class | # Train |
| STL-10 | Natural scene | Classification | 96 96 | 10 | 5,000 |
| BRISC | Brain tumor | Classification | 486 475 | 4 | 5,000 |
| ISIC | Skin lesion | Classification | 905 936 | 9 | 8,238 |
| FETAL | Fetal plane | Classification | 548 822 | 6 | 7,129 |
| BUSI | Breast tumor | Classification | 501 616 | 3 | 780 |
| BRISC | Brain tumor | Segmentation | 506 505 | 2 | 3,933 |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Adapter | Component | Parameters | Activation | Learnable params |
| QINA | Encoder | 65,920 | ||
| Decoder | ||||
| MLP | Encoder | identity / ReLU / tanh | 65,920 | |
| Decoder | identity | |||
| Fourier | Encoder | (fixed) | 33,024 | |
| Decoder | identity |
| Adapter | Component | Parameters | Activation | Learnable params |
| QINA | Encoder | 263,296 | ||
| Decoder | ||||
| MLP | Encoder | identity / ReLU / tanh | 263,296 | |
| Decoder | identity | |||
| Fourier | Encoder | (fixed) | 132,096 | |
| Decoder | identity |
| Adapter | Component | Parameters | Activation | Learnable params |
| QINA | Encoder | 187,224 | ||
| Decoder | ||||
| MLP | Encoder | identity / ReLU / tanh | 187,224 | |
| Decoder | identity | |||
| Fourier | Encoder | (fixed) | 93,912 | |
| Decoder | identity |
| Adapter | Component | Parameters | Activation | Learnable params |
| QINA | Encoder | 49,472 | ||
| Decoder | ||||
| MLP | Encoder | identity / ReLU / tanh | 49,472 | |
| Decoder | identity | |||
| Fourier | Encoder | (fixed) | 24,768 | |
| Decoder | identity |
| Training Budget | 10 | 20 | 50 | 100 | 200 | 500 |
|---|---|---|---|---|---|---|
| ResNet-18 | ||||||
| QINA | 0.228 0.054 | 0.304 0.048 | 0.414 0.039 | 0.590 0.025 | 0.693 0.040 | 0.744 0.022 |
| Identity | 0.114 0.027 | 0.116 0.026 | 0.124 0.018 | 0.272 0.033 | 0.396 0.047 | 0.402 0.034 |
| Fourier | 0.176 0.037 | 0.241 0.039 | 0.293 0.043 | 0.496 0.044 | 0.603 0.037 | 0.639 0.024 |
| MLP-Linear | 0.165 0.023 | 0.210 0.044 | 0.221 0.035 | 0.446 0.040 | 0.604 0.039 | 0.619 0.031 |
| MLP-ReLU | 0.159 0.027 | 0.190 0.042 | 0.199 0.029 | 0.417 0.038 | 0.586 0.041 | 0.607 0.034 |
| Training Budget | 10 | 20 | 50 | 100 | 200 | 500 |
|---|---|---|---|---|---|---|
| ResNet-18 | ||||||
| QINA | 0.248 0.052 | 0.328 0.056 | 0.431 0.032 | 0.604 0.029 | 0.703 0.037 | 0.753 0.021 |
| Identity | 0.152 0.044 | 0.151 0.049 | 0.155 0.035 | 0.303 0.034 | 0.418 0.039 | 0.425 0.031 |
| Fourier | 0.196 0.039 | 0.258 0.050 | 0.309 0.036 | 0.509 0.044 | 0.614 0.036 | 0.650 0.025 |
| MLP-Linear | 0.189 0.034 | 0.226 0.044 | 0.239 0.043 | 0.462 0.036 | 0.614 0.035 | 0.630 0.027 |
| MLP-ReLU | 0.178 0.036 | 0.209 0.040 | 0.220 0.042 | 0.436 0.035 | 0.595 0.037 | 0.617 0.033 |
| Training Budget | 10 | 20 | 50 | 100 | 200 | 500 |
|---|---|---|---|---|---|---|
| BRISC | ||||||
| QINA | 0.502 0.085 | 0.619 0.086 | 0.697 0.038 | 0.873 0.016 | 0.933 0.020 | 0.949 0.012 |
| Identity | 0.230 0.052 | 0.251 0.065 | 0.262 0.046 | 0.322 0.089 | 0.410 0.076 | 0.389 0.070 |
| Fourier | 0.412 0.073 | 0.465 0.095 | 0.508 0.081 | 0.728 0.041 | 0.811 0.034 | 0.826 0.022 |
| MLP-Linear | 0.418 0.060 | 0.506 0.073 | 0.529 0.073 | 0.759 0.029 | 0.831 0.025 | 0.834 0.021 |
| MLP-ReLU | 0.370 0.052 | 0.461 0.079 | 0.473 0.060 | 0.725 0.018 | 0.815 0.029 | 0.828 0.015 |
| Training Budget | 10 | 20 | 50 | 100 | 200 | 500 |
|---|---|---|---|---|---|---|
| BRISC | ||||||
| QINA | 0.534 0.072 | 0.637 0.077 | 0.714 0.033 | 0.876 0.012 | 0.933 0.020 | 0.949 0.011 |
| Identity | 0.278 0.047 | 0.296 0.047 | 0.303 0.042 | 0.354 0.073 | 0.439 0.061 | 0.423 0.052 |
| Fourier | 0.449 0.051 | 0.500 0.081 | 0.545 0.064 | 0.736 0.039 | 0.814 0.036 | 0.829 0.023 |
| MLP-Linear | 0.450 0.072 | 0.524 0.053 | 0.548 0.059 | 0.763 0.027 | 0.833 0.024 | 0.837 0.019 |
| MLP-ReLU | 0.409 0.061 | 0.488 0.053 | 0.507 0.050 | 0.730 0.020 | 0.818 0.027 | 0.829 0.016 |
| Training Budget | 5 | 10 | 20 | 50 | 100 | 200 | 500 |
|---|---|---|---|---|---|---|---|
| BRISC | |||||||
| QINA | 0.021 0.015 | 0.082 0.054 | 0.168 0.079 | 0.400 0.043 | 0.405 0.069 | 0.492 0.105 | 0.533 0.072 |
| Identity | 0.012 0.009 | 0.074 0.052 | 0.147 0.058 | 0.330 0.036 | 0.375 0.026 | 0.435 0.052 | 0.435 0.064 |
| Fourier | 0.020 0.013 | 0.071 0.050 | 0.169 0.063 | 0.321 0.031 | 0.341 0.063 | 0.436 0.104 | 0.485 0.049 |
| MLP-Linear | 0.025 0.025 | 0.090 0.055 | 0.202 0.041 | 0.275 0.091 | 0.348 0.046 | 0.467 0.064 | 0.434 0.102 |
| MLP-ReLU | 0.019 0.018 | 0.088 0.042 | 0.182 0.057 | 0.254 0.071 | 0.362 0.048 | 0.446 0.063 | 0.413 0.102 |
| Training Budget | 5 | 10 | 20 | 50 | 100 | 200 | 500 |
|---|---|---|---|---|---|---|---|
| BRISC | |||||||
| QINA | 0.013 0.009 | 0.055 0.036 | 0.120 0.060 | 0.304 0.033 | 0.309 0.054 | 0.395 0.095 | 0.423 0.061 |
| Identity | 0.008 0.006 | 0.049 0.034 | 0.105 0.044 | 0.250 0.029 | 0.290 0.023 | 0.341 0.047 | 0.341 0.054 |
| Fourier | 0.012 0.008 | 0.047 0.033 | 0.119 0.048 | 0.239 0.029 | 0.259 0.049 | 0.346 0.092 | 0.381 0.039 |
| MLP-Linear | 0.017 0.017 | 0.061 0.038 | 0.146 0.031 | 0.205 0.069 | 0.264 0.036 | 0.369 0.054 | 0.343 0.087 |
| MLP-ReLU | 0.012 0.012 | 0.060 0.029 | 0.131 0.043 | 0.188 0.054 | 0.276 0.041 | 0.351 0.055 | 0.326 0.086 |
Vision Foundation Model Adaptation
Vision foundation model adaptation tailors pretrained image and video models to new tasks and domains while balancing accuracy, efficiency, and generalization.
See all 326 papers