Introduction
In recent years, "neural fields" have transformed computer vision by providing powerful ways to represent 3D shapes and images using neural networks or optimized grids. However, the landscape remains fragmented. Popular methods like NeRF (MLPs with positional encoding), Instant-NGP (hash tables), and TensoRF (tensor decomposition) each offer different trade-offs between training speed, memory footprint, and generalization. Until now, there has been no common mathematical language to compare these designs or to easily hybridize their best features. Furthermore, most current methods are "per-scene" optimizers that struggle with "few-shot" scenarios where only a limited number of images are available.
Factor Fields addresses these challenges by introducing a unified framework that decomposes signals into a product of multiple "factors." This modular approach not only clarifies the relationships between existing methods but also enables the creation of a novel Dictionary Field (DiF) representation that achieves state-of-the-art reconstruction quality and compactness.
The Factor Fields Framework
The core contribution of this work is a unified formulation where a signal $s(x)$ is represented as a product of modular components: $$\hat{s}(x) = \mathcal{P} \left( \prod_{i=1}^N f_i(\gamma_i(x)) \right)$$
As illustrated above, the framework breaks down a representation into five distinct stages:
- Input Domain: The raw coordinates (e.g., $x, y, z$).
- Coordinate Transformation ($\gamma$): Functions such as sawtooth, sine, or hashing that map coordinates into a new space to capture different frequencies or patterns.
- Field Representation ($f$): The underlying data structure, which can range from MLPs and 3D grids to 1D vectors.
- Field Connector ($\circ$): The method of combining factors. The authors specifically advocate for the element-wise (Hadamard) product, which allows fields to modulate one another and resolve feature collisions.
- Projection ($\mathcal{P}$): A final mapping, often a small MLP, that produces the output signal such as color or density.
Dictionary Fields (DiF)
By framing existing models as specific configurations of Factor Fields, the authors identified "missing" combinations, leading to the development of the Dictionary Field (DiF). DiF typically utilizes two factors: a basis field and a coefficient field.
In this setup, the basis field uses periodic transformations to capture global patterns, while the coefficient field uses identity transformations to handle local details. This separation is particularly powerful for generalization; the basis can be pre-trained on large datasets of objects and then reused for new scenes. In few-shot reconstruction tasks (e.g., using only 3 or 5 views), this pre-trained DiF model significantly outperforms methods like PixelNeRF by producing sharper details and fewer artifacts.
Key Results and Insights
The Factor Fields framework was evaluated across standard benchmarks including 2D image regression, 3D Signed Distance Fields (SDF), and Radiance Fields (NeRF). Several key insights emerged:
- Efficiency and Compactness: For 3D radiance fields, DiF achieved state-of-the-art quality while being remarkably compact. It utilized only 5.1M parameters, compared to Instant-NGP’s 11.6M and TensoRF’s 17.9M, while maintaining or exceeding their PSNR.
- Optimization Speed: Despite a "vanilla" PyTorch implementation, DiF-Grid optimized 3D SDFs faster than the highly optimized CUDA kernels of Instant-NGP.
- Initialization: The authors found that initializing basis factors using a Discrete Cosine Transform (DCT) provides a superior starting point for optimization compared to random noise.
Conclusion and Future Work
Factor Fields provides a powerful lens through which to view and improve neural representations. While the current implementation is highly efficient, future work may involve extending the framework to temporal/4D data for dynamic scenes and utilizing automated architecture search to discover optimal transformation-representation combinations for specific tasks. By unifying the field, this framework paves the way for more versatile and compact 3D representations.
Summary updated