---
title: Voxel-Height-Guided Sampling (VHS)
url: https://www.emergentmind.com/topics/voxel-height-guided-sampling-vhs
type: topic
---

# Voxel-Height-Guided Sampling (VHS)

Voxel-Height-Guided Sampling (VHS) denotes the use of voxel-space height information to guide how image-derived features are selected, pooled, or projected into 3D representations. In the current literature, the term is used explicitly in Collaborative Perceiver, while closely related mechanisms appear under different names in HiPR and Deep Height Decoupling: HiPR’s Height-Guided Reparameterization (HGR) and DHD’s Mask Guided Height Sampling (MGHS). Across these formulations, the shared objective is to reduce cross-height feature confusion by replacing height-agnostic sampling or pooling with operations conditioned on per-pillar heights, height intervals, or predicted voxel-height masks [2507.21358] [2605.05072] [2409.07972].

## 1. Terminology and conceptual scope

The literature does not present VHS as a single canonical module. Collaborative Perceiver introduces “voxel-height-guided sampling” as an explicit component for vision-based 3D object detection with auxiliary occupancy supervision, using occupancy-driven height intervals and masked pooling along the vertical axis [2507.21358]. HiPR does not use the name VHS explicitly, but its Height-Guided Reparameterization is described as implementing “precisely what VHS refers to”: sampling vertically along each voxel or pillar column guided by a per-pillar height prior, with invalid pillars skipped [2605.05072]. Deep Height Decoupling likewise does not use the term VHS, but its MGHS is described as “a direct instantiation of voxel-height-guided sampling,” because it predicts per-pixel height, converts that prediction into height-range masks, and gates feature projection into height-consistent voxel subspaces [2409.07972].

A useful way to differentiate the three formulations is by the source of the height prior and the locus of intervention in the pipeline.

| Framework | Height prior | VHS operation |
|---|---|---|
| HiPR | LiDAR-derived or ground-truth-conditioned per-pillar height map | Truncate pillar sampling range and mask invalid pillars |
| CoP | LDO-informed height intervals over occupied voxels | Masked weighted pooling over $z$ and interval fusion |
| DHD (MGHS) | Predicted per-pixel voxel-height bins | Height-mask gating before projection into subspaces |

This terminological variation is significant. VHS is therefore best understood as a design principle rather than a single algorithm: it injects explicit height structure into 2D-to-3D lifting, BEV construction, or query-to-image aggregation.

## 2. Problem setting and mathematical basis

The common problem is that conventional 2D-to-3D transformations are typically height-agnostic or rely on globally shared vertical ranges. HiPR frames 3D occupancy prediction as voxel-wise semantic inference in a fixed region of interest, with examples including Occ3D using $X,Y \in [-40,40]\ \mathrm{m}$ and $Z \in [-1,5.4]\ \mathrm{m}$ at $0.4\ \mathrm{m}$ resolution, and SurroundOcc using $X,Y \in [-50,50]\ \mathrm{m}$ and $Z \in [-5,3]\ \mathrm{m}$ at $0.5\ \mathrm{m}$ resolution [2605.05072]. In HiPR, image lifting follows an LSS-based formulation: for pixel coordinate $p=[u,v,1]^\top$, camera intrinsics $K$, and extrinsics $(R,t)$,
$$
X_{\mathrm{cam}} = zK^{-1}p,\qquad X_w = RX_{\mathrm{cam}} + t.
$$
The world-to-image form is
$$
X_{\mathrm{cam}} = R^\top (X_w - t),\qquad p \sim KX_{\mathrm{cam}}/z.
$$
Multi-view features are accumulated into a coarse BEV query, after which BEVFormer-style deformable cross-attention samples image features from 3D reference points along each pillar [2605.05072].

