B*: Efficient and Optimal Base Placement for Fixed-Base Manipulators

Zihang Zhao1,2 *, Leiyao Cui1,3 *, Sirui Xie1 *, Saiyao Zhang1,3, Zhi Han3, Lecheng Ruan4, Yixin Zhu1 ✉️
1 Institute for Artificial Intelligence, Peking University 2 LeapZenith AI Research 3 University of Chinese Academy of Sciences 4 College of Engineering, Peking University
* Equal Contributor

✉️ Corresponding Author

Proper Base Placement is Crucial for Task Execution Feasibility

Teaser

Abstract

Proper base placement is crucial for task execution feasibility and performance of fixed-base manipulators, the dominant solution in robotic automation. Current methods rely on pre-computed kinematics databases generated through sampling to search for solutions. However, they face an inherent trade-off between solution optimality and computational efficiency when determining sampling resolution—a challenge that intensifies when considering long-horizon trajectories, self-collision avoidance, and task-specific requirements. To address these limitations, we present B*, a novel optimization framework for determining the optimal base placement that unifies these multiple objectives without relying on pre-computed databases. B* addresses this inherently non-convex problem via a two-layer hierarchical approach: The outer layer systematically manages terminal constraints through progressively tightening them, particularly the base mobility constraint, enabling feasible initialization and broad solution space exploration. Concurrently, the inner layer addresses the non-convexities of each outer-layer subproblem by sequential local linearization, effectively transforming the original problem into a tractable sequential linear program (SLP). Comprehensive evaluations across multiple robot platforms and task complexities demonstrate the effectiveness of B*: it achieves solution optimality five orders of magnitude better than sampling-based approaches while maintaining perfect success rates, all with reduced computational overhead. Operating directly in configuration space, B* not only solves the base placement problem but also enables simultaneous path planning with customizable optimization criteria, making it a versatile framework for various robotic motion planning challenges. B* serves as a crucial initialization tool for robotic applications, bridging the gap between theoretical motion planning and practical deployment where feasible trajectory existence is fundamental.

Base Placement Optimization and Simultaneous Path Planning Using B* Algorithm

B* Method

Problem Formulation

For fixed-base manipulators, we formulate the base placement challenge as an optimization problem. Consider an ordered sequence of desired end-effector poses in \(\textit{SE}(3)\):

\[\boldsymbol{x}_{1:t} = [\boldsymbol{x}_{1},\boldsymbol{x}_{2},\cdots,\boldsymbol{x}_{t}]\in\mathbb{R}^{t\times 6}.\]

We seek to compute:

  1. The optimal base placement \(\boldsymbol{q}^b=[x^{b},y^{b},\theta^{b}]^{\mathsf{T}}\in \textit{SE}(2)\).
  2. The corresponding feasible joint configurations \(\boldsymbol{q}^{m}_{1:t}=[\boldsymbol{q}_{1},\boldsymbol{q}_{2},\cdots,\boldsymbol{q}_{t}]\in\mathbb{R}^{t\times n}\), where \(n\) is DoF of the manipulator.

This comprehensive formulation addresses the base placement problem and also enables simultaneous path planning. Primarily, these configurations must reach each target pose \(\boldsymbol{x}_i\), which leads to the following equality constraints:

\[\psi(\boldsymbol{q}^b, \boldsymbol{q}^m_{i}) = \boldsymbol{x}_i,\]

where \(\psi(\cdot)\) represents the forward kinematics function. Additionally, the solution must satisfy these inequality constraints:

  1. Base placement limits:

    \[{\boldsymbol{q}^b}^{m} \preccurlyeq \boldsymbol{q}^b \preccurlyeq {\boldsymbol{q}^b}^{M},\]

    where \({\boldsymbol{q}^b}^{m}\) and \({\boldsymbol{q}^b}^{M}\) define the lower and upper bounds.

  2. Joint limits:

    \[{\boldsymbol{q}^m}^{m} \preccurlyeq \boldsymbol{q}^m_i \preccurlyeq {\boldsymbol{q}^m}^{M},\]

    where \({\boldsymbol{q}^m}^m\) and \({\boldsymbol{q}^m}^M\) represent the lower and upper bounds.

  3. Collision-free configurations:

    \[\text{sd}(\boldsymbol{q}^b,\boldsymbol{q}^{m}_{i})\geq 0,\]

    where \(\text{sd}(\cdot)\) denotes the signed distance function.

Finally, the objective function could be very flexible and can be tailored to specific task requirements. It can be designed either as a feasibility test or to minimize the total path length:

\[f(\boldsymbol{q}^b,\boldsymbol{q}^{m}_{1:t}) = \sum_{i=1}^{t-1} \|\boldsymbol{q}^{m}_{i+1}-\boldsymbol{q}^{m}_{i}\|_1.\]

Two-Layer Optimization of B*

