TL;DR
efunc is a novel, non-neural representation for 3D shapes that replaces complex neural networks with a regular grid of polynomial functions. By interpolating these functions using radial basis functions (RBFs) and optimizing them with deep-learning-inspired techniques, it achieves state-of-the-art accuracy for Signed Distance Functions (SDFs) while using up to an order of magnitude fewer parameters than popular methods like Instant NGP.
What Problem Does This Paper Address?
In computer graphics, representing 3D geometry accurately and efficiently is a "holy grail" task. Recently, Neural Radiance Fields (NeRFs) and Neural SDFs have dominated the field. These methods typically use Multi-Layer Perceptrons (MLPs) or hybrid structures like hash grids (Instant NGP) and octrees (NGLOD) to "learn" a shape.
However, these neural approaches come with baggage:
- High Parameter Count: They often require millions of parameters to capture fine details.
- Complexity: Hierarchical data structures (like octrees) are difficult to implement and integrate into other deep learning pipelines.
- Black-Box Nature: MLPs are mathematically opaque, making direct geometric manipulation difficult.
The authors of efunc ask: Can we achieve the same high-quality results using simple, "white-box" mathematical functions instead of neural networks?
Methods
The authors propose a framework that treats shape representation as a function interpolation problem. Instead of storing a simple value (like a color or a distance) at each grid point, they store a local polynomial function.
Key Innovations:
- Function Interpolation: Most methods interpolate scalars or vectors. efunc interpolates continuous functions. Each grid point (Key) stores coefficients for a polynomial (typically 1st or 2nd order).
- Normalized RBFs with Global Support: Instead of standard trilinear interpolation (which only looks at the 8 nearest neighbors), efunc uses a Gaussian-based RBF with a "softmax" normalization. This gives every grid point "global support," meaning every point in the grid contributes to the final value, though its influence fades with distance.
- Learnable Offsets ($Δ$): To better capture sharp edges and intricate details, the grid points aren't fixed. The optimization process can move these "Keys" closer to the actual surface of the object.
- Custom CUDA Kernels: Because the "global support" math involves a summation over all grid points, standard PyTorch autograd is extremely memory-intensive. The authors developed fused CUDA kernels that reduce memory consumption and computation time to less than 10% of conventional frameworks.
Datasets
The researchers evaluated efunc primarily on 3D Signed Distance Functions (SDFs) using:
- Thingi10k: A large-scale dataset of 3D-printing models.
- Standard Graphics Meshes: Classic benchmarks like the Armadillo, Dragon, Lucy, and Fandisk.
They compared their results against heavy hitters in the field, including FFN, NGLOD, Instant NGP, and DiF-Grid.
Key Results
- Extreme Compactness: efunc achieves comparable or superior surface reconstruction quality to Instant NGP while using significantly fewer parameters. For example, a $32^3 \times 13$ float representation (approx. 426k parameters) can outperform models with 10M+ parameters.
- Quantitative Accuracy: In terms of Chamfer Distance, efunc achieved a mean score of 9.227, outperforming Instant NGP (9.288) and NGLOD (9.273) on the test suite.
- Memory Efficiency: Their custom CUDA implementation allows for training on consumer-grade desktop GPUs, using only 16MB of memory during training compared to 305MB for Instant NGP.
Key Insights and Ideas
- The Power of Polynomials: The paper demonstrates that a low-resolution grid ($32^3$) can represent incredibly complex geometry if each cell is "smart" enough to contain a polynomial rather than a single number.
- Optimization ≠ Neural Networks: We can use the tools of deep learning (backpropagation, AdamW optimizer, GPU acceleration) without actually using a neural network architecture. efunc is pure calculus and linear algebra optimized via gradient descent.
- Smoothness by Design: Because the representation is based on RBFs and polynomials, the resulting SDFs are inherently smooth and analytically differentiable. This makes calculating surface normals trivial and precise.
Limitations and Future Work
- Training Speed: While highly efficient in memory, efunc is currently slower to train than Instant NGP (roughly 20 minutes vs. 5 minutes).
- Scaling Constraints: The current implementation relies on global summation, which becomes a bottleneck at very high resolutions (e.g., $128^3$ and above).
- Future Directions: The authors suggest extending this representation to 4D data (spatio-temporal) and integrating it into generative models like diffusion or autoregressive transformers.
Summary updated