WaRA: Wavelet Low-Rank Adaptation for Medical Image Classification

✨ MICCAI 2026 MIRASOL Workshop ✨

Moein Heidari, Yijin Huang, Yasamin Medghalchi, Alireza Rafiei, Roger Tam, Ilker Hacihaliloglu
Figure 1. Overview of WaRA and Tiny-WaRA. (a) WaRA performs low-rank adaptation in a wavelet domain by applying DWT on patch tokens, updating subband coefficients with shared adapter parameters, and reconstructing an additive update via IDWT. (b) Tiny-WaRA replaces the standard adapter with a compact parameterization that learns only a small coefficient vector in a fixed basis derived from pretrained weights [1, 24].

Abstract

Adapting large pretrained vision models to medical image classification is often limited by memory, computation, and task-specific specializations. Parameter-efficient fine-tuning (PEFT) methods like LoRA reduce this cost by learning low-rank updates, but operating directly in feature space can struggle to capture the localized, multi-scale features common in medical imaging. We propose WaRA, a wavelet-structured adaptation module that performs low-rank adaptation in a wavelet domain. WaRA reshapes patch tokens into a spatial grid, applies a fixed discrete wavelet transform, updates subband coefficients using a shared low-rank adapter, and reconstructs the additive update through an inverse wavelet transform. This design provides a compact trainable interface while biasing the update toward both coarse structure and fine detail. For extremely low-resource settings, we introduce Tiny-WaRA, which further reduces trainable parameters by learning only a small set of coefficients in a fixed basis derived from the pretrained weights through a truncated SVD. Experiments on medical image classification across four modalities and datasets demonstrate that WaRA consistently improves performance over strong PEFT baselines, while retaining a favorable efficiency profile. Our code is publicly available at https://github.com/moeinheidari7829/WaRA.

Results

Table 1. Comparison results across four evaluation datasets. Per dataset columns report F1 (%). ‘Params.’ denotes the ratio of learnable parameters to the total number of parameters. Entries are reported as mean±std. Among non-gray rows, the best and second-best means are colored blue and red, respectively.
MethodParams.Fundus (Messidor-2)Dermoscopy (ISIC2018)Mammography (DDSM)Chest X-ray (COVID)Avg. F1
Full fine tuning10039.04±5.0167.46±1.1772.19±0.7197.50±0.4069.05±1.82
Linear probing0.004528.40±3.9062.49±1.1761.54±1.7097.56±0.2062.50±1.74
Bias0.1234.84±4.3964.78±1.4965.48±0.9097.83±0.2365.73±1.75
Prompt tuning [17]0.17630.58±3.8862.94±1.0262.38±2.3597.36±0.2663.31±1.88
Attention tuning [28]33.0430.42±8.1863.26±2.2362.88±1.2197.31±0.5663.47±3.05
Adapter [14]2.0525.68±9.6767.22±2.1265.97±2.6197.62±0.3864.12±3.69
LoRA (rank=16) [15]0.6939.69±3.0771.81±1.1068.22±7.0496.40±0.8469.03±3.01
LoRA (rank=8)0.3440.50±4.5570.61±0.9273.96±1.7796.96±0.3870.51±1.90
FourierFT [12]0.1618.63±1.0339.90±1.1862.24±1.9192.44±0.9553.30±1.27
LoCA [9]0.1731.36±2.4458.11±2.0262.65±1.2295.93±0.3862.01±1.52
FouRA [3]0.6837.60±4.6371.30±1.2267.47±4.2097.58±0.4268.49±1.66
WaveFT [2]0.1717.99±1.4232.93±3.1644.47±4.8190.32±0.6446.43±2.51
WaRA (rank=8)0.3445.35±2.6070.94±0.9974.68±0.9496.81±0.5571.94±1.27
WaRA (rank=16)0.6938.73±7.0771.44±1.0570.20±2.6196.64±0.2669.25±2.75
Table 2. Average performance across the four datasets (%). Entries are reported as mean±std, where the std term is the average of per-dataset stds. Among non-gray rows, the best and second-best means are colored blue and red, respectively.
MethodParams.F1ACCAUCRecallPrecisionKappa
Full fine tuning10069.05±1.8278.12±1.0790.50±0.4267.75±1.8074.12±4.0073.43±1.15
Linear probing0.004562.50±1.7472.61±2.7286.71±0.3562.54±2.0266.77±2.2464.89±2.89
Bias0.1265.73±1.7575.78±0.8688.76±0.3664.99±2.0568.99±2.3369.50±2.63
Prompt tuning [17]0.17663.31±1.8874.34±1.0086.90±0.2862.45±1.8367.18±2.3666.68±1.67
Attention tuning [28]33.0463.47±3.0573.54±1.2886.76±1.0863.23±2.7667.02±4.8966.13±4.02
Adapter [14]2.0564.12±3.6975.47±1.7487.38±2.1063.57±3.6267.27±4.5864.35±6.68
LoRA (rank=16) [15]0.6969.03±3.0176.91±2.9790.32±1.1468.27±2.8773.72±3.1573.03±3.69
LoRA (rank=8)0.3470.51±1.9078.71±1.2091.14±0.4670.17±2.6674.52±2.4275.62±2.47
FourierFT [12]0.1653.30±1.2771.69±0.8784.15±1.4953.08±1.0059.72±3.3653.98±2.29
LoCA [9]0.1762.01±1.5274.26±0.7587.49±0.2660.98±1.4767.30±1.7364.43±2.10
FouRA [3]0.6868.49±1.6677.28±0.9889.73±0.8567.57±1.6472.74±1.7672.39±2.12
WaveFT [2]0.1746.43±2.5166.36±2.5980.42±1.0448.04±1.4051.25±3.5044.30±4.75
WaRA (rank=8)0.3471.94±1.2779.69±0.9091.62±0.3771.59±1.7875.02±2.2777.01±1.48
WaRA (rank=16)0.6969.25±2.7577.22±1.6090.43±0.7969.05±2.6072.83±3.5872.81±3.15
Table 3. Comparison results of Tiny-WaRA with selected PEFT baselines across four evaluation datasets. Per dataset columns report AUC (%). ‘Params.’ denotes the ratio of learnable parameters to the total number of parameters. The best and second best results are bold and underlined, respectively.
MethodComputing costFundus (Messidor-2)Dermoscopy (ISIC2018)Mammography (DDSM)Chest X-ray (COVID)Performance (Avg.)
Params.AUCACCF1
FourierFT [12]0.01053.1861.9760.3663.1759.6746.2424.90
LoCA [9]0.01079.6592.2579.1699.0487.5374.2262.30
FouRA [3]0.00878.8293.4180.7399.0187.9975.1165.04
Tiny-WaRA (Ours)0.007881.0593.4881.4799.2288.8178.5469.43
Figure 2. Complementary analysis of WaRA. (a): Wavelet subband energy pattern on Fundus. (b): Singular value spectrum of the corresponding weight update.
Table 4. Ablation study on wavelet-subband adapter design (AUC, %).
MethodMessidor-2ISIC2018DDSMCOVID
WaRA (shared adapter across bands)83.8595.2987.7399.61
WaRA (band-specific adapters)83.3594.2185.8499.68

BibTeX

@article{heidari2025wara,
  title   = {WaRA: Wavelet Low-Rank Adaptation for Medical Image Classification},
  author  = {Heidari, Moein and Huang, Yijin and Medghalchi, Yasamin and Rafiei, Alireza and Tam, Roger and Hacihaliloglu, Ilker},
  journal = {arXiv preprint arXiv:2506.24092},
  year    = {2025}
}