LFG: Learning to Drive is a Free Gift

Large-Scale Label-Free Autonomy Pretraining from Unposed In-The-Wild Videos

CVPR 2026

1Applied Intuition 2Stanford University 3UC Berkeley

Everything shown is predicted by LFG from a single front camera on in-the-wild YouTube driving videos: depth, semantics, motion, camera poses, and the future (+1.25 s). Each window takes 3 frames in and predicts 3 current + 3 future frames; consecutive windows are stitched into one map.
Footage (CC BY): Travel Anytime, Vietnam Silent Routes, Driving Time, RGRVA Dash Cam Drives.

LFG Teaser Figure

Figure 1. LFG learns a unified pseudo-4D representation of geometry, semantics, motion, and short-term future evolution directly from unposed, unlabeled single-view driving videos. A single feedforward encoder processes observed frames and produces temporally consistent predictions of 3D point maps, camera poses, semantic layouts, confidence, and motion masks for both current and future frames.

Abstract

Ego-centric driving videos available online provide an abundant source of visual data for autonomous driving, yet their lack of annotations makes it difficult to learn representations that capture both semantic structure and 3D geometry. Recent advances in large feedforward spatial models demonstrate that point maps and ego-motion can be inferred in a single forward pass, suggesting a promising direction for scalable driving perception. We therefore propose a label-free, teacher-guided framework for learning autonomous driving representations directly from unposed videos.

Unlike prior self-supervised approaches that focus primarily on frame-to-frame consistency, we posit that safe and reactive driving depends critically on temporal context. To this end, we leverage a feedforward architecture equipped with a lightweight autoregressive module, trained using multi-modal supervisory signals that guide the model to jointly predict current and future point maps, camera poses, semantic segmentation, and motion masks.

Multi-modal teachers provide sequence-level pseudo-supervision, enabling LFG to learn a unified pseudo-4D representation from raw YouTube videos without poses, labels, or LiDAR. The resulting encoder not only transfers effectively to downstream autonomous driving planning on the NAVSIM benchmark, surpassing multi-camera and LiDAR baselines with only a single monocular camera, but also yields strong performance when evaluated on a range of semantic, geometric, and qualitative motion prediction tasks.

We emphasize that the novelty of LFG lies more within the pretraining paradigm than the model architecture itself.

Method at a Glance

LFG Method

LFG Architecture. Starting from unposed single-view driving clips, a pretrained π3 backbone encodes N observed frames into latent scene tokens. A lightweight causal autoregressive transformer rolls out M future tokens, which a shared decoder maps to point maps, camera poses, semantic segmentation, confidence maps, and motion masks for all N+M frames. Multi-modal teachers provide pseudo-supervision, enabling LFG to learn a unified pseudo-4D representation that transfers effectively to downstream planning.

Motion Prediction

LFG separates what moves (vehicles, pedestrians) from the static scene while the camera itself is moving, with no human motion labels.

Left: input frame. Right: LFG's predicted motion mask (red = moving).

Frame
RGB input
RGB input
Pseudo ground-truth motion
Pseudo-GT (teacher)
LFG motion
LFG (ours)

LFG's soft motion masks follow the teacher's pseudo labels closely; blue = static, red = moving.

Depth Estimation

LFG sees only frames 1–3 and predicts depth for frames 4–6 it has never seen. The π3 teacher is given all 6 frames.

Observed Future
RGB input
RGB frame
pi3 depth
π3 (all 6 frames in)
LFG depth
LFG (frames 1–3 in)
Predicted future

On future frames, LFG's depth stays close to the teacher's, which was given the frames LFG has to imagine.

Semantic Segmentation

LFG is distilled from a SegFormer teacher, yet beats it, including on future frames where SegFormer gets the real image and LFG does not.

Observed Future
RGB input
RGB frame
SegFormer segmentation
SegFormer (sees this frame)
LFG segmentation
LFG (frames 1–3 in)
Predicted future
Road Vehicle Sky Background + person, traffic light, traffic sign

Point Cloud Reconstruction

Stacking the predicted point maps gives a full reconstruction. LFG keeps the scene's structure and the camera path even for the frames it predicts.

LFG point cloud
LFG (frames 1–3 in, 4–6 predicted)
pi3 point cloud
π3 (all 6 frames in)
Observed camera poses Predicted future poses

In the Wild

