Introduction
State-of-the-art generative models, particularly Latent Diffusion Models (LDMs), have revolutionized the creation of high-fidelity digital content. However, most existing architectures remain "grid-bound," representing data as fixed-resolution arrays such as 2D pixel grids or 3D voxels. This dependency introduces two primary limitations: resolution rigidity, where models cannot easily scale beyond their training dimensions, and modality silos, where architectures designed for images do not naturally translate to continuous fields like 3D occupancy or climate data.
To address these challenges, we introduce Latent Diffusion Models of Implicit Neural Representations (LDMI). This framework replaces standard convolutional decoders with a novel Hyper-Transformer Decoder (HD), enabling the generation of continuous, resolution-independent signals across diverse modalities without requiring full model retraining.
The Challenge of Implicit Neural Representations
Implicit Neural Representations (INRs) offer a compelling alternative to grid-based data by representing signals as continuous functions, where $f(\text{coordinates}) = \text{value}$. While INRs are highly flexible, generating the parameters (weights and biases) for these functions is computationally intensive. Previous attempts using "hypernetworks"—networks that generate weights for other networks—often relied on Multi-Layer Perceptrons (MLPs). These MLP-based hypernetworks struggle to scale to the millions of parameters required for complex signals, frequently becoming a bottleneck in the generative pipeline.
Methodology: The Hyper-Transformer Decoder
LDMI combines the probabilistic strengths of diffusion models with the flexibility of INRs through several key architectural innovations:
1. Transformer-Based Weight Generation
Instead of a standard decoder, LDMI utilizes a Transformer-based hypernetwork. By leveraging cross-attention mechanisms, the model maps latent variables from a diffusion process to the weights of an INR. The research demonstrates that Transformers are significantly more effective than MLPs at capturing the complex inter-dependencies between neural network weights.
2. Efficient Weight Grouping
To maintain computational efficiency, LDMI does not predict every weight individually. Instead, it predicts "grouped weights" that are combined with learnable templates. This strategy allows the Hyper-Transformer to remain compact—achieving a 20x improvement in parameter efficiency compared to previous baselines.
3. The "Hyper-Transforming" Strategy
LDMI enables a powerful transfer learning approach. By utilizing a high-quality pre-trained LDM (such as those trained on ImageNet), researchers can freeze the encoder and the diffusion prior. Only the new Hyper-Transformer Decoder needs to be trained to map the existing latent space into the INR space, drastically reducing the resources required to adapt models to new modalities.
4. Stability via Reconstruction Operators
Training periodic INRs (like SIREN) can be unstable due to standard weight normalization. LDMI introduces a specialized reconstruction operator that scales weights rather than normalizing them, ensuring stable gradients and consistent convergence during training.
Experimental Results
LDMI was evaluated across multiple modalities, demonstrating its versatility and superior performance over existing INR-based generative models.
- Natural Images: On the CelebA-HQ 64x64 dataset, LDMI achieved an FID score of 18.06, a substantial improvement over previous models like GASP (40.40) and VAMoH (66.27). Furthermore, the model exhibits "free" super-resolution; because the output is an INR, it can be evaluated at 4x or 8x the training resolution at test time while maintaining structural coherence.
- 3D Shape Generation: Using the ShapeNet "Chairs" subclass, LDMI successfully generated complex 3D occupancy grids, proving its capability beyond 2D planes.
- Climate Data Modeling: In tests on the ERA5 temperature dataset, LDMI outperformed the leading inference-based models by 5.6 dB in PSNR. This highlights the model's ability to handle continuous spatio-temporal signals that do not follow standard visual patterns.
- Structured Inpainting: The model demonstrated robust performance in image completion tasks, filling in large missing regions (such as eyes or mouths) while maintaining global consistency and high-frequency detail.
Discussion and Future Work
LDMI represents a significant step toward modality-agnostic generative modeling. By decoupling the generative prior from the output resolution, it provides a scalable path for high-fidelity signal synthesis.
However, some challenges remain. While generating INR parameters is efficient, "rendering" a signal by querying the INR at every coordinate can be slower than a single convolutional pass in traditional decoders. Additionally, the performance of the system remains somewhat sensitive to the specific INR architecture chosen (e.g., SIREN vs. standard MLPs). Future research will focus on optimizing rendering speeds and exploring the application of LDMI to high-frame-rate video generation and other complex spatio-temporal domains.
Summary updated