B* addresses the inherently non-convex base placement problem through a two-layer hierarchical optimization framework:

  1. Outer layer with progressive constraint tightening: The terminal optimization problem is temporarily reformulated into a more tractable form through systematic constraint relaxation, particularly the base mobility constraint.

    Specifically, we treat the fixed base as mobile, transforming the timestep-invariant base configuration \(\boldsymbol{q}^b\) into a time-varying sequence \(\boldsymbol{q}^b_{1:t}\), effectively introducing three additional DoFs per timestep.

    To ensure convergence to a fixed base configuration, we introduce a base movement penalty with an iteration-dependent coefficient \(\mu(j)\) that increases with outer loop iteration \(j\) The modified objective function \(f'(\boldsymbol{q}^b_{1:t},\boldsymbol{q}^{m}_{1:t};\mu(j))\) becomes:

    \[f'(\boldsymbol{q}^b_{1:t},\boldsymbol{q}^{m}_{1:t};\mu(j)) = f(\boldsymbol{q}^b_{1:t},\boldsymbol{q}^{m}_{1:t}) + \mu(j)\sum_{i=1}^{t}\|\boldsymbol{q}^{b}_{i}-\bar{\boldsymbol{q}}^{b}\|_1,\]

    where \(\bar{\boldsymbol{q}}^{b}\) is the arithmetic mean of base poses across all steps.

    Thereby, all constraints involving the fixed base \(\boldsymbol{q}^b\) must be reformulated for the relaxed problem. Each instance of \(\boldsymbol{q}^b\) in the original constraints is replaced with its time-indexed counterpart \(\boldsymbol{q}^b_i\) at the corresponding timestep \(i\). These constraints are subsequently transformed into penalty terms to accommodate potentially infeasible initial conditions, ensuring the algorithm can start from arbitrary initial states while maintaining numerical stability.

  2. Inner layer with sequential linearization: B* addresses the non-convexities of each outer-layer subproblem by sequential local linearization within trust regions.

    Given a non-convex function \(\phi(x)\), we construct its convex approximation \(\phi_c(x)\) through first-order Taylor expansion around the current point \(x_0\):

    \[\phi_c(x) = \phi(x_0) + \dot{\phi}(x_0)(x-x_0),\]

    where \(\dot{\phi}(x_0)\) represents the first-order derivative at \(x_0\). The trust region size adapts based on approximation quality—expanding when the approximation performs well and contracting when it poorly represents the original function.

The two-layer hierarchical optimization framework effectively transforms the original problem into a tractable sequential linear programming (SLP).

For a more detailed analysis and complete methodology, please refer to our paper.

Qualitative Results

Optimization Process of B*

Quantitative Results

We conducted extensive quantitative evaluations comparing B* against sampling-based approaches across different complexity levels \(l\), where each level (\(l=1,\ldots,6\)) corresponds to \(2^l\) via points on the path. The experiments were performed on four robot platforms equipped with 6- or 7-DoF manipulators, totaling 2,400 test cases. The followings are the results:

Success Rate
Success rate comparison between baseline methods using different numbers of inverse kinematics (IK) solutions (b-10, b-100, b-1000) and B* (B*). While baseline methods with more IK samples show higher success rates at low complexity levels, their performance deteriorates sharply as the complexity level \(l\) increases. With just 10 samples (b-10), the baseline struggles even at level 1, while 1000 samples (b-1000) maintain moderate success through level 2 before failing. In contrast, B* maintains 100% success rate across all complexity levels \(l\) (see Eq. (14) in the manuscript).
Solution Optimality
Solution optimality (absolute trajectory error (ATE)) (see Eq. (15) in the manuscript) comparison between baseline methods (b-10, b-100, b-1000; left axis) and B* (B*; right axis) across complexity levels. Baseline methods, even with increased inverse kinematics (IK) samples, achieve only millimeter-level precision due to sampling resolution limits. B* achieves five orders of magnitude better precision by operating in continuous configuration space. Box plots show error distributions: boxes indicate interquartile range (IQR), center lines represent medians, and whiskers extend to 1.5\(\times\)IQR beyond quartiles.
Run Time
Runtime comparison between baseline methods (b-10, b-100, b-1000) and B* (B*) across complexity levels. While baseline methods show increased runtime with higher inverse kinematics (IK) sample counts, B* demonstrates superior efficiency with linear scaling (fit shown: \(\log_{10}(\text{time}) = 0.376\log_2 l - 0.907\)). Box plots show runtime distributions with outliers above 100 s excluded for visualization clarity: boxes indicate interquartile range, center lines represent medians, and whiskers extend to 1.5\(\times\)IQR beyond quartiles.

Acknowledgment

We thank Dr. Chi Zhang (BIGAI), Yuyang Li (PKU), and Youqian Peng (PKU) for useful discussions. This work is supported in part by the National Science and Technology Major Project (2022ZD0114900), the National Natural Science Foundation of China (62376031), the Beijing Nova Program, the State Key Lab of General AI at Peking University, the PKU-BingJi Joint Laboratory for Artificial Intelligence, and the National Comprehensive Experimental Base for Governance of Intelligent Society, Wuhan East Lake High-Tech Development Zone.

BibTeX

@misc{zhao2025befficientoptimalbase,
      title={B*: Efficient and Optimal Base Placement for Fixed-Base Manipulators}, 
      author={Zihang Zhao and Leiyao Cui and Sirui Xie and Saiyao Zhang and Zhi Han and Lecheng Ruan and Yixin Zhu},
      year={2025},
      eprint={2504.12719},
      archivePrefix={arXiv},
      primaryClass={cs.RO},
      url={https://arxiv.org/abs/2504.12719}, 
}