Research
Generalized Inverse Kinematics via Conditional Flow
Inverse kinematics maps desired end-effector poses (e.g., "put the hand here") to joint configurations, but redundant robots admit many solutions, and planners need many valid solutions rather than…

- arXiv
- 2611.15565 · Preprint · not peer-reviewed
- Published
- 2026-11-11
- Authors
- Kaitlyn Zhang, Tomás Lozano-Pérez, Leslie Pack Kaelbling
In plain words
Inverse kinematics maps desired end-effector poses (e.g., "put the hand here") to joint configurations, but redundant robots admit many solutions, and planners need many valid solutions rather than one — accounting for collisions, stability, camera visibility, and future reachability.
AI summary
Overview
Research area: Robotics — inverse kinematics (IK), whole-body motion generation for mobile manipulators, and generative modeling (conditional flow matching).
Technical level: Advanced. The paper assumes familiarity with flow matching/diffusion models, Transformer architectures, SE(3) kinematics, and numerical IK solvers such as cuRobo and Drake.
Scope: The paper introduces GenGenIK, a single masked conditional flow-matching model that generates distributions of whole-body robot configurations and trajectories satisfying multiple end-effector targets, scene geometry, and behavioral preferences, evaluated on scene-free, scene-conditioned, and pathwise IK benchmarks against cuRobo, IKDiffuser (IKD), and gradient-descent (GD) baselines.
What This Paper Is About
Inverse kinematics maps desired end-effector poses (e.g., "put the hand here") to joint configurations, but redundant robots admit many solutions, and planners need many valid solutions rather than one — accounting for collisions, stability, camera visibility, and future reachability. Classical numerical solvers return single solutions and are slow when many distinct samples are needed, while existing learned IK methods mostly handle a single target in free space.
The goal is a unified generative model that samples diverse, feasible whole-body configurations for mobile bases with multiple end-effectors, conditioned on scene geometry, for point targets as well as multi-target paths, while respecting user-specified preferences.
Key Contributions
- Generalized IK as conditional C-space completion. A single formulation covering point IK, multi-target (path) IK, multi-end-effector IK, mobile bases, warm starts, and partial configuration or trajectory infill — all expressed through Boolean masks over targets and configuration variables.
- Scene-conditioned generation. The generative distribution is conditioned directly on scene geometry (a 4096-point labeled cloud encoded into 32 scene tokens), concentrating samples in collision-free regions instead of proposing scene-agnostic solutions and filtering or optimizing afterwards.
- Realization under constraints and preferences. Three mechanisms: auxiliary training losses (e.g., a field-of-view hinge loss for keeping a target in the camera's view, an S¹ unit-norm regularizer for revolute joints and base heading), guided sampling with constraint-preserving gradients for differentiable objectives (manipulability, static stability, behavior requests), and preference conditioning via request tokens for non-differentiable requests such as torso use or arm posture.
- Efficient few-step and one-step inference. A nonuniform Euler sampling schedule, optional redraw on forward-kinematics error, a Levenberg-Marquardt refiner, and reflow distillation into a 1-NFE student, plus sampler-aware fine-tuning that differentiates through the rollout with task-space and signed-distance-field collision penalties.
Main Findings
- Scene-free point IK accuracy: On FR3 (1 end-effector, 7 DoF) GenGenIK reports 4.73 ± 0.275 mm position error, 0.78 ± 0.057 deg rotation error, 0.52% self-collision, 4.1 NFE, and 98.50% convergence, versus IKDiffuser's 4.90 ± 0.284 mm, 1.05 ± 0.062 deg, 0.49%, 5 NFE, and 98.47%.
- Larger, more redundant robots improve most: On LEAP (4 end-effectors, 22 DoF, 6DoF base) convergence rises from 80.95% (IKDiffuser) to 95.81% with 2.4 NFE, and self-collision drops from 2.85% to 1.18%. On G1 (4, 29 DoF) self-collision falls from 6.35% to 1.97% and convergence rises to 98.30%. On R1Pro (2, 18 DoF, fixed base) GenGenIK reports 2.73 ± 0.242 mm position error and 99.97% convergence at 9.2 NFE versus GD's 5.29 ± 0.386 mm at 100 NFE.
- Distributional fidelity: Following IKFlow's MMD evaluation against TRAC-IK, GenGenIK obtains 0.0302 on FR3, comparable to IKFlow's reported 0.0306 on Panda (different robot, as reported).
- Scene awareness is used, not ignored: On 1024 grasp problems from 252 held-out iTHOR and ProcTHOR scenes, the full-scene model reaches 80.9% S@1, 98.2% S@8, and 84.7% world-collision-free@1 with TTFV@6 of 66.4 ms (batch 1) / 5.6 ms (batch 32). Feeding the wrong scene cloud drops S@1 to 20.7%, no scene to 16.7%, and a scene-blind model achieves 14.6% — evidence that the model relies on geometry rather than memorized priors.
- Strong against cuRobo on scene-aware point IK: cuRobo with full cuboid scenes reaches 29.0% S@1 / 58.1% S@8 / 59.9% WF@1 at 217 ms TTFV (batch 1); GenGenIK reaches 80.9% / 98.2% / 84.7% at 66.4 ms. Seeding cuRobo with GenGenIK samples ("Ours (raw) + cuRobo") gives the best S@1 at 90.6% and WF@1 at 95.4%, but is slower (173 ms batch 1, 92.2 ms batch 32).
- Partial observability degrades gracefully: From a single pre-move depth image, the full-cloud-trained model achieves 53.3% S@1 (versus 80.9% with full scenes), and the partial-cloud-trained model reaches 61.4% S@1 / 90.1% S@8, compared with 12.0% / 52.1% for cuRobo on 2.5 cm voxels.
- Path IK success rates: On RB-Y1 with 150 problems per task family and 32 draws, GenGenIK versus cuRobo: door/drawer 100.0% vs 89.3% (TTFV 22.7 ms vs 170.5 ms), pushing 98.7% vs 92.0% (20.2 ms vs 167.3 ms), bimanual lift 92.7% vs 42.7% (36.1 ms vs 940.0 ms), flip-up 98.0% vs 22.0% (31.2 ms vs 1067.2 ms), under-table pickup 93.3% vs 60.7% (23.2 ms vs 575.9 ms).
- Path conditioning produces extendable starts: A valid first configuration is "extendable" if a fixed-base cuRobo continuation passes full-path validity. GenGenIK conditioned on the full path yields 58.2% extendable starts on average versus 24.3% for cuRobo given only the first target, improving every task (e.g., drawer 87.0% vs 47.4%, flip-up 29.1% vs 5.4%).
- One model, many task families: The unified model performs within 2.2 percentage points of task-specific specialists. Holding out entire families from training, pushing remains at 97.3% (specialist: 98.7%) and flip-up transfers to 76.7% (specialist: 98.0%), but held-out under-table pickup falls to 0% — no extrapolation to qualitatively new scene interactions.
- Speed-accuracy trade-off is tunable: The 1-NFE reflow student reaches 71.2% S@1 / 96.8% S@8 / 75.6% WF@1 with TTFV 12.1 ms (batch 1) and 2.4 ms (batch 32), versus 80.9% / 98.2% / 84.7% for the 32-NFE model.
- Preference conditioning: The paper states that preference conditioning shifts the sampled distribution toward requested regions without rejection sampling or retraining, but the quantitative preference results appear in Fig. 3, which is not included in the provided content; specific numbers for that experiment are not reported in the text supplied.
- Caveat on timing: Because unsuccessful queries are capped at six rounds, TTFV can reflect fast failure as well as fast success, and the authors state it should be read alongside success rates.
Methodology in Plain English
The authors treat IK as a fill-in-the-blank problem. A robot's whole-body state — base pose plus joint angles for each of L targets along a path — is written as one flat vector. Boolean masks mark which end-effector targets must be hit and which state coordinates the model must invent; everything unmasked is handed to the model as known input. Turning masks on and off recovers point IK (L = 1), path IK (L > 1), multi-arm IK (several targets active at once), and partial infill or warm starts. Because the mask is just another input, one Transformer handles all of these without architectural changes.
Training data comes from procedurally generated problems. For scene-free point IK, configurations are sampled uniformly and targets computed by forward kinematics. Otherwise, scenes and tasks are sampled and cuRobo produces candidate solutions, each independently certified with Drake mesh collision checking. For paths, IK is solved at the first target over all base and joint variables, then the base is frozen for later targets — teaching the model base placements from which the whole task is completable without repositioning. A mask policy randomizes which variables are given versus predicted, matching inference-time conditioning patterns. Preferences are taught by hindsight relabeling: each stored solution is paired with random requests it already satisfies.
The generative machinery is conditional flow matching. Gaussian noise is linearly interpolated toward a data solution (with fixed coordinates held constant along the path), and a network predicts a velocity field that transports noise to solutions. Instead of predicting velocities directly, the network predicts a bounded endpoint — passed through a soft saturation function with a safety margin so joint limits are respected by construction — and the velocity is derived from that endpoint analytically. A small number of Euler steps with a nonuniform schedule (more steps near the end, where fine task-space error is resolved) produces a sample. Optional tricks improve it: a redraw when forward-kinematics error exceeds a threshold, gradient guidance on energies like manipulability or stability (projected into the constraint tangent space so guidance does not break IK accuracy), and a Levenberg-Marquardt refiner.
The architecture is an encoder-decoder Transformer with roughly 12M or 45M parameters. Condition tokens encode (target, end-effector) pairs, appended scene tokens from a PointNet++-style encoder, and preference request tokens; the decoder holds one base token plus one joint token per prediction target and receives forward-kinematics residuals as feedback. Non-differentiable requests such as "elbow up" enter as tokens rather than gradients.
Why This Matters
Impact on research. The paper reframes IK from "find one solution" to "sample the feasible set," and shows that a masked, scene-conditioned generative model can subsume point IK, path IK, multi-arm IK, and warm-start infill under one interface. The scene-conditioning ablation (correct cloud vs. shuffled cloud vs. no cloud) is a clean methodological demonstration that a generative sampler can be genuinely geometry-aware, and the extendability experiment shows that conditioning on the whole path — rather than the first target — materially changes which solutions get proposed, which is a planning-relevant insight independent of the specific model.
Real-world applications:
- Mobile manipulation in cluttered homes and kitchens, where the base must be placed once and the whole task completed without repositioning (door opening, drawer pulling, bimanual lift and flip-up, under-table pickup).
- Robot deployment from a single pre-move depth image, where the scene is only partially observed and a full map is unavailable.
- Grasp and reach candidate generation for warehouse or lab automation, where throughput depends on producing many diverse, collision-free seeds quickly.
- Humanoid and dual-arm platforms with many redundant degrees of freedom, where rejecting samples on collisions and stability is impractical.
Industry relevance. Sample latency numbers matter commercially: bimanual lift at 36.1 ms TTFV versus 940.0 ms, and flip-up at 31.2 ms versus 1067.2 ms, are the difference between a planner that can query IK inside its loop and one that cannot. The ability to warm-start a certified numerical solver with learned samples (90.6% S@1 at 95.4% collision-free when cuRobo refines GenGenIK outputs) is an attractive hybrid deployment pattern. The explicit failure case — 0% on a held-out task family requiring reaching into a confined volume — is equally important for anyone planning to rely on such models out of distribution.
Future Directions
- Out-of-distribution generalization. Held-out under-table pickup falls to 0%, and flip-up transfers only partially (76.7% vs 98.0%), so extending transfer to qualitatively new scene interactions — training-free or with minimal adaptation — is the clearest open problem.
- Better partial-observability handling. Full-scene-trained models drop from 80.9% to 53.3% S@1 on single-depth-image observations; closing that gap (or actively choosing viewpoints) is an obvious next step.
- Faster and more accurate sampling simultaneously. The 1-NFE student trades accuracy for speed (71.2% vs 80.9% S@1); improving one-step or few-step distillation without this regression is a natural target.
- Richer preferences and closed-loop integration. Quantitative evaluation of preference conditioning (Fig. 3 results are not in the supplied text), and integration of the sampler into full task-and-motion planners that consume the whole distribution rather than one sample, remain to be explored.
Target Audience
Robotics researchers and graduate students working on manipulation, mobile manipulation, whole-body control, and learning-based motion generation; practitioners building planning stacks for redundant or dual-arm platforms who need fast, diverse, collision-free IK seeds; and generative-modeling researchers interested in constrained sampling, guidance, and distillation applied to a physically grounded problem. Readers should be comfortable with flow matching, Transformers, and standard IK formulations, though the problem framing and experimental comparisons are accessible to anyone with a robotics background.
Authors’ abstract
Inverse kinematics (IK) is a foundational primitive in robotics, mapping the task-space objectives expressed by higher-level planners to robot configurations that realize them. Traditional IK methods generally treat each query as an isolated pose-to-configuration problem, but planners often need a distribution over valid realizations that accounts for future reachability and preferences such as collision avoidance and stability. We introduce GenGenIK, a generative modeling…
The full abstract on arXivRelated papers
- Visibility-Aware Task and Motion Planning with Task-Centric Perception 2026-11-12 · cs.RO · Also by Leslie Pack Kaelbling, Tomás Lozano-Pérez
- Energy-Based Policy Orchestration 2026-11-02 · cs.RO · Also by Leslie Pack Kaelbling, Tomás Lozano-Pérez
- FEIJOA: Task-Driven Grounding and Execution for Mobile Manipulation 2026-11-02 · cs.RO · Also by Leslie Pack Kaelbling, Tomás Lozano-Pérez
- RAPID: Robot Agentic Programming from Demonstrations 2026-09-24 · cs.RO · Also by Leslie Pack Kaelbling, Tomás Lozano-Pérez
- Explicitly capturing demonstrator multi-modality for distillation into diffusion policies 2026-11-07 · cs.RO · Also by Leslie Pack Kaelbling