AI guides

Shanghai AI Lab releases Pi4: jointly reconstructing scene geometry and point tracks with about 0.5B parameters

By Yifan Wang、Weiguang Zhao、Ni Yang、Haoyu Guo*、Junting Dong*、Weinan Zhang、Chunhua S0 viewsSource: 机器之心
Shanghai AI Lab releases Pi4: jointly reconstructing scene geometry and point tracks with about 0.5B parameters

Pi4 predicts scene geometry, camera poses and motion tracks from uncalibrated images in one forward pass, including sequences of thousands of frames. The article presents its architecture, evaluations and examples, while noting ambiguity between camera and foreground motion.

In a figure-skating broadcast nearly a thousand frames long, the footage continually switches between camera positions while the skater keeps moving across the ice. For a model, the difficulty is not simply the video's length or the number of cameras: it must also reconstruct the same rink from different viewpoints, distinguish camera motion from the skater's motion, and record motion tracks throughout the performance. Earlier methods struggle to accomplish all these tasks simultaneously with a single model.

Pi4 does this. Feed the entire video into the same neural network, and one forward pass produces both scene geometry and motion tracks, without post-processing optimization or additional specialized models.

Article illustration

Reconstruction and tracking in a single forward pass on a multi-camera figure-skating video of nearly a thousand frames. The original video is at bottom right and the global rink reconstruction at bottom left; the colored tracks and rink share the same 3D coordinate system.

π⁴(Pi4) is a 4D vision foundation model released as open source by the Physical Intelligence Center team at Shanghai Artificial Intelligence Laboratory, with approximately 0.5B parameters. The paper, inference code and model weights are all publicly available.

Pi4 can process a single photograph, an unordered image collection or a video without camera calibration, producing dense 3D geometry, camera poses and metric scale. With multiple input frames, it also recovers 2D and 3D point tracks and identifies moving objects in the images. Training samples contain at most 64 views, but at inference time more than a thousand images can be fed into the model together, completing scene reconstruction and point tracking in one forward pass.

Article illustration

  • Paper: https://arxiv.org/abs/2611.23144
  • Project website: 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: https://github.com/weiguangzhao/GameRealm
  • Reproduction instructions: https://github.com/yyfz/Pi4/blob/main/docs/inference.md#reproduce-the-project-page-demo

One geometry representation for reconstruction and tracking

Article illustration

Architecture of Pi4

Pi4's geometry and motion branches share an image encoder but perform different tasks.

The geometry branch retains Pi3's reference-view-free design and treats all input frames symmetrically, allowing footage from different cameras to be supplied together. The model first predicts a pixel-aligned 3D point map for each frame, then combines camera poses and metric scale to place these point maps in a unified coordinate system.

The motion branch uses geometric features to help matching: it first locates the same point in 2D in other frames, then reads its 3D coordinates from those frames' point maps. Tracking and reconstruction use the same geometry. When the skater moves to the other end of the rink, the visible points along the track come from the body surface reconstructed in that frame.

Both branches use Loop Transformer decoding, repeatedly applying the same set of modules within each branch. Reusing modules saves GPU memory and makes room to process more views at once.

How to interpret the paper's results

Article illustration

Left: examples of Pi4 reconstruction and tracking. Right: a radar chart covering seven task categories.

The purple line in the radar chart on the right above represents Pi4. For geometry, it leads the aggregate scores in three task categories: video depth, camera poses and trajectories, and long-sequence reconstruction. It also ranks first overall across the 16 geometry evaluations listed in the paper.

For motion, the same model leads the aggregate 2D point-tracking score and supports both single-view and multi-view 3D tracking. Each radar-chart axis is normalized separately; gaps indicate missing complete evaluation results.

Waterfall surfing, a racetrack and aerial footage of the Forbidden City

Article illustration

Different shots from the waterfall-surfing footage and the global reconstruction

The original waterfall-surfing footage contains six shots. Camera positions and angles change abruptly, and consecutive shots are not necessarily continuous. The six clips are fed into the network together, without imposing an order. A single inference pass produces all the geometry, camera-pose estimates and the protagonist's dynamic motion. After reconstruction, the waterfall and rock faces captured from the six camera positions merge into one 3D scene. The protagonist's point tracks appear within it in shot-by-shot segments, connecting the footage across cuts.

Article illustration

First-person indoor karting footage and reconstruction results

The karting clip is particularly useful for examining camera poses. In the first-person view, the camera turns continuously with the kart as barriers and walls sweep past. Pi4 estimates the camera's position and orientation in each frame and places the local surfaces seen along the way into global coordinates. The bottom-left view shows the resulting track formed by connecting these sections. In the same forward pass, the motion branch also tracks the kart in the first-person footage. The 3D point tracks on the kart and the racetrack reconstruction use the same coordinate system.

Article illustration

3D reconstruction from aerial footage of the Forbidden City

The Forbidden City aerial footage extends the sequence to more than two thousand frames. The entire clip is supplied as one sequence and processed in a single forward pass, rather than first being divided into segments and then stitched together. Overhead shots establish the layout of roofs and courtyards, while oblique shots add the walls beneath the eaves. They ultimately merge into the same 3D scene.

Tracking more than people

Article illustration

Human motion tracks and building reconstruction in urban parkour

In the parkour clip, the camera tilts upward to follow a person climbing a building's surfaces. Once the 2D matches are mapped into 3D, the building facade and the person's tracks lie in the same coordinate system, making it directly apparent which wall the person moves along.

Article illustration

A humanoid robot's movements onstage and its 3D point tracks

As the humanoid robot moves from standing to squatting, different parts of its body leave different tracks. Because every 3D position comes from the corresponding frame's point map, a change in viewing angle still reveals how those points move relative to the body and the stage.

Article illustration

3D point tracks of a robotic arm folding clothes

In the clothes-folding demonstration, a robotic arm takes center stage. The colored tracks and the reconstructed tabletop share a 3D coordinate system, making the arm's movements toward the table, upward and around easier to see.

Limitations

The paper also explicitly discusses current limitations: when the moving subject occupies most of the image and the background lacks texture, camera motion and subject motion can still be confused. Results in these situations require cautious interpretation.

About the authors

Article authors: Yifan Wang, Weiguang Zhao, Ni Yang, Haoyu Guo*, Junting Dong*, Weinan Zhang and Chunhua Shen* (* denotes corresponding authors), from the Physical Intelligence Center at Shanghai Artificial Intelligence Laboratory.

This article comes from Synced. Authors: Yifan Wang, Weiguang Zhao, Ni Yang, Haoyu Guo*, Junting Dong*, Weinan Zhang and Chunhua Shen* (* denotes corresponding authors).

Related topics

After reading

Join the AINRK community

Read how to join the community and connect with people working in AI.

Community information (opens in a new tab)