Three frames in, three frames predicted, on driving videos LFG never trained on.

Each clip steps through the 6 frames: the RGB frame, LFG's predicted depth and segmentation, and a bird's-eye view of the 3 observed (blue) and 3 predicted (orange) camera poses.

Quantitative Results

85.2
NAVSIM PDMS from one front camera, above UniAD (6 cameras), TransFuser and Hydra-MDP (3 cameras + LiDAR)
98.2
No-collision score, the highest of all methods compared
81.4
PDMS with 10% of the labels, matching DINOv3 trained on 100%
66.3
PDMS with 1% of the labels, best of all encoders and above camera + LiDAR DiffusionDrive

NAVSIM Planning Benchmark

Single-camera LFG vs BEV-based baselines. Higher is better for all metrics.

MethodInputNCDACTTCC.EPPDMS
BEV baselines
UniAD6Cam97.891.992.9100.078.883.4
TransFuser3Cam+L97.792.892.0100.079.284.0
Hydra-MDP3Cam+L96.994.094.0100.078.784.7
DiffusionDrive3Cam+L96.895.494.7100.082.088.1
LFG (ours)1Cam98.293.794.4100.079.185.2

Bold = best in column. L = LiDAR. 1Cam uses only the front-view camera with past temporal frames (3-frame input).

Label Efficiency

NAVSIM PDMS when fine-tuning with 1%, 10% and 100% of the labeled data. The pretrained encoders use a single front camera (3 frames) and the same anchor-based decoder.

MethodInput1%10%100%
DiffusionDrive3Cam+L64.972.688.1
DiffusionDrive-DINOv23Cam+L57.374.481.5
DiffusionDrive-DINOv21Cam57.573.079.7
Pretrained encoders, 1 camera
DINOv31Cam60.075.881.4
PPGeo1Cam61.565.674.6
π31Cam56.277.582.8
LFG (ours)1Cam66.381.485.2

LFG is best at 1% and 10% labels and the best single-camera encoder at 100%. DiffusionDrive is trained end-to-end with a BEV ResNet backbone.

Semantic Segmentation

KITTI-360, 200 sequences of 6 frames. SegFormer gets all 6 images; LFG gets the first 3 and predicts the rest. Future = frames 4–6 only.

MethodAll framesFuture frames
PAmIoUmDiceFWPAmIoUmDiceFW
Static baseline––––0.8880.4200.5020.810
SegFormer0.9260.6770.7440.7230.9260.6800.7470.725
MaskFormer0.9220.7600.8290.760––––
LFG (ours)0.9470.7680.8270.7700.9420.7510.8140.759

The static baseline copies the ground truth of frame 3 to the future frames. PA = pixel accuracy, FW = frequency-weighted IoU.

Depth

Error after scale-and-shift alignment (lower is better). π3 sees all 6 frames.

MethodAll framesFuture
AbsRelRMSEAbsRelRMSE
KITTI-360
π30.264.370.264.37
LFG0.274.380.314.38
VGGT–4.46–4.46
DA3–4.43–4.44
Waymo
π30.196.680.196.70
LFG0.216.870.227.12

Camera Trajectory

ATE and relative pose error, rotation (deg) and translation (m). Lower is better.

MethodATERotTrans
KITTI-360
π30.431.320.31
LFG1.002.300.31
Waymo
π30.020.980.44
LFG0.081.000.44

LFG's geometry stays close to its π3 teacher even though it never sees the last 3 frames. Depth RMSE in meters; standard deviations are in the paper.

Ablation Studies

Component and scaling ablations on NAVSIM (PDMS). Higher is better.

Setting1%10%100%
LFG (original setting)66.381.485.2
+ 2× pretraining data76.682.384.8
+ Longer prediction horizon80.584.484.8
− Seg, Motion64.877.184.6
− Autoregressive head66.377.784.2

More pretraining data and a longer prediction horizon help most when labels are scarce; removing segmentation/motion supervision or the autoregressive head hurts.

BibTeX

@inproceedings{strong2026lfg,
  title={Learning to Drive is a Free Gift: Large-Scale Label-Free Autonomy Pretraining from Unposed In-The-Wild Videos},
  author={Strong, Matthew and Chang, Wei-Jer and Herau, Quentin and Yang, Jiezhi and Hu, Yihan and Peng, Chensheng and Zhan, Wei},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  year={2026}
}