Adapting the Compute Router, Not Just the Model, for Synthetic-to-Real LiDAR

Self-driving perception models increasingly save computation by deciding, for each region of a LiDAR scan, whether it is worth processing. A small "importance predictor" looks at the scan and keeps perhaps a fifth of the bird's-eye-view map for full processing, discarding the rest as empty road or background. Separately, many of these models are trained on simulated scans because simulators provide labels for free. Nobody has asked what happens when the two meet. The importance predictor is itself a learned model, and it learns what "important" looks like from dense, clean simulated scans. Real sensors return patchy scans with holes on glass, dark cars and wet asphalt. A predictor that treats low point density as a sign of distant objects worth keeping will spend its budget on those holes. The same predictor may also discard the thin, rare objects (poles, cyclists, pedestrians) that sim-to-real methods already struggle with most.

This note proposes to measure that failure directly and to fix it by adapting the importance predictor on unlabeled real scans. The training signal comes from a cheap, label-free estimate of how much each map location actually affects an adapted dense teacher's predictions. In two sentences: the decision of where to spend compute shifts across domains just as the perception task does, so it must be adapted as well. We adapt it by teaching the predictor to keep the locations whose removal would most change a domain-adapted teacher's output on real data, and we compare this against simply using the teacher's pseudo-labels.

Core Claim

Spatially adaptive inference has been validated only in-domain. Ada3D prunes 3D voxels and bird's-eye-view (BEV) features using an importance predictor with density-guided filtering, which deliberately boosts low-density regions, and a batch-norm variant that keeps empty space empty. It reports a 5× backbone FLOP reduction, BEV density cut from 100% to 20%, and under 1% mAP drop for CenterPoint on nuScenes, but it trains and tests on the same real sensor. We claim three things. First, when a detector is trained on synthetic scans and adapted to real ones, the extra accuracy lost by pruning is substantially larger than Ada3D's in-domain figure, and the loss concentrates on tail classes and on budget wasted in sensor-dropout holes. Second, standard unsupervised adaptation of the backbone does not repair the predictor, because the predictor is trained on source labels. Third, retraining the predictor on target scans to rank locations by their measured effect on an adapted teacher recovers most of the gap at a fixed compute budget. This works better than retraining it on the teacher's pseudo-boxes, because pseudo-boxes miss the hard objects and the context those objects depend on.

Where This Sits in Prior Work

Two sim-to-real LiDAR papers motivate the density argument. ePointDA renders realistic point dropout onto synthetic scans and adds spatial attention for feature alignment. Adversarially Masking Synthetic to Mimic Real (ASM) learns, with a Gumbel-Softmax mask, which synthetic points to drop so a discriminator cannot tell synthetic from real. Both show that real dropout is contextual rather than random, which is exactly why a density heuristic learned in simulation should misfire. Neither uses spatial selection to save computation. ePointDA's attention reweights features but still processes every voxel, and ASM's mask exists only at training time. We reuse ASM-style dropout injection as a baseline, not as our mechanism.

CTS supplies the adaptation pipeline and the strongest dense reference. It is a Mean Teacher with fixed anchors, RoI random scaling and corner-wise aleatoric uncertainty for CARLA3D→KITTI/Lyft detection. It reports 45.28% AP3D (moderate) on KITTI versus 4.06% source-only, and 45.87% versus 13.85% on Lyft. CTS computes per-box uncertainty but uses it only to weight losses, and every voxel receives the same compute. We take a CTS-adapted dense model as the teacher whose behavior the pruned model must preserve.

Work on dense pruning supplies a constraint. Token Sparsification for Faster Medical Image Segmentation (code) shows that pruned tokens must be reconstructed by a completion network for dense outputs, and we adopt that for the segmentation variant. The contrastive adaptation results in Unsupervised Contrastive Domain Adaptation for Semantic Segmentation, where hard classes such as traffic lights, signs and bicycles are the bottleneck, are why we expect pruning damage to fall on the tail.

Research Program

The first stage is a measurement study. We train Ada3D's importance predictor and sparsity-preserving normalization on CARLA3D with a CenterPoint-style detector, then adapt the backbone with CTS, leaving the predictor trained on source labels. On KITTI and Lyft we record accuracy at several BEV keep ratios, per-class and per-range. We also record where the kept budget goes. We detect sensor holes from gaps in the real range image and report the fraction of kept BEV cells that fall in holes without ground-truth objects. We report ground-truth object coverage, meaning the fraction of each object's BEV cells that are kept, broken down by class and distance. The key quantity is the pruning cost under shift: dense-minus-pruned AP on the real target, compared against the same gap for a model trained and pruned in-domain on KITTI.

The second stage is the method. For a real unlabeled scan, let $F$ be the teacher's BEV feature map and $L$ its detection loss against its own filtered pseudo-labels, with the heatmap term included so that confident background matters too. We score each location $i$ by first-order output sensitivity, $$s_i = \left| \sum_c F_{i,c}\,\frac{\partial L}{\partial F_{i,c}} \right|,$$ where $c$ indexes channels. This is the estimated change in $L$ if location $i$ were zeroed, and it costs one backward pass. The student's importance predictor is trained on target scans with a pairwise ranking loss so that its scores order locations like $s$. Only ranking matters at a fixed keep ratio, which is why we use a ranking loss rather than regression. We add a per-class coverage floor that penalizes keeping less than a set fraction of the cells inside each pseudo-box, weighted inversely by class frequency. The student backbone is distilled from the dense teacher on the kept cells. On a held-out subset we verify the first-order score against true zeroing ablations, and we switch to sampled true ablations if the rank correlation is poor.

