NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Segmentation from Point Trajectories

Laurynas Karazija, Iro Laina, Christian Rupprecht, Andrea Vedaldi

In the world of computer vision, teaching a machine to "see" objects without giving it a million hand-labeled examples is a holy grail. One of the most intuitive ways to do this in video is through the principle of common fate: the idea that pixels moving together likely belong to the same object.

Traditionally, researchers have used optical flow—the pixel-to-pixel movement between two adjacent frames—to provide this "motion supervision." But optical flow is fleeting; it only knows what’s happening right now. If an object pauses or moves perfectly in sync with the background for a split second, the system loses track of it.

A new paper from the Visual Geometry Group (VGG) at Oxford, titled "Learning Segmentation from Point Trajectories," proposes a shift in perspective. Instead of looking at instantaneous flickers of motion, the authors look at the long-term "life story" of a point: its trajectory.

The Problem with Instantaneous Motion

Unsupervised Video Object Segmentation (VOS) aims to isolate moving objects without human-provided masks. Most current methods rely on optical flow, which is dense (available for every pixel) but "short-sighted."

This reliance creates two main challenges:

  1. The Blind Spot Problem: If a car stops at a red light, optical flow says it’s part of the road. If a swan moves across a lake, optical flow might mistake the ripples in the water for parts of the swan.
  2. The Modeling Problem: While optical flow can be modeled with simple math (like affine transforms), long-term trajectories are messy. Camera shakes, perspective changes, and complex rotations make it nearly impossible to write a simple parametric equation that describes how a point moves over 40+ frames.

Methods: The Low-Rank Trajectory Loss

To solve the modeling problem, the authors introduce the Low-Rank Trajectory Loss (LRTL).

Instead of trying to predict exactly where a point will be, they draw inspiration from subspace clustering. They posit that if a group of points belongs to the same rigid object, their trajectories are not independent. Instead, any point's path can be explained as a linear combination of a few "basis" trajectories.

Illustration of the low-rank assumption: the trajectory of point p can be expressed as a linear combination of basis points a, b, and c.

Mathematically, this means if you stack the $(x, y)$ coordinates of $N$ points over $T$ frames into a large matrix, that matrix should be low-rank. We don't need a complex polynomial to model motion; we just need to know that the object's motion is internally consistent.

The Training Workflow

The system combines this new long-term insight with traditional short-term flow to get the best of both worlds.

Overview of the proposed training pipeline combining optical flow and point trajectory losses.
  1. Extract Features: The system uses off-the-shelf tools like RAFT for optical flow and CoTracker for long-term point trajectories.
  2. Predict Masks: An image segmentation network predicts which pixels belong to which object.
  3. Apply LRTL (Trajectory Loss): For each predicted object, the points "inside" it are gathered. The system performs a Singular Value Decomposition (SVD) on their trajectories and penalizes the higher-order singular values. This forces the network to group pixels whose long-term paths "agree" with a low-rank structure.
  4. Apply Flow Loss: A standard linear parametric model is applied to the optical flow to capture dense, instantaneous boundaries.

Key Insights and Results

The method sets a new high bar for unsupervised motion-based segmentation across standard benchmarks like DAVIS 2016, SegTrackv2, and FBMS.

  • State-of-the-Art Performance: On DAVIS 2016, the method achieved a Jaccard score ($\mathcal{J}$) of 82.2, significantly outperforming previous state-of-the-art methods (which hovered around 79.5 to 80.9).
  • Synergy of Signals: An ablation study proved the core thesis. Using trajectories alone yielded a score of 71.9; using flow alone yielded 78.5. Combining them pushed the performance to 82.2, proving that long-term and short-term motion signals are truly complementary.
  • Robustness to "Hallucinations": Optical flow often gets confused by moving shadows or water ripples. Because these "hallucinated" motions rarely persist or correlate perfectly with an object's long-term trajectory, the LRTL helps the network ignore them.
  • Optimal Rank: Through analysis, the authors found that a rank of $r=5$ is sufficient to model most rigid motions under perspective projection, even accounting for slight tracking errors.

Limitations and Future Work

While powerful, the method has a few hurdles to clear in future iterations:

  • Occlusions: Point trackers still struggle when objects go behind trees or walls. The model currently relies on the tracker's ability to "guess" positions during occlusions, which can introduce noise.
  • Non-Rigidity: The low-rank assumption works best for rigid objects. While it handles some non-rigidity (like a walking person) by over-segmenting parts, a more explicit model for articulated motion could improve results.
  • Computational Cost: SVD is relatively expensive to compute inside a loss function, though the authors managed to keep it efficient enough for standard training.

Ultimately, this work proves that in the quest for unsupervised machine vision, taking the "long view" of motion provides a much clearer picture than relying on the instant alone.

Summary updated

BibTeX
@inproceedings{karazija2024learning,
  author = {Laurynas Karazija and Iro Laina and Christian Rupprecht and Andrea Vedaldi},
  title = {{Learning Segmentation from Point Trajectories}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=vt2qkE1Oax},
}
Figure