Compressed Map Priors for 3D Perception

Brady Zhou, Philipp Krähenbühl · DOI

TL;DR

Most autonomous vehicles treat every trip like their first, ignoring the fact that they’ve likely driven the same streets hundreds of times. Compressed Map Priors (CMP) introduces a way for AI to "remember" the static environment using an ultra-efficient, binarized hashmap ($32\text{KB}/\text{km}^2$) that boosts 3D object detection accuracy with almost no computational overhead.

What Problem Does This Paper Address?

Imagine driving to work every day. You know exactly where the curbs are, where the lanes merge, and where that one confusing intersection is. You don't need to "re-discover" these static features every morning; you use that knowledge to focus on dynamic hazards like pedestrians or other cars.

Current autonomous vehicle (AV) perception systems don't do this. Despite being geo-fenced to specific cities, most models treat every frame as a brand-new encounter. They try to infer both the static world (roads, barriers) and dynamic objects (cars, people) simultaneously from raw sensor data. This is inefficient and prone to error, especially for distant objects where camera data is "noisy" or low-resolution. While some systems use HD maps, these are often expensive to store, hard to update, and not designed to be "understood" directly by a neural network's internal features.

Methods

The authors propose Compressed Map Priors (CMP), a framework that allows a perception model to store and retrieve "spatial memories" of a location.

  1. Multi-Resolution Hash Encoding: Inspired by recent breakthroughs in neural rendering (like Instant-NGP), CMP uses a spatial hashmap to store learnable features. Instead of a giant, dense grid, it uses a hash table that maps coordinates to features. This allows it to represent large areas with very little memory.
  2. Binary Quantization: To make the map even smaller, the authors binarize the features. Instead of storing high-precision floating-point numbers, they store bits. This results in a $20\times$ reduction in storage compared to dense approaches, requiring only $32\text{KB}$ per square kilometer.
  3. End-to-End Learning: Unlike traditional maps that store human-defined labels (like "lane line"), CMP learns its own feature representation. During training, the gradients from the object detection task flow back into the map, teaching the system exactly what information is most useful to remember.
  4. Seamless Fusion: The authors developed two ways to "plug" these priors into existing AI architectures:
  5. Conv-Fusion: For models that use a "Bird’s Eye View" (BEV) grid.
  6. Token-Fusion: For transformer-based models (like BEVFormer) that use object queries.

Datasets

The researchers evaluated CMP using the nuScenes dataset, a large-scale autonomous driving benchmark featuring data from Boston and Singapore. They specifically looked at "traversals"—instances where the vehicle visited the same geographic location across different parts of the dataset (e.g., once in the training set and again in the validation set).

Key Insights and Ideas

  • The "Aha!" of Binarization: You might think squashing features down to single bits would destroy performance. Surprisingly, it doesn't. Because map data is inherently categorical (it's either a road or it isn't), binary features are a natural fit.
  • Better than Ground Truth: In their experiments, the learned priors actually outperformed using actual ground-truth map labels. This suggests that the neural network is better at deciding what it needs to "remember" to help it see cars than a human is at drawing map lines.
  • Seeing Further: The map prior provides the most benefit for objects that are far away (25–50 meters). At that distance, camera pixels are sparse, but the "memory" of the road layout helps the model hallucinate the correct positions of vehicles it can barely see.
  • Graceful Degradation: If the car enters a brand-new area it has never seen before, the system doesn't crash. It simply reverts to the performance of a standard baseline model.

Key Results

The authors integrated CMP into three state-of-the-art 3D detectors (BEVDet, PETR, and BEVFormer) and saw consistent gains:

  • Accuracy Boost: On the nuScenes benchmark, CMP improved the NDS (nuScenes Detection Score) by up to 4.3 points for BEVDet and 2.2 points for BEVFormer.
  • Efficiency: The system introduces only a ~3% computational overhead, making it highly practical for real-time deployment.
  • Storage: The $32\text{KB}/\text{km}^2$ footprint is tiny. For context, the entire Boston area in the dataset could be stored in just a few megabytes.

Limitations and Future Work

  • The "New City" Problem: CMP relies on having visited a location at least once during training. It doesn't help in completely novel environments.
  • Dynamic Changes: The paper focuses on static priors. If a road is under construction and the layout changes, the current CMP might provide outdated information. The authors suggest that the modular design allows for "fine-tuning" the map for new locations, but a real-time update mechanism remains a future challenge.
  • Localization Dependency: The system assumes the car knows exactly where it is on the map. If the GPS/localization fails, the "spatial lookup" would fetch the wrong memories.

Summary updated

Abstract

Human drivers rarely travel where no person has gone before. After all, thousands of drivers use busy city roads every day, and only one can claim to be the first. The same holds for autonomous computer vision systems. The vast majority of the deployment area of an autonomous vision system will have been visited before. Yet, most autonomous vehicle vision systems act as if they are encountering each location for the first time. In this work, we present Compressed Map Priors (CMP), a simple but effective framework to learn spatial priors from historic traversals. The map priors use a binarized hashmap that requires only $32\text{KB}/\text{km}^2$, a $20\times$ reduction compared to the dense storage. Compressed Map Priors easily integrate into leading 3D perception systems at little to no extra computational costs, and lead to a significant and consistent improvement in 3D object detection on the nuScenes dataset across several architectures.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
nuScenes 3D · object detectionCMP (BEVFormer)NDS0.434Compared using BEVFormer with spatial resolution w=h=100; original detection head with …
Source quote
L279: CMP\xspace │ 0.434 │ 0.355 │ 0.690
nuScenes 3D · object detectionCMP (BEVFormer)mAP0.355+0.03 vs baselineCompared using BEVFormer with spatial resolution w=h=100; original detection head with …
Source quote
L279: CMP\xspace │ 0.434 │ 0.355 │ 0.690
nuScenes · map segmentationCMP (BEVFormer)mIoU0.690+0.25 vs baselineBEVFormer with spatial resolution w=h=100; segmentation over divider, pedestrian crossi…
Source quote
L279: CMP\xspace │ 0.434 │ 0.355 │ 0.690
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
nuScenes 3D · object detectionBaseline (BEVFormer) baselineNDS0.394Compared using BEVFormer with spatial resolution w=h=100; original detection head with …
Source quote
L276: Baseline │ 0.394 │ 0.323 │ 0.444
nuScenes 3D · object detectionBaseline (BEVFormer) baselinemAP0.323Compared using BEVFormer with spatial resolution w=h=100; original detection head with …
Source quote
L276: Baseline │ 0.394 │ 0.323 │ 0.444
nuScenes · map segmentationBaseline (BEVFormer) baselinemIoU0.444BEVFormer with spatial resolution w=h=100; segmentation over divider, pedestrian crossi…
Source quote
L276: Baseline │ 0.394 │ 0.323 │ 0.444
BibTeX
@misc{zhou2025compressed,
  author = {Brady Zhou and Philipp Krähenbühl},
  title = {{Compressed Map Priors for 3D Perception}},
  year = {2025},
  eprint = {2601.00139},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.00139},
}
Figure