HexPlane: A Fast Representation for Dynamic Scenes
Paper · 2023 · Ang Cao and Justin M. Johnson
Summary
A video records what a scene looked like from the cameras that were there. To show what it would have looked like from another position, a rendering system has to recover enough of the scene to account for both the change in viewpoint and the motion within it. A moving camera makes this especially difficult. It can see different sides of a static object over time, but it may see only one side of an object at any particular moment. Earlier approaches based on neural radiance fields could produce convincing views of moving scenes, at the cost of repeatedly evaluating a large neural network during training and rendering. HexPlane asks how much of that work can be moved into a compact store of learned features.
The authors represent a scene with six grids. Three describe pairs of spatial coordinates, and three describe the relationship between a spatial coordinate and time. To look up a point, HexPlane samples each grid at the corresponding coordinates and combines the results. The spatial grids are available at every time, so observations from different frames can help establish common structure. The grids that include time let the field change with motion, without requiring the system to map every point back to a fixed version of the scene. A small network decodes appearance into color, and the system learns the grids by comparing rendered pixels with the recorded images.
On the real, multi-camera Plenoptic Video benchmark, the standard HexPlane run took 12h of GPU time on the Flame Salmon comparison, against 1344h reported for DyNeRF. HexPlane had slightly lower peak signal-to-noise ratio, while its structural dissimilarity, perceptual distance and video quality scores favored it. A shorter run took 2h of GPU time and remained close to DyNeRF across those measures. On the synthetic monocular D-NeRF benchmark, HexPlane trained in 11m 30s on the same hardware used to time the baselines. It tied the larger TiNeuVox variant on the reported structural and perceptual scores, while the larger variant retained the higher peak signal-to-noise ratio.
The experiments also test what the six grids contribute. Removing either the spatial grids or the grids that include time substantially reduced quality on D-NeRF. Keeping all the grids but pairing them so that coordinate axes repeated within pairs also hurt. Several ways of combining the sampled features worked, and a version that decoded color directly with spherical harmonics rendered faster with some loss of quality. The paper shows that this compact representation can make fitting a dynamic scene considerably cheaper. Its examples of fast motion and sparse coverage also show where the images still provide too little evidence for reliable detail.
Deep dive: HexPlane: A Fast Representation for Dynamic Scenes
HexPlane stores changing 3D scenes in six feature planes, cutting the time needed to reconstruct them and render new views. · about 37 minutes to read
The problem and its context
A view the cameras never recorded
The task begins with images whose camera poses and timestamps are known. A pose tells the renderer where a camera was and which way it faced. The timestamp tells it which state of the scene the image records. The output is an image for a requested pose and time. The camera can be placed somewhere absent from the recordings, or the field can be sampled at a time between recorded observations. For either request, the representation has to describe how the scene looks beyond the particular combination of position, direction and time that a source image happened to capture.
In a static scene, an image taken later can reveal the back of something that an earlier image showed from the front. Both images constrain the same underlying scene. Introduce motion and those views no longer have such a direct relationship. An object may have turned, another may have moved out of the way, or a surface that was hidden may have become visible. A synchronized camera array provides several observations of the same instant, but it takes several cameras to do so. With a single moving camera, obtaining more frames supplies views of more instants. It leaves the coverage at each instant sparse.
That difference makes a stack of independent reconstructions a poor starting point. Each reconstruction would have to infer whatever its own camera views leave hidden. It would also have to relearn the parts of the scene that persist across the sequence. A shared representation can give all observations some influence over the common structure. At the same time, it needs enough freedom to depict genuinely changing structure. The challenge is to share what persists while leaving room for objects to move, change shape or reveal new content.
Storage imposes a separate constraint. A direct grid would set aside a feature vector for every combination of spatial cell and time sample. Raising the spatial resolution to preserve small details increases the number of cells along each spatial axis. Longer or more finely sampled sequences add another axis to that allocation. Much of the stored information could be repetitive, and some cells could correspond to empty space. The authors wanted the speed of directly accessing learned scene data without paying the memory cost of a dense spacetime grid.
What earlier radiance fields stored
NeRF represents a static scene as a radiance field. A useful way to think about that field is as a function the renderer can consult along a line of sight. At each sampled position it needs a quantity that says how much the sample blocks light and a color that can vary with viewing direction. It combines those contributions to obtain a pixel. Camera poses determine where the rays go, and comparison against the recorded pixel colors guides learning. This lets the system fit a scene from images without needing a measured color and opacity at every point in space.
In the approaches that motivated HexPlane, a multilayer perceptron, or MLP, carried much of the scene information. An MLP applies successive learned transformations to its input. Querying it is a reasonable way to describe a continuous function, but rendering calls that function at many points along each ray. Training repeats this procedure while changing the representation, so the cost of a single query matters many times over. The paper identifies those repeated evaluations as a major expense in both fitting dynamic scenes and rendering them.
Dynamic radiance fields had taken two broad approaches. One adds time to the field directly or gives the field a learned code associated with a frame. This permits a position to take on new properties over time, including changes in how the parts of a scene connect. The paper describes the estimation problem as severely underconstrained and points to extra supervision such as depth or optical flow, or to denser observations, as ways of supplying evidence. Optical flow describes apparent motion between images. It can help constrain changes that the colors of individual frames leave ambiguous.
The other approach learns a canonical field, a shared description of the scene in a reference configuration. A second function deforms the coordinates of a point at the requested time into that reference space. Observations of a moving object can then help establish a common description of the object even when it appears in different places. The paper credits this arrangement as a strong constraint for monocular capture. Its usefulness depends on how well a shared reference configuration can account for the changes in the scene. Content emerging during the sequence or changes in the connectivity of surfaces make that assumption harder to use.
Explicit storage as a starting point
Work on static scenes had already shifted some of the workload from network evaluation into stored data. The paper describes representations based on sparse voxels, point clouds and low-rank factors. A voxel is a cell in a volume. In a sparse grid, storage can be concentrated in the cells that matter. A low-rank representation takes a different route. It builds a larger array out of smaller learned factors, so that many locations can be described using the same parameters. A small network can then turn retrieved features into rendering quantities, or the data structure can store quantities that can be used directly.
TensoRF supplied the immediate starting point for HexPlane. It represents a spatial volume using combinations of matrices and vectors. A matrix can capture a joint pattern along a pair of axes, while a vector supplies a pattern along the remaining axis. HexPlane takes up the question of where time should enter such a factorization. One can give whole spatial volumes time-dependent weights, give the smaller factors those weights, or learn a joint function of a spatial coordinate and time. These choices determine which changes can be represented compactly and where information is shared.
The authors place this design alongside concurrent work on faster dynamic fields. In their account, some systems retrieve features from an explicit spatial structure but still use a time-aware network for deformation or for the dynamic field itself. NeRFPlayer stores a compact spatial grid for each timestep, leaving storage costs that grow with the length of a sequence. The authors identify K-Planes as their closest contemporary because it also uses six feature planes. Their account of the field thus gives HexPlane a specific place in a broader effort to bring the cost of explicit scene representations down while extending them to motion.
The method, step by step
From a point in spacetime to a pixel
Consider a point somewhere along a camera ray at the time the image should depict. Its spatial coordinates are x, y and z, and its time is t. An XY grid addresses that point using x and y. It returns the same features at those spatial coordinates regardless of the query time. A ZT grid uses z and t. It can return different features as time changes, even at a fixed z. HexPlane joins these two lookups because the coordinates they use together specify the entire query.
The same arrangement is repeated with the other complementary pairs. XZ is joined to YT, and YZ to XT. Each pair sees every axis across its two grids, and each offers a different place to store an interaction. A change with x over time can be represented in XT. A spatial relationship between x and y can be represented in XY and used throughout the sequence. The grids store features learned during fitting. They need no interpretation as photographs, surfaces or trajectories.
An entry in a grid contains a vector of feature channels. A query can fall between entries, in which case the system blends the neighboring values by bilinear interpolation. The coordinates determine the mix along each of the plane's axes. Inside a pair, HexPlane multiplies the sampled vectors channel by channel. It puts the products from the different pairs end to end, then applies a learned matrix. For appearance, the resulting vector is passed to a small color decoder. The direction of the ray helps the decoder account for changes in color with viewpoint.
A separate instance of the plane representation supplies opacity. The implementation can use this quantity to decide which points merit an appearance lookup and color prediction. Volume rendering combines the opacities and colors along a ray. Samples nearer the camera can obscure contributions from farther away, and a sample with negligible opacity has little effect on the rendered pixel. Training adjusts the planes and the decoder to make the rendered colors agree with the observations.
How HexPlane renders an image and learns from it
The steps in order.
Why use a factorization?
A direct way to represent a video in spacetime is to assign a spatial feature volume to each timestep. The paper writes the storage requirement for that approach as follows.
O(N³ T F)
O gives the scaling of the storage cost. N is the resolution along a spatial axis in the equal-resolution example, so N³ accounts for the spatial volume. T is the temporal resolution and F is the number of feature channels at each point. To make the scale concrete, the paper gives a dense RGB example with F = 3, N = 512 and T = 32. With float32 values, that representation takes 48GB.
The authors first describe the static factorization they build on, with the spatial axes distinguished from the feature axis. The expression below writes each sum over the component indices belonging to its family.
V = Σᵣ₌₁ᴿ¹ (Mʳˣʸ ◦ vʳᶻ ◦ aʳ₁) + Σᵣ₌₁ᴿ² (Mʳˣᶻ ◦ vʳʸ ◦ aʳ₂) + Σᵣ₌₁ᴿ³ (Mʳʸᶻ ◦ vʳˣ ◦ aʳ₃)
V is the spatial feature volume. The superscripts x, y and z identify the axes indexed by a factor. Each M is a matrix on the named pair of spatial axes, and each v is a vector along the remaining spatial axis. The symbol a denotes the feature vector belonging to the component, with the subscript identifying its family. The superscript r identifies the component within that family. The sums run over r from the first component to R₁, R₂ or R₃, the respective component counts. The symbol ◦ denotes an outer product. At a given grid location and feature channel, it multiplies the entries picked from the factors by the corresponding indices. The plus signs add contributions to the same volume.
In the XY family, for example, every location with the same x and y selects the same matrix entry. Its value along z can still vary through the Z vector. The feature vector lets a component contribute differently to the output channels while sharing one spatial pattern. Adding a family with a different matrix orientation lets the volume encode a different spatial interaction. The final volume need never be materialized for the renderer to look up its value at a particular point.
Factoring each timestep separately reduces the storage burden of each spatial volume, but leaves every timestep with its own parameters. The paper next considers sharing complete basis volumes. Each basis volume is a reusable spatial pattern, and a set of time-dependent weights determines how those patterns are mixed.
Vₜ = Σᵢ₌₁ᴿᵗ fᵢ(t) · V̂ᵢ
Vₜ is the volume at time t. V̂ᵢ is basis volume i, Rᵗ is the number of basis volumes, and fᵢ(t) is the scalar weight for basis i at time t. Here the dot scales the whole basis volume, and Σ adds the weighted volumes. The superscript t on the count labels the temporal basis. It does not say that the number of stored volumes changes at every query time. Each basis volume can be stored using the static factorization. It still needs its own matrices and vectors, so adding bases means allocating more sets of those factors.
From weights on volumes to coordinates on planes
The next design eliminates much of that duplication by putting time-dependent weights on shared components. All times use the same collection of spatial matrices, spatial vectors and feature vectors. What changes is how much each component contributes.
Vₜ = Σᵣ₌₁ᴿ¹ fʳ₁(t) · (Mʳˣʸ ◦ vʳᶻ ◦ aʳ₁) + Σᵣ₌₁ᴿ² fʳ₂(t) · (Mʳˣᶻ ◦ vʳʸ ◦ aʳ₂) + Σᵣ₌₁ᴿ³ fʳ₃(t) · (Mʳʸᶻ ◦ vʳˣ ◦ aʳ₃)
Vₜ again denotes the feature volume at time t. The M, v and a factors and the r and R indices have the same meanings as in the static factorization. Each fʳ with family subscript is the temporal weight for the indicated component. The dot multiplies that component's spatial feature volume by a scalar. The three sums collect the components across their respective families. The paper calls this design VM-T in its comparisons. The name refers to its spatial vector, matrix and temporal factors.
The authors considered fixed functions such as sinusoids for the weights. They were interested in whether the functions could make periodic motion easy to learn, but found the approach difficult to optimize. An arbitrary function learned by an MLP would have offered more flexibility at the cost of another network evaluation. Instead, they store temporal weights in a grid with T time samples and Rᵢ channels for family i. Linear interpolation between time samples gives a learned piecewise linear function. The channels can follow separate curves because their values are fitted from the images.
Each temporal weight still changes an entire component together. In the XY family, the pattern along z has a fixed shape and the weight changes its strength over time. The paper uses the example of a particle moving in a circle to illustrate the burden this places on the representation. A trajectory involves coordinates that vary with time. The factorization with separate spatial and temporal functions has to reproduce such changes by varying the mixture of fixed patterns. A plane indexed jointly by a spatial coordinate and time can encode those dependencies directly.
HexPlane therefore replaces each spatial vector and its separate time weight with a learned plane. The Z vector and the associated time weight give way to ZT, with equivalent replacements in the other families. At the level of the represented volume, the result is as follows.
D = Σᵣ₌₁ᴿ¹ (Mʳˣʸ ◦ Mʳᶻᵗ ◦ aʳ₁) + Σᵣ₌₁ᴿ² (Mʳˣᶻ ◦ Mʳʸᵗ ◦ aʳ₂) + Σᵣ₌₁ᴿ³ (Mʳʸᶻ ◦ Mʳˣᵗ ◦ aʳ₃)
D is the spacetime feature volume. Each M is now a matrix indexed by the coordinate pair in its superscript, with t indicating the time axis. The component index r selects a matrix from each partner plane and the corresponding feature vector a. R₁, R₂ and R₃ are the counts for the respective families. The outer products, marked by ◦, give contributions defined over the four spacetime coordinates and the feature axis. The sums combine the contributions. The t on a matrix names an axis of stored data, whereas a particular query supplies a value for that axis.
Each plane is implemented by stacking all the matrices of its family into a grid with a channel axis. For example, the matrices Mʳˣʸ for all r become the channels of a single XY plane. This is the sense in which HexPlane has six planes even when a pair contains many learned components. Keeping the channel counts of the families separate lets the authors give some orientations more capacity than others.
The calculation at a continuous point
The volume formula describes what the factors represent. The renderer needs a feature vector at a point with real-valued coordinates, so the authors express the calculation in terms of interpolation and small matrix operations. Written with explicit plane lookups, the sum of contributions is as follows.
D(x, y, z, t) = (Pˣʸ[x, y] ⊙ Pᶻᵗ[z, t]) A₁ + (Pˣᶻ[x, z] ⊙ Pʸᵗ[y, t]) A₂ + (Pʸᶻ[y, z] ⊙ Pˣᵗ[x, t]) A₃
D at the specified arguments is the output feature vector, and x, y and z locate the point at time t. Each P denotes the stacked feature plane for its superscripted coordinate pair. Brackets after a plane denote bilinear interpolation at the enclosed coordinates. The operator ⊙ is channelwise multiplication, so the vectors in a pair must have matching channel counts. Each A is the matrix whose rows are the feature vectors for that family. The subscript chooses the family. Putting a highlighted pair product next to its matrix means ordinary row-vector by matrix multiplication. The plus signs combine the resulting vectors of length F.
The same operation can be implemented by joining the pair products and multiplying once by a stacked matrix. This is the form in the paper's overview.
D(x, y, z, t) = [Pˣʸ[x, y] ⊙ Pᶻᵗ[z, t] ; Pˣᶻ[x, z] ⊙ Pʸᵗ[y, t] ; Pʸᶻ[y, z] ⊙ Pˣᵗ[x, t]] A
Here the outer brackets group the products, and the semicolons inside them denote concatenation. The brackets directly following each P still specify an interpolated lookup. D, the coordinates and ⊙ have the same meanings as in the previous expression. A is formed by stacking A₁, A₂ and A₃ in the same order as the products. It has R rows and F columns, with R the sum of the three component counts. The matrix multiplication gives the same result as transforming the products separately and adding their outputs. The query requires six interpolations and the matrix multiplication after fusion.
The storage requirement follows from the axes of the planes and the size of the projection matrix.
O(N² R + N T R + R F)
O describes the scaling of storage. N and T are the spatial and temporal grid resolutions, R is the total component count and F is the output feature size. N² R counts the contribution from the purely spatial grids, N T R the contribution from the grids involving time, and R F the projection weights. A spatial grid allocates entries over pairs of coordinates, even though a query ultimately involves all the spatial axes. The temporal term likewise grows with the number of time samples without allocating a full spatial volume for each of them.
The calculation also explains why sharing does not require the system to decide what is permanently static. An XY feature is reused across time, but its contribution depends on the ZT feature with which it is multiplied. The output at a location can therefore change even though its spatial lookup does not. Conversely, records at different times can refine the same spatial channels. Which aspects of the scene are stored in those channels is determined by the rendering objective.
Fitting the grids to the images
The main implementation uses different sets of planes for appearance and opacity. It reads opacity directly, then looks up appearance for samples with appreciable opacity. A small MLP predicts RGB using the point's appearance features and viewing direction. In the method overview, point coordinates are also described as decoder inputs. Either way, the scene's dependence on time is already present in the features looked up from the planes. The rendering computation combines sample outputs into a pixel and can pass the error in that pixel back to the parameters that produced it.
L = (1 ÷ |ℛ|) Σᵣ∈ℛ ‖C(r) − Ĉ(r)‖₂² + λᵣₑᵍ Lᵣₑᵍ
L is the training objective, ℛ is the set of camera rays used in the loss and |ℛ| is its size. Here r denotes a ray. C(r) is its rendered color and Ĉ(r) is the corresponding observed pixel color. The norm with subscript ₂ and superscript ² gives the squared Euclidean error across color channels. The summation and division average that error over rays. Lᵣₑᵍ denotes the regularization penalty, and λᵣₑᵍ controls its weight in the objective.
The color loss constrains what appears in the training images. The authors also want reasonable estimates at unobserved positions and times. They apply total variation to the planes, penalizing changes between neighboring grid entries and thereby encouraging nearby features to vary smoothly. The training description also includes depth smoothness to reduce artifacts. Regularization matters because quite different arrangements of colors and opacities can explain a sparse set of rays. Smoothness gives the optimization a preference among possible explanations.
Training begins with coarse spatial grids and increases their resolution as fitting proceeds. Early in the run, nearby positions draw from a small set of grid entries. The increasing resolution later allows the field to describe finer features. The authors use this schedule both to accelerate fitting and to encourage neighboring regions to agree early in training. They set grid dimensions according to the settings of each dataset, with room to assign unequal resolutions to axes when a scene spans different ranges along them.
A small spatial occupancy grid helps the renderer skip empty regions. To build it, the authors evaluate opacity across times and take the maximum for a spatial region. A region occupied at any observed time can then remain eligible for rendering throughout the sequence. The authors note that separate occupancy grids for different time intervals can improve speed. Their implementation keeps one, avoiding the need to choose a separate grid for each requested time.
Coordinates for scenes without a convenient boundary
The plane lookup needs coordinates within a finite range. Normalized device coordinates, abbreviated NDC, are useful in the paper's primarily forward-facing capture setting. They still require lateral bounds. The authors also test expressing the scene in spherical coordinates so that distant points can be handled through their inverse distance. The radial part of the transformation is as follows.
r = 1 ÷ √(x² + y² + z²)
In this formula, r is the inverse radial distance and x, y and z are the Cartesian coordinates of a point. The square root is its distance from the origin. The angular coordinates θ and φ are the polar and azimuthal angles, and t retains its role as time. HexPlane uses θ, φ, r and t as its axes in this version. During rendering, the authors sample r linearly between 0 and 1. Large distances are represented near the small end of this interval. The lookup and fusion procedure remains applicable because it only needs a pair of coordinates for each plane.
Experiments and results
Plenoptic Video and the cost of fitting a real scene
Plenoptic Video provides multiple synchronized views of scenes with real motion, lighting and materials. The paper describes a capture rig with 21 GoPro cameras recording at 2028 × 2704 (2.7K) and 30 FPS. Each scene has 19 synchronized, 10-second videos in the protocol used here. The experiments fit the field with 18 views and reserve 1 view for evaluation. Because the test camera records the same action at the same time, its images can be used to measure how well the fitted field synthesizes an unseen viewpoint.
The scenes put several demands on the representation at once. Flames change shape rapidly. Shiny and transparent objects can look different across simultaneous views, and an object's motion can also move its shadow. Changes of this kind complicate the separation between appearance and geometry. The Flame Salmon scene is the common basis of the paper's comparison with DyNeRF and the other published baselines. The authors also report HexPlane averages across the synchronized public scenes. They leave out Coffee Martini because its views are unsynchronized.
The Plenoptic Video runs follow DyNeRF's staged sampling procedure with changes to suit the hardware available to the authors. DyNeRF used a batch size of 24,576 on 8 V100 GPUs. HexPlane uses a batch size of 4096 on a single 16GB V100. The standard run uses 650k iterations. Matching iteration counts therefore matches the number of update steps, while each system sees a different number of sampled rays per step. The shorter HexPlane† uses 100k iterations and its own stage schedule.
The standard schedule devotes 300k, 250k and 100k iterations to the successive sampling stages. HexPlane† instead uses 10k, 50k and 40k iterations. The earlier stages weight sampling using a global median, with γ set to 0.001 and 0.02, respectively. The final stage weights it using temporal differences, with α set to 0.1. These stages change how training rays are selected, giving the photometric objective different evidence as fitting proceeds.
The standard spatial grid starts at 64³ and grows at 70k, 140k and 210k iterations to reach 512³. The paper uses 300 time grid samples. The occupancy grid is computed at 50k and 100k iterations. Since the cameras largely face forward, the system assigns more appearance channels to the XY–ZT pair. Its component counts are 48, 24 and 24 in pair order, while the opacity counts are 24, 12 and 12. Grid dimensions also reflect the ranges covered by the NDC axes. The experiment varies capacity at the level of plane channels and at the level of coordinate sampling.
The metrics capture different qualities of the images. Peak signal-to-noise ratio, or PSNR, measures pixel-level fidelity, with a higher score indicating closer agreement. D-SSIM measures structural dissimilarity and is better when lower. LPIPS measures perceptual distance through learned image features, with a lower score indicating closer agreement by that measure. Just-Objectionable-Difference, or JOD, is the paper's video quality measure, with higher scores preferred. Plenoptic Video LPIPS uses AlexNet features. The paper specifies D-SSIM using the multiscale structural similarity index.
D-SSIM = (1 − MS-SSIM) ÷ 2
D-SSIM is the reported dissimilarity and MS-SSIM is the multiscale structural similarity score. Subtracting MS-SSIM from 1 reverses the direction of preference, and dividing by 2 gives the scale used for reporting.
Plenoptic Video Flame Salmon training cost in GPU hours
Both HexPlane schedules use less GPU time than DyNeRF, with the shorter schedule using the least.
The numbers
| System or setting | GPU hours |
|---|---|
| DyNeRF | 1344 |
| HexPlane (this paper) | 12 |
| HexPlane† | 2 |
The reported GPU-time speedups on Flame Salmon are 112× for the standard schedule and 672× for the shorter schedule relative to DyNeRF. The measurement is aggregate GPU time. DyNeRF's 1344h reflects training across its group of GPUs, while the HexPlane numbers come from single-GPU runs. The figures describe the cost of the training setups as reported and support a claim about compute used to fit the scene. Rendering a new frame is a different operation with a different timing question.
On the held-out Flame Salmon view, standard HexPlane records PSNR of 29.470 against DyNeRF's 29.581. It scores 0.018 on D-SSIM, 0.078 on LPIPS and 8.16 on JOD. The corresponding DyNeRF scores are 0.020, 0.099 and 8.07. In this scene the two systems are close in pixel fidelity, and the standard HexPlane run is favored by the other reported measures. The authors obtain the comparison figures for DyNeRF from its paper. Their visual comparison matches examples from that publication to corresponding images from HexPlane, since they could not render the DyNeRF field themselves.
HexPlane† reaches PSNR of 29.263, D-SSIM of 0.020, LPIPS of 0.097 and JOD of 8.14 for the same held-out Flame Salmon view. Its structural dissimilarity matches DyNeRF at the precision reported and its perceptual and video quality measures are close. Relative to the longer HexPlane run, the short schedule saves fitting time with some loss in image quality. The authors also find the longer schedule gives visually smoother results in their additional examples.
The older Flame Salmon comparison methods help place those scores in context. Neural Volumes records 22.800 PSNR, LLFF records 23.239 and NeRF-T records 28.449. All three have higher perceptual distances than standard HexPlane on this scene. For the aggregate across synchronized public scenes, standard HexPlane records 31.705 PSNR, 0.014 D-SSIM, 0.075 LPIPS and 8.47 JOD. The average PSNR and JOD for the shorter run are 31.569 and 8.36. These aggregates describe HexPlane's behavior across the tested scenes. The available baseline comparison remains the Flame Salmon evaluation.
The paper reports 200MB for the whole fitted HexPlane representation in its Plenoptic Video discussion. That figure goes with the specific resolutions and channel allocations in the experiment. The storage estimate from the mathematics explains how changes to those choices would affect the amount of plane data. The qualitative examples show re-renderings along a cyclic camera trajectory, views at different times and depth images at the test view. Together with the held-out camera scores, they give a picture of how the fitted field handles both the moving subject matter and the changes in viewpoint.
D-NeRF and sparse observations
The D-NeRF benchmark changes the conditions of the test. It contains synthetic objects viewed from a single camera at a time, with views distributed around the objects over a 360° range. The camera can jump between viewpoints in the sequence. This gives the system broad coverage collectively while leaving each time sparsely observed. The paper points out that the benchmark's objects conform to the deformation assumption used by several baselines. HexPlane uses its shared planes without fitting a canonical space and a separate deformation field.
The authors allocate equal capacities in each orientation for this setup. Each pair has 48 components for appearance and 24 for opacity. The spatial grid starts at 32³, is upsampled at 3k, 6k and 9k, and reaches 200³. Training lasts 25k iterations. The occupancy grid is calculated at 4k and 10k iterations. Across the Plenoptic Video and D-NeRF setups, the paper reports a learning rate of 0.02 for the planes and 0.001 for the projection weights and network. It decays both exponentially and uses Adam with β₁ = 0.9 and β₂ = 0.99. Adam
For D-NeRF, the reported quality metrics are PSNR, structural similarity, abbreviated SSIM, and LPIPS. Higher SSIM indicates closer agreement in image structure. The D-NeRF LPIPS evaluation uses VGG-Net features, following the earlier work on this benchmark. Because the paper uses a different feature network for Plenoptic Video, the LPIPS columns are best interpreted within their respective comparisons. VGG-Net
Average PSNR on the D-NeRF novel-view evaluation
HexPlane has higher PSNR than the original D-NeRF and the smaller TiNeuVox variant, while the larger TiNeuVox variant leads.
The numbers
| System or setting | PSNR |
|---|---|
| T-NeRF | 29.51 |
| D-NeRF | 30.50 |
| TiNeuVox-S | 30.75 |
| TiNeuVox-B | 32.67 |
| HexPlane (this paper) | 31.04 |
HexPlane and TiNeuVox-B both report SSIM of 0.97 and LPIPS of 0.04 in the main comparison. The PSNR scores distinguish the two despite those ties. The supplementary per-scene table gives TiNeuVox-B an average PSNR of 32.64, while the main comparison gives 32.67. Both reported values place it above HexPlane. Scene-level results also show variation within the average. On Hook, HexPlane reports PSNR of 33.79 and TiNeuVox-B reports 33.61. On Hell Warrior, the corresponding values are 24.24 and 28.17. The results depend on which scene is being reconstructed.
The authors remeasure the D-NeRF training times on the same 2080TI GPU, which makes this timing comparison more directly controlled than the one on Plenoptic Video. HexPlane takes 11m 30s, TiNeuVox-S takes 12m 10s and TiNeuVox-B takes 49m 46s. The original deformation-based D-NeRF takes 20 hours. The main table gives no corresponding training time for T-NeRF. TiNeuVox uses a custom CUDA implementation for a sparse canonical voxel field and retains a network for deformation. HexPlane reaches its reported time without a custom CUDA kernel. The comparison shows that a method without a canonical field can be competitive on this benchmark while using substantially less fitting time than some of the deformation-based alternatives.
Views from casual phone recordings
The authors additionally use monocular iPhone sequences with less controlled camera motion. They show outputs from interpolated camera poses and from extrapolated poses farther from the capture trajectory. The examples include a static background, moving cats, fine fur and a tongue becoming visible. Such examples test whether the scene representation can describe changes in visible content alongside details that persist through the clip.
The phone recordings complement the synchronized camera array and the synthetic single-camera benchmark. In the array the holdout camera supplies a direct comparison at the same instant. In the synthetic benchmark the authors can measure average scores on established evaluation views. The phone examples show how the method looks on casual captures, including from unfamiliar perspectives. The paper reports them as qualitative examples, so their role is to illustrate the kinds of scenes the representation can handle and the kinds of camera requests it can render.
What the ablations show
Where the space and time interaction belongs
The factorization ablation asks whether the specific way HexPlane shares parameters matters. The authors compare it with the shared Volume Basis design, VM-T and a CANDECOMP, or CP, decomposition. Volume Basis gives each basis volume its own static factors. With the component index inside each basis's index, the calculation behind the first comparison can be written explicitly.
Vₜ = Σᵢ₌₁ᴿᵗ fᵢ(t) · (Σᵣ₌₁ᴿ¹ Mʳⁱˣʸ ◦ vʳⁱᶻ ◦ aʳⁱ₁ + Σᵣ₌₁ᴿ² Mʳⁱˣᶻ ◦ vʳⁱʸ ◦ aʳⁱ₂ + Σᵣ₌₁ᴿ³ Mʳⁱʸᶻ ◦ vʳⁱˣ ◦ aʳⁱ₃)
Vₜ is the volume at time t, i indexes the Rᵗ basis volumes, and fᵢ(t) is the weight of volume i at that time. M, v and a are its spatial matrices, spatial vectors and feature vectors. Their superscript indices r and i identify the component and the containing basis volume. The coordinate superscripts give the factor's axes and the subscript on a gives the family. The inner sums run over the component counts R₁, R₂ and R₃. Outer products form the components, plus signs combine them within a basis, and the dot multiplies that basis by its scalar weight. In VM-T, the same factors are instead shared across times and each gets its own temporal weight, as described in the method.
CP makes a more restrictive choice about the axes. It replaces the spatial matrices with vectors so that no stored spatial factor is indexed jointly by two coordinates.
Vₜ = Σᵣ₌₁ᴿ (vʳˣ ◦ vʳʸ ◦ vʳᶻ ◦ aʳ) · fʳ(t)
Vₜ is the spatial feature volume at time t. The superscript r selects one of R components. The spatial vectors v with coordinate superscripts supply factors indexed along x, y and z, and aʳ supplies the corresponding feature-channel factor. The outer product ◦ forms the component, the dot scales it by its temporal weight fʳ(t), and the sum adds the weighted components. Any joint pattern must be expressed through the mixture of these separately indexed factors.
On D-NeRF, the Volume Basis setting with 16 shared bases gets PSNR of 30.631 and trains in 29m 20s. VM-T at the reported setting of 96 gets 30.744 and takes 17m 03s. The CP setting of 384 gets 30.302 in 13m 06s. HexPlane at the table's setting of 48 reaches 31.042 in 11m 30s. Its LPIPS of 0.039 is lower than the corresponding 0.042 for Volume Basis, 0.045 for VM-T and 0.059 for CP. The results favor directly storing some space–time interactions over forcing the listed factorizations to assemble them from separate axis factors or whole basis volumes.
The component counts describe different kinds of factors, so equal counts across designs would not on their own imply equal memory or computation. Within a design, larger settings generally help in the runs shown, while taking more work. The authors also report that an excessively large setting can overfit and hurt held-out views. The comparison supports the value of the factorization at the tested settings. Increasing capacity remains a choice to evaluate against novelty of viewpoint, training cost and the coverage of the input images.
Why the planes are paired across complementary axes
Another study changes which planes are available and how they are grouped. The spatial-only variant keeps the planes on pairs of spatial coordinates. Its features are shared across timestamps and cannot vary directly with time. The spacetime-only variant retains XT, YT and ZT. Its lookups can change with time, but it lacks the direct interactions between spatial coordinates supplied by the other planes. Both restrict the ways that the original representation can use the input.
DoublePlane keeps just XY and ZT. Together those planes see the full query, which makes this a useful test of whether full coordinate coverage is sufficient in practice. HexPlane-Swap retains the planes but changes their pairings. For example, XY can be combined with XT. That product uses x twice and leaves z out of the pair. The missing coordinate can appear in another group, but it cannot shape the same paired product.
D-NeRF novel-view PSNR with different feature plane layouts
HexPlane performs best with all complementary pairs, and keeping only one type of plane produces the weakest scores.
The numbers
| System or setting | PSNR |
|---|---|
| Spatial Planes | 20.369 |
| Spatial-Temporal Planes | 21.112 |
| DoublePlane (XY–ZT) | 30.370 |
| HexPlane-Swap | 28.562 |
| HexPlane (this paper) | 31.042 |
The structural and perceptual metrics tell a similar story. The spatial-only and spacetime-only runs both report SSIM of 0.879 and LPIPS of 0.148. DoublePlane improves to 0.961 SSIM and 0.054 LPIPS in 8m 04s. It is the fastest layout in this comparison and gets much closer to the full arrangement on image quality. The full HexPlane records 0.968 SSIM and 0.039 LPIPS in 11m 30s. The paired layout with repeated axes yields 0.954 SSIM and 0.056 LPIPS in 11m 44s. Keeping the plane count while changing the pairings therefore weakens the result at approximately the same training time in this experiment.
The sequence of comparisons gives each part of the design a role. Spatial structure remains important even when every slice of the field can change in time. Adding time-dependent lookups lets the representation distinguish different states of the same scene. The complementary pairs give the field several forms in which to represent these dependencies. In the tested cases, that diversity gives the full system an advantage over a single pair that already covers the axes.
Which parts of feature fusion can change
The default operation multiplies the vectors within each pair and concatenates the products. The full fusion study tests concatenation, addition and multiplication at both stages. Addition keeps the result simple but merges contributions into the same channels. Multiplication lets one factor modulate the effect of another. Concatenation keeps separate channels available to the next operation. Its usefulness depends partly on whether it occurs before or after the paired coordinates have interacted.
With opacity read directly from the field, Multiply–Concat obtains 31.042 PSNR and 0.039 LPIPS on D-NeRF. Multiply–Sum obtains 31.023 PSNR and the same 0.039 LPIPS. Sum–Multiply reaches 30.585 PSNR, and Multiply–Multiply reaches 30.345. These settings give the representation some freedom over which fusion to use. Sum–Concat and Sum–Sum perform much worse, at 25.428 and 25.227 PSNR, respectively. An interaction involving multiplication at one stage appears beneficial in the tested arrangements. The study gives evidence about these particular operations and training settings, since the authors also note that tuning choices may affect results.
The study also fits versions with an extra opacity network. In that setting, HexPlane returns an 8-dim opacity feature vector for a small MLP to decode. For Multiply–Concat, PSNR rises from 31.042 to 31.477 and LPIPS falls from 0.039 to 0.037. Settings that performed poorly with direct opacity also gain. For example, Concat–Concat rises from 25.057 to 30.173 PSNR. The additional network can extract useful opacity information from features that the original fusion and direct readout did not turn into a good opacity estimate. The authors report a cost in rendering speed, which matters because opacity is queried repeatedly along the rays.
A separate comparison changes how appearance is decoded. HexPlane-SH stores features interpreted as spherical harmonics coefficients. Spherical harmonics provide functions of viewing direction, and the coefficients determine how much of each directional function contributes to a color. This lets the renderer obtain a color from the features and the viewing direction without a trained color MLP. The authors report faster rendering with somewhat reduced quality, and find these coefficients harder to optimize for dynamic scenes than they had expected from static-scene work. That comparison identifies an option for spending less computation at the decoding stage.
Resolution, coordinates and alternative time functions
The spatial resolution study on Plenoptic Video shows crops synthesized with spatial grids ranging from 128³ to 512³. The higher resolution grids preserve more detail in the displayed areas, and the reported PSNR and LPIPS in the figure favor greater spatial resolution. The authors also compare time grid sizes from half the frame count to the full frame count and find little visible change over that range. The result concerns the tested sequence and resolutions. It shows that the spatial and temporal axes need not receive the same emphasis when allocating storage.
For the coordinate comparison, the authors render from extreme views where the lateral limits of the NDC field can become visible. The examples show incorrect geometry and artifacts at these limits. Replacing the coordinates with the spherical parameterization produces satisfactory views in the illustrated comparison. This is a qualitative test of whether plane lookups continue to work when the bounded grid cells describe angular and inverse-distance intervals. It does not supply the comparative measurements that the factorization and fusion studies provide.
The supplementary analysis also describes designs the authors explored before settling on the planes. One puts fixed functions on the time axis. Its basis-volume expression can be interpreted as a multiplication at each spatial position.
Vₜ = V̂ · f(t)
Here Vₜ denotes the feature volume at time t, V̂ stacks the shared basis volumes along a basis dimension, and f(t) collects their weights at time t. The dot denotes the contraction of that basis dimension with the weight vector. At a given spatial position, it is a matrix-vector product that yields the F feature channels. The authors use this view to consider fixed temporal basis functions whose coefficients can vary across space.
A dense implementation with X = Y = Z = 128, Rᵗ = 32 and F = 27 uses 7GB for the stored representation and around 30GB during training, including the cost of back-propagation and the auxiliary quantities kept by Adam. The authors tried factoring the spatial coefficients to reduce storage. One version used the following time encoding.
f(t) = [1, sin(t), cos(t), sin(2 · t), cos(2 · t), sin(4 · t), cos(4 · t), …]
The brackets enclose the vector of fixed functions evaluated at time t. The first entry is constant, sin and cos are the trigonometric functions, and the multipliers inside them select frequencies. The ellipsis denotes further entries of the encoding. The authors also explored Legendre and Chebyshev polynomials. In the factored version they penalized high-frequency coefficients more strongly and introduced high frequencies gradually during training. The method could represent motion, but exhibited severe color jitter and distortion. Computing the time-dependent factors also added matrix-vector operations before the spatial lookup could be used.
Another experiment represents the entire spacetime field in the frequency domain. The paper omits the feature axis for this derivation and writes the field as a sum over its frequency coefficients.
D(x, y, z, t) = Σᵤ₌₁ᵁ Σᵥ₌₁ⱽ Σʷ₌₁ᵂ Σₖ₌₁ᴷ D̃(u, v, w, k) · exp(−j 2π (ux/U + vy/V + wz/W + kt/K))
D is the field in ordinary space and time. D̃ is the array of frequency weights, with u, v, w and k indexing the frequency axes corresponding to x, y, z and t. U, V, W and K are the respective extents of those axes. The summation signs traverse the frequency indices over those extents. The products such as ux multiply a frequency index by the corresponding query coordinate. The dot scales each basis function by its coefficient, exp is the exponential function, j is the imaginary unit and π is the circular constant.
The authors factor the frequency array with a CP decomposition to avoid storing and traversing it in full. One can express their regrouped calculation using one sum for each axis inside the component sum.
D(x, y, z, t) = Σᵣ₌₁ᴿ (Σᵤ₌₁ᵁ qʳᵁ(u) · exp(−j 2π ux/U)) · (Σᵥ₌₁ⱽ qʳⱽ(v) · exp(−j 2π vy/V)) · (Σʷ₌₁ᵂ qʳᵂ(w) · exp(−j 2π wz/W)) · (Σₖ₌₁ᴷ qʳᴷ(k) · exp(−j 2π kt/K))
R is the number of components and r selects a component. Each q is a decomposed frequency vector. The capital superscript names its axis and the argument selects an entry on that axis. Each inner sum evaluates the vector against the frequency functions for the matching spacetime coordinate. The dots between parenthesized terms multiply their results, and the outer sum adds across components. D, the coordinates, the frequency indices, the axis extents and the exponential notation have the same meanings as in the preceding formula.
The regrouping reduces the calculation to separate operations along the axes, but it still evaluates inner products where HexPlane can interpolate a few nearby entries. The authors also tried wavelets and other decompositions. They report less saturated colors, inferior detail and slower evaluation for the frequency-domain approach. In combination, the two supplementary investigations help explain the choice of local, learned lookups. Speed depends on how the representation is queried as well as on how compactly its parameters can be stored.
Limitations
Limits identified by the authors
The authors report degraded images when objects move too quickly or when the observations reveal too little detail. The failure examples compare synthesized images with the corresponding ground truth. Their diagnosis is consistent with the information available to the method. Shared spatial features can draw on many frames, yet the images may have recorded very little of a surface during the part of the sequence when it moves or turns. Fitting a field through the visible observations gives the renderer something to query in those regions, with quality that depends on how much those observations constrain it.
The paper also acknowledges that sharing basis components provides a weaker constraint than deformation into a canonical field in some extremely sparse monocular settings. The latter links observations of corresponding parts of an object across time. When those correspondences are dependable, they give the system a more specific way to pool evidence. HexPlane's generality comes with a tradeoff there. The authors propose that a HexPlane could represent a deformation field itself. They also discuss combining the representation with stronger, category-specific priors for appropriate subjects. The experiments test the general version, so the benefits of those combinations remain proposals.
The authors observe color jittering and other artifacts even with the regularization they use. They suggest losses that explicitly constrain changes across spacetime, including optical flow. They also suggest describing a long recording with different bases for different clips. The main design shares the spatial factors over the represented sequence. A different allocation might help when the content changes enough that the same basis has to serve quite different parts of a recording. Each suggestion is an avenue the authors identify from the behavior they observed.
The bounded grids are a further constraint. The spherical example gives a way to fit scenes extending beyond the usable NDC field, but large changes of viewpoint can expose artifacts or incorrect geometry with the bounded parameterization. The authors discuss using separate foreground and background representations, with spherical coordinates for the background. The paper demonstrates the coordinate substitution and leaves that more specialized treatment for future work.
Limits of the comparisons
The strongest speed comparison depends on the particular Plenoptic Video protocol. DyNeRF and HexPlane use different GPU allocations and different batch sizes. The reported acceleration describes GPU time in those configurations. An equal-resource wall-clock comparison and a controlled breakdown of how much time is saved by each design choice would answer different questions. The D-NeRF comparison controls the timing hardware, and the D-NeRF ablations isolate several architectural choices, but these tests cover different settings from the Plenoptic Video run behind the headline speedup.
The real multi-camera benchmark also has much more information per instant than a casual monocular recording. It allows the authors to compare held-out images for complex effects such as fire. The synthetic benchmark tests much sparser time-specific observations in a scene class amenable to deformation. The phone examples extend the test to a different kind of capture but provide visual demonstration only. These differences make each experiment informative on its own terms. They leave open how reliably HexPlane can recover fine detail from sparsely observed real motion across a broader range of videos.
The metrics evaluate rendered images and, in the case of JOD, perceived video quality. The rendered depth examples show the field can produce depth estimates, but the main comparisons do not measure geometric accuracy against reference depth. A field that reproduces a held-out image well has captured enough structure and appearance for that view. The result alone does not establish that it has recovered the true surface geometry, object trajectories or the correspondence of a surface between frames.
Most of the architecture ablations are conducted on D-NeRF for efficiency. They establish that the layout and fusion choices matter under those benchmark conditions. The paper's resolution and coordinate examples broaden the evidence, though with a smaller set of visual comparisons. The robustness claim is therefore about alternatives that the paper actually tests. The images and timings also leave the full cost of rendering at a particular resolution or frame rate to be measured separately from the cost of fitting the field.
What came after
4D Gaussian Splatting for Real-Time Dynamic Scene Rendering cites HexPlane and places the emphasis on rendering dynamic scenes in real time, using Gaussian splatting as named in its title. This shifts attention to the cost of producing frames once a dynamic scene is represented. HexPlane's most detailed speed comparisons concern the cost of fitting a scene, and its decoder experiments separately probe rendering cost. The citation establishes a connection between the works. The specific use of HexPlane's plane representation in the Gaussian splatting pipeline is unspecified, so the connection cannot establish which components were carried forward or how much they contributed to real-time rendering.
HexPlane itself documents a more specific example of reuse. The authors report that MAV3D adopted their design for text-to-4D scene generation. That task begins with a text description rather than with posed images of the scene being reconstructed. In that setting, the planes provide a way to describe a changing scene that can be rendered over time and from different views. The reconstruction experiments establish how well the representation fits and re-renders observed scenes. The generation example shows that another system could use the same representation for a different task, while the quality of generation remains a question for that work's own evaluation.
Cite
Cite as Ang Cao and Justin M. Johnson. 2023. HexPlane: A Fast Representation for Dynamic Scenes. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.
@inproceedings{cao2023hexplane,
title = {{HexPlane: A Fast Representation for Dynamic Scenes}},
author = {Ang Cao and Justin M. Johnson},
booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
year = {2023},
doi = {10.1109/cvpr52729.2023.00021},
eprint = {2301.09632},
archivePrefix = {arXiv},
url = {https://doi.org/10.1109/cvpr52729.2023.00021}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/cao-2023-hexplane-fast-representation-dynamic-scenes/