LLM-IK: Solving Inverse Kinematics Using Large Language Models
Open Access
- 9 February 2026
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Robotics and Automation Letters
- Vol. 11 (3) , 3740-3747
Abstract
Inverse Kinematics (IK) is an integral part of robot manipulation. IK can be challenging to solve, and many computer-aided approaches have been proposed but each has its limitations. The emergence of Large Language Models (LLMs) has seen them applied to solving complex tasks including mathematical problems. This work proposes “LLM-IK” to utilize LLMs to solve IK problems. Relevant serial manipulator information is extracted from descriptor files, prompt engineered, and then provided to the LLMs with methods and feedback to interact with and learn about the kinematic chain. Multiple methods of breaking down kinematic chains into distinct sub-problems are implemented allowing for incremental problem solving. Experiments showed LLM-IK solves up to six Degrees-of-Freedom (DOF) and outperforms IKFast, TRAC-IK, and IKPy in both accuracy and solving time, highlighting this methodology can produce highly efficient and human-readable solutions.Keywords
Funding Information
- Vector Scholarship in Artificial Intelligence
- Vector Institute
- Government of Canada’s New Frontiers in Research Fund (NFRFE-2024-00994)
This publication has 13 references indexed in Scilit:
- Large language models for robotics: Opportunities, challenges, and perspectivesJournal of Automation and Intelligence, 2025
- Inverse Kinematics for Neuro-Robotic Grasping with Humanoid Embodied Agents2024
- LLM 3 : Large Language Model-based Task and Motion Planning with Motion Failure Reasoning2024
- Numerical method for inverse kinematics using an extended angle-axis vector to avoid deadlock caused by joint limits*Advanced Robotics, 2021
- dm_control: Software and tasks for continuous controlSoftware Impacts, 2020
- Cost Functions to Specify Full-Body Motion and Multi-Goal Manipulation Tasks2018
- TRAC-IK: An open-source library for improved solving of generic inverse kinematics2015
- MuJoCo: A physics engine for model-based control2012
- Inverse Kinematics – Cyclic Coordinate Descent (CCD)Journal of Graphics Tools, 2012
- Updating quasi-Newton matrices with limited storageMathematics of Computation, 1980