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
Figure 1: Structured spectral adaptation via QINA in frozen backbones. Left: Internal architecture of the QINA module, consisting of linear encoding, trigonometric lifting, linear decoding, and bounded nonlinearity. Middle: In residual CNN blocks, QINA operates within the residual branch on intermediate feature maps, producing a bounded correction that is added to the shortcut connection while keeping the backbone parameters frozen. Right: In Transformer encoder layers, QINA is inserted before MHA in the first residual block.
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
Table 1: Summary of the datasets used in the study. The reported image resolutions correspond to average values due to variations across samples within each dataset.
Figure 2: Representative samples from natural and medical datasets. Natural images exhibit diverse color and semantic structure, whereas medical image modalities (MRI, ultrasound, dermoscopy, endoscopy) show distinct intensity statistics, texture patterns, and localized cues.
Figure 3: Validation performance on STL-10 under frozen-backbone training across different classification backbones and training budgets. QINA consistently improves performance across models and budgets.
Figure 4: Validation performance on medical classification datasets under frozen-backbone training across different CNN backbones and training budgets. QINA consistently improves performance across models, datasets, and budgets.
Figure 5: BUSI classification performance using a frozen ImageNet-pretrained ResNet versus a frozen modality-adapted ResNet fine-tuned on FETAL ultrasound data. Although the tasks differ, modality alignment significantly improves downstream performance under freezing.
Figure 6: Validation performance (foreground Dice) on medical segmentation datasets using DeepLabv3+ with a frozen pretrained encoder. Consistent improvements across budgets suggest that structured nonlinear adaptation benefits dense prediction tasks.
Figure 7: Ablations on STL-10 evaluating QINA placement (left), hidden dimension (middle), and full fine-tuning (right). Higher-layer insertion and larger hidden dimension improve accuracy in the frozen regime, whereas end-to-end fine-tuning reduces adapter-specific gains.
Figure 8: Representation analysis of adapter features using a frozen ResNet-18 backbone on the STL-10 validation set. Adapters are compared using Fisher Discriminant Ratio (FDR), Effective Rank (ER), and Centered Kernel Alignment (CKA). QINA achieves higher FDR, indicating improved class separability, while exhibiting lower ER, suggesting more compact feature utilization. Lower CKA relative to the frozen backbone and alternative adapters indicates that QINA introduces a distinct transformation of the representation geometry.
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 9: QINA component ablations on STL-10 with ResNet-18. Left: sine-only, cosine-only, and combined sine–cosine encodings yield comparable performance, with the combined encoding providing a small advantage. Right: the bounded tanh output performs slightly better than a linear output across the evaluated training budgets.
Adapter
Component
Parameters
Activation
Learnable params
QINA
Encoder
W:256×128,b:128
sin+cos
65,920
Decoder
W:128×256,b:256
tanh
MLP
Encoder
W:256×128,b:128
identity / ReLU / tanh
65,920
Decoder
W:128×256,b:256
identity
Fourier
Encoder
W:256×128,b:128 (fixed)
sin
33,024
Decoder
W:128×256,b:256
identity
Appendix
Table 2: Adapter configurations used in the ResNet-18 comparisons. The adapter was applied to Residual Block 5a . Weight dimensions are reported as input × output; bias dimensions indicate the number of output units. Trainable parameter counts exclude the task head. For Fourier features, the randomly initialized encoder parameters are fixed during training.
Adapter
Component
Parameters
Activation
Learnable params
QINA
Encoder
W:1024×128,b:128
sin+cos
263,296
Decoder
W:128×1024,b:1024
tanh
MLP
Encoder
W:1024×128,b:128
identity / ReLU / tanh
263,296
Decoder
W:128×1024,b:1024
identity
Fourier
Encoder
W:1024×128,b:128 (fixed)
sin
132,096
Decoder
W:128×1024,b:1024
identity
Appendix
Table 3: Adapter configurations used in the ResNet-50 comparisons. The adapter was applied to Residual Block 5a . Weight dimensions are reported as input × output; bias dimensions indicate the number of output units. Trainable parameter counts exclude the task head. For Fourier features, the randomly initialized encoder parameters are fixed during training.
Adapter
Component
Parameters
Activation
Learnable params
QINA
Encoder
W:728×128,b:128
sin+cos
187,224
Decoder
W:128×728,b:728
tanh
MLP
Encoder
W:728×128,b:128
identity / ReLU / tanh
187,224
Decoder
W:128×728,b:728
identity
Fourier
Encoder
W:728×128,b:128 (fixed)
sin
93,912
Decoder
W:128×728,b:728
identity
Appendix
Table 4: Adapter configurations used in the Xception comparisons. The adapter was applied to Block 13 . Weight dimensions are reported as input × output; bias dimensions indicate the number of output units. Trainable parameter counts exclude the task head. For Fourier features, the randomly initialized encoder parameters are fixed during training.
Adapter
Component
Parameters
Activation
Learnable params
QINA
Encoder
W:192×128,b:128
sin+cos
49,472
Decoder
W:128×192,b:192
tanh
MLP
Encoder
W:192×128,b:128
identity / ReLU / tanh
49,472
Decoder
W:128×192,b:192
identity
Fourier
Encoder
W:192×128,b:128 (fixed)
sin
24,768
Decoder
W:128×192,b:192
identity
Appendix
Table 5: Adapter configurations used in the ViT-Tiny comparisons. The adapter was applied to Block 11 . Weight dimensions are reported as input × output; bias dimensions indicate the number of output units. Trainable parameter counts exclude the task head. For Fourier features, the randomly initialized encoder parameters are fixed during training.
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
Appendix
Table 6: Validation F1-score (mean ± SD) on STL-10 under frozen-backbone training across different classification backbones and training budgets.
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
Appendix
Table 7: Validation accuracy (mean ± SD) on STL-10 under frozen-backbone training across different classification backbones and training budgets.
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
Appendix
Table 8: Validation F1-score (mean ± SD) on medical datasets under frozen-ResNet-18 training across different training budgets.
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
Appendix
Table 9: Validation accuracy (mean ± SD) on medical datasets under frozen-ResNet-18 training across different training budgets.
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
Appendix
Table 10: Validation Dice (mean ± SD) on medical datasets using DeepLabv3+ with a frozen ResNet-18 across different training budgets.
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
Appendix
Table 11: Validation IoU (mean ± SD) on medical datasets using DeepLabv3+ with a frozen ResNet-18 across different training budgets.
Vision foundation model adaptation tailors pretrained image and video models to new tasks and domains while balancing accuracy, efficiency, and generalization.