Paper commentary
TetraCoder: Adaptive Tetrahedral Encoding for Neural Fields
- Problem Hash grids and trilinear interpolation break the piecewise-affine structure that exact mesh extraction needs, while fixed tetrahedral grids cannot move their vertices during training.
- Method Learns features at the vertices of one adaptive tetrahedral grid, blends them with barycentric weights, and decodes them with ReLU networks so that the learned zero level set can be extracted analytically.
Why the spatial encoding matters for surfaces
In a neural field, the encoding placed in front of the network shapes not only how well the field fits the data but also how its surface can later be extracted and edited. Tetrahedral encodings keep that structure through barycentric interpolation, but multi-level versions need intersections between grid levels, and fixed tetrahedralizations cannot redistribute vertices during training.
The question is whether one adaptive tetrahedral grid can match hash encodings on fitting and reconstruction while the learned field stays continuous piecewise affine. A second question is whether the same grid vertices can act as the handle for editing a trained scene.
How a query point becomes a feature vector
Each vertex of the single tetrahedral grid stores a position and a learned feature vector. To encode a query point, the tetrahedron containing it is located, and the weight of each of its four vertices is the volume of the tetrahedron formed by replacing that vertex with the query point, divided by the volume of the containing tetrahedron.
Written as \( \lambda_v = V(\tau_{v\leftarrow x})/V(\tau) \), these weights are nonnegative and sum to one, so the encoded vector \( e(x) \) is a convex blend of the four vertex features.
Inside one tetrahedron each weight is an affine function of the query point, because its base face is fixed and its height varies affinely with the point. The encoding therefore takes the form \( e(x)=A_\tau x+b_\tau \) with one matrix and one offset per tetrahedron, both fixed by the vertex positions and features. Across a shared face the weights of the opposite vertices vanish, so neighbouring tetrahedra agree on their interface and the encoding is continuous.
Composing this encoding with affine layers and ReLU activations keeps the piecewise-affine structure.
Each vertex feature only affects the tetrahedra incident to that vertex, so changing one feature \( f_v \) changes the encoding by \( \lambda_v \Delta f_v \), which is zero outside those tetrahedra. Because there is no hashing, this local support means that an appearance edit at one vertex does not reach distant regions through collisions.
Growing, pruning and moving grid vertices
Densification scores each tetrahedron by its longest edge length times the summed L1 norms of the fitting-loss gradients with respect to the encoding, taken over the sampled points inside it and divided by the number of those points. Because the score favours spatially coarse tetrahedra with strong feature gradients, it points to the regions that need more capacity.
Insertion adds vertices there, and each new feature vector is initialized from the encoding before insertion, evaluated at the new position.
Pruning marks vertices whose features have received small training gradients over time and whose features are close to the mean feature of their neighbours. Removing a marked vertex deletes its feature vector and lowers local grid density. Movement updates each vertex position with an Adam step computed from gradients propagated through the encoder, while features remain attached to their vertices, so movement adds no parameters.
During movement the connectivity is refreshed periodically, or sooner when geometric checks find inverted or excessively compressed tetrahedra, and the barycentric transforms and face adjacency are updated while surviving features are kept.
From a ReLU decoder to an exact mesh
The tetrahedra are subdivided into convex cells with a fixed ReLU activation pattern, so the coupled encoder and decoder are affine with coefficients \( a_C \) and \( b_C \) inside each cell. Each of these pieces is a nondegenerate planar polygon, and triangulating them gives the surface mesh that matches the learned zero level set.
A multi-level tetrahedral encoder would also need intersections between its grid levels and the decoder's activation regions, which makes extraction costlier as the number of levels grows. The single grid in this design avoids that cross-level step, so the extraction only has to handle one set of cells.
Image fitting against hash encoding
On all four images, TetraCoder reached higher PSNR than the Hash baseline, and it used fewer parameters in each case.
Point cloud to mesh and extraction cost
The Lego comparison in Fig. 3 uses a different extraction timing: the figure lists 6.179 s for TetraSDF L and 49.263 s for TetraCoder. On that same field, the TetraCoder extraction is reported as taking less than 50 seconds and reaching the lowest SSDF among the candidates. The authors state that Dual Contouring on a 4096×4096×4096 grid for 2.5 hours gives an SSDF almost two orders of magnitude higher.
Novel views and meshes on NeRF Synthetic and DTU
On NeRF Synthetic, TetraCoder reaches PSNR 33.27, SSIM 0.969 and CD 3.93, against 32.75, 0.960 and 4.71 for Instant-NGP. On DTU it reaches PSNR 32.34, SSIM 0.943 and CD 0.705, with NeuS2 at 32.14, 0.938 and 0.711. CD is reported in millimeters, and the mean over the two datasets is PSNR 32.81, SSIM 0.9560 and CD 2.3725. The mean PSNR is the highest among the listed methods, and NeuS2 is closest on mean CD with 2.4055.
Which grid updates matter in the ablation
The full configuration with densification, pruning and site movement reaches the lowest mean CD of 3.926 (×10−3), the highest PSNR of 33.2647 dB and the highest SSIM of 0.968904. The table toggles each of the three updates independently, so each row keeps some updates and removes others.
Removing pruning while keeping densification and site movement raises mean CD from 3.926 to 6.534 and lowers PSNR from 33.2647 to 33.1690 dB. Removing site movement while keeping densification and pruning gives CD 7.094 and PSNR 33.2307 dB. Removing densification while keeping pruning and site movement gives CD 9.036 and PSNR 31.5586 dB.
The authors read densification as mainly supporting appearance quality, and pruning and site movement as mainly improving geometric accuracy. They add that similar rendered images can hide different surfaces, so site organization matters beyond appearance fitting.
Editing grid vertices and features
Geometry editing moves grid vertices while the features, the connectivity and the geometry decoder stay fixed, so the learned zero level set follows the deformation. Appearance editing perturbs the features at selected vertices to match a target colour, while the features that set the SDF and normals are left unchanged.
Table 4 gives the before-after MSE in the unpainted region, with lower values meaning less unintended change. In 3D, the MSE is 0.000, 0.001, 0.001 and 0.003 for TetraCoder, against 0.055, 0.139, 0.091 and 0.155 for Hash.
Limits of the evidence
The authors list dynamic 4D scenes, analytic mesh extraction at multiple levels of detail, and recovering the learned SDF from the extracted mesh as future work. The 2D evaluation uses four images, the surface evaluation five Stanford meshes, and the scene evaluation NeRF Synthetic and DTU. The TetraSDF-NeuS variant at NeuS2-like capacity was not run to completion because building its polyhedral complex was prohibitively expensive in memory and runtime.
Paper info
- Authors
- Daniele Della Pietra, Antonella Rech, Nicola Conci, Nicola Garau
- Venue
- arXiv · Preprint
- First published
- 2026-11-13
- Added
- 2026-11-16
- Updated
- 2026-11-13
- Version
- v1
- arXiv
- 2611.18267
- Category
- cs.GR · cs.CV
- Original paper terms
- CC BY 4.0
- What we show
- Paper info, commentary and permitted figures from the original paper
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Abstract
Implicit and explicit representations of geometry are central in computer graphics applications and come with their pros and cons. With surface sampling being faster on explicit representations and spatial queries being faster on implicit representations, finding efficient conversions between them is a highly desirable property. We present TetraCoder, a single resolution hash-free adaptive tetrahedral encoding that links an explicit tetrahedral spatial encoder with an underlying implicit signed distance field (SDF). The resulting hybrid implicit-explicit space is continuous piecewise affine (CPWA) by design, allowing to obtain an exact correspondence between the implicit SDF and the explicit analytic mesh. TetraCoder's design comes with additional perks, in particular: (a) it scales better than multi-resolution encoding methods due to its single resolution optimizable grid, (b) unlike hash-based methods, it is not affected by collisions, (c) it enables fast tetrahedral ray-tracing, geometry and appearance editing, directly through its adaptive tetrahedral scaffold. We demonstrate the versatility of TetraCoder by showing an improvement over state-of-the-art methods on multiple tasks: 2D/3D fitting from images and point clouds, 3D novel view synthesis, 3D reconstruction, and geometry/appearance editing.
Quote from the paper
Daniele Della Pietra, Antonella Rech, Nicola Conci, Nicola Garau (2026). TetraCoder: Adaptive Tetrahedral Encoding for Neural Fields. arXiv:2611.18267v1. https://arxiv.org/abs/2611.18267v1
BibTeX
@misc{pietra2026tetracoder,
title = {{TetraCoder: Adaptive Tetrahedral Encoding for Neural Fields}},
author = {Daniele Della Pietra and Antonella Rech and Nicola Conci and Nicola Garau},
year = {2026},
eprint = {2611.18267},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.18267v1}
}