Papers
Topics
Authors
Recent
Search
2000 character limit reached

Flickerformer: Burst Flicker Restoration

Updated 4 July 2026
  • Flickerformer is a transformer-based burst restoration network that targets flicker-band artifacts in short-exposure photography.
  • It leverages physical priors—periodicity from AC-powered lighting and directionality from rolling shutter—to accurately model and remove structured artifacts.
  • The architecture employs specialized modules (PFM, AFFN, and WDAM) to achieve notable improvements in restoration quality on benchmark datasets.

Searching arXiv for the cited paper and closely related deflickering work to ground the article. Flickerformer is a transformer-based burst restoration network for removing flicker-band artifacts in short-exposure photography. It is introduced in “It Takes Two: A Duet of Periodicity and Directionality for Burst Flicker Removal” (Qu et al., 24 Mar 2026) and is designed around two physical priors of flicker: periodicity, associated with AC-powered illumination, and directionality, associated with rolling-shutter readout. Within this formulation, flicker is treated not as generic noise or uniform underexposure but as a structured spatial-temporal degradation. Flickerformer addresses this structure through three specialized modules: a Phase-based Fusion Module (PFM), an Autocorrelation Feed-Forward Network (AFFN), and a Wavelet-based Directional Attention Module (WDAM) (Qu et al., 24 Mar 2026). Related deflickering research in video has emphasized blind temporal consistency via neural atlases (Lei et al., 2023) and histogram-assisted scale-time equalization (Qiu et al., 2024), but Flickerformer is specifically formulated for burst flicker-band removal under short exposure and rolling shutter.

1. Problem setting and artifact model

Flickerformer targets flicker artifacts arising from unstable illumination and row-wise exposure inconsistencies in short-exposure burst photography (Qu et al., 24 Mar 2026). Under AC-powered lighting such as fluorescent and LED sources, illumination intensity oscillates approximately sinusoidally at $50/60$ Hz, or according to more complex waveforms. Short exposure causes each frame to integrate light over only part of the illumination cycle, while rolling shutter exposes sensor rows sequentially. Their interaction produces both per-frame brightness fluctuations and within-frame striped or banding patterns aligned with the readout direction (Qu et al., 24 Mar 2026).

The method is motivated by the claim that these degradations are structured, periodic, and directional rather than spatially homogeneous. Generic restoration models for denoising, low-light enhancement, burst super-resolution, or HDR fusion do not explicitly model these regularities and therefore may preserve banding, attenuate it only partially, or introduce ghosting by mistaking illumination variation for motion (Qu et al., 24 Mar 2026). This places Flickerformer in a distinct methodological category from general blind video deflickering systems, which are formulated for broader temporal inconsistency phenomena, including post-processing or generative artifacts (Lei et al., 2023, Qiu et al., 2024).

The paper formalizes periodicity in the frequency domain. For a feature map XtRH×W×C\mathbf{X}_t \in \mathbb{R}^{H \times W \times C} at frame tt, the $2$D FFT is written as

X~t=F(Xt)=At(k)eiΦt(k),\tilde{\mathbf{X}}_t = \mathcal{F}(\mathbf{X}_t) = A_t(\mathbf{k}) e^{i \Phi_t(\mathbf{k})},

where At(k)A_t(\mathbf{k}) is magnitude and Φt(k)\Phi_t(\mathbf{k}) is phase (Qu et al., 24 Mar 2026). The article further states that swapping phase spectra across flickering frames changes the spatial distribution of flicker bands, which is used to argue that phase encodes the spatial pattern of flicker (Qu et al., 24 Mar 2026).

Directionality is attributed to rolling shutter. If rows are read top to bottom, flicker appears as horizontal bands; if columns are read sequentially, vertical bands result. This means the artifact manifests as directional high-frequency oscillations together with low-frequency dark or bright band regions along a dominant axis (Qu et al., 24 Mar 2026). The model therefore combines frequency-domain periodic analysis with wavelet-domain orientation selectivity.

2. Architectural formulation