The difficulty arises because conventional sampling uses a globally shared interval:
$$
z_j = z_{\min} + \alpha_j (z_{\max} - z_{\min}),\qquad \alpha_j = \frac{j-1}{N_z-1}.
$$
HiPR identifies that this uniform fixed-range sampling “struggles to capture the sparsity and height variations of real-world scenes,” causing ambiguous correspondences and unreliable aggregation [2605.05072]. CoP describes an analogous failure mode from the perspective of BEV detection: BEV collapse destroys object-specific vertical structure, so objects with similar BEV footprints but different heights, such as cones and trucks, become difficult to distinguish [2507.21358]. DHD formulates the same issue in forward projection: VoxelPooling and BEVPooling introduce “many confusing features that belong to other height ranges,” because features are projected or collapsed without an explicit height prior [2409.07972].

CoP formalizes the voxel grid in LiDAR coordinates with bounds $[x_{\min},x_{\max}] \times [y_{\min},y_{\max}] \times [z_{\min},z_{\max}]$, voxel sizes $s_x,s_y,s_z$, and voxel index
$$
v=(i,j,k)=\left\lfloor\frac{x-x_{\min}}{s_x}\right\rfloor,\left\lfloor\frac{y-y_{\min}}{s_y}\right\rfloor,\left\lfloor\frac{z-z_{\min}}{s_z}\right\rfloor.
$$
Its lifted voxel feature volume is written as
$$
f_v = \mathcal{F}_{\mathrm{lss}}(f_c, f_d, \mathcal{K}_{\mathrm{cam}\rightarrow\mathrm{lidar}}),
$$
and a height at BEV location $(i,j)$ may be defined by an occupancy-weighted expectation
$$
h(i,j) = \frac{\sum_k z_k P_{\mathrm{occ}}(i,j,k)}{\sum_k P_{\mathrm{occ}}(i,j,k)+\epsilon}.
$$
DHD instead predicts per-pixel height bins directly and uses them to construct binary masks over discrete height intervals [2507.21358] [2409.07972].

These formulations differ operationally, but all target the same structural deficiency: the vertical axis is not uniformly informative, and treating it as such dilutes geometry and semantics.

## 3. HiPR: pillar-wise height-bounded sampling and progressive conditioning

HiPR implements VHS through Height-Guided Projection Reparameterization within a camera-LiDAR occupancy framework. The key signal is a BEV height map obtained by collapsing the LiDAR occupancy grid along $Z$. Given LiDAR points voxelized into $V_{\mathrm{lidar}} \in \{0,1\}^{X\times Y\times Z}$, the maximum occupied height index is
$$
i_z^*(i_x,i_y)=\max\{i_z \mid V_{\mathrm{lidar}}(i_x,i_y,i_z)=1\},
$$
and the metric height is
$$
H_{\mathrm{lidar}}(i_x,i_y)=z_{\min} + (i_z^*(i_x,i_y)+1)\Delta_z.
$$
Empty pillars are assigned an invalid height value, with validity mask
$$
M(i_x,i_y)=\mathbb{I}\!\left(\sum_{i_z}V_{\mathrm{lidar}}(i_x,i_y,i_z)>0\right).
$$
HiPR then replaces the global vertical bound with a pillar-specific cap,
$$
z_{\max}(i_x,i_y)=\hat H(i_x,i_y),
$$
and samples
$$
\tilde z_j(i_x,i_y)=z_{\min} + \alpha_j(\hat H(i_x,i_y)-z_{\min}),\qquad \alpha_j=\frac{j-1}{N_z-1}.
$$
If $M(i_x,i_y)=0$, the query is not updated; otherwise, deformable cross-attention aggregates multi-view features from the reparameterized reference points. The update is
$$
\hat Q(i_x,i_y)=
\begin{cases}
\sum_{j=1}^{N_z}\phi(Q(i_x,i_y),R(i_x,i_y,\tilde z_j(i_x,i_y)),F_{\mathrm{sem}}), & M(i_x,i_y)=1,\\[4pt]
Q(i_x,i_y), & M(i_x,i_y)=0.
\end{cases}
$$
The paper emphasizes that there is “no multi-range partitioning or explicit reweighting beyond deformable attention”; the effect comes from truncation and masking [2605.05072].

