← Back to Home

FlowMNO

Trajectory Prediction for Robot Navigation using Flow-Guided Markov Neural Operator
IEEE International Conference on Robotics and Automation (ICRA) 2024
Rashmi Bhaskara* Hrishikesh Viswanath* Aniket Bera
Department of Computer Science, Purdue University, USA
*Equal contribution
FlowMNO predictions (green) and GVO-integrated robot navigation (red) among pedestrians
We present FlowMNO, an Optical Flow-Integrated Markov Neural Operator designed to capture pedestrian behavior across diverse scenarios. Our paper models trajectory prediction as a Markovian process, where future pedestrian coordinates depend solely on the current state.

TL;DR

FlowMNO predicts pedestrian trajectories for robot navigation by combining optical flow with a Markov neural operator, treating motion as a Markov process so only the current state is needed. On the ETH, HOTEL, ZARA1, ZARA2, UCY and RGB-D pedestrian benchmarks it outperforms LSTM-, GAN- and CNN-based predictors by about 86%.

Method

FlowMNO architecture
Model architecture. FlowMNO incorporates optical flow as a key component for input data generation. Optical flow is generated using the Farneback method in combination with a pedestrian detection algorithm. FlowMNO adopts a Markovian process model for pedestrian trajectory prediction: the future state of a pedestrian primarily depends only on their current state.

Trajectory prediction as a Markov process

Pedestrians may change direction suddenly, so past states are a poor guide to the next one. FlowMNO therefore treats the crowd as a Markov process: the next state depends only on the current one, and no history has to be stored. Pedestrians are detected in each frame with YOLOv3-tiny and non-maximum suppression, and the motion between consecutive frames \(I_{t-1}, I_t\) is captured as a dense Farneback optical flow \(O_t\). A Markov neural operator then predicts the next flow field,

$$O_t = \text{FarnebackOpticalFlow}(I_{t-1} \rightarrow I_t), \qquad O_{t+1} = \text{MNO}(O_t).$$

The operator learns the one-step solution map \(\hat S_h : f(t) \mapsto f(t+h)\) and is trained with a Sobolev-norm loss on the residual \(r = \hat S_h(f) - S_h(f)\), computed in Fourier space for \(p = 2\):

$$\|r\|_{k,2}^2 = \sum_{n=-\infty}^{\infty} \left(1 + n^2 + \ldots + n^{2k}\right) |\hat r(n)|^2 .$$

Composing \(\hat S_h\) with its own output gives long-horizon predictions, \(f(nh) \approx \hat S_h^{\,n}(f_0)\). Each pedestrian's next position \((x_{t+1}, y_{t+1})\) is read off \(O_{t+1}\) as the flow displacement at the centroid of their bounding box in frame \(I_t\).

Input and predicted optical flow frames
The MNO model is trained on the input optical flow \(O_t\) and predicts the optical flow frame at time step \(t+1\), \(O_{t+1}\).

Navigating among pedestrians

The predicted positions \((x_{t+1}, y_{t+1})\) become dynamic obstacles in the Generalized Velocity Obstacles (GVO) framework. For every pedestrian \(i\), GVO evaluates the relative velocity \(v_{r_i} = v_{r_\text{robot}} - v_{r_i^\text{pedestrian}}\) to assess collision risk and choose the robot's desired velocity.

FlowMNO with GVO deployed on a robot
Demonstration of FlowMNO integrated with GVO, deployed on a robot.

Results

ADE / FDE (lower is better) against state-of-the-art deep learning methods on ETH and Hotel, Zara1, Zara2 and UCY. On the RGB-D pedestrian dataset FlowMNO reaches an ADE of 0.03 and an FDE of 0.04.

ModelETHHotelZara1Zara2UCYAverage
SSeg-LSTM0.15 / 0.2950.05 / 0.080.05 / 0.080.07 / 0.10.1 / 0.160.08 / 0.15
SS-LSTM0.2 / 0.370.08 / 0.130.08 / 0.110.07 / 0.120.2 / 0.240.13 / 0.19
Scene-LSTM0.18 / 0.340.25 / 0.290.37 / 0.330.19 / 0.10.25 / 0.030.21 / 0.20
Social-LSTM0.5 / 1.070.11 / 0.230.22 / 0.480.25 / 0.50.27 / 0.770.27 / 0.41
Social-Attention0.46 / 4.560.42 / 3.570.21 / 0.650.41 / 3.390.36 / 4.450.38 / 3.49
Starnet0.73 / 1.480.49 / 1.010.27 / 0.560.33 / 0.70.41 / 0.840.46 / 0.94
SGAN (20V-20)0.61 / 1.220.48 / 0.950.21 / 0.420.27 / 0.540.36 / 0.750.39 / 0.78
CNN-based1.04 / 2.070.59 / 1.170.43 / 0.900.34 / 0.750.57 / 1.210.59 / 1.22
FlowMNO (Ours)0.04 / 0.020.02 / 0.010.05 / 0.090.01 / 0.020.02 / 0.040.03 / 0.04
Comparison of quantitative results using error metrics (ADE/FDE, lower is better for both) with state-of-the-art deep learning methods.

ADE reduction

FlowMNO vs. modelADE reduction (%)
SSeg-LSTM50.00
SS-LSTM69.23
Scene-LSTM88.24
Social-LSTM96.26
Social-Attention98.88
Starnet97.30
SGAN (20V-20)96.72
CNN-based98.06
Average reduction86.46
How much FlowMNO reduces the average displacement error relative to each model.

Citation

@inproceedings{bhaskara2024trajectory,
  title     = {Trajectory Prediction for Robot Navigation using Flow-Guided Markov Neural Operator},
  author    = {Bhaskara, Rashmi and Viswanath, Hrishikesh and Bera, Aniket},
  booktitle = {IEEE International Conference on Robotics and Automation (ICRA)},
  year      = {2024}
}