Flickerformer takes as input a burst of three RGB frames: the base frame I1\mathbf{I}_1 and neighbors I0,I2RH×W×3\mathbf{I}_0, \mathbf{I}_2 \in \mathbb{R}^{H \times W \times 3}, and produces a single restored, flicker-free version of the base frame I^1\hat{\mathbf{I}}_1 (Qu et al., 24 Mar 2026). Low-level feature extraction is performed using a XtRH×W×C\mathbf{X}_t \in \mathbb{R}^{H \times W \times C}0 group convolution, generating frame-wise feature maps XtRH×W×C\mathbf{X}_t \in \mathbb{R}^{H \times W \times C}1 (Qu et al., 24 Mar 2026).

The network is described as an asymmetric U-shaped transformer with four principal stages (Qu et al., 24 Mar 2026). First, PFM aggregates the three frame features into a fused low-level representation XtRH×W×C\mathbf{X}_t \in \mathbb{R}^{H \times W \times C}2. Second, a three-stage encoder processes the fused representation with increasing channel width and decreasing spatial resolution. Third, a three-stage decoder reconstructs full-resolution features using skip connections from the encoder, with WDAM replacing standard attention in the decoder stages. Fourth, an output head predicts a residual XtRH×W×C\mathbf{X}_t \in \mathbb{R}^{H \times W \times C}3 via a XtRH×W×C\mathbf{X}_t \in \mathbb{R}^{H \times W \times C}4 convolution and adds it to the base frame: XtRH×W×C\mathbf{X}_t \in \mathbb{R}^{H \times W \times C}5 Residual learning is explicitly motivated as a means to focus the network on flicker artifacts rather than full-image content (Qu et al., 24 Mar 2026).

At encoder stage XtRH×W×C\mathbf{X}_t \in \mathbb{R}^{H \times W \times C}6, the spatial resolution is XtRH×W×C\mathbf{X}_t \in \mathbb{R}^{H \times W \times C}7 and the number of channels is XtRH×W×C\mathbf{X}_t \in \mathbb{R}^{H \times W \times C}8, with multiple transformer blocks per stage (Qu et al., 24 Mar 2026). In these blocks, AFFN replaces a vanilla FFN, thereby embedding periodic-structure modeling directly in the feed-forward pathway. In the decoder, WDAM is used for reconstruction guided by high-frequency directional cues (Qu et al., 24 Mar 2026).

The training objective combines XtRH×W×C\mathbf{X}_t \in \mathbb{R}^{H \times W \times C}9 reconstruction loss and VGG-based perceptual loss with equal weights: tt0

tt1

tt2

Here tt3 denotes selected VGG-19 feature maps (Qu et al., 24 Mar 2026).

A central distinguishing feature of the architecture is that it reorganizes both fusion and refinement around physical priors rather than generic spatiotemporal aggregation. The paper states that fusion is driven by phase correlation, feed-forward refinement by autocorrelation, and attention by wavelet-domain directionality (Qu et al., 24 Mar 2026).

3. Periodicity modeling: PFM and AFFN

PFM is the inter-frame periodicity module. It is motivated by the observation that differences between frames arise from both actual scene motion and illumination changes, with the latter largely captured by phase relationships in the frequency domain (Qu et al., 24 Mar 2026). For each input feature tt4, PFM computes its Fourier representation and extracts the phase. For each reference frame tt5 relative to the base frame tt6, it defines a phase similarity map

tt7

followed by a learned frequency-domain weighting

tt8

The reference-frame frequency features are then filtered as

tt9

mapped back to the spatial domain, and fused with the base-frame feature: $2$0 This is described as a pre-filter that attenuates flicker-corrupted components before they enter the main encoder-decoder pipeline (Qu et al., 24 Mar 2026).

AFFN is the intra-frame periodicity module. It is intended to exploit structural regularities within each scale, replacing pointwise transformer FFNs with a dual-domain refinement pathway (Qu et al., 24 Mar 2026). The module uses the Wiener–Khinchin theorem to compute a $2$1D spatial autocorrelation for encoder feature $2$2: $2$3 This operation is said to amplify repeating stripe patterns while suppressing uncorrelated noise (Qu et al., 24 Mar 2026).