HiPR adds Progressive Height Conditioning because LiDAR-derived heights are noisy and sparse. During training,
$$
\hat H = \psi(H_{\mathrm{lidar}}, H_{\mathrm{gt}}, \rho(e)),
$$
where valid LiDAR grids are independently replaced by ground-truth heights with probability
$$
\rho(e)=\frac{1}{2}\left(1+\cos\left(\frac{\pi e}{E}\right)\right).
$$
Early epochs therefore rely heavily on $H_{\mathrm{gt}}$, while inference disables PHC and uses $\hat H = H_{\mathrm{lidar}}$ [2605.05072].

The occupancy decoder is query-based and uses
$$
L=\lambda_{\mathrm{cls}}L_{\mathrm{cls}}+\lambda_{\mathrm{mask}}L_{\mathrm{mask}}+\lambda_{\mathrm{dice}}L_{\mathrm{dice}},
$$
with $\lambda_{\mathrm{cls}}=2.0$, $\lambda_{\mathrm{mask}}=5.0$, and $\lambda_{\mathrm{dice}}=5.0$ [2605.05072]. The empirical ablations isolate the contribution of each VHS component on ALOcc-2D-mini: baseline $50.01$ mIoU, $+\,$height-guided sampling only $51.04$, $+\,$height-validity mask $52.81$, and $+\,$PHC $53.10$ [2605.05072]. Among alternative sampling strategies, uniform $[z_{\min},z_{\max}]$ gives $50.57$, a learned height predictor gives $51.41$, LiDAR mean pillar height gives $52.63$, and LiDAR highest occupied height gives $53.10$ [2605.05072].

HiPR reports $54.7$ mIoU on Occ3D with camera visible mask, surpassing DAOcc at $54.3$, and $50.0$ RayIoU on Occ3D without camera mask, surpassing DAOcc at $48.4$ [2605.05072]. On SurroundOcc, it reaches $30.4$ mIoU, outperforming OccCylindrical at $28.7$ [2605.05072]. The runtime table shows that HiPR-mini operates at $20.8$ FPS on the ALOcc-2D-mini backbone, while full HiPR on ALOcc-2D runs at $7.5$ FPS; the paper characterizes HiPR-mini as real-time because it exceeds $10$ FPS [2605.05072].

## 4. Collaborative Perceiver: interval-based VHS with local-density-aware occupancy

Collaborative Perceiver introduces VHS explicitly in a multi-task framework for vision-based 3D object detection, where spatial occupancy acts as auxiliary information to refine BEV representations [2507.21358]. Its motivation is distinct from HiPR’s query reparameterization but converges on the same principle: vertical occupancy is highly non-uniform, and dense evidence tends to concentrate in specific height bands. CoP formalizes this with Local-Density-Aware Occupancy (LDO), which produces a dense occupancy ground truth containing both semantic occupancy and a local density weight $\mathcal{W}_d(i,j,k)\in[0,1]$ [2507.21358].

VHS in CoP operates not by altering pillar sample coordinates but by defining a set of Height-of-Interest intervals $\mathcal{H}=\{H_v^i\}_{i=1}^L$ from LDO statistics. The reported intervals are grouped into three categories:

- Base Layer (BL): $[-3,-2]$, $[-2,-1]$, $[-1,0]$, $[0,2]\ \mathrm{m}$
- Universal Layer (UL): $[-2,1]$, $[-5,3]\ \mathrm{m}$
- Extended Focus Layer (EFL): $[-4,2]$, $[-6,4]\ \mathrm{m}$

