MINR: Implicit Neural Representations with Masked Image Modelling

Sua Lee, Joonhun Lee, Myungjoo KangarXiv 2025 · DOI

Abstract

Masked Implicit Neural Representations (MINR) is a self-supervised learning framework that integrates Masked Image Modeling (MIM) with continuous Implicit Neural Representations (INRs). Unlike traditional Masked Autoencoders (MAE) that reconstruct discrete pixels, MINR learns to predict the underlying continuous function of an image. This approach yields superior reconstruction quality, enhanced out-of-distribution robustness, and a significant reduction in parameter count, using up to 85% fewer parameters than standard MAE models.

Introduction

Self-supervised pretraining via Masked Image Modeling (MIM), exemplified by the Masked Autoencoder (MAE), has become a cornerstone of computer vision. By masking a large portion of an image (typically 75%) and tasking a model with reconstructing the missing patches, models learn powerful visual representations. However, MAE suffers from a "masking dependency": its performance is often brittle when faced with different occlusion patterns or out-of-distribution (OOD) data. Furthermore, treating images as discrete grids of patches limits the model's ability to capture continuous spatial structures.

Methodology: From Pixels to Functions

MINR addresses these limitations by replacing the standard pixel-based decoder with an Implicit Neural Representation (INR). The architecture consists of a Transformer-based hypernetwork and a small Multi-Layer Perceptron (MLP) that serves as the INR.

The MINR architecture uses a Transformer-based hypernetwork to predict weights for a continuous image representation.

As shown in the architecture diagram, the process follows four main steps:

  1. Masking: 75% of image patches are removed.
  2. Hypernetwork: Visible patches are processed by a Transformer. Instead of generating pixels, it outputs "weight tokens."
  3. The INR: These tokens define the weights of a small MLP. This MLP represents the image as a continuous function $f(x, y) \to (R, G, B)$.
  4. Reconstruction: The model reconstructs the image by querying the MLP at specific coordinates, allowing for seamless interpolation of missing regions based on global context.

The authors propose two variants: TransINR, where the hypernetwork predicts all MLP weights, and GINR, a more efficient version where some layers are shared across images while others are modulated per instance.

Experimental Results

The framework was evaluated on CelebA (faces), Imagenette (natural objects), and MIT Indoor67 (complex scenes) to test both general performance and robustness.

Quantitative Performance

MINR demonstrates a substantial leap in reconstruction fidelity. On the CelebA dataset, MINR achieved a Peak Signal-to-Noise Ratio (PSNR) of 21.865, significantly higher than the 15.401 achieved by MAE-Base.

Crucially, MINR is highly efficient. While MAE-Large requires 313.6M parameters, the GINR variant of MINR uses only 43.7M parameters—an 85% reduction—while still outperforming the larger MAE model across all benchmarks.

Qualitative Comparison and Robustness

Qualitative comparison showing MINR's superior reconstruction clarity over MAE across different face samples. MINR: Implicit Neural Representations with Masked Image Modelling, page 1

Qualitative comparison showing MINR's superior reconstruction clarity over MAE across different face samples.

Visually, MINR produces much sharper and more coherent reconstructions than MAE, which often results in blurry or disjointed patches. This advantage extends to out-of-distribution scenarios; when trained on CelebA and tested on Imagenette, MINR consistently outperformed MAE by over 3dB, indicating that learning a functional representation captures more generalizable visual features than simple pixel-matching.

Discussion and Future Work

By shifting from discrete pixel grids to continuous functional representations, MINR offers a more robust and efficient path for self-supervised vision. While current results focus on reconstruction, future research will explore the utility of these continuous embeddings for downstream tasks like classification and object detection. Additionally, scaling the hypernetwork to handle ultra-high resolutions remains an open computational challenge.

Summary updated

BibTeX
@misc{lee2025minr,
  author = {Sua Lee and Joonhun Lee and Myungjoo Kang},
  title = {{MINR: Implicit Neural Representations with Masked Image Modelling}},
  year = {2025},
  eprint = {2507.22404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.22404},
}
Figure