Symmetric Attention Improves Optimization Geometry for Image Restoration
Abstract
Self-attention has become the workhorse of Transformer-based image restoration, yet its optimization behavior remains largely underexplored. We identify two structural issues arising from the standard asymmetric score matrix : (i) the gradients with respect to and are governed by structurally different operators, allowing the two projections to drift along uncoupled directions and creating flat valleys in the loss landscape; (ii) the asymmetric score matrix may admit complex eigenvalues, whose imaginary components induce rotational dynamics during gradient descent. Together, these effects lead to ill-conditioned optimization and unstable training. Our main contribution, the Balanced Kernel (BK), resolves both issues through a lightweight symmetric score construction that couples the gradient dynamics of and and guarantees a real eigenvalue spectrum. BK introduces negligible additional FLOPs while achieving faster convergence, oscillation reduction, and a substantially more compact optimization basin. When integrated into existing architectures such as Restormer and Uformer, BK consistently improves performance, demonstrating largely architecture-agnostic optimization benefits. We further introduce ChannelRouter, which generates instance-adaptive head weights from degradation-aware channel statistics, and Gated Feature Modulation (GFM), which enables spatially adaptive processing through multiplicative gating. Integrating these components, our Balformer achieves state-of-the-art performance on deraining, deblurring, and denoising benchmarks.
Then back it, or bet against it.
Related papers
Open the market on this paper to see 7 more related papers.