End-to-End Implicit Neural Representations for Classification

Alexander Gielisse, Jan van Gemert · DOI

Introduction

Implicit Neural Representations (INRs), such as SIREN or NeRF, have emerged as a powerful paradigm for representing continuous signals like images and 3D shapes. By encoding data into the weights of a neural network rather than a discrete grid, INRs offer advantages in compression and resolution-independent reconstruction. However, utilizing these weight-based representations for downstream tasks, particularly classification, has remained a significant challenge. Researchers at Delft University of Technology have recently introduced the Meta Weight Transformer (MWT), an end-to-end framework designed to bridge this gap by meta-learning structured weight representations suitable for classification.

The Challenge of INR Classification

The primary obstacle in classifying INRs is the inherent symmetry of neural networks. Permutation symmetry (reordering neurons) and scale symmetry (adjusting weights without changing the output function) mean that many different weight configurations can represent the same signal. To a standard classifier, these variations appear as entirely different inputs, leading to poor generalization.

Previous attempts to address this involved "equivariant" architectures designed to be invariant to these symmetries. While theoretically sound, these models are often computationally expensive and fail to match the performance of traditional Convolutional Neural Networks (CNNs) operating on raw pixels.

Comparison of the standard two-step INR classification pipeline versus the proposed end-to-end meta-learned approach.

Proposed Method: Meta Weight Transformer (MWT)

The MWT shifts the focus from building complex classifiers to enforcing a consistent structure within the INR weights themselves. This is achieved through a two-loop meta-learning strategy:

  1. Inner Loop: For a given input signal, a SIREN model is initialized from a meta-learned starting point. It is then updated for a small number of gradient steps (typically $k=4$ to $6$) to fit the specific image or shape.
  2. Outer Loop: This loop jointly optimizes the initialization weights and the learning rate schedule. The optimization objective combines a reconstruction loss (ensuring the INR accurately represents the signal) and a classification loss (ensuring a Transformer can identify the signal from the resulting weights).

By back-propagating the classification loss through the fitting process, the model learns an initialization that "aligns" the weights across different samples. This alignment allows a standard, non-equivariant Transformer to effectively classify the weight-based representation.

Visualization of the inner loop update steps ($k=0$ to $4$) where the INR is fitted to an image starting from a learned initialization.

Key Insights

  • Structure over Equivariance: Enforcing weight consistency via meta-learning proves more effective than attempting to model equivariance through architecture.
  • The "Few-Step" Sweet Spot: Classification performance peaks after a few update steps. Excessive fitting causes weights to drift from the shared meta-initialization, destroying the structural consistency required for classification.
  • Weight Differencing: Instead of raw weights, the classifier processes the difference between the final fitted weights and the initial meta-weights, highlighting image-specific features.
  • Efficiency via Subsampling: For high-resolution datasets like ImageNet, the authors found that fitting the INR using as little as 1-5% of pixels per step maintains classification accuracy while reducing computational load.

Experimental Results

The MWT framework achieved significant performance gains across multiple benchmarks:

  • CIFAR-10: Accuracy improved from a previous state-of-the-art of 38.8% to 59.6% (and 64.7% with augmentations).
  • ImageNet-1K: The authors established the first baseline for SIREN classification on full-scale ImageNet, achieving 23.6% accuracy.
  • MNIST/Fashion-MNIST: The model reached near-parity with pixel-based models, achieving 98.8% and 90.4% accuracy, respectively.
  • 3D Data: Success was also demonstrated on ModelNet40, using Unsigned Distance Functions (UDFs) to represent 3D shapes.

Conclusion and Limitations

While MWT represents a landmark in INR classification, challenges remain. A notable trade-off exists between reconstruction quality (PSNR) and classification accuracy; the most "classifiable" weights do not always yield the most accurate reconstructions. Additionally, the meta-learning inner loop introduces higher computational overhead compared to standard CNNs. Future research may explore more flexible architectures that do not rely on a fixed global initialization.

Citation: Alexander Gielisse, Jan van Gemert. "End-to-End Implicit Neural Representations for Classification." arXiv:2503.18123v1 [cs.CV], 2025.

Summary updated

BibTeX
@inproceedings{gielisse2025end,
  author = {Alexander Gielisse and Jan van Gemert},
  title = {{End-to-End Implicit Neural Representations for Classification}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=N931SPWC0r},
}
Figure