Abstract
Implicit Neural Representations (INRs) have emerged as a powerful paradigm for representing continuous signals like images and 3D volumes. However, the standard approach of fitting an INR via gradient descent is computationally expensive. We introduce a Transformer-based hypernetwork that directly predicts INR weights from raw observations in a single forward pass. By representing weights as a set of tokens, our method bypasses the information bottlenecks of conventional hypernetworks and the iterative requirements of gradient-based meta-learning, achieving state-of-the-art reconstruction precision with high efficiency.
Introduction
Implicit Neural Representations (INRs), such as Neural Radiance Fields (NeRF), represent data as continuous functions parameterized by neural networks. While they offer high-fidelity reconstruction and compact storage, the per-example optimization process is a significant bottleneck. Current acceleration methods generally fall into two categories: hypernetworks, which generate weights from a latent vector, and gradient-based meta-learning (e.g., MAML), which learns a favorable initialization for faster convergence.
Hypernetworks often suffer from a "single-vector bottleneck," where a global latent representation lacks the capacity to capture fine-grained details. Conversely, gradient-based meta-learning still requires multiple optimization steps at test time. This paper proposes a "best-of-both-worlds" solution: a Transformer meta-learner that achieves the precision of gradient-based methods with the speed of a single forward pass.
Methodology
The core innovation lies in treating the weights of the target INR as a set of tokens rather than a single vector.
Weight and Data Tokens
The input observations (e.g., image patches) are projected into "data tokens." Simultaneously, the model utilizes "initialization tokens" that correspond to the columns of the INR's weight matrices. These tokens are processed by a Transformer encoder, where self-attention allows initialization tokens to selectively gather information from relevant data tokens.
Simulating Optimization
A key theoretical insight of this work is that the Transformer’s residual structure mirrors the iterative update steps of gradient-based meta-learning. By stacking Transformer layers, the model effectively "simulates" multiple steps of optimization within its forward pass. To manage the dimensionality of large INRs, the authors employ a "weight grouping" strategy, where a single token generates a group of column vectors, modulated by learnable parameters.
Experiments and Results
The method was evaluated on 2D image regression (CelebA, Imagenette) and 3D view synthesis (ShapeNet).
2D Image Reconstruction
On the CelebA dataset, the Transformer meta-learner achieved a PSNR of 31.96, significantly outperforming the previous state-of-the-art gradient-based meta-learner ("Learned Init"), which reached 30.37. The model demonstrates an ability to capture high-frequency details that traditional hypernetworks often miss.
3D View Synthesis
In ShapeNet experiments, the model successfully reconstructed NeRFs from sparse views. It outperformed standard NeRF baselines when provided with only a single input view, indicating a strong learned inductive bias for 3D geometry.
Discussion and Conclusion
The Transformer meta-learner represents a significant step forward in fast INR fitting. By breaking the single-vector bottleneck and leveraging the architectural similarities between Transformers and gradient descent, the model achieves high-precision zero-shot reconstruction.
Visualization of attention maps suggests that the model learns a structured representation, with specific weight tokens attending to distinct semantic features. While challenges remain in scaling to extremely large scenes or unbounded environments, the ability to directly predict structured weights opens new avenues for data editing and classification directly within the weight space of implicit representations.
Summary updated