Differentiable Boustrophedon Paths That Enable Optimization Via Gradient Descent
Thomas Manzini, Robin Murphy
TL;DR
This work addresses the non-differentiability of traditional boustrophedon path optimization by introducing a differentiable representation for path plans within convex polygons, enabling gradient-based optimization. It defines a differentiable polygon containment via sigmoid-encoded half-spaces, approximates transect lengths through a length integral, and constructs a differentiable fitness function with gradients computable for transect angle and $x$-offset using auto-differentiation. Experiments show the differentiable scores closely match the discrete baseline with fidelity improving as temperature and sampling increase, but gradient descent alone struggles due to severe non-convexity, suggesting a hybrid grid search plus refinement approach. The findings highlight both the potential and limits of gradient-based methods for path planning, offering insights into the optimization landscape and enabling integration with differentiable systems in robotics, while outlining future work on closed-form integrals and concave-domain extensions.
Abstract
This paper introduces a differentiable representation for the optimization of boustrophedon path plans in convex polygons, explores an additional parameter of these path plans that can be optimized, discusses the properties of this representation that can be leveraged during the optimization process and shows that the previously published attempt at optimization of these path plans was too coarse to be practically useful. Experiments were conducted to show that this differentiable representation can reproduce scores from traditional discrete representations of boustrophedon path plans with high fidelity. Finally, optimization via gradient descent was attempted but found to fail because the search space is far more non-convex than was previously considered in the literature. The wide range of applications for boustrophedon path plans means that this work has the potential to improve path planning efficiency in numerous areas of robotics, including mapping and search tasks using uncrewed aerial systems, environmental sampling tasks using uncrewed marine vehicles, and agricultural tasks using ground vehicles, among numerous others applications.
