TL;DR
Ever taken a burst of photos indoors and noticed ugly, shifting dark horizontal bands across your images? That’s AC lighting flicker interacting with your camera’s rolling shutter, and standard image-merging tricks fail to fix it because they accidentally blend neighboring dark bands into the final shot. This paper introduces StateFlicker, a framework that cleverly repurposes a frozen AI "world model" to predict how lighting states evolve over time, isolating and erasing the exact flicker artifacts to leave a crisp, clean photo.
What Problem Does This Paper Address?
Modern smartphone cameras love burst imaging—snapping several short-exposure frames in rapid succession and fusing them to reduce noise or boost dynamic range. However, artificial indoor lighting (powered by alternating current, or AC) rapidly pulses in brightness. Because most digital camera sensors read pixels row-by-row rather than all at once, these rapid light pulses turn into rolling horizontal dark and bright stripes across the photo.
Fixing a single flickering image is tough because a dark band looks a lot like a natural shadow. Using a burst of frames should help, since a region darkened in frame 1 might be brightly lit in frame 2. Yet, traditional multi-frame restoration assumes image degradation (like random sensor noise) is uniform across frames, so all aligned pixels are safe to average together. With flicker, neighboring frames carry their own shifted dark bands. Blindly fusing them smears corruption into clean areas. Even specialized deflickering networks tend to focus on surface-level stripe patterns rather than modeling the underlying, periodic physics of the light cycle itself.
Methods
The authors treat each frame in a three-frame burst ($I_0, I_1, I_2$) not just as a noisy picture, but as an observation under an evolving, periodic flicker state. While the backbone of their StateFlicker model is a standard U-shaped encoder-decoder network (following Restormer) that outputs a clean residual correction for the center frame $I_1$, the magic lies in two novel state-aware modules:
- Cross-State Visibility (CSV): Before merging frames, CSV acts as a selective gatekeeper. For each frame, it extracts photometric cues (luminance, local contrast, and row-wise brightness deviations) alongside feature-reliability maps. Comparing neighbors $I_0$ and $I_2$ against the center frame $I_1$, CSV calculates a pixel-by-pixel "visibility weight." It selectively pulls in well-exposed details from neighboring frames to rescue darkened regions in $I_1$, while blocking out the neighbors' own flicker bands and motion misalignments.
- Flicker-State Understanding (FSU): Because AC flicker is periodic, the lighting state in $I_1$ is temporally predictable from $I_0$ and $I_2$. Since ground-truth "flicker labels" don't exist, FSU hijacks a pretrained, frozen world model (specifically V-JEPA 2, trained to predict latent representations of unseen video frames). FSU runs two pathways through this world model: an observation pathway (which sees $I_1$) to get the actual degraded state $z_1$, and a context pathway (which only sees $I_0$ and $I_2$) to predict what the center state should look like ($\hat{z}_1$). By taking the discrepancy between expected and observed states ($|z_1 - \hat{z}_1|$) along with neighbor differences, FSU distills a precise map of the center frame's flicker corruption to guide the decoder.
Datasets
The authors train and evaluate StateFlicker on the BurstDeflicker benchmark, using the official training and testing splits. No new datasets are introduced; following prior work, each input consists of three consecutive flickering frames, tasked with restoring the middle frame.
Key Insights and Ideas
- Repurposing World Models for Low-Level Physics: Pretrained video world models are usually associated with high-level action planning or physical dynamics (like predicting a swinging pendulum). Discovering that a frozen world model can zero-shot track sub-second AC illumination phases—without any explicit lighting annotations—is a remarkable crossover idea.
- Prediction Beats Reconstruction: In ablation studies, swapping the world model out for DINO (per-frame features) or VideoMAE (masked video reconstruction) caused performance to drop by 0.3 to 1.0 dB. Because world models are explicitly trained to infer state transitions into unseen frames rather than just reconstructing pixels, they uniquely excel at exposing unexpected lighting deviations.
- Why Standard Burst Models Fail: Standard multi-frame burst transformers (like Burstormer) actually perform worse on flicker than general single-image restoration architectures (~29.4 dB vs. ~30.6 dB PSNR). Without state awareness, multi-frame fusion actively poisons the target frame with neighboring dark bands.
Key Results
Evaluated against 16 baselines—spanning general restoration, burst processing, HDR reconstruction, and flicker-specific networks—StateFlicker achieves state-of-the-art results across all metrics on BurstDeflicker:
- PSNR: 32.116 dB, outperforming the previous specialized best, FlickerFormer (31.226 dB), by a substantial 0.890 dB margin.
- SSIM / LPIPS: Achieves 0.921 SSIM and 0.044 LPIPS (edging out FlickerFormer’s 0.920 and 0.045).
- Qualitative: Visual error maps show StateFlicker cleanly recovers brick textures, smooth lobby ceilings, and sharp highlights around bright garage lights without leaving residual horizontal banding or over-smoothing edges.
Limitations and Future Work
Not discussed in the paper. (Note: The provided document concludes after Section 5 without a dedicated discussion of limitations or future directions.)
Summary updated