Online Residual Learning from Offline Experts for Pedestrian Tracking

Anastasios Vlachos, Anastasios Tsiamis, Aren Karapetyan, Efe C. Balta, John Lygeros

Predicting pedestrian trajectories is a fundamental challenge for autonomous systems, requiring a delicate balance between leveraging vast historical data and adapting to real-time behavioral shifts. Traditional approaches often fall into two camps: static offline models, which are accurate but brittle to new environments, and online learning, which adapts well but suffers from poor initial performance (the "cold start" problem). This paper introduces Online Residual Learning (ORL), a framework that bridges this gap by learning to correct the errors of pre-trained experts in real-time.

The ORL Framework

ORL operates as a two-level "wrapper" around existing pre-trained models. Instead of retraining complex architectures, it treats them as a set of $N$ offline experts.

The Online Residual Learning (ORL) architecture, showing the two-level process of learning residuals and combining expert advice.
  1. Level 1: Residual Error Learning: For each offline expert, the system employs a Recursive Least Squares (RLS) algorithm with forgetting factors. It learns the residual error—the difference between the expert's prediction and the observed ground truth—and applies a linear correction to the expert's output.
  2. Level 2: Prediction with Expert Advice: The system maintains a set of weights for these augmented experts using a softmax scheme. By evaluating recent performance, ORL can dynamically pivot its trust toward the expert currently providing the most accurate corrected prediction.

Performance and Robustness

The researchers evaluated ORL using the Stanford Drone Dataset (SDD), which contains over 40,000 trajectories. By applying ORL to predictions from state-of-the-art offline models, the authors demonstrated significant improvements in both transient and steady-state accuracy.

Key findings include:

  • The "Warm Start" Effect: Unlike purely online methods that exhibit high initial error, ORL leverages offline priors to provide immediate, reasonable predictions.
  • Adaptation to Distribution Shifts: In scenarios where offline experts diverged (e.g., predicting a wrong turn), ORL's residual learning quickly corrected the trajectory, often matching or exceeding the performance of the "best offline" expert chosen in hindsight.
  • Theoretical Rigor: The framework is backed by mathematical Regret Guarantees, proving it will perform nearly as well as the best possible predictor over time, even in non-stationary environments.

Conclusion

Online Residual Learning offers a computationally efficient way to enhance static models with real-time agility. While currently environment-blind, future work aims to incorporate scene structure and obstacle maps to further refine the weighting and correction mechanisms for safer autonomous navigation.

Summary updated

BibTeX
@inproceedings{vlachos2024online,
  author = {Anastasios Vlachos and Anastasios Tsiamis and Aren Karapetyan and Efe C. Balta and John Lygeros},
  title = {{Online Residual Learning from Offline Experts for Pedestrian Tracking}},
  booktitle = {CDC},
  year = {2024},
  doi = {10.1109/cdc56724.2024.10886314},
}
Figure