potentialpaper

TrajCFM: Observation-Conditioned Flow Matching for Unified Trajectory Modeling

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. TrajCFM combines observation-conditioned flow matching, adaptive patches, and sparse experts to unify trajectory completion and prediction with three-step inference and transferable representations.

Abstract. Real-world trajectories combine irregular sampling, partial observability, and heterogeneous motion dynamics. Modeling them across tasks requires capturing local motion structure under different observation conditions. We present TrajCFM, an observation-conditioned flow matching framework for unified trajectory modeling. A DiT-style Transformer, conditioned on flow time and observed trajectory context, learns a velocity field that transports noise at unobserved positions toward target coordinates while preserving observed locations. This formulation brings completion and prediction under a shared objective and backbone. To capture motion at varying temporal scales, observation-aware adaptive patching builds variable-length segment representations from local motion cues and observation availability. Sparse mixture-of-experts routing selectively activates experts to model heterogeneous trajectory patterns. Pretraining with diverse observation masks learns representations that can also be adapted to trajectory classification and road-conditioned generation. Experiments on five real-world datasets demonstrate that TrajCFM achieves state-of-the-art performance in both trajectory completion and prediction using only three flow integration steps. Downstream experiments on transport-mode classification across GeoLife and Grab-Posisi, together with road-conditioned generation, demonstrate the transferability of the learned representations.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
18 Sep 2026ICLR 2027 (under review)submittedICLR 2027Under reviewreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Under review · 3 reviews · OpenReview

Updated 24 Nov 2026, 17:19 UTC.

Reviewer eGvpOpenReview ↗
Rating
2/4
Confidence
2/4
Soundness
2/3
Presentation
2/3
Informativeness
2/3
Read review
Summary

This paper proposes TrajCFM, an observation-conditioned flow-matching framework that unifies trajectory completion and prediction under different observation masks. It combines a DiT-style Transformer with observation-aware adaptive patching and mixture-of-experts routing to model irregular and heterogeneous trajectory dynamics. Experiments on five real-world datasets report good performance on completion and prediction, with additional transfer results on trajectory classification and road-conditioned generation.

Strengths

S1. The unified treatment of completion and prediction is practically useful and the framework supports additional downstream transfer tasks.

S2. The empirical results are good across multiple real-world trajectory datasets and tasks.

Weaknesses

W1. Novelty is limited. The framework largely combines established ingredients: conditional flow matching, a DiT-style Transformer, adaptive patching, mixture-of-experts routing, and masked/observation-conditioned training, rather than introducing a clearly new modeling principle.

W2. The experimental comparison is incomplete for closely related unified trajectory models. GenMove and UniMove are discussed but not empirically compared, and MoFlow (CVPR 2025) is also highly relevant as a recent flow-matching trajectory model.

Questions for the authors

Q1. Please clarify the core technical novelty of TrajCFM relative to prior unified trajectory modeling and conditional flow-matching approaches. Which component or formulation is fundamentally new rather than a combination of existing techniques?

Q2. Can the authors add empirical comparisons with the closely related methods already discussed in the paper, particularly GenMove, UniTraj, UniMove, as well as MoFlow? If a direct comparison is not feasible, please explain the specific incompatibility or evaluation mismatch.

Ethics concerns

n.a.

Reviewer Zq4QOpenReview ↗
Rating
2/4
Confidence
2/4
Soundness
2/3
Presentation
2/3
Informativeness
2/3
Read review
Summary

This paper proposes TrajCFM, an observation-conditioned flow matching framework for unified trajectory modeling. It formulates trajectory completion and prediction as a shared conditional reconstruction task by employing different observation masks. Experiments on five real-world datasets demonstrate competitive performance in trajectory completion and prediction, with additional evaluations on downstream tasks.

Strengths

(1)The paper provides a unified formulation for trajectory completion and prediction through observation-conditioned flow matching, allowing both tasks to share the same network architecture and training objective.

(2)The proposed observation-aware adaptive patching combines point-level and segment-level representations, allowing the model to incorporate local contextual information while preserving coordinate-level resolution.

(3)The method is evaluated on five real-world datasets and achieves strong performance in both trajectory completion and prediction.

Weaknesses

(1) The three main components of the proposed framework, conditional Flow Matching, adaptive patching, and Sparse MoE. are all based on relatively well-established techniques. Consequently, the core contribution appears to be primarily an architectural combination and engineering-oriented optimization tailored to trajectory data, rather than a fundamentally novel methodological advancement.