With $L=8$ intervals, CoP performs masked weighted pooling along $z$:
$$
f_{l,i}(c,i,j)=\frac{\sum_k M_i(k)\Omega(i,j,k)w(i,j,k)f_v(c,i,j,k)}{\sum_k M_i(k)\Omega(i,j,k)w(i,j,k)+\epsilon},
$$
where $M_i(k)$ indicates whether height index $k$ lies in interval $H_v^i$, $\Omega(i,j,k)$ is an occupancy mask, and $w(i,j,k)$ is either $\mathcal{W}_d(i,j,k)$ or $1$ [2507.21358]. The interval-specific pooled features are concatenated and fused with an SE-style mechanism:
$$
f_l = g_1 + g_2,
$$
where $g_1$ is produced by a $1\times1$ convolution on the concatenated tensor and $g_2$ is produced by attention derived from GAP, MLP, broadcasting, and a $3\times3$ convolution [2507.21358].

This height-aware local feature is then combined with the global BEV feature in the Collaborative Feature Fusion module. The adaptive gate is
$$
\alpha = \sigma(f_{\mathrm{con}}^l \oplus f_{\mathrm{con}}^g),
$$
and the updated BEV feature is
$$
f_{\mathrm{bev}}^u = \alpha \odot \mathrm{Conv}(f_g) + (1-\alpha)\odot \mathrm{Conv}(f_l).
$$
The occupancy branch receives a channel-to-height transformation, while the detection head predicts 3D boxes [2507.21358]. Training uses
$$
L = L_{\mathrm{det}} + \beta L_{\mathrm{occ}},
$$
with $\beta=0.9$, and the occupancy loss is weighted by local density [2507.21358].

The ablations attribute clear gains to VHS. On nuScenes validation with ResNet-50, Dense Occ only gives NDS $50.5$ and mAP $38.8$; adding LDO gives NDS $50.7$ and mAP $39.2$; adding VHS gives NDS $52.3$ and mAP $40.6$; and adding CFF yields the final NDS $52.6$ and mAP $41.1$ [2507.21358]. In the sampling strategy ablation, global pooling yields mAP $39.3$ and NDS $50.6$, uniform height pooling with $2\ \mathrm{m}$ bins gives mAP $40.4$ and NDS $50.9$, BL alone gives mAP $40.1$ and NDS $52.0$, BL+UL gives mAP $40.8$ and NDS $52.6$, and BL+UL+EFL gives mAP $41.1$ and NDS $52.6$ [2507.21358]. On the nuScenes test set with ResNet-101, CoP reports $49.5\%$ mAP and $59.2\%$ NDS [2507.21358].

A notable property of CoP’s VHS is that it is explicitly interval-based rather than pillar-specific. The mechanism is therefore closer to stratified vertical pooling than to HiPR’s per-column truncation. This suggests that VHS can refer either to adaptive coordinate reparameterization or to adaptive interval selection, provided the governing principle is occupancy- or height-guided vertical feature selection.

## 5. Deep Height Decoupling: MGHS as VHS by mask-guided projection

Deep Height Decoupling addresses vision-based 3D occupancy prediction by inserting an explicit height prior into forward projection [2409.07972]. Its central observation is that both VoxelPooling and BEVPooling mix features from incompatible height ranges, either by splatting image features across many voxel heights or by collapsing height entirely. DHD’s solution is to predict a per-pixel height map with HeightNet and then use Mask Guided Height Sampling, which the supplied description identifies as conceptually equivalent to VHS [2409.07972].