AFFN then combines spectral power and autocorrelation through

$2$4

$2$5

where $2$6 and $2$7 are learnable scalars or vectors (Qu et al., 24 Mar 2026). The resulting features are passed to a gated depthwise FFN: $2$8 after channel splitting into two halves (Qu et al., 24 Mar 2026). The paper characterizes this as a periodicity-aware FFN that makes the model more robust to subtle structured banding.

A plausible implication is that PFM and AFFN divide periodic modeling by scale and function: PFM handles inter-frame periodic agreement before deep encoding, whereas AFFN reinforces periodic spatial structure after fusion. That complementary division is consistent with the ablation results reported for individual module replacement (Qu et al., 24 Mar 2026).

4. Directionality modeling: WDAM

WDAM is the directionality-specific attention module used in the decoder (Qu et al., 24 Mar 2026). It is based on the observation that flicker bands have dominant orientation and are naturally represented in wavelet subbands. For each feature map $2$9, a one-level Haar discrete wavelet transform produces

X~t=F(Xt)=At(k)eiΦt(k),\tilde{\mathbf{X}}_t = \mathcal{F}(\mathbf{X}_t) = A_t(\mathbf{k}) e^{i \Phi_t(\mathbf{k})},0

where X~t=F(Xt)=At(k)eiΦt(k),\tilde{\mathbf{X}}_t = \mathcal{F}(\mathbf{X}_t) = A_t(\mathbf{k}) e^{i \Phi_t(\mathbf{k})},1 is the low-frequency approximation, X~t=F(Xt)=At(k)eiΦt(k),\tilde{\mathbf{X}}_t = \mathcal{F}(\mathbf{X}_t) = A_t(\mathbf{k}) e^{i \Phi_t(\mathbf{k})},2 and X~t=F(Xt)=At(k)eiΦt(k),\tilde{\mathbf{X}}_t = \mathcal{F}(\mathbf{X}_t) = A_t(\mathbf{k}) e^{i \Phi_t(\mathbf{k})},3 are horizontal and vertical high-frequency components, and X~t=F(Xt)=At(k)eiΦt(k),\tilde{\mathbf{X}}_t = \mathcal{F}(\mathbf{X}_t) = A_t(\mathbf{k}) e^{i \Phi_t(\mathbf{k})},4 is the diagonal high-frequency component (Qu et al., 24 Mar 2026). The paper states that flicker edges are especially prominent in X~t=F(Xt)=At(k)eiΦt(k),\tilde{\mathbf{X}}_t = \mathcal{F}(\mathbf{X}_t) = A_t(\mathbf{k}) e^{i \Phi_t(\mathbf{k})},5 and X~t=F(Xt)=At(k)eiΦt(k),\tilde{\mathbf{X}}_t = \mathcal{F}(\mathbf{X}_t) = A_t(\mathbf{k}) e^{i \Phi_t(\mathbf{k})},6.

Attention is applied on the low-frequency branch. Queries, keys, and values are projected from X~t=F(Xt)=At(k)eiΦt(k),\tilde{\mathbf{X}}_t = \mathcal{F}(\mathbf{X}_t) = A_t(\mathbf{k}) e^{i \Phi_t(\mathbf{k})},7: X~t=F(Xt)=At(k)eiΦt(k),\tilde{\mathbf{X}}_t = \mathcal{F}(\mathbf{X}_t) = A_t(\mathbf{k}) e^{i \Phi_t(\mathbf{k})},8 with window-based multi-head attention over non-overlapping X~t=F(Xt)=At(k)eiΦt(k),\tilde{\mathbf{X}}_t = \mathcal{F}(\mathbf{X}_t) = A_t(\mathbf{k}) e^{i \Phi_t(\mathbf{k})},9 windows (Qu et al., 24 Mar 2026). Directional guidance is extracted from high-frequency subbands by concatenating At(k)A_t(\mathbf{k})0 and applying convolution plus sigmoid: At(k)A_t(\mathbf{k})1 The attention output is then defined as

At(k)A_t(\mathbf{k})2