(2) The paper claims that Sparse MoE can select appropriate computational experts for different motion patterns. However, Figure 2 primarily illustrates the distribution of expert routing weights across different motion groups. Differences in expert utilization do not necessarily indicate that the experts have learned distinct motion dynamics.

(3) Although the paper discusses generative trajectory and time-series models such as MoFlow, GenMove, TrajFlow, and CSDI in the related work, the main experiments primarily compare against Linear, DHTR, Transformer, DeepMove, TrajBERT, TrajFM, and UniTraj. For a paper centered on Flow Matching, the absence of direct comparisons with conditional diffusion models, existing trajectory Flow Matching methods, and other strong generative baselines represents a significant limitation.

(4) The efficiency evaluation lacks comprehensive comparisons with UniTraj, TrajFM, and other strong baselines in terms of inference latency, FLOPs, GPU memory consumption, and parameter count under identical hardware and evaluation settings.

Questions for the authors

See weaknesses

Reviewer F4d3OpenReview ↗
Rating
1/4
Confidence
4/4
Soundness
1/3
Presentation
2/3
Informativeness
1/3
Read review
Summary

This paper proposes TrajCFM, an observation-conditioned flow matching framework for unified trajectory modeling. It combines a DiT-based backbone with adaptive patching and sparse mixture-of-experts to support trajectory completion and prediction under different observation masks. The learned representations are further adapted to trajectory classification and generation. Experiments are conducted on several real-world trajectory datasets.

Strengths
  1. Unified framework for trajectory reconstruction. The paper provides a unified formulation for trajectory completion and prediction through different observation masks, allowing both tasks to share the same backbone and inference procedure.

  2. Reasonable architectural evaluation. The paper includes ablation studies and additional controlled experiments to investigate the contributions of adaptive patching and MoE, providing some evidence of their effectiveness within the proposed architecture.

Weaknesses
  1. Unfair experimental comparisons and inconsistent evaluation protocols. The main experimental comparisons in Tables 1 and 2 appear to directly reuse baseline results from the UniTraj paper [1], despite differences in the following experimental protocols: i) The reported UniTraj results correspond to its zero-shot setting, while TrajCFM is fine-tuned on target datasets. The substantially stronger fine-tuned UniTraj results are not included. ii) The evaluation protocols are inconsistent. UniTraj evaluates on 100,000 WorldTrace test trajectories, whereas this paper reports 245,129 test trajectories. These issues fundamentally undermine the fairness of the comparisons and the claimed state-of-the-art performance. Without evaluations under consistent protocols, the main experimental conclusions are not convincing.

  2. Significantly limited methodological novelty. The proposed method largely combines existing techniques, and its core components have been extensively explored in prior top-tier conference publications: UniTraj [1] explores unified trajectory representation learning through masked pretraining. Diffusion-TS [2] supports time-series imputation and forecasting within a unified generative framework. MoFlow [3] applies conditional flow matching to trajectory forecasting. Pathformer [4] explores adaptive multi-scale patch-based modeling. Time-MoE [5] employs sparse expert routing for time-series modeling. TrajCFM essentially integrates these established ideas into a DiT-based architecture. Although the specific implementation differs, the paper does not introduce a sufficiently novel modeling principle or demonstrate insights beyond combining existing techniques.

[1] UniTraj: Learning a Universal Trajectory Foundation Model from Billion-Scale Worldwide Traces NeurIPS 2025. [2] Diffusion-TS: Interpretable Diffusion for General Time Series Generation ICLR 2024. [3] MoFlow: One-Step Flow Matching for Human Trajectory Forecasting via Implicit Maximum Likelihood Estimation based Distillation CVPR 2025. [4] Pathformer: Multi-scale Transformers with Adaptive Pathways for Time Series Forecasting ICLR 2024. [5] Time-MoE: Billion-Scale Time Series Foundation Models with Mixture of Experts ICLR 2025.

Questions for the authors
  1. Why are the published zero-shot UniTraj results used for comparison when TrajCFM is fine-tuned on the target datasets? How can the comparisons be considered fair given the differences in evaluation protocols?
  2. What is the fundamental methodological novelty of TrajCFM beyond combining existing mask-conditioned modeling, flow matching, adaptive patching, and MoE techniques?

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…

This paper is under review