Height is discretized into $N_h$ bins over the voxelized $Z$-range. For Occ3D-nuScenes, the range is $[-1\ \mathrm{m}, 5.4\ \mathrm{m}]$ with $0.4\ \mathrm{m}$ voxel height, giving $16$ bins [2409.07972]. HeightNet predicts a categorical distribution $H_{\mathrm{pred}}(u,v,:)$, and the discrete height index is
$$
H_{\mathrm{map}}(u,v) = \arg\max_c H_{\mathrm{pred}}(u,v,c).
$$
LiDAR supervision is constructed by projecting LiDAR points into the image and assigning the ego height $z_e$ of the closest point to each pixel. Height and depth heads are trained with BCE on discretized bins:
$$
L_{\mathrm{bce}} = - \sum_{g=1}^{N_{\mathrm{gt}}}\left(\hat p_g \log(p_g) + (1-\hat p_g)\log(1-p_g)\right).
$$
From dataset height statistics, DHD selects $K=3$ intervals, $I=\{[1,4],[5,8],[9,16]\}$, described as the “4+4+8” split [2409.07972]. The paper reports that this split yields the lowest weighted semantic entropy, $4.23\times10^{-1}$, compared with $4.69\times10^{-1}$ for no split [2409.07972]. For each interval $I_k=[\tau_k,\tau_{k+1}]$, the hard mask is
$$
H_{\mathrm{mask}}^k(u,v)=
\begin{cases}
1, & H_{\mathrm{map}}(u,v)\in I_k,\\
0, & \text{otherwise}.
\end{cases}
$$
The height-aware feature is then
$$
F_{ha}^k = H_{\mathrm{mask}}^k \odot F_{\mathrm{ctx}}.
$$
Each masked feature map is forward-projected into the 3D subspace whose voxel $z$ indices lie in $I_k$, producing height-refined features $F_{hr}$ [2409.07972].

DHD complements these height-refined features with standard depth-based BEV features $F_{db}$ and fuses them using the Synergistic Feature Aggregation module. The channel stage is
$$
a_1 = \sigma\!\left(W_2(\mathrm{ReLU}(W_1(f_{\mathrm{gap}}(f_{\mathrm{cat}}(F_{db},F_{hr})))) )\right),
$$
with
$$
F_{db}^{cs}=a_1F_{db},\qquad F_{hr}^{cs}=(1-a_1)F_{hr}.
$$
The spatial stage is
$$
A_2 = \sigma(\mathrm{conv}(\mathrm{ReLU}(\mathrm{conv}(F_{db}^{cs}+F_{hr}^{cs})))),
$$
and the fused feature is
$$
F_{\mathrm{agg}} = A_2 \odot F_{db}^{cs} + (1-A_2)\odot F_{hr}^{cs}.
$$
The full training objective is
$$
L_{\mathrm{total}}=\lambda_1L_{\mathrm{bce}}^{\mathrm{depth}}+\lambda_2L_{\mathrm{bce}}^{\mathrm{height}}+\lambda_3L_{\mathrm{ce}}+\lambda_4L_{\mathrm{scal}}^{\mathrm{sem}}+\lambda_5L_{\mathrm{scal}}^{\mathrm{geo}},
$$
with $\lambda_1=0.05$, $\lambda_2=0.1$, $\lambda_3=10$, and $\lambda_4=\lambda_5=0.2$ [2409.07972].

The ablations separate the effect of the VHS-equivalent mechanism. On DHD-S, the baseline without MGHS or SFA gives $33.72$ mIoU; adding height decoupling gives $35.15$; adding height decoupling plus mask projection gives $35.60$; and adding SFA yields $35.90$ [2409.07972]. Main validation results on Occ3D-nuScenes report $36.50$ mIoU for DHD-S, $41.49$ for DHD-M, and $45.53$ for DHD-L [2409.07972].

A defining characteristic of DHD’s version of VHS is that the gate is applied before projection and is driven by predicted rather than measured height. In contrast to HiPR’s pillar-local LiDAR cap and CoP’s occupancy-informed interval pooling, DHD creates multiple height-specific subspaces by hard assignment of image pixels to discrete height groups.

## 6. Empirical profile and relation to earlier height modeling

Across the reported frameworks, VHS-like mechanisms consistently outperform height-agnostic baselines, but the magnitude and interpretation of the gain depend on the task. In occupancy prediction, HiPR’s pillar-wise truncation and masking provide gains on Occ3D and SurroundOcc, while DHD’s mask-guided projection improves mIoU under single-frame and short-history settings [2605.05072] [2409.07972]. In 3D detection, CoP shows that height-aware local pooling improves both mAP and NDS over global or uniform height pooling [2507.21358].