where At(k)A_t(\mathbf{k})3 is a learnable relative position bias (Qu et al., 24 Mar 2026). The key deviation from standard attention is that the value branch is modulated by a directional map derived from oriented wavelet coefficients.

After low-frequency refinement, high-frequency subbands are updated by lightweight convolutions and the final output feature is reconstructed by inverse DWT: At(k)A_t(\mathbf{k})4 The article also provides an efficiency argument: since attention is applied only on the half-resolution At(k)A_t(\mathbf{k})5 subband, the attention cost is reduced by approximately At(k)A_t(\mathbf{k})6, with an added At(k)A_t(\mathbf{k})7 cost for generating At(k)A_t(\mathbf{k})8 (Qu et al., 24 Mar 2026).

This wavelet-guided formulation differs from generic isotropic self-attention by assigning explicit restoration priority to low-frequency dark or bright regions indicated by directional high-frequency edges. In the context of flicker-band removal, this is a localization mechanism rather than merely a compression strategy.

5. Training protocol, dataset, and empirical results

Flickerformer is trained and evaluated on BurstDeflicker, described as a benchmark dataset for burst flicker removal in dynamic scenes, containing real-world flicker artifacts under various AC lighting conditions together with flicker-free ground truth (Qu et al., 24 Mar 2026). The paper states that the dataset includes diverse scenes and motions and that the flicker patterns are real rather than purely synthetic (Qu et al., 24 Mar 2026).

The reported training configuration is a three-level encoder-decoder with block counts At(k)A_t(\mathbf{k})9, attention heads Φt(k)\Phi_t(\mathbf{k})0, channels Φt(k)\Phi_t(\mathbf{k})1, and AFFN expansion factor Φt(k)\Phi_t(\mathbf{k})2 (Qu et al., 24 Mar 2026). Optimization uses Adam with initial learning rate Φt(k)\Phi_t(\mathbf{k})3, and the input protocol uses bursts of three frames (Qu et al., 24 Mar 2026). The text notes that data augmentation details are not specified, while remarking that random cropping and flipping are typical in similar work; that remark should be treated as contextual rather than as a documented implementation detail (Qu et al., 24 Mar 2026).

The paper compares Flickerformer with 16 state-of-the-art restoration models repurposed to burst input, spanning HDR reconstruction, burst super-resolution, deblurring, low-light enhancement, and general restoration (Qu et al., 24 Mar 2026). On the BurstDeflicker test set, the reported metrics are as follows:

Method PSNR / SSIM / LPIPS Params / FLOPs
Flickerformer 31.226 dB / 0.920 / 0.045 Φt(k)\Phi_t(\mathbf{k})4M / Φt(k)\Phi_t(\mathbf{k})5G
AST Φt(k)\Phi_t(\mathbf{k})6 dB / 0.918 / 0.050 not stated here
HINT lower PSNR/SSIM, LPIPS 0.046 not stated here

The paper states that Flickerformer achieves approximately Φt(k)\Phi_t(\mathbf{k})7 dB PSNR improvement over the second-best PSNR method, with better or equal SSIM and lower LPIPS than competing methods, while using significantly fewer parameters than some larger baselines (Qu et al., 24 Mar 2026). Visual comparisons are reported to show more uniform illumination, more faithful color, successful restoration of screens and high-contrast regions without smearing, and reduced ghosting in dynamic scenes (Qu et al., 24 Mar 2026).

Ablation results are central to the paper’s argument. Replacing AFFN with vanilla FFN, LeFF, GDFN, or FRFN reduces PSNR, with AFFN improving by approximately Φt(k)\Phi_t(\mathbf{k})8 to Φt(k)\Phi_t(\mathbf{k})9 dB over these alternatives (Qu et al., 24 Mar 2026). Replacing WDAM with Swin SA, Top-k SA, Condensed SA, or ASSA decreases PSNR by about I1\mathbf{I}_10 to I1\mathbf{I}_11 dB (Qu et al., 24 Mar 2026). Starting from an AST-like baseline with CNN fusion, FRFN, and ASSA, replacing the corresponding components with PFM, AFFN, and WDAM yields individual gains of I1\mathbf{I}_12, I1\mathbf{I}_13, and I1\mathbf{I}_14 dB PSNR respectively, and combining all three produces the full 31.226 dB result (Qu et al., 24 Mar 2026).

