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

Online Learning for Obstacle Avoidance

David Snyder, Meghan Booker, Nathaniel Simon, Wenhan Xia, Daniel Suo, Elad Hazan, Anirudha Majumdar

Abstract

We approach the fundamental problem of obstacle avoidance for robotic systems via the lens of online learning. In contrast to prior work that either assumes worst-case realizations of uncertainty or relies on perfect stochastic models, we introduce a trust-region-based online learning algorithm that allows robots to adapt to environmental uncertainty in real-time. By minimizing "regret," the method achieves instance-optimality, performing nearly as well as the best possible policy chosen in hindsight.

Introduction

Obstacle avoidance in robotics traditionally oscillates between two extremes. Stochastic planning relies on probabilistic models of noise (e.g., Gaussian wind disturbances). However, if the real world deviates from these models, the robot is prone to failure. Conversely, robust or worst-case planning assumes the most adversarial conditions possible. While safe, this approach often results in "timid" behavior, where the robot moves unnecessarily slowly or takes overly long paths.

This research identifies a middle ground. Real-world uncertainties—such as sensor lag, unmodeled motor nonlinearities, or shifting terrain—rarely follow neat distributions, but they are also not always trying to sabotage the robot. We propose a controller that is efficient, adaptive, and provably safe by treating obstacle avoidance as a non-stochastic control problem.

Methodology: Learning from the Past

Instead of attempting to predict the future through complex modeling, our approach focuses on adjusting strategies based on past performance. This is achieved through several key components:

Regret Minimization and FPL

The core metric is "regret"—the difference between the robot's actual performance and the performance of the best fixed policy it could have used in hindsight. To minimize this, we employ a version of the Follow the Perturbed Leader (FPL) algorithm. At each time step, the system solves for a policy that would have performed best on all previous data, adding a small amount of random noise (perturbation) to prevent overreacting to outliers.

Trust-Region Optimization

Obstacle avoidance is inherently non-convex (e.g., deciding whether to pass an object on the left or right). We leverage "hidden convexity" by using a trust-region-based relaxation. This transforms the non-convex problem into a series of convex optimization problems that can be solved efficiently in real-time, serving as a "safety inner loop."

Disturbance-Action Controller (DAC)

The system utilizes a nominal planner (such as A or RRT) for high-level pathfinding. We then overlay a Disturbance-Action Controller (DAC) that injects real-time corrections based on the history of observed disturbances.

The Unitree Go1 quadruped navigating a dense field of obstacles. The OLC algorithm (pink) provides corrections to the nominal A* plan (orange) to ensure safety.

Experimental Evaluation

The algorithm was evaluated in both simulated and physical environments to test its robustness against various noise profiles.

2D Racing Simulation

A double-integrator system navigated a course with 50 obstacles under three noise types: Random (stochastic), Sinusoidal (structured), and Adversarial (worst-case). The Online Learning Control (OLC) significantly outperformed RRT, which failed frequently under non-stochastic noise. Specifically, under sinusoidal noise, OLC maintained a failure rate of only 4%, whereas RRT failed 100% of the time.

Hardware Demonstration

We deployed the OLC on a Unitree Go1 quadruped tasked with traversing a dense field of cylindrical obstacles. This environment introduced real-world challenges, including LIDAR/IMU sensor noise, time delays, and complex leg dynamics.

Key Results

The results highlight a superior balance between efficiency and safety. As shown in the table below, OLC maintained a path length nearly identical to the optimistic A* planner while significantly reducing the number of collisions.

Performance comparison of different planners across path length, deviation, and collision metrics. OLC achieves safety comparable to robust methods while maintaining the efficiency of optimistic planners.
  • Safety: OLC reduced collisions by over 40% compared to a standard A* planner with obstacle padding (7 vs 12 collisions).
  • Efficiency: While the robust Hamilton-Jacobi (HJ) Plan was safe, it forced the robot into a significantly longer path (11.13m). OLC achieved a path length of 10.59m, matching the efficiency of the A* planner (10.61m).
  • Instance-Optimality: Following Vapnik’s Principle, the method avoids the "harder" problem of modeling complex noise. It is only as conservative as the environment demands; it moves efficiently in benign noise and automatically becomes cautious in adversarial conditions.

Limitations and Future Work

While promising, the current framework assumes linear or time-varying linear perturbation dynamics. Future work will explore extensions to highly nonlinear systems. Additionally, the current cost function lacks a multi-step "lookahead" typical of Model Predictive Control, which could improve long-range anticipation. Finally, automating the selection of hyperparameters like learning rate and perturbation size remains an open challenge.

Summary updated

BibTeX
@inproceedings{snyder2023online,
  author = {David Snyder and Meghan Booker and Nathaniel Simon and Wenhan Xia and Daniel Suo and Elad Hazan and Anirudha Majumdar},
  title = {{Online Learning for Obstacle Avoidance}},
  booktitle = {Conference on Robot Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=-sHerEL6MF},
}
Figure