These results align with a recurring pattern in the literature: height priors can enter the pipeline at different stages. HiPR notes prior approaches such as OC-BEV, which augments uniform sampling with a scene-level local height prior; HV-BEV, which predicts per-grid discrete height distributions; DHD, which decouples projection spaces and uses predicted heights; and DA-Occ, which aggregates frustum features with height distributions [2605.05072]. HiPR distinguishes itself by using a LiDAR-derived per-pillar height map and explicitly reparameterizing the projection space, while CoP uses occupancy-driven interval pooling, and DHD uses predicted height masks.

A central empirical distinction is the source of supervision. HiPR depends on LiDAR-derived heights and uses PHC to bridge the gap between noisy LiDAR and cleaner ground-truth heights during training [2605.05072]. CoP derives its height intervals from LDO histograms and uses density-weighted pooling, but the intervals are fixed for training and inference [2507.21358]. DHD predicts height directly from images with explicit LiDAR supervision and then enforces a hard partition of features into three subspaces [2409.07972].

This suggests that “height guidance” is not monolithic. It may act as a per-column bound, a set of shared intervals, or a learned per-pixel categorical prior. What unifies these choices is the attempt to reorganize the vertical sampling space so that feature aggregation occurs in geometrically and semantically plausible regions.

## 7. Limitations, misconceptions, and open directions

A common misconception is that VHS refers to a single standardized architecture. The reported literature does not support that view. The term is explicit in CoP, but HiPR and DHD implement equivalent ideas under different names and with materially different mechanics [2507.21358] [2605.05072] [2409.07972].

Another misconception is that VHS necessarily means multi-interval partitioning. HiPR explicitly states that its effect does not come from “multi-range partitioning or explicit reweighting beyond deformable attention”; instead, it arises from per-pillar truncation and invalidity masking [2605.05072]. Conversely, CoP and DHD do use interval partitioning, but one performs masked pooling over voxel features and the other performs mask-guided projection from image space [2507.21358] [2409.07972].

The main limitations are also framework-specific. HiPR inherits LiDAR sparsity and noise: distant regions and occlusions make $H_{\mathrm{lidar}}$ noisy or invalid, and hard masking can skip regions that are valid in images but unobserved in LiDAR. Its single-height representation also struggles with multi-layer structures such as overpasses, balconies, or tree canopies above vehicles, and PHC does not fully solve temporal misalignment for dynamic objects [2605.05072]. CoP is sensitive to biased or noisy LDO-derived priors; fixed Height-of-Interest intervals may under-sample unusual scenes, slopes, bridges, or overhead structures, and shared intervals may be suboptimal for rare classes with atypical vertical extent [2507.21358]. DHD depends on accurate height estimation; erroneous $H_{\mathrm{map}}$ can misgate features, and fixed interval thresholds may not adapt to scene-specific geometry. The paper explicitly points to soft masks, confidence-weighted gating, learned thresholds, and uncertainty-aware sampling as possible extensions [2409.07972].

HiPR’s discussion of future improvements provides a concise research agenda for VHS more broadly: model per-pillar height distributions rather than a single cap; estimate uncertainty and sample more densely where uncertainty is high; fuse temporal LiDAR frames or radar to densify height priors at long range; jointly learn height priors with camera and LiDAR through consistency regularization; incorporate semantic cues so that $z$ ranges depend on class; and replace hard masks with soft masks to avoid entirely skipping uncertain pillars [2605.05072]. CoP and DHD point in compatible directions through adaptive interval selection, per-class height priors, and soft gating [2507.21358] [2409.07972].

Taken together, these methods establish VHS as a technically specific response to vertical ambiguity in 2D-to-3D scene understanding. Its core contribution is not the use of height information in the abstract, but the reorganization of projection or pooling so that vertical sampling better matches occupancy structure, object extent, and sensor-derived geometric evidence.

Source: https://www.emergentmind.com/topics/voxel-height-guided-sampling-vhs