6. Position within deflickering research

Flickerformer belongs to a narrower problem setting than blind video deflickering frameworks. “Blind Video Deflickering by Neural Filtering with a Flawed Atlas” (Lei et al., 2023) addresses temporally inconsistent videos from varied sources, including old films, slow motion, time-lapse, and video processing artifacts, using a neural atlas plus a learned neural filter. That method emphasizes blind operation from a single flickering video and long-range temporal consistency through atlas coordinates rather than burst fusion (Lei et al., 2023). BlazeBVD (Qiu et al., 2024) instead uses illumination histograms and scale-time equalization to derive deflickering priors, then applies a 2D U-Net, local flow-based restoration, and a lightweight 3D consistency model (Qiu et al., 2024). Both works operate primarily in the video domain and are formulated for broader flicker types than rolling-shutter flicker bands.

By contrast, Flickerformer is specialized for short-exposure burst photography under AC lighting and rolling shutter (Qu et al., 24 Mar 2026). Its contribution is not blind deflickering in the general video sense but explicit exploitation of two physical priors that are tightly coupled to the capture mechanism. This specialization explains why the architecture uses phase similarity, autocorrelation, and oriented wavelet attention rather than atlas coordinates or histogram smoothing. The differences are not only architectural but ontological: in Flickerformer, flicker is treated as a burst-local structured degradation with stripe-like regularity, whereas the broader video methods model flicker as temporal inconsistency that may be global, local, long-term, short-term, or algorithm-induced (Lei et al., 2023, Qiu et al., 2024).

A common misconception would be to regard Flickerformer as a generic deflickering transformer applicable without modification to arbitrary video flicker. The paper does not support that interpretation. Its input protocol is a burst of three frames, its priors are derived from AC-powered illumination periodicity and rolling-shutter directionality, and its evaluation is on BurstDeflicker rather than on general video deflickering benchmarks (Qu et al., 24 Mar 2026). This suggests domain specificity rather than universal deflickering scope.

7. Limitations, assumptions, and implications

The paper explicitly notes a coverage assumption: across the burst, different frames should provide clean or less-degraded observations for each spatial region (Qu et al., 24 Mar 2026). If a region remains dark or fully flicker-extinguished in all frames, there is no clean observation to recover, and restoration becomes partial. An example given is an area under a turned-off long strip light that remains poorly reconstructed (Qu et al., 24 Mar 2026).

Additional practical limitations are described as implied rather than formally benchmarked. The architecture remains a transformer U-Net with FFT and DWT operations, so despite WDAM’s efficiency relative to full-resolution attention, deployment on embedded or mobile systems may require further optimization (Qu et al., 24 Mar 2026). The model is also tuned to strip-like rolling-shutter flicker, so highly irregular or non-periodic illumination changes may not align with its priors (Qu et al., 24 Mar 2026).

The broader literature cited in the source block suggests several plausible extensions. One is longer-burst or video deflickering formulations that preserve Flickerformer’s periodicity and directionality modeling while expanding temporal context (Qu et al., 24 Mar 2026). Another is adaptation to related artifacts such as PWM screen banding or LED display moiré, where periodic and directional structures may also be salient (Qu et al., 24 Mar 2026). A further implication, in light of blind video deflickering approaches (Lei et al., 2023, Qiu et al., 2024), is that future systems could hybridize explicit physical priors with more general long-range temporal representations.

In summary, Flickerformer is defined by a specific claim: flicker-band artifacts in burst photography should be modeled through periodicity and directionality rather than subsumed under generic restoration. Its three modules instantiate that claim at inter-frame fusion, intra-frame refinement, and decoder attention, respectively. The reported gains on BurstDeflicker, together with targeted ablations, support the view that explicit physical structure is materially beneficial in this restoration regime (Qu et al., 24 Mar 2026).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Flickerformer.