TL;DR
Researchers have developed Spatial LLaNA (S-LLaNA), a multimodal model that can "see" and reason about 3D objects by looking directly at the internal weights of a Neural Radiance Field (NeRF). By introducing a novel weights2space meta-encoder, the system translates abstract neural network parameters into spatially-grounded tokens, allowing AI assistants to describe fine-grained details and complex spatial relationships without ever needing to render a 2D image.
What Problem Does This Paper Address?
Neural Radiance Fields (NeRFs) have become a gold standard for representing 3D geometry and appearance. However, interacting with them usually requires a "render-then-reason" approach: you render dozens of 2D images from different angles and feed them into a standard Vision-Language Model. This is computationally expensive and relies heavily on the quality of the chosen viewpoints.
Recent attempts, like the original LLaNA, tried to skip rendering by processing the NeRF’s MLP (Multi-Layer Perceptron) weights directly. The catch? They compressed the entire object into a single "global" embedding. While the model could identify what the object was, it lost all sense of where things were. If you asked a global-embedding model to describe the relationship between a "red pot" and a "wooden shelf" on a 3D carriage, it would likely hallucinate or fail because the spatial structure was "smothered" during compression.
Methods
The authors propose a self-supervised framework called weights2space to bridge the gap between abstract weights and 3D space.
- weights2seq: This module processes the rows of the NeRF's weight matrices independently to extract low-level features.
- seq2space: A Transformer-based meta-encoder takes these features and maps them to a sequence of 3,072 learnable queries.
- The Tri-plane Constraint: To force these tokens to represent specific parts of the object, the authors reorganize them into a tri-plane structure (three orthogonal 2D grids).
- Self-Supervised Grounding: The model is trained by trying to reconstruct (render) images of the object using only these tri-plane tokens. Because the tokens must successfully reconstruct the object's appearance at specific 3D coordinates, they are forced to "learn" the geometry and appearance of specific spatial regions.
- Spatial LLaNA (S-LLaNA): These spatially-aware tokens are then projected into the embedding space of a Large Language Model (LLaMA-2). The LLM can then "attend" to specific tokens based on the user's text prompt.
Datasets
The model was trained on a massive collection of 300,000 NeRFs paired with text from the ShapeNeRF-Text and ObjaNeRF-Text datasets.
To test the model's spatial reasoning specifically, the authors introduced Spatial ObjaNeRF. This is a manually curated benchmark of 100 complex 3D scenes (e.g., a table with specific fruits and books in precise arrangements) with detailed human annotations focusing on part-whole hierarchies and relative positions.
Key Insights and Ideas
- Weights are Spatially Structured (Implicitly): The most significant insight is that spatial information is distributed within MLP weights; it just needs the right "lens" (the tri-plane rendering loss) to be elicited.
- The Power of Local Tokens: Unlike global embeddings, S-LLaNA’s 3,072 tokens act like a sparse voxel grid. This allows the LLM to perform "part-level" reasoning.
- LLM Finetuning is Optional: Surprisingly, S-LLaNA performs nearly as well without finetuning the underlying LLaMA model. Because the spatial tokens are so rich and well-mapped, the projector alone can often teach the LLM how to interpret the 3D data. This makes training significantly faster and cheaper.
- Visualizing Attention: By looking at the LLM's attention maps, the authors showed that when the model generates the word "vase," it is actually "looking" at the specific tokens in the tri-plane that correspond to the vase's location in 3D space.
Key Results
- State-of-the-Art Performance: S-LLaNA consistently outperformed the original LLaNA and various 2D/3D baselines (like PointLLM or LLaVA) across all tasks.
- Detailed Captioning: On the ShapeNeRF-Text benchmark, S-LLaNA-13B achieved a Sentence-BERT score of 80.98, a massive jump over the original LLaNA’s 75.51.
- Spatial Reasoning: In the new Spatial ObjaNeRF benchmark, S-LLaNA showed a significant lead in describing relative positions (e.g., correctly identifying that a book is under a bowl rather than just near it).
- Zero-Shot Success: The model generalized well to real-world datasets it had never seen during training, such as OmniObject3D and mip-NeRF 360.
Limitations and Future Work
- Data Scarcity: The authors note that the primary bottleneck is the lack of large-scale, high-quality NeRF-text datasets. Most current data is derived from synthetic objects.
- Scene Complexity: While S-LLaNA handles multi-object scenes better than its predecessors, it is still primarily tested on object-centric NeRFs. Scaling this to massive, room-scale or city-scale NeRF environments remains a challenge.
- Downstream Tasks: The authors suggest that these spatially-aware weight tokens could eventually be used for more than just talking—potentially for 3D object detection or robotic grasping directly from neural representations.
Summary updated