Abstract Neural Radiance Fields (NeRFs) have emerged as a groundbreaking paradigm for representing 3D objects and scenes by encoding shape and appearance information into the weights of a neural network. Recent studies have demonstrated that these weights can be used as input for frameworks designed to address deep learning tasks; however, such frameworks require NeRFs to adhere to a specific, predefined architecture. In this paper, we introduce the first framework capable of processing NeRFs with diverse architectures and performing inference on architectures unseen at training time. We achieve this by training a Graph Meta-Network within an unsupervised representation learning framework, and show that a contrastive objective is conducive to obtaining an architecture-agnostic latent space. In experiments conducted across 13 NeRF architectures belonging to three families (MLPs, tri-planes, and, for the first time, hash tables), our approach demonstrates robust performance in classification, retrieval, and language tasks involving multiple architectures, even unseen at training time, while also matching or exceeding the results of existing frameworks limited to single architectures.
Introduction
Neural Radiance Fields (NeRFs) have revolutionized 3D vision by encoding shapes and appearances directly into the weights of a neural network. However, treating these weights as a "data format" for downstream tasks—such as identifying an object or searching a database—presents significant challenges.
Existing "weight-space" methods are highly restrictive, requiring every input NeRF to share an identical architecture (e.g., a specific number of layers and neurons). This lack of flexibility is a major bottleneck because the NeRF field evolves rapidly, frequently introducing new architectures like tri-planes or multi-resolution hash tables. This work introduces the first framework capable of "reading" the weights of diverse NeRF architectures to perform 3D tasks like classification and retrieval, even for structures unseen during training.
Methodology
The core of the proposed framework is a representation learning approach that treats a neural network's architecture as a graph. The pipeline consists of three primary stages:
1. Graph Conversion
The weights of a NeRF are first converted into a "parameter graph." While conversion methods for standard Multi-Layer Perceptrons (MLPs) and tri-planes existed, this research introduces a novel conversion for multi-resolution hash tables—a popular, memory-efficient NeRF format used in state-of-the-art systems like Instant-NGP.
2. Graph Meta-Network (GMN) Encoder
A Graph Meta-Network (GMN) is employed to process these graphs. As a type of Graph Neural Network, GMNs are naturally suited to handle varying graph sizes and structures, making them ideal for processing diverse architectures within a single model.
3. Contrastive Learning and Training Objectives
A key discovery of this study is that training with a standard rendering loss alone causes models to cluster NeRFs by their architecture rather than their content. To overcome this, the authors introduce a SigLIP contrastive loss ($\mathcal{L}_C$). This objective forces the model to map different architectures representing the same object to the same point in latent space, ensuring the representation is truly architecture-agnostic. The model is also trained with a reconstruction loss ($\mathcal{L}_R$) via an nf2vec decoder to ensure the latent space preserves sufficient detail for volume rendering.
Experimental Results
The framework was evaluated using several benchmarks, including ShapeNetRender and Objaverse, covering 13 different NeRF architectures across three families: vanilla MLPs, tri-planes, and multi-resolution hash tables.
- Robust Classification: In multi-architecture settings, the model achieved high accuracy (often >90%) across MLPs, tri-planes, and hash tables simultaneously.
- Cross-Architecture Retrieval: The model successfully used an MLP-based NeRF as a query to find the same object in a gallery of hash-table NeRFs, significantly outperforming baselines that lacked the contrastive objective.
- Zero-Shot Architecture Handling: The GMN encoder demonstrated an impressive ability to perform inference on NeRF architectures it never saw during training, provided they belong to the same general families.
- Language Tasks: When integrated into the LLaNA (Large Language and NeRF Assistant) pipeline, the GMN embeddings allowed an LLM to accurately describe 3D objects and answer complex questions about them.
Discussion and Future Work
This research highlights a fundamental challenge in weight-space learning: neural weights encode both the content (the 3D object) and the container (the architecture). Contrastive learning is essential to "strip away" the container and focus on the content. This is also the first work to successfully perform weight-space tasks on hash-based NeRFs, which are currently the industry standard for fast training.
While the model generalizes well, future work will focus on testing with complex, "in-the-wild" real-world NeRF captures. Additionally, as NeRF architectures grow in complexity, the computational cost of graph conversion may require further optimization. The authors suggest that this methodology could eventually scale to create a "foundational model" for NeRF weight-space processing, analogous to how CLIP functions for images.
Summary updated