Visual Forecasting as a Mid-level Representation for Avoidance

Hsuan-Kung Yang, Tsung-Chih Chiang, Ting-Ru Liu, Chun-Wei Huang, Jou-Min Liu, Chun-Yi Lee

Imagine trying to cross a busy city intersection with your eyes fixed only on where people are right now. You’d likely bump into someone the moment they took a step forward. Humans navigate by intuitively "seeing" where others are headed. A new paper from researchers at National Tsing Hua University suggests we should give autonomous robots the same foresight.

TL;DR

The researchers propose Visual Forecasting, a method that overlays predicted future paths of moving objects directly onto a robot's visual input (mid-level semantic maps). By "drawing" the future for the robot, they significantly improve obstacle avoidance and navigation success in both simulated crowds and real-world environments.

What Problem Does This Paper Address?

Navigating dynamic environments—like a sidewalk full of pedestrians—is a massive challenge for autonomous agents. Traditional approaches usually fall into two camps:

  1. State-based prediction: These calculate precise $(x, y)$ coordinates for every person. While accurate, they are notoriously difficult to implement in the real world because they require perfect sensors and complex state estimation.
  2. End-to-end learning: These try to map raw camera pixels directly to steering commands. These often struggle to generalize and can be "blind" to the underlying physics of motion.

The authors identify a "representation gap." They argue that robots need a mid-level representation—something more abstract than raw pixels but more intuitive than a spreadsheet of coordinates—that explicitly accounts for the temporal nature of the world.

Methods

The core idea is to augment mid-level representations (specifically semantic segmentation maps) with visual cues about the future. Instead of just seeing a "pedestrian" pixel-block, the robot sees where that block will be in $k$ seconds.

The team explored two visual forecasting strategies:

  • Bounding Box (BOX): A sequence of ghost-like boxes showing the predicted positions of an object at discrete future time steps.
  • Augmented Path (AP): A continuous shaded area on the ground representing the "footprint" of the object’s predicted trajectory.

To generate these forecasts, they tested simple but robust models: the Constant Velocity Model (CVM) and the Kalman Filter (KF). These predictions were then rendered onto the semantic maps used as input for a Deep Reinforcement Learning (DRL) agent trained via the Soft Actor-Critic (SAC) algorithm.

Datasets

The study utilized a "Sim-to-Real" pipeline:

  • Simulation: They built two custom environments in the Unity engine: S-Turn (a winding path) and Urban Grid Street (a complex 8-intersection map). These allowed for controlled testing with varying pedestrian speeds and densities.
  • Real-World: To validate the approach, they deployed the system on a ClearPath Husky UGV (Unmanned Ground Vehicle). They used the DACS model for real-time semantic segmentation and BOT-SORT for object tracking to generate the visual forecasts on the fly.

Key Insights and Ideas

  • Precision isn't everything: One of the most surprising findings was that the Constant Velocity Model (CVM)—a very simple linear projection—performed nearly as well as "Ground Truth" (perfect) forecasting. This suggests that for navigation, the intuition of direction is more important than millimeter-perfect accuracy.
  • Reducing Cognitive Load: By embedding the forecast into the visual input, the DRL agent doesn't have to "learn" how to predict motion from scratch. The future becomes a visible obstacle in its current field of view, allowing it to react proactively rather than reactively.
  • The Power of Mid-Level Features: Using semantic maps instead of raw RGB images made the transition from simulation to the real world much smoother. The robot learned the "concept" of a path and a forecast, which looks the same in Unity as it does in a real hallway.

Key Results

The addition of visual forecasting led to dramatic performance gains:

  • Success Rates: In the most challenging simulated scenarios (fast pedestrians), the success rate jumped from 51.9% (baseline) to 83.6% using the BOX method.
  • Collision Reduction: In simulation, the collision rate dropped from roughly 24% to 7%.
  • Real-World Leap: In zero-shot real-world testing, the baseline agent (no forecasting) almost always failed, achieving a meager 5% success rate. The agent equipped with the Augmented Path (AP) forecasting reached a 60% success rate, demonstrating much better "social distancing" from pedestrians.

Limitations and Future Work

While promising, the authors note a few hurdles:

  • Ego-Motion Ambiguity: When the robot moves, it can be hard to tell if a pedestrian moved or if the camera just shifted. While they used camera compensation (via BOT-SORT), this remains a point of failure in jerky or high-speed maneuvers.
  • 2D vs. 3D: The best results came from 3D bounding boxes, but these are hard to estimate from a single monocular camera. The 2D version works but is less effective at conveying depth.
  • Crowd Density: The paper focused on a few pedestrians. In a "Times Square" level of density, the visual forecasting cues might clutter the robot's vision, requiring a more selective way to highlight only the most relevant threats.

Paper Citation: Yang, H. K., et al. "Visual Forecasting as a Mid-level Representation for Avoidance." arXiv:2310.07724v1 [cs.RO], 2023.

Summary updated

BibTeX
@inproceedings{yang2024visual,
  author = {Hsuan-Kung Yang and Tsung-Chih Chiang and Ting-Ru Liu and Chun-Wei Huang and Jou-Min Liu and Chun-Yi Lee},
  title = {{Visual Forecasting as a Mid-level Representation for Avoidance}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2024},
  doi = {10.1109/iros58592.2024.10801799},
}
Figure