π⁴: 0.5B Model Does Single-Pass 4D Reconstruction & Tracking for 1000+ Frames
Shanghai AI Lab's π⁴ is a 0.5B parameter 4D vision foundation model that simultaneously reconstructs dense 3D geometry, camera poses, and real-scale trajectories for thousands of frames in a single forward pass, without post-processing or auxiliary models, achieving state-of-the-art results on 16 geometry benchmarks.
Reading font

Introduction
Shanghai AI Lab's Physical Intelligence Center has open-sourced π⁴ (Pi4), a 4D vision foundation model with approximately 0.5 billion parameters. The model accepts uncalibrated single images, unordered image collections, and videos, outputting dense 3D geometry, camera poses with real scale, and 2D/3D point trajectories while identifying moving objects. Although training samples contain at most 64 views, inference can process thousands of images in a single forward pass, jointly completing scene reconstruction and point tracking.
Architecture: One Geometry Serving Reconstruction and Tracking
π⁴ shares an image encoder between a geometry branch and a motion branch. The geometry branch inherits π³'s reference-view-free design, treating all input frames symmetrically so that frames from different viewpoints can be processed together. It predicts pixel-aligned 3D point maps per frame, then lifts them into a unified coordinate system using predicted camera poses and real scale. The motion branch leverages geometry features for matching: it finds 2D correspondences of the same point across frames and reads 3D coordinates from the corresponding point maps. Crucially, trajectories and reconstruction use the same geometry — when a skater moves to the far end of the rink, visible trajectory points come directly from that frame's reconstructed body surface.
Both branches employ a Loop Transformer decoder that reuses the same modules within each branch. Module reuse saves GPU memory and enables processing more views in one pass.
Benchmark Results
On a radar chart covering seven task categories, π⁴ (purple line) leads in aggregated scores for video depth, camera pose & trajectory, and long-sequence reconstruction. It ranks first overall across 16 geometry evaluations listed in the paper. For motion, the same model achieves the highest aggregated score for 2D point tracking while also supporting single-view and multi-view 3D tracking. Axes are normalized per task; gaps indicate missing full evaluation results.
Demonstrations
Figure skating (near 1000 frames, multi-camera): A broadcast with frequent camera cuts is fed as a single sequence. The model reconstructs the entire ice rink globally, separates camera motion from skater motion, and produces a continuous 3D trajectory in the same coordinate system as the rink reconstruction.
Waterfall surfing (six shots, unordered): Six clips with abrupt viewpoint changes are input together without temporal ordering. One forward pass yields full geometry, camera poses, and the surfer's dynamic motion. The six viewpoints merge into one 3D scene; the surfer's trajectory appears segmented by shot but seamlessly connected across cuts.
Indoor go-kart (first-person): The camera turns continuously with the vehicle. π⁴ estimates per-frame camera position and orientation, assembling local surfaces into a global track. Simultaneously, the motion branch tracks the kart's 3D points in the same coordinate system.
Forbidden City aerial (2000+ frames): The entire sequence is processed at once, no chunking and stitching. Nadir views capture roof and courtyard layout; oblique views fill in under-eave walls. All fuse into a single 3D scene.
Urban parkour: Camera follows the climber upward while the person scales building facades. 2D matches projected to 3D place building facades and human trajectories in one coordinate system, revealing which wall the person traverses.
Humanoid robot on stage: From standing to squatting, body parts leave distinct 3D trajectories. Because each 3D point originates from the corresponding frame's point map, changing viewpoint still shows correct relative positions to body and stage.
Robotic arm folding clothes: The arm replaces the human subject. Color trajectories share the 3D coordinate system with the table reconstruction, making approach, lift, and rotation intuitive.
Limitations
The paper explicitly notes that when the moving subject occupies most of the frame and the background lacks texture, camera motion and subject motion can still be confused. Results in such scenarios should be interpreted cautiously.
Resources
Paper: https://arxiv.org/abs/2611.23144 Project page: https://yyfz.github.io/pi4/ GitHub: https://github.com/yyfz/Pi4 Model weights: https://huggingface.co/yyfz233/Pi4 Online demo: https://huggingface.co/spaces/yyfz233/Pi4 Public dataset (GameRealm): https://github.com/weiguangzhao/GameRealm Reproduction guide:
https://github.com/yyfz/Pi4/blob/main/docs/inference.mdFor questions about attribution, corrections or content rights, please contactand we will review it promptly.