Large pretrained image restoration models can be adapted to new degradations without retraining all their weights. A common way is low-rank adaptation (LoRA), which freezes the pretrained weights and learns a small low-rank correction to each weight matrix. This cuts training memory and per-task storage, since optimizer state and checkpoints exist only for the small correction. In restoration, though, plain LoRA has a documented flaw. AdaptIR ran a Fourier analysis of adapter features and found that LoRA learns nearly the same frequency response whether the task needs sharpening (super-resolution) or smoothing (denoising). The paper calls this the "homogeneity trap." AdaptIR's fix is architectural. It builds a mixture of convolution, Fourier-transform, and channel-gating branches, and trains them with ordinary pixel losses.
This proposal tests a different explanation. LoRA may look frequency-blind largely because pixel losses are frequency-blind. Pixel-wise squared error is dominated by the high-energy low frequencies that a pretrained backbone already reproduces well (Focal Frequency Loss). A small adapter trained under that loss therefore gets almost no gradient telling it which bands the task actually needs changed. If that is right, the cheap fix is to change the loss. We propose a spectral loss in which each frequency band is weighted by how badly the frozen backbone fails in that band. We test whether plain LoRA trained this way escapes the homogeneity trap and matches AdaptIR's heterogeneous adapter at equal or smaller parameter budgets.
Core Claim
The claim is that the homogeneity trap is mainly a supervision effect rather than an architectural limit of low-rank updates. A frozen restoration backbone gives us something free: its own output $y_0$ on each training image, which can be computed once, offline, before adaptation begins. The residual $y - y_0$, where $y$ is the clean target, shows exactly which frequencies the adapter must change. We split the 2D Fourier spectrum into $K$ concentric rings $\mathcal{R}_k$ (radial frequency bands). We then weight the adapted output's spectral error by the backbone's residual energy in each ring:
$$\mathcal{L} = \sum_{k=1}^{K} w_k \sum_{(u,v)\in\mathcal{R}_k} \big|\mathcal{F}(\hat y)(u,v) - \mathcal{F}(y)(u,v)\big|^2, \qquad w_k = \Big(\tfrac{1}{|\mathcal{R}_k|}\textstyle\sum_{(u,v)\in\mathcal{R}_k} |\mathcal{F}(y-y_0)(u,v)|^2 + \epsilon\Big)^{-\beta}.$$
Here $\hat y$ is the adapted model's output and $\mathcal{F}$ is the 2D discrete Fourier transform. The weights $w_k$ are precomputed per image, never receive gradients, and are normalized to mean one. The exponent $\beta \in [0,1]$ interpolates between a plain spectral squared error ($\beta=0$) and a loss that measures, in every band, the fraction of the backbone's error that remains ($\beta=1$).
This weighting has two effects. First, bands where the backbone is badly wrong no longer swamp the others; for super-resolution these are typically mid-to-high frequencies, and for heavy rain they are the low-frequency streak patterns. Second, bands the backbone already gets right are protected: the adapter pays heavily for disturbing them. The second effect works like a per-band trust region and has no counterpart in pixel losses.
Two ingredients separate this from prior work. The first is the reference point: it is the frozen backbone's per-band failure. Focal frequency loss instead uses the current model's error, F-Adapter uses spectral energy, and Latent Harmony applies a fixed high-pass target. The second is the target of the question: whether a loss alone, applied to an unmodified LoRA, can produce task-specific frequency responses.
Relation to Prior Work
Three papers motivate the gap. AdaptIR diagnoses the homogeneity trap and fixes it with a heterogeneous adapter trained on spatial losses. We keep its diagnostic, setting, and benchmarks, but change only the loss on a plain LoRA, and we also add our loss to AdaptIR itself. Latent Harmony trains encoder and decoder LoRAs on a frozen VAE with a high-frequency loss used as a stabilizing "bridge." Its loss is a fixed high-frequency alignment that knows nothing about which bands the backbone already handles, and the paper never asks whether the loss changes the adapter's frequency response. PiSA-SR splits super-resolution fine-tuning into a pixel LoRA trained with squared error and a semantic LoRA trained with perceptual and score-distillation losses. It separates objectives through perceptual proxies, not through frequency.
F-Adapter constrains our design. It shows that, in neural operators for physical simulation, giving adapter capacity to radial frequency bands by energy beats uniform allocation by 3.0 to 5.2 points. The principle there is "more capacity where the energy is," which is the opposite of what restoration needs. We sidestep that inversion by letting the backbone's measured failure, not energy, decide the emphasis, and we do it in the loss rather than in the parameterization.
Two papers supply technique. Focal Frequency Loss introduces a spectral loss with adaptive per-frequency weights, at about 0.003 s per iteration of added cost. SRCliqueNet shows that normalizing wavelet subbands keeps the dominant low-frequency subband from drowning detail gradients. Both serve as loss-level baselines.
FourierFT and SeLoRA put the weight update itself in a Fourier or wavelet basis. Note that the "frequency" of a weight matrix is unrelated to the image frequencies a layer outputs, so these methods do not address the homogeneity trap directly. We include FourierFT only as a secondary check on parameter budget.
Research Program
The setting copies AdaptIR's. We use frozen pretrained IPT and EDT restoration transformers, adapted separately to super-resolution, color denoising, light deraining, and the hybrid low-resolution-plus-noise task. Training data are DIV2K and Flickr2K for super-resolution and BSD400 plus WED for denoising.
The first study is diagnostic. We repeat AdaptIR's Fourier analysis of adapter output features for LoRA trained under pixel loss and under our loss. To turn "homogeneity" into a number, we compute the radially averaged log-amplitude spectrum of each adapter's output change and take the mean pairwise cosine similarity of these profiles across tasks. A value near one means homogeneous adapters; lower values mean the adapters behave differently per task. We also check the direction of each adapter's response: it should be high-pass for super-resolution and low-pass for denoising.
The second study measures quality and cost. We compare restoration quality at matched trainable parameter counts. We also report peak GPU memory, iteration time, and the one-off cost of precomputing $y_0$ against full fine-tuning, since the point of the whole exercise is to avoid full fine-tuning overhead.
The third study separates the two effects inside the loss. We sweep $\beta$ and vary the number of rings $K$. We also compare against a variant that keeps only the trust-region term, which upweights bands the backbone gets right while leaving the error-heavy bands unnormalized, and a variant that keeps only the normalization term, which caps weights below one.
Baselines
The reference points are the frozen backbone with no adaptation and full-parameter fine-tuning. Full fine-tuning bounds both quality and cost from above. It gets the same epochs and learning-rate sweep, and we report its memory and per-task storage beside its scores.
The main naive competitor is plain LoRA trained with the pixel loss AdaptIR used, at the same rank, placement, data, and schedule as our method. Beating it means higher PSNR and SSIM on Urban100 and Manga109 super-resolution and on the hybrid Urban100 task, plus clearly lower cross-task spectral similarity.
The strongest existing method is AdaptIR, run from the authors' configuration at its 0.6% parameter budget. The file reports it as +1.78 dB PSNR over FacT on hybrid Urban100 and +4.9 dB over PromptIR on Rain100L, with about 8 hours of single-GPU training. It also reports evaluation on Set5, Set14, BSDS100, and Manga109, but no reported result found on Lacuna for AdaptIR's absolute PSNR on those sets, so we will reproduce them. Our method counts as beating AdaptIR if plain LoRA under our loss reaches its PSNR within 0.1 dB, or exceeds it, on hybrid Urban100 and Rain100L at equal or fewer parameters and lower iteration time. Separately, AdaptIR trained with our loss tells us whether architecture and loss add up or overlap.
The loss-level competitors, all on plain LoRA with an identical tuning budget for the loss weight, are three: Focal Frequency Loss, a normalized Haar subband loss following SRCliqueNet, and a fixed high-frequency loss in the style of Latent Harmony. The ablation that isolates the key ingredient is our loss with $\beta=0$, an unweighted spectral squared error. If $\beta>0$ gives no gain over $\beta=0$ and over focal frequency loss, then the backbone-referenced weighting adds nothing, and the remaining finding is just that any spectral loss breaks homogeneity.
Why not just…?
Why not just raise the LoRA rank? If the trap came from too little capacity, a higher rank would fix it. AdaptIR's analysis suggests standard LoRA stays homogeneous, and F-Adapter argues that linear bottlenecks leave a spectral error floor that more rank does not remove. That evidence comes from other settings, so we test it directly. We run pixel-loss LoRA at four times our rank. If its cross-task spectral similarity and its PSNR match ours, rank alone is the fix and our claim fails.
Why not just add a perceptual or adversarial loss? These losses do sharpen outputs. They also invite hallucinated texture and periodic artifacts, and focal frequency loss improved StyleGAN2 on CelebA-HQ from 5.696 to 4.972 FID partly by countering such failures (Focal Frequency Loss). The evaluations here are fidelity-oriented, measured by PSNR and SSIM. We will still run LoRA with LPIPS added. If it breaks homogeneity equally well and loses no PSNR, that is a real threat to the specificity of our loss, and we will report it as such.
Why not just use AdaptIR? AdaptIR works, but it adds three module types per layer and a gating mechanism. Its outputs cannot be merged into the backbone weights, so its extra inference cost stays at deployment, whereas a plain LoRA can be merged at no inference cost. If our loss lets plain LoRA match AdaptIR, the simpler adapter wins in deployment. If AdaptIR plus our loss clearly beats both, the honest conclusion is that loss and architecture fix partly different problems, and the proposal's contribution becomes that loss.
Why not just apply focal frequency loss unchanged? Focal frequency loss uses the current error, and at initialization a zero-initialized LoRA's error equals the backbone's error. Its emphasis therefore starts out close to ours. The difference is that focal frequency loss raises weight on large errors, which in absolute terms often sit at low frequencies, while ours normalizes them and protects bands the backbone already handles. This is the alternative most likely to match us, and the direct comparison settles it.
Proposed Experiments
We evaluate super-resolution at ×2 and ×4 on Set5, Set14, BSDS100, Urban100, and Manga109. Denoising is evaluated on CBSD68, deraining on Rain100L and Rain100H, and the hybrid task on Urban100. The metrics are PSNR, SSIM, LPIPS, the radially averaged spectral error per band, cross-task adapter spectral similarity, trainable parameters, peak training memory, and wall-clock time. We use three seeds per configuration.
The first decisive check is diagnostic. Pixel-loss LoRA should show high cross-task spectral similarity, as AdaptIR reported, and LoRA under our loss should not. If the similarity barely moves, the supervision hypothesis is wrong, whatever the PSNR does.
The second check compares quality. Plain LoRA under our loss should close at least half of the gap between pixel-loss LoRA and AdaptIR on hybrid Urban100 and Rain100L. Per-band error curves should show the gain comes from the bands where the frozen backbone failed, without regression in the bands it already handled.
The third check is the $\beta$ sweep against focal frequency loss. It decides whether the backbone-referenced weighting is a contribution or whether any spectral loss would do.
A secondary transfer test runs the same comparison on UIR-LoRA's multi-degradation setting with a frozen SD-turbo backbone. That paper reports 28.08 dB PSNR against 27.14 dB for PromptIR. The test checks whether the effect survives a generative backbone, where $y_0$ is cheap to precompute because the model runs in a single sampling step.
References
- Parameter Efficient Adaptation for Image Restoration with Heterogeneous Mixture-of-Experts
- Focal Frequency Loss for Image Reconstruction and Synthesis
- Latent Harmony: Synergistic Unified UHD Image Restoration via Latent Space Regularization and Controllable Refinement
- Pixel-level and Semantic-level Adjustable Super-resolution: A Dual-LoRA Approach
- F-Adapter: Frequency-Adaptive Parameter-Efficient Fine-Tuning in Scientific Machine Learning
- Joint Sub-bands Learning with Clique Structures for Wavelet Domain Super-Resolution
- Parameter-Efficient Fine-Tuning with Discrete Fourier Transform
- Revisiting LoRA through the Lens of Parameter Redundancy: Spectral Encoding Helps
- UIR-LoRA: Achieving Universal Image Restoration through Multiple Low-Rank Adaptation