The third stage extends the method to segmentation, SynLiDAR→SemanticKITTI and SynLiDAR→nuScenes. This checks whether the effect is specific to detection. Pruned voxels are filled by a completion network as in the token-sparsification work, and ASM is the dense teacher.

Baselines

The naive reference points are two. One is the dense source-only detector. The other is Ada3D trained and pruned purely on CARLA3D with no adaptation. Together they bracket how bad things are without any transfer effort.

The strongest existing competitor for accuracy is the dense CTS-adapted detector. Its reported numbers are 45.28% AP3D (moderate) on CARLA3D→KITTI and 45.87% AP3D on CARLA3D→Lyft (CTS). We re-run it ourselves on our backbone so every comparison uses identical data, schedule and detector head, and we report both our reproduction and the published figure. For efficiency the strongest competitor is Ada3D itself, composed with CTS as described in stage one. It uses the same keep ratios and the same sparsity-preserving normalization, and it receives an equal number of target-domain training iterations so the router-adaptation step is not credited with extra compute. We found no reported result on Lacuna for any spatially adaptive detector under synthetic-to-real transfer. Ada3D's in-domain figure of under 1% mAP drop at 20% BEV density on nuScenes is therefore the only anchor for what "acceptable pruning cost" looks like. Beating the field means coming within 1 AP3D of our dense CTS reproduction at 20–30% BEV density, and closing at least half of the dense-minus-pruned gap that the Ada3D+CTS composition shows at the same density. The improvement must hold on both KITTI and Lyft over three seeds.

Two ablations isolate the key ingredient, which is the sensitivity target. The first keeps everything identical but trains the router on the teacher's pseudo-box masks instead of on $s$. The second removes the coverage floor. For segmentation, the dense ASM teacher is the reference, with reported 22.8% mIoU on SynLiDAR→SemKITTI and 17.0% on SynLiDAR→nuScenes (ASM). We compare it against the same composed and adapted-router variants.

Why not just…?

Why not just adapt the backbone and keep the source-trained router? This is the obvious composition, and stage one tests it directly. Nothing in CTS or ASM touches the router's training signal, which remains synthetic labels on synthetic densities. We do not assume it fails, though. If the Ada3D+CTS gap on real data is already within about 1 AP of Ada3D's in-domain gap, the premise of this note is wrong and we will report that as the main finding.

Why not just train the router on the teacher's pseudo-labels? This is the most serious threat, since it is cheaper and uses the same teacher. Our reason for expecting it to fall short is that CTS needs uncertainty filtering precisely because pseudo-labels are unreliable, and the discarded ones are disproportionately small, distant and rare objects. A router trained on surviving boxes learns to drop them. Sensitivity also credits context cells outside boxes that the heads rely on. The first ablation settles this. If the pseudo-box router matches the sensitivity router on tail-class coverage and AP, we adopt the simpler method and the contribution narrows to the measurement study.

Why not just inject realistic dropout into synthetic scans so the router learns from real-looking densities? ASM and ePointDA show that learned dropout closes part of the perception gap, so this could plausibly repair the density heuristic without any target-side router training. We include an ASM-style masked-source router as a baseline. It still learns importance from synthetic labels and synthetic geometry, so we expect it to fix hole-chasing but not tail-class pruning. The two diagnostics, budget spent in holes and per-class coverage, are designed to separate these effects.

Why not just use a smaller dense model or coarser voxels? We compare against a uniformly shrunk CTS detector and a coarser BEV grid, both matched on measured GPU latency rather than FLOPs. Dynamic sparsity recovers only part of its FLOP savings on GPUs, as Ada3D's 1.52× latency gain against 5× fewer FLOPs illustrates. If the static model wins at matched latency, adaptive inference is not worth its complexity in this setting.

Proposed Experiments and Decisive Checks

The main experiment is CARLA3D→KITTI and CARLA3D→Lyft detection. We sweep BEV keep ratios of 20%, 30% and 50% and report AP3D by difficulty and class, measured latency and peak memory, budget spent in dropout holes, and ground-truth coverage by class and range. The in-domain control trains and prunes on KITTI to measure the pruning cost without shift. The segmentation extension uses SynLiDAR→SemanticKITTI and SynLiDAR→nuScenes with per-class mIoU, using ASM as the teacher.

Three results would be decisive. The premise holds only if the Ada3D+CTS composition shows a clearly larger pruning cost under transfer than in-domain, with that cost concentrated in tail classes or in hole-chasing. The method holds only if the sensitivity-trained router beats both the pseudo-box router and the dropout-augmented router on tail-class coverage and AP at equal density. That is the ablation that shows the gain comes from the target signal, not merely from more target training. The practical claim holds only if the pruned adapted model beats the latency-matched static model. A negative result on the first check is itself useful: it would show that spatial routers transfer across the sim-to-real gap better than feared, which the literature currently has no evidence for either way.