[Paper Review] PIP: Positional-encoding Image Prior
This paper proposes Positional-Encoding Image Prior (PIP), a novel framework that replaces the random latent code in Deep Image Prior (DIP) with Fourier features (positional encoding), enabling a simple pixel-wise MLP to achieve performance comparable to DIP’s CNN while using significantly fewer parameters. PIP achieves state-of-the-art results in image and video restoration, particularly excelling in video denoising and super-resolution where 3D-DIP fails due to instability.
In Deep Image Prior (DIP), a Convolutional Neural Network (CNN) is fitted to map a latent space to a degraded (e.g. noisy) image but in the process learns to reconstruct the clean image. This phenomenon is attributed to CNN's internal image-prior. We revisit the DIP framework, examining it from the perspective of a neural implicit representation. Motivated by this perspective, we replace the random or learned latent with Fourier-Features (Positional Encoding). We show that thanks to the Fourier features properties, we can replace the convolution layers with simple pixel-level MLPs. We name this scheme ``Positional Encoding Image Prior" (PIP) and exhibit that it performs very similarly to DIP on various image-reconstruction tasks with much less parameters required. Additionally, we demonstrate that PIP can be easily extended to videos, where 3D-DIP struggles and suffers from instability. Code and additional examples for all tasks, including videos, are available on the project page https://nimrodshabtay.github.io/PIP/
Motivation & Objective
- To reinterpret Deep Image Prior (DIP) as a neural implicit model mapping structured noise to RGB values.
- To investigate whether positional encoding (Fourier features) can replace random latent codes in DIP while preserving its image prior effect.
- To develop a parameter-efficient alternative to DIP using MLPs with Fourier features, reducing model complexity.
- To extend the framework to video restoration, overcoming limitations of 3D-DIP in temporal consistency and stability.
- To demonstrate that PIP generalizes well across image and video tasks, including denoising, super-resolution, and CLIP inversion.
Proposed method
- Replace the random latent input in DIP with Fourier features (positional encoding) to encode spatial coordinates.
- Use a simple pixel-level MLP (1×1 convolutions) instead of a deep CNN, leveraging the spectral bias correction of Fourier features.
- Prove equivalence between MLP with Fourier features and CNN with random inputs in the linear network case.
- Extend the 2D PIP framework to 3D by adding temporal positional encoding for video tasks.
- Maintain skip connections and U-Net style architecture to preserve feature hierarchy, while replacing convolutional layers with MLPs.
- Train the model end-to-end to map encoded coordinates to RGB pixel values, using early stopping for regularization.
Experimental results
Research questions
- RQ1Can Fourier features serve as an effective replacement for random latent codes in DIP, preserving its image prior capability?
- RQ2Is it possible to replace the convolutional encoder in DIP with a simple MLP when using positional encoding?
- RQ3Does PIP achieve comparable or better performance than DIP in image restoration tasks with reduced model complexity?
- RQ4Can PIP be effectively extended to video restoration, where 3D-DIP struggles with instability and poor temporal consistency?
- RQ5Does the use of positional encoding in PIP explain the success of NeRF and similar implicit models in handling noisy or sparse inputs?
Key findings
- PIP achieves PSNR of 29.29 and 3D-SSIM of 0.90 in video denoising, outperforming 3D-DIP by +3dB in PSNR and +0.08 in 3D-SSIM.
- 3D-PIP reduces parameters by a factor of 6 compared to 3D-DIP while achieving superior reconstruction and temporal consistency.
- In image denoising (σ=25), PIP achieves PSNR of 26.17, matching DIP’s performance of 26.35 with significantly fewer parameters.
- For super-resolution (x4), PIP achieves PSNR of 25.45 and 3D-SSIM of 0.78, comparable to DIP’s 25.54 and 0.81.
- The 3D-PIP model outperforms both 2D-DIP and 2D-PIP in video tasks, demonstrating its superiority in temporal consistency and reconstruction quality.
- CLIP inversion using PIP generates high-quality images that are visually similar to those from DIP, validating its generative capability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.