Severity-Channel Conditioning: An Injection-Level Study for Consumer-Device Deblurring
Organizations: Department of Computer Science and Engineering, Khulna University of Engineering & Technology, Khulna 9203, Bangladesh
Abstract
Motion-deblurring models lose substantial accuracy when transferred from professional cameras to smartphone-derived imagery. This paper studies whether a severity descriptor, partly derived from the paired sharp target, helps adaptation on the iPhoneBlur consumer-device benchmark. Under a shared update budget, input concatenation of a severity map is compared with global feature modulation by capture metadata, spatial feature modulation by the severity map, and a tier-contrastive output objective, together with an unconditioned spectral-loss control, all fine-tuned from the same domain-adapted latent-diffusion baseline. The primary experiment is an oracle diagnostic: target-derived information is supplied at inference. For the evaluated model pair, input concatenation improves overall peak signal-to-noise ratio from 31.23 to 31.30 dB, whereas feature modulation, the contrastive objective, and the spectral-loss control do not exceed the baseline. The gain is positive on 87.2% of test images and on 14 of 15 held-out source videos; this video-level analysis describes the evaluated checkpoint pair and does not establish robustness to retraining, and three training seeds are reported separately. The input-level gain recurs on a transformer backbone. In one exploratory run, zeroing the channel at inference retains most of the gain in peak signal-to-noise ratio but lowers structural similarity below the baseline. A normalized-step diagnostic does not support the expected larger-gradient explanation. The results characterize the evaluated configurations and do not establish injection location as the sole cause, a spatial-locality mechanism, or a reliable deployment advantage.
Figures & tables
| Method | GoPro | HIDE | RealBlur-J | RealBlur-R | iPhoneBlur |
|---|---|---|---|---|---|
| NAFNet [ 6 ] | |||||
| HINet [ 23 ] | |||||
| Restormer [ 24 ] | |||||
| FFTformer [ 7 ] | |||||
| DiffIR [ 5 ] ∗ | – | – |
| Method | Easy | Med. | Hard | Overall | SSIM | LPIPS |
|---|---|---|---|---|---|---|
| MIMO-UNet [ 22 ] | ||||||
| Instruct-IR [ 32 ] | ||||||
| HINet [ 23 ] | ||||||
| Restormer [ 24 ] | ||||||
| FFTformer [ 7 ] | ||||||
| NAFNet [ 6 ] |
| Level | Mechanism | Easy | Med. | Hard | Overall | SSIM | LPIPS | |
|---|---|---|---|---|---|---|---|---|
| – | Schedule-matched DAB | – | ||||||
| Feat. | FiLM, global (near-identity init) | |||||||
| Feat. | FiLM, spatial (SFT-style) | |||||||
| Out. | Contrastive | |||||||
| Ctrl. | Spectral-loss control (no descriptor) | |||||||
| In. | SCC (ours) |
| Fourth-channel content | Information | PSNR | |
|---|---|---|---|
| None (schedule-matched DAB) | – | – | |
| Random constant | none | ||
| Shuffled severity | global (shuffled) | ||
| Image gradient only | spatial only | ||
| Scale factor only | global (uniform) | ||
| True severity ( SCC ) | global + spatial |
| Backbone | Model | Easy | Med. | Hard | Overall | |
|---|---|---|---|---|---|---|
| DiffIR (diffusion) | DAB | – | ||||
| SCC | ||||||
| NAFNet (conv.) | Publ. | – | ||||
| SCC | – | |||||
| Restormer (transf.) | DAB | – | ||||
| SCC |
| Tier | Med. (dB) | Win % | -value | 95% CI (dB) | ||
|---|---|---|---|---|---|---|
| Easy | – | |||||
| Medium | – | |||||
| Hard | – | |||||
| Overall |
| Model | Seed | PSNR | SSIM | LPIPS |
|---|---|---|---|---|
| DAB | 1 | |||
| 2 | ||||
| 3 | ||||
| mean | ||||
| SCC | 1 | |||
| 2 |
| Mechanism | Params (M) | Added (M) | FLOPs (G) | Lat. (ms) |
|---|---|---|---|---|
| DiffIR backbone | ||||
| Schedule-matched DAB | – | |||
| FiLM, global | ||||
| FiLM, spatial (SFT) | ||||
| Contrastive | ||||
| Spectral-loss control | ||||
| Field | Formula / Definition | Units | Provenance |
|---|---|---|---|
| Paired high-frequency difference ( , key isp_diff ) | high-frequency energy (mean absolute Laplacian of luminance, as defined by the benchmark [ 1 ] ) of the blurred observation minus that of the sharp image , min–max normalized over all released metadata, training and test (range ; transductive) | difference of Laplacian energies | y-derived |
| Image gradient term | Gaussian-smoothed Sobel gradient-magnitude map of (Eq. (2) of the main text); high in low-gradient regions, blurred or naturally smooth | dimensionless (gradient magnitude) | x-only |
| Optical-flow motion magnitude ( motion ) | Mean Farnebäck dense optical flow magnitude averaged over the synthesis window: , where is dense flow between consecutive source frames [ 1 , 8 ] | px/frame (range – ) | adjacent-frame |
| Temporal blur window ( blur_window ) | Adaptive number of consecutive high-frame-rate source frames averaged to synthesize each blurred sample [ 1 ] | frames (range – ) | synthesis-only |
| Mechanism | Grad. norm (normalized) † | Grad. SNR | Output change (intensity, ) |
|---|---|---|---|
| Input ( SCC ) | |||
| Feature (FiLM) |
| Tier | PSNR | SSIM | LPIPS |
|---|---|---|---|
| Easy | |||
| Medium | |||
| Hard | |||
| Overall |
| Condition | PSNR (dB) | Max. abs. pixel diff. | SSIM / LPIPS |
|---|---|---|---|
| True severity channel | – | / | |
| Zeroed (this audit) | / | ||
| Dropped (this audit) | / |
| Video | Mean (dB) | (frames) |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 |
| Parameter | Value |
|---|---|
| Optimizer | AdamW ( , , no weight decay) |
| LR schedule | cosine from (minimum ), period steps, stepped once per optimizer update; final rate |
| EMA decay | |
| Training stages | DAB adaptation: epochs from GoPro-pretrained DiffIR; branch stage: further epochs from the DAB for every DiffIR arm, including the schedule-matched baseline; Restormer: epochs from GoPro-pretrained weights for both runs |
| Optimizer steps | micro-batches per epoch, accumulation ; the loss is divided by the accumulation factor under AMP gradient scaling, and the trailing micro-batch of each epoch is discarded, giving updates per epoch and per DiffIR branch |
| Batch size | physical , gradient accumulation , effective ; contrastive arm: physical , no accumulation (same updates per epoch, final incomplete batch dropped) |
Image Deblurring
Image deblurring restores sharp images from motion, defocus, and other blur by estimating lost detail and modeling image formation.
See all 61 papers