NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PIP: Positional-encoding Image Prior

Nimrod Shabtay, Eli Schwartz, Raja Giryes · DOI

Abstract

Positional-Encoding Image Prior (PIP) reinterprets the Deep Image Prior (DIP) framework through the lens of neural implicit representations. By replacing the traditional random noise input with Fourier-feature positional encodings and substituting heavy convolutional layers with lightweight multilayer perceptrons (MLPs), PIP achieves comparable or superior performance in image restoration tasks. Crucially, PIP significantly improves computational efficiency and temporal stability in video restoration, offering a more robust and theoretically grounded alternative to standard convolutional priors.

Introduction

In 2018, the Deep Image Prior (DIP) demonstrated that the architecture of a Convolutional Neural Network (CNN) can act as a powerful prior for image restoration. By fitting a CNN to a single degraded image without any external training data, the network naturally captures image statistics before overfitting to noise. Despite its success, DIP remains computationally expensive and difficult to extend to video; "3D-DIP" often fails to maintain temporal consistency, leading to blurry or flickering results.

PIP addresses these challenges by providing a new theoretical perspective: viewing the image prior not as a result of convolutional kernels, but as an implicit function of spatial coordinates. This shift allows for a more efficient architecture that excels in both image and video domains.

Methods

The core innovation of PIP is a fundamental shift in the network's input and architecture:

  1. From Noise to Coordinates: While DIP uses a grid of random noise as input, PIP utilizes Positional Encoding (PE)—specifically Fourier Features. These consist of sine and cosine functions of pixel coordinates $(x, y)$, providing the network with explicit spatial information.
  2. Architecture Simplification: The authors found that with Fourier features, heavy $3 \times 3$ convolutional kernels become redundant. PIP replaces these with pixel-level MLPs (implemented as $1 \times 1$ convolutions). This significantly reduces the parameter count and computational load.
  3. The PIP-MLP Structure: To maintain multi-scale processing, PIP retains a U-Net-style hourglass structure (downsampling and upsampling) but utilizes MLPs at each stage.
  4. Extension to Video (3D-PIP): For video restoration, a temporal dimension $(t)$ is added to the Fourier features. This allows the model to learn temporal dependencies naturally, ensuring smoother transitions between frames than 3D convolutional approaches.
Comparison of the DIP and PIP frameworks. DIP uses random noise and spatial convolutions, while PIP utilizes positional encoding and MLPs.

Key Insights and Theoretical Grounding

PIP provides a clearer explanation for why unsupervised priors work. The authors argue that DIP’s success stems from neighboring pixels being functions of "shifted" noise boxes; PIP makes this relationship explicit by treating the image as a continuous function of coordinates.

Furthermore, PIP exhibits spectral bias, meaning it learns low-frequency structures (the clean image) much faster than high-frequency noise. This provides a theoretical justification for the "early stopping" technique used in these models. Mathematically, the paper proves that for linear networks, an MLP with Fourier Features is equivalent to a CNN with random noise inputs, effectively bridging the gap between implicit neural representations and convolutional priors.

Experimental Results

The authors evaluated PIP across standard benchmarks for denoising, super-resolution, and video restoration using datasets such as Set5, Set14, and DAVIS.

  • Efficiency: The PIP-MLP architecture achieves results comparable to DIP-CNN but with approximately 7x fewer parameters (0.33M vs 2.22M) and 5x fewer FLOPs (12.15G vs 65.84G).
  • Video Restoration: 3D-PIP is a standout performer, outperforming 3D-DIP by roughly 3dB in PSNR and demonstrating significantly better temporal consistency (3D-SSIM).
  • Denoising and Super-Resolution: In standard image tasks, PIP matches DIP's performance while remaining more robust to different architectural configurations. Unlike DIP, which fails if its $3 \times 3$ kernels are removed, PIP remains functional because the positional encoding carries the necessary spatial prior.
Qualitative comparison of denoising results between DIP and PIP. Both methods effectively remove noise compared to the noisy input.

Limitations and Future Work

While PIP offers significant improvements, it still relies on "early stopping" to prevent the model from eventually fitting the noise. Additionally, the current implementation uses a fixed range of frequencies ($f_{max}$) for all images. Future research could explore spatially adaptive encoding—varying frequency sets across different regions of an image to better handle varying levels of texture and detail—and automated methods for determining the optimal stopping point.

Summary updated

BibTeX
@article{shabtay2026pip,
  author = {Nimrod Shabtay and Eli Schwartz and Raja Giryes},
  title = {{PIP: Positional-encoding Image Prior}},
  journal = {IEEE Trans. Image Process.},
  year = {2026},
  doi = {10.1109/tip.2026.3653206},
}
Figure