PIN: Prolate Spheroidal Wave Function-based Implicit Neural Representations

Dhananjaya Jayasundara, Heng Zhao, Demetrio Labate, Vishal M. Patel

TL;DR

PIN (Prolate Spheroidal Wave Function-based Implicit Neural Representation) introduces a novel activation function that leverages the mathematical optimality of Prolate Spheroidal Wave Functions (PSWFs). By perfectly balancing spatial and frequency localization, PIN achieves state-of-the-art performance in signal representation, image inpainting, and novel view synthesis, effectively eliminating the noise-like artifacts common in previous methods.

What Problem Does This Paper Address?

Implicit Neural Representations (INRs) have revolutionized how we store and process signals like images and 3D shapes by mapping coordinates (e.g., $x, y, z$) to values (e.g., RGB or occupancy) using a neural network. However, the success of an INR depends almost entirely on its activation function.

Standard functions like ReLU suffer from "spectral bias," failing to capture high-frequency details. Periodic functions like sinusoids (SIREN) are great for details but often struggle with spatial localization, leading to artifacts. More recent "compactly supported" activations like Gabor wavelets (WIRE) or Gaussians improve localization but are notoriously sensitive to hyperparameter tuning and can introduce noise in smooth areas or fail to generalize to unseen coordinates. The authors identify a fundamental need for an activation function that is optimally concentrated in both the spatial and frequency domains.

Methods

The core contribution is the use of Prolate Spheroidal Wave Functions (PSWFs) as the non-linear mechanism in an MLP.

Why PSWFs?

PSWFs are the mathematical solution to the "Slepian problem": finding functions that maximize energy concentration within a finite interval in both time (space) and frequency. They provide a superior balance compared to Gabors or Gaussians, avoiding the pitfalls of extreme localization in just one domain.

The space-frequency tradeoff of various activation functions. PSWFs (left) show optimal concentration in both domains.

Implementation

Because PSWFs do not have a simple closed-form expression, the authors implement them numerically:

  1. Legendre Expansion: They approximate the PSWF using a series of Legendre polynomials.
  2. Cubic Spline Interpolation: To make the function efficient and differentiable for backpropagation, they use a discretized version of the PSWF with cubic spline approximation.
  3. Learnable Parameters: They introduce learnable parameters to indirectly control the amplitude, frequency, and height of the activation, making the network highly adaptive to different signals.

Datasets

The authors evaluated PIN across several standard benchmarks:

  • Image Representation: The Kodak Lossless True Color Image Dataset (24 images) and the DIV2K dataset.
  • 3D Occupancy: The Stanford 3D shape dataset (specifically the "Asian Dragon" and "Armadillo" models).
  • Novel View Synthesis: The Drums dataset for vanilla NeRF experiments.
  • Generalization Tasks: Custom benchmarks for image inpainting (random and text-masked) and image denoising (Poisson noise).

Key Insights and Ideas

  • The "Reluctance" of Gaussians: The authors hypothesize that functions like Gaussians or Gabors are hard to optimize because their parameters appear in exponents. This makes them behave like Dirac deltas (filtering out too much data) and creates a "reluctant" loss landscape. PIN’s spline-based approach makes it much easier for the optimizer to adjust parameters.
  • Solving the Wide-Frequency Challenge: Existing INRs often choose between being "blurry" (low-pass) or "noisy" (high-pass). PIN manages to represent fine textures without introducing noise into smooth regions because of its optimal energy compactification.
  • Generalization is Key: Unlike methods that overfit to specific training coordinates, PIN’s mathematical structure allows it to better interpolate values at unseen coordinates, which is critical for tasks like inpainting and NeRF.

Key Results

PIN consistently outperforms established baselines like SIREN, WIRE, and GAUSS across multiple metrics:

  • Image Fidelity: On the Kodak dataset, PIN achieved a PSNR of 40.17 dB, significantly higher than INCODE (34.07 dB) and FR-INR (37.91 dB). Visual comparisons demonstrate PIN's ability to reconstruct fine details without introducing the noise-like artifacts seen in other methods.
Visual comparison of image representation. PIN achieves the highest PSNR and preserves fine details better than baselines.
  • 3D Representation: PIN captured intricate 3D geometries with higher accuracy (IoU) and fewer distortions than WIRE or SIREN.
  • Inpainting & Generalization: In tasks where 70% of pixels were missing, PIN produced the most visually coherent reconstructions, maintaining structural integrity where other INRs introduced significant noise.
  • Novel View Synthesis (NeRF): PIN achieved 25.70 dB on the drums dataset, outperforming GAUSS (25.21 dB) and WIRE (23.12 dB).

Limitations and Future Work

  • Computational Complexity: While the authors mention that cubic splines are efficient, the numerical implementation (Legendre expansion and spline lookup) is inherently more complex than a simple trigonometric function like sin(x).
  • Initialization: Although PIN is more robust than WIRE, it still requires careful initialization of its learnable parameters to avoid divergence in extreme cases (e.g., very high variance perturbations).
  • Future Directions: The authors suggest exploring multi-dimensional PSWFs and applying PIN to more complex downstream tasks like medical imaging (CT/MRI reconstruction) and large-scale scene representation.

Summary updated

BibTeX
@inproceedings{jayasundara2025pin,
  author = {Dhananjaya Jayasundara and Heng Zhao and Demetrio Labate and Vishal M. Patel},
  title = {{PIN: Prolate Spheroidal Wave Function-based Implicit Neural Representations}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Eh1QM3OK51},
}
Figure