Exploring PolicyIK: High-Precision I in Robot Kinematics
- Inverse Kinematics (IK) is a mapping from a desired end-effector pose to a set of joint configurations in a robot's arm. This involves forecasting compensations for drag and friction forces to optimize the robot’s movement.
- PolicyIK is a closed-loop pose regulation solution that repeatedly updates joint-position references, achieving mean final-second errors under 1 mm and 0.2° with precise torque distribution.
- It excels with real robots, showing 95.7% simulated pick-and-place success, while also noting that further adaptation mechanisms are needed at different physical constraints performing math computations.
PolicyIK is a goal-conditioned reinforcement-learning policy for high-precision inverse kinematics (IK) in robot arms. It treats IK as closed-loop pose regulation rather than as a one-time solution of : the policy repeatedly updates a joint-position reference from pose feedback while preserving the reference offset required by the physical execution controller. Its design combines accumulated reference updates, reference-state observation, two-scale pose-error features, error-dependent action gains, progress and dwell rewards, and goal-conditioned training. In simulation on a fixed-base 7-DoF OpenArm, PolicyIK achieves mean final-second errors within and on of held-out tasks in a single attempt and with a deployment protocol. It also improves reaching and holding success on physical robot experiments and executes the end-effector commands of a vision-language-action policy with simulated pick-and-place success (Liu et al., 3 Nov 2026).
1. Problem formulation and motivation
Inverse kinematics maps a desired end-effector pose to a joint configuration or joint motion. For a robot with joint state , forward kinematics is represented as
where is orientation and 0 is position. Given a target pose 1, conventional IK seeks a configuration 2 satisfying the target approximately, often through analytical solutions, Jacobian-based differential IK, damped least squares (DLS), constrained quadratic programming (QP), or model-predictive control (MPC).
The paper distinguishes numerical kinematic accuracy from physical execution accuracy. A position-controlled arm may not settle at the mathematically desired joint configuration because of gravity, finite controller gains, effort limits, joint constraints, and unmodeled dynamics. In an approximate static equilibrium for an uncompensated proportional controller,
3
where 4 is the commanded joint reference, 5 is the realized joint configuration, and 6 is the gravity torque. Consequently, the reference needed for accurate physical holding may differ from the nominal IK solution.
Redundancy and singularities further complicate the problem. Multiple joint configurations can realize the same end-effector pose, while near a singularity a small Cartesian correction can require a large joint displacement. Classical methods must balance precision, speed, joint-limit avoidance, damping, secondary objectives, and controller-specific tuning. PolicyIK instead learns a closed-loop mapping that incorporates the robot’s dynamics and the behavior of the downstream joint-position controller.
The evaluation uses position and orientation errors
7
and
8
The strict terminal criterion is
9
In simulation, success is determined by the mean errors over the final 0 control steps, corresponding to one second at a 1 Hz policy rate. A stronger containment metric requires every sample in that final window to remain within both tolerances.
2. Accumulated reference control
The defining architectural choice in PolicyIK is that the policy outputs increments to an accumulated joint-position reference rather than absolute joint targets or corrections directly relative to the measured joints. The reference evolves according to
2
where 3 is the policy action, 4 is the base action scale, and 5 is an error-dependent gain.
This design preserves steady-state command offsets. If the arm requires a gravity-compensation offset, the policy can accumulate that offset in 6. When the action approaches zero at the target, the accumulated reference remains unchanged instead of being re-anchored to the measured joint state. The result is intended to prevent the arm from sagging or drifting after reaching the desired pose.
The reference offset is explicitly observed:
7
This quantity provides information about the command state that would otherwise be hidden. Identical measured joints and target poses can produce different future dynamics depending on the currently accumulated reference. The paper therefore treats 8 as Markov-relevant.
The simulation observation has 9 dimensions and includes measured joint positions, joint velocities, target position, goal-relative keypoint errors, coarse and fine pose-error channels, running-best-error features, the reference offset 0, and the previous action. The hardware observation has 1 dimensions and includes analogous measured and target pose features.
Ablation results support the role of the accumulated reference. Full PolicyIK obtains 2 strict simulation success. Removing command-state feedback reduces success to 3, while re-anchoring the reference at the measured joints reduces strict success to 4, despite retaining 5 coarse success. This separation indicates that the reference mechanism primarily affects terminal precision and holding rather than coarse reaching.
3. Multiscale pose representation and adaptive gain
PolicyIK uses multiple pose-error representations to address the incompatible requirements of large-motion transport and millimeter-scale terminal regulation.
Keypoint pose representation
Three noncollinear offsets 6 attached to the end-effector produce point-position errors:
7
In simulation, the offsets are 8 m along the end-effector axes. These keypoints encode translation and orientation jointly without relying exclusively on a rotation parameterization.
Coarse and fine feedback
The policy also observes pose errors in the current end-effector frame at two scales:
9
The simulation scales are
0
and
1
The coarse representation supports large motions, whereas the fine representation expands the narrow terminal region in observation space. A 2 orientation residual occupies only a small fraction of the coarse 3 range but a substantial fraction of the fine 4 range.
Removing the fine channels increases median position error from 5 mm to 6 mm and reduces strict success. Without fine feedback, the policy can still reach the general vicinity of the target but loses sensitivity to the residuals that determine high-precision success.
Error-dependent action gain
A fixed action scale creates a speed–precision trade-off. Large actions accelerate distant motions but produce excessive terminal corrections; small actions improve resolution but make large movements slow. PolicyIK uses
7
where
8
The gain remains near one when either position or orientation error is large and decreases toward 9 near the target. Simulation parameters include 0, 1, 2, and 3.
Removing error-dependent scaling raises median entry time from 4 s to 5 s and lowers strict success. The results indicate that adaptive scaling complements fine feedback: fine features make small errors observable, while gain reduction makes those errors controllable.
4. Reward design and training
PolicyIK is trained as a goal-conditioned reinforcement-learning policy. Its reward combines tracking, progress, dwell, motion regularization, and joint-limit terms:
6
A tolerance-normalized error is defined as
7
The strict success region is 8. The running best error is
9
The progress reward combines improvement in the running best, potential-based shaping, and a backslide penalty. The improvement term pays only when the policy achieves a new best normalized error, reducing incentives for oscillatory behavior that repeatedly revisits the same accuracy.
The dwell reward is
0
Episodes do not terminate immediately upon first success. Instead, the policy receives reward for every step it remains within tolerance. Without the dwell reward, 1 of tasks that enter the tolerance subsequently leave it during the final window; with the full method, the corresponding rate is 2.
Motion regularization penalizes action changes and joint velocity:
3
A separate term penalizes proximity to joint limits during the approach. This penalty is mainly active outside the terminal region, allowing the policy to use configurations near limits when necessary for final precision while discouraging premature saturation.
Simulation training
Simulation uses PPO with generalized advantage estimation in 4 parallel environments. Physics runs at 5 Hz and the policy at 6 Hz. The joint-position controller has stiffness 7, damping 8, finite effort limits, and 9 solver position iterations.
The reported training configuration includes:
- 0 epochs;
- approximately 1 transitions;
- two-layer actor and critic networks with 2 units and ELU activations;
- 3;
- GAE 4;
- PPO clip ratio 5;
- entropy coefficient 6;
- value coefficient 7;
- initial adaptive learning rate 8.
Training uses 9 sampled joint configurations. After collision and contact filtering, 0 configurations are used for starts and 1 for goals. The held-out evaluation set contains 2 disjoint start–goal pairs.
Physical training
Direct physical training uses FlashSAC, an off-policy SAC variant with hindsight experience replay. The reported configuration uses 3 online transitions, batch size 4, 5, target update rate 6, learning rate 7, 8 Hz control, and 9-dimensional observations.
The hardware replay distribution combines demonstrations and online experience. Reverse curriculum learning begins with near-goal starts so that the policy first learns terminal correction and holding, after which the start range expands. A separate far-task pool includes rotations of 0–1 and joint-space distances of at least 2 rad. Hindsight relabeling includes the commanded goal, future achieved poses, and current achieved poses, with perturbations of 3 mm and 4 in a subset of terminal examples.
The hardware critic uses latent alignment: state-action and goal encoders produce representations whose elementwise squared difference is supplied to the critic. This is intended to represent temporal difficulty, including cases where a large joint-space detour is required even though instantaneous pose error is small.
5. Experimental results
Simulation
The primary simulation platform is a fixed-base 7-DoF OpenArm. PolicyIK is compared with UMI-RL, DLS, resolved-rate QP, and kinematic MPC.
| Controller | Strict success | Coarse success | Median position error | Median orientation error |
|---|---|---|---|---|
| UMI-RL | 5 | 6 | 7 mm | 8 |
| DLS | 9 | 00 | 01 mm | 02 |
| QP | 03 | 04 | 05 mm | 06 |
| MPC | 07 | 08 | 09 mm | 10 |
| PolicyIK | 11 | 12 | 13 mm | 14 |
| PolicyIK with deployment | 15 | 16 | 17 mm | 18 |
PolicyIK remains within both thresholds at every sample of the final second on 19 of tasks. On successful tasks, median net end-effector motion during that final second is 20 and 21.
Classical controllers fail disproportionately near joint limits. Such cases account for 22–23 of their strict failures. PolicyIK achieves approximately 24 strict success on the corresponding difficult subset.
Deployment protocol
A failed attempt can be retried. If the final error is within 25 cm, the system corrects the goal using the negative residual position and inverse residual rotation. More distant failures receive up to eight attempts with a transient goal consisting of a random 26-m positional displacement and a 27 random-axis rotation for the first 28 steps, followed by the original target.
Checkpoint averaging improves single-attempt strict success from 29 to 30. Error-corrected goals raise it to 31, and transient-goal retries raise it to 32, with an average of 33 attempts per task. Remaining failures cluster near joint limits: the worst goal joint is a median 34 of its range from a limit, compared with 35 for first-attempt successes.
Physical OpenArm
PolicyIK is trained directly on a physical 7-DoF OpenArm. At a 36-second budget, the task requires reaching and holding within 37 mm and 38 for the final five seconds.
| Controller | Reached | Held for final 39 s | Median position error | Median orientation error |
|---|---|---|---|---|
| DLS | 40 | 41 | 42 mm | 43 |
| Resolved-rate QP | 44 | 45 | 46 mm | 47 |
| Kinematic MPC | 48 | 49 | 50 mm | 51 |
| Adapted OpenArm QP | 52 | 53 | 54 mm | 55 |
| PolicyIK | 56 | 57 | 58 mm | 59 |
PolicyIK reaches 60 of tasks and holds 61, whereas the classical controllers hold at most 62. At a 63-second budget, PolicyIK reaches 64 tasks and holds for five seconds on 65.
The main advantage is sustained regulation. Classical controllers may reach the target but continue correcting around it or drift outside the narrow tolerance. Accumulated references allow PolicyIK to maintain the learned steady-state command once correction is no longer required.
Cross-embodiment xArm7 evaluation
On an xArm7, both simulation-trained and hardware-trained PolicyIK achieve 66 successes for standard reaching and large rotations. For large rotations, DLS, QP, and MPC achieve 67, while the xArm built-in IK achieves 68.
The reported large-rotation median errors are:
- simulation-trained PolicyIK: 69 mm and 70;
- hardware-trained PolicyIK: 71 mm and 72.
These results support transfer of the formulation and control interface, which require joint state, forward kinematics, pose goals, and a joint-position execution layer. They do not establish that a single network transfers without embodiment-specific training or adaptation.
VLA execution
PolicyIK is evaluated as the low-level executor for the 73 VLA policy in ten adapted LIBERO-Object pick-and-place tasks. The VLA emits relative end-effector commands at 74 Hz, while PolicyIK executes pose commands at 75 Hz.
Reported success rates are:
- default DLS: 76;
- hand-tuned DLS: 77;
- hand-tuned QP: 78;
- PolicyIK: 79.
Near the robot mount, where a shoulder joint approaches its limit, PolicyIK achieves 80, compared with 81 for default DLS and 82 for hand-tuned QP. The evaluation suggests that PolicyIK can preserve a common Cartesian action interface for a high-level VLA policy while absorbing embodiment-specific feasibility and execution effects at the low level.
6. Limitations and significance
PolicyIK is a learned closed-loop IK controller, not a general motion planner. It does not itself provide global collision-free planning, obstacle avoidance, contact planning, or task-level sequencing. It requires a working forward-kinematics model, joint-state feedback, a pose goal, and a joint-position execution layer.
Performance remains sensitive to reachability and joint limits. The deployment protocol improves difficult cases but does not eliminate failures near configurations where the required reference offset lies beyond a joint limit. Physical training also requires 83 online transitions, demonstrations, resets, and replay engineering. External contacts, encoder bias, tool deformation, perception errors, and substantial model mismatch are not fully evaluated.
The approach is not a universal embodiment-independent policy. Experiments on OpenArm and xArm7 support reuse of the formulation and interface, but separate training or adaptation is still employed. The policy also depends on the quality of the fixed-gain joint controller and on the representation of pose feedback.
The principal contribution is architectural: PolicyIK combines learned inverse mapping with learned execution compensation. Its key design elements are:
- Accumulated joint references, which preserve gravity- and controller-dependent offsets.
- Reference-minus-measured-joint observation, which exposes command-state information.
- Coarse and fine pose feedback, which jointly support large movements and millimeter-scale regulation.
- Error-dependent action gains, which provide high terminal resolution without sacrificing transport speed.
- Progress and dwell rewards, which separately encourage reaching and sustained containment.
- Dynamics-aware reinforcement learning, which incorporates physical execution effects rather than treating IK as purely geometric.
- Goal-conditioned and hierarchical training procedures, including PPO in simulation, FlashSAC and hindsight experience replay on hardware, reverse curricula, and far-task sampling.
Within the reported evaluation, these mechanisms yield substantially higher high-precision success than DLS, QP, and MPC under strict terminal and holding criteria. The paper’s broader implication is that reinforcement learning can learn not only a mapping from Cartesian poses to joint configurations, but also the reference offsets, residual corrections, and closed-loop holding behavior required to execute those poses accurately on real robot arms (Liu et al., 3 Nov 2026).