FWIK: Multi-Waypoint IK Selection via Lookahead Graph Search

Jinglan Cao, Guohui Zhong, Chengwei ZhangarXiv 2026

Choosing the right joint configuration for a robot arm is a bit like playing chess: a move that looks great right now might leave you backed into a corner three turns later. In robotics, this is the "Inverse Kinematics (IK) selection" problem. For redundant manipulators (like 7-DoF arms), there are infinitely many ways to reach a single target pose. Picking the "wrong" one can lead to joint limits, self-collisions, or awkward, time-consuming reconfigurations later in a task.

A new paper, "FWIK: Multi-Waypoint IK Selection via Lookahead Graph Search," introduces a receding-horizon approach to solve this. By looking just a few steps ahead, the authors demonstrate that robots can plan smoother, faster, and more reliable paths for complex multi-waypoint tasks.

TL;DR

FWIK (Future-Window Inverse Kinematics) is an online IK selector that uses a small lookahead window to choose joint configurations that optimize for long-term connectivity and motion efficiency. By combining graph search with a learned self-collision filter, it reduces planned motion time by up to 37% and significantly improves task completion rates compared to standard "greedy" IK solvers.

What Problem Does This Paper Address?

Most standard IK solvers are "pointwise"—they look at one target pose at a time. While efficient, this greedy approach is blind to the future. A robot might pick a configuration for Waypoint A that makes Waypoint B physically impossible to reach without a massive, slow detour.

Existing solutions usually fall into two camps:

  1. Pointwise Solvers (e.g., TRAC-IK): Fast but prone to "dead ends" in joint space.
  2. Global/Offline Solvers (e.g., STAMPEDE): Optimize the entire path at once, which is computationally expensive and doesn't work well if the task changes on the fly.

FWIK targets the middle ground: an online system that uses a small "future window" to make informed local decisions that benefit the entire sequence.

Comparison of FWIK and TRAC-IK over a sequence. FWIK reaches subsequent waypoints faster by choosing better intermediate configurations.

Methods

The FWIK pipeline operates in four distinct stages at every execution step:

  1. Candidate Generation: For every waypoint in a small future window (default $w=3$), FWIK generates up to 50 diverse IK candidates. These are organized into a layered graph.
  2. Path Ranking: It uses a lightweight synchronized trapezoidal joint-motion model to estimate the time required to transition between nodes in the graph. It then ranks paths through the window based on total estimated time.
  3. Edge-Level Collision Screening: Before sending goals to a heavy-duty motion planner, FWIK uses a learned Transformer-based classifier to predict the probability of self-collision for the transitions. This acts as a fast "pre-filter" to prune risky paths.
  4. Validation & Execution: The top-ranked, collision-free "next" goal is sent to a standard motion planner (like MoveIt 2) for final geometric validation. Once validated, the robot moves to that waypoint, the window slides forward, and the process repeats.
Overview of the FWIK decision pipeline, showing the layered graph and the collision risk screening.

Datasets

  • Collision Training: The authors trained their self-collision classifier on 1 million independently sampled endpoint pairs for the Franka Panda robot. Labels were generated using the Pilz Industrial Motion Planner to check for valid, collision-free transitions.
  • Evaluation Benchmark: The system was tested on 100 sequences of 50 waypoints each across two different 7-DoF robots: the Franka Emika Panda and the KUKA LBR iiwa.

Key Insights and Ideas

  • The Power of a Small Window: You don't need to see the whole path to avoid failure. A lookahead of just 3 waypoints was enough to achieve near-perfect success rates, even on the asymmetric Panda arm which is notoriously prone to self-collision detours.
  • Transitions Matter More Than States: Traditional collision checking often focuses on whether a state is valid. FWIK emphasizes edge-level screening—checking if the movement between two states is likely to fail.
  • Receding Horizon for Flexibility: By re-solving the window at every step, FWIK remains an online method. It can adapt if new waypoints are added or if the environment changes, unlike offline global optimizers.

Key Results

FWIK was compared against TRAC-IK (with retries), IKLink, and STAMPEDE across four different motion planners (Pilz, RRT-Connect, CHOMP, and STOMP).

  • Reliability: On the Franka Panda, FWIK completed 96.8–100% of sequences, whereas baseline methods often failed, sometimes completing less than 25% of the tasks.
  • Efficiency: FWIK produced the shortest planned trajectories in all eight robot-planner settings. It was 12.8–13.1% faster than STAMPEDE and 27.5–37.2% faster than retry-based TRAC-IK.
  • Decision Speed: While slower than a single IK call, FWIK averaged 29–37 ms per waypoint, making it well-suited for real-time applications where motion efficiency is prioritized over sub-millisecond latency.
Table showing the performance of FWIK against other methods across different planners and robots.

Limitations and Future Work

  • Obstacle-Free Scenes: The current evaluation was performed in obstacle-free environments. Future work needs to integrate environmental collision checking into the lookahead window.
  • Robot-Specific Models: The self-collision classifier is currently trained per robot. Developing a more generalized or transferrable model would be a significant step forward.
  • Uncertainty: The model assumes waypoints are known exactly. The authors suggest that future versions could incorporate pose uncertainty by weighting graph layers based on prediction confidence.

Paper Citation: Jinglan Cao, Guohui Zhong, and Chengwei Zhang. "FWIK: Multi-Waypoint IK Selection via Lookahead Graph Search." arXiv:2611.05897v1 [cs.RO] 4 Nov 2026.

Summary updated

Abstract

An ordered sequence of end-effector poses can give a redundant robot arm multiple valid joint configurations at each waypoint. Inverse kinematics (IK) computes these configurations. Choosing a configuration only for the next waypoint can leave the arm poorly placed for later waypoints. This may increase planned motion time or cause a later planning failure. This paper presents Future-Window Inverse Kinematics (FWIK), an online method that selects IK solutions by considering a small window of future waypoints. FWIK generates several IK candidates, connects them in a layered joint-space graph, and ranks candidate paths with a simple motion-time estimate. A learned model removes paths whose transitions are likely to cause self-collision. A standard MoveIt 2 planner then checks the next-waypoint IK goals from the remaining paths in ranked order, and the first goal that yields a valid trajectory is selected for execution. We evaluate FWIK in simulation on two 7-DoF manipulators, the Franka Emika Panda and the KUKA LBR iiwa. Each method-planner setting contains five repetitions of 100 sequences with 50 waypoints. Across Pilz, RRT-Connect, CHOMP, and STOMP, FWIK completes 96.8-100% of sequences and gives the shortest planned trajectory duration in all eight robot-planner settings. Its mean duration is 12.8-13.1% lower than STAMPEDE, 22.5-25.6% lower than IKLink, and 27.5-37.2% lower than retry-based TRAC-IK. The results show that a small future window can improve sequence completion and reduce planned motion time while leaving final trajectory validation to the motion planner.
BibTeX
@misc{cao2026fwik,
  author = {Jinglan Cao and Guohui Zhong and Chengwei Zhang},
  title = {{FWIK: Multi-Waypoint IK Selection via Lookahead Graph Search}},
  year = {2026},
  eprint = {2611.05897},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.05897},
}
Figure