TL;DR
When you change the "key photo" of a smartphone Live Photo, the newly selected frame is usually blurry and low-quality compared to the original shot. LiveMoments solves this by using a novel reference-guided diffusion model that borrows high-quality details from the original key photo to restore the newly selected frame, using advanced motion alignment to compensate for subject movement and camera shake.
What Problem Does This Paper Address?
Modern smartphones capture "Live Photos" by saving a high-quality (HQ) static image alongside a short, low-quality (LQ) 3-second video clip. This allows users to go back and select a different frame—perhaps one where someone isn't blinking—as the new key photo.
However, there is a massive quality gap between the original key photo and the video frames. The original photo goes through the phone's full, computationally heavy Image Signal Processing (ISP) pipeline, while the video frames are heavily compressed and suffer from motion blur and sensor noise.
Existing Reference-based Super-Resolution (RefSR) methods struggle to fix this. They either rely on external reference images (which don't match the exact scene) or fail to handle the significant motion misalignment (e.g., a person moving their head) between the original HQ photo and the newly selected LQ frame. The authors introduce a new task—Reselected Key Photo Restoration—and a framework to solve it.
Methods
To transfer high-resolution details from the original photo to the new frame without creating weird artifacts, the authors propose LiveMoments, a diffusion-based framework built on the Stable Diffusion 3 (SD3) architecture.
- Dual-Branch Architecture: The model uses a
ReferenceNetto extract fine-grained structural and textural features from the original HQ key photo. A parallelRestorationNetdenoises the LQ frame, pulling in the high-quality features from the reference branch via cross-attention. - Unified Motion Alignment: Because the subject likely moved between the two frames, the model must align them.
- Latent Space: The authors use optical flow (via a pre-trained RAFT model) to estimate pixel displacement. This flow is encoded into "motion embeddings" and injected directly into the cross-attention layers as a spatial bias, guiding the network to look at the correct aligned regions.
- Image Space (Patch Correspondence Retrieval): Because 4K images are too large for GPU memory, they must be processed in smaller patches (tiling). The model calculates the average motion in a patch and shifts the reference crop accordingly, ensuring the neural network receives spatially aligned inputs from the start.
- Efficient Flow Matching: Instead of starting from pure random noise (like standard diffusion), the training process uses a biased mixture containing only 20% noise. Since the LQ and HQ images already share basic low-frequency information, this shortcut allows the model to finish inference in just 6 steps.
Datasets
Because no datasets existed for this specific task, the authors built their own:
- Training Data: Constructed from high-quality video sequences (the DL3DV dataset and 4K internet videos), yielding over 75,000 image pairs degraded synthetically to mimic mobile phone processing.
- Evaluation Benchmarks (New):
- SynLive260: 260 synthetic image pairs.
- vivoLive144: 144 real-world Live Photos captured on a vivo X200 Pro.
- iPhoneLive90: 90 real-world Live Photos captured on an iPhone 15 Pro.
Key Insights and Ideas
- Standard AI image metrics are flawed for this task: The authors realized that standard "no-reference" quality metrics (like NIQE or MUSIQ) often reward models that hallucinate fake, highly detailed textures, even if they look nothing like the original scene. To fix this, they adapted these metrics into relative no-reference metrics that penalize the model if the restored image deviates too far from the original HQ key photo.
- Attention-space alignment beats pixel warping: Traditionally, models try to physically warp the reference image to match the target. LiveMoments proves that injecting motion data as a bias in the attention mechanism is much more robust, preventing the distorted artifacts that usually plague warped images.
- Don't destroy what you already have: By applying only 20% noise during the flow-matching process, the model preserves the low-frequency structure of the image. This drastically reduces the computational heavy lifting required, making the model highly deterministic and fast.
Key Results
- State-of-the-Art Performance: LiveMoments significantly outperformed existing RefSR, video super-resolution (RefVSR), and single-image super-resolution (SISR) methods across all metrics on both real and synthetic datasets.
- High Visual Fidelity: Qualitatively, the model successfully recovers fine details (like text, leaf veins, and hair) without introducing the "AI-generated" plastic look common in other diffusion models.
- Efficiency: Thanks to the 6-step inference process, LiveMoments processes a 1024x1024 patch in just 1.89 seconds on an NVIDIA H20 GPU, requiring about 40 seconds for a full 4K Live Photo.
- Human Approval: In a user study comparing LiveMoments to top baselines, human evaluators preferred LiveMoments 69.62% of the time.
Limitations and Future Work
While highly robust to moderate motion, LiveMoments relies heavily on its optical flow estimator (RAFT). The authors transparently note that in boundary cases—such as extreme motion, severe occlusions, or large areas with very low texture—the flow estimation can fail entirely. When the motion alignment errors exceed the model's ability to compensate, the restoration quality drops. Future work will likely need to explore even more robust motion estimation techniques or flow-free alignment strategies for extreme dynamic scenes.
Summary updated