PNeRV: A Polynomial Neural Representation for Videos

Sonam Gupta, Snehal Singh Tomar, Grigorios Chrysos, Sukhendu Das, Rajagopalan N Ambasamduram · DOI

TL;DR

This paper introduces PNeRV, a novel Polynomial Neural Representation for Videos that addresses the challenge of capturing spatiotemporal continuity in video data. By combining a hierarchical patch-wise sampling strategy with Polynomial Neural Networks (PNNs) and a sophisticated positional embedding scheme, PNeRV achieves state-of-the-art performance in video reconstruction and various downstream tasks while being parameter-efficient and faster than existing methods.

What Problem Does This Paper Address?

Implicit Neural Representations (INRs) have shown great promise in modeling continuous signals like images and videos. However, extending INRs to videos presents unique challenges, primarily due to the added temporal dimension. Traditional INR approaches for videos often rely on frame-only parameterization, which sacrifices the crucial spatiotemporal continuity inherent in video data. This limitation makes them less suitable for tasks requiring a deep understanding of how content evolves over time, such as video super-resolution or frame interpolation. Furthermore, existing methods can be computationally expensive and parameter-heavy, hindering their practical application. The authors aim to bridge this gap by developing a video INR that is both spatiotemporally continuous and parameter-efficient.

Methods

PNeRV introduces several key innovations:

  • Hierarchical Patch-wise Spatial Sampling: Instead of processing individual pixels, PNeRV divides video frames into a hierarchy of coarse and fine patches. This approach allows for efficient spatial representation while preserving continuity. Coordinates are sampled recursively from sub-patches, enriching the input with spatial context.
  • Polynomial Neural Networks (PNNs): The core of PNeRV's decoder utilizes PNNs. PNNs are known for their ability to model complex relationships with fewer parameters by leveraging polynomial expansions. This is crucial for achieving parameter efficiency in video modeling.
  • Positional Embedding (PE) Scheme: A novel PE methodology is employed to encode both spatial and temporal information. This scheme combines functional (deterministic) and parametric (learnable) embeddings, a first for video INRs. This richer embedding helps the PNN backbone learn a more faithful representation.
  • Higher-order Multiplicative Fusion (HMF): A specialized fusion mechanism is introduced to effectively combine the various positional embeddings. HMF uses a recursive structure involving additive fusion and Hadamard products to capture intricate cross-correlations between temporal and spatial features.

Datasets

The paper uses the following datasets for training and evaluation:

  • UVG dataset: A widely used dataset for video quality assessment and reconstruction.
  • "Big Buck Bunny" (Bunny) video sequence: A standard benchmark for video processing tasks.

No new benchmarks were introduced.

Key Insights and Ideas

  • Patch-wise is sufficient for spatiotemporal continuity: The authors demonstrate that a hierarchical patch-wise sampling strategy, rather than dense pixel-wise sampling, is sufficient to achieve excellent spatiotemporal continuity in video representations. This is a significant step towards more efficient video modeling.
  • PNNs are a natural fit for video INR: The inherent ability of PNNs to model complex correlations with fewer parameters makes them an ideal choice for the decoder in video INRs, addressing the parameter efficiency challenge.
  • Combining functional and parametric embeddings is powerful: The novel PE scheme, which fuses both deterministic and learnable embeddings, significantly enhances the model's ability to capture high-frequency information and overall performance.
  • Hierarchical sampling strikes a sweet spot: The research highlights that neither purely pixel-wise nor purely temporal-only representations are optimal. A hierarchical patch-wise approach finds a balance, offering good performance with fewer parameters.

Key Results

  • Video Reconstruction: PNeRV consistently outperforms state-of-the-art methods like NeRV-L, E-NeRV, and HNeRV in terms of PSNR on both the UVG and Bunny datasets, often with significantly fewer parameters. For example, PNeRV achieves 44.9 dB PSNR on the Bunny video with 11.89M parameters, outperforming E-NeRV (42.87 dB with 12.49M parameters).
  • Video Compression: PNeRV demonstrates strong performance in video compression, achieving comparable results to full models even at 40% sparsity.
  • Downstream Tasks: PNeRV shows excellent performance in Video Super-Resolution, Frame Interpolation, and Video Denoising, confirming its versatility as a generic spatiotemporal representation.
  • Efficiency: PNeRV is up to 4x faster in terms of convergence rate compared to prior art and boasts significantly lower inference times (e.g., 28.32 ms per forward pass on an NVIDIA RTX 3090 GPU).

Limitations and Future Work

  • Boundary Artifacts: The paper acknowledges that the patch-wise formulation can lead to boundary artifacts in reconstructed frames, which are mitigated by Gaussian blur.
  • Parameter Count vs. Patch Size: While generally expecting more parameters with larger patch sizes, the paper observes a decrease in parameters for certain configurations due to the design of convolutional layers in the ProdPoly blocks. Further analysis of this relationship is suggested.
  • Future Work: The authors suggest exploring PNN-based PEs to further enhance INR for videos. They also mention that their work can serve as a foundation for building more advanced spatiotemporally continuous, lightweight INRs for videos.

Summary updated

BibTeX
@article{gupta2024pnerv,
  author = {Sonam Gupta and Snehal Singh Tomar and Grigorios Chrysos and Sukhendu Das and Rajagopalan N Ambasamduram},
  title = {{PNeRV: A Polynomial Neural Representation for Videos}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2024},
}
Figure