Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minDrive-JEPA

Zero-Label Driving Scenario Complexity Detection via Joint Embedding Predictive Architecture

arXiv


Overview

Paper: arXiv:2606.28383

minDrive-JEPA applies Joint-Embedding Predictive Architecture (JEPA) to structured autonomous driving scenarios from the nuPlan dataset. The model learns compact latent representations through masked prediction — without any pixel-level reconstruction or human-provided labels. The learned representations capture scenario complexity and can be used zero-shot as a difficulty signal for scenario curation, data weighting, or downstream planning tasks.

Key results:

  • Strong rank correlation between learned latent surprise and objective scenario tags (e.g., cut_in, stationary_in_traffic, on_intersection)
  • Representations transfer to downstream retrieval tasks (top-k precision)
  • EMA target encoder is the critical component: ablations show collapse without it

Project Structure

src/mindrive_jepa/
  models/        — JEPA encoder, predictor, target encoder
  training/      — training loop, EMA update
  data/          — nuPlan data loading and tokenization
  evaluation/    — tag correlation, retrieval metrics
  visualization/ — plotting utilities

scripts/
  train.py           — main training entry point
  evaluate.py        — evaluation against scenario tags
  preprocess_data.py — nuPlan → processed tensor format

configs/
  default.yaml       — full training configuration
  no_ema.yaml        — ablation: no EMA target encoder

Setup

python -m venv .venv
source .venv/bin/activate
pip install -e .

Requirements: Python 3.10+, PyTorch 2.x, nuPlan SDK. See requirements.txt for the full dependency list.


Training

python scripts/train.py --config configs/default.yaml

Checkpoints are saved to checkpoints/ by default (configurable in YAML).


Evaluation

python scripts/evaluate.py --checkpoint checkpoints/best.pt

Outputs tag correlation scores and top-k precision metrics.


Citation

If you find this work useful, please cite:

@article{jaiswal2026mindrive,
  title   = {Zero-Label Driving Scenario Complexity Detection
             via Joint Embedding Predictive Architecture},
  author  = {Jaiswal, Santosh},
  journal = {arXiv preprint arXiv:2606.28383},
  year    = {2026},
  url     = {https://arxiv.org/abs/2606.28383}
}

License

MIT

About

Masked Predictive Coding for Autonomous Driving Scene Understanding (JEPA on nuPlan)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages