Skip to Content
ElectronicsElectronics
  • Article
  • Open Access

13 July 2026

36 Pages

Explainable Graph Neural Networks Towards Data-Driven Inverse Kinematics in Industrial Robot Motion Planning

,
and
1
Institute of Information Technology, University of Miskolc, 3515 Miskolc, Hungary
2
Institute of Automation and Info-Communication, University of Miskolc, 3515 Miskolc, Hungary
*
Author to whom correspondence should be addressed.

Abstract

Inverse kinematics (IK) is fundamental to robot motion planning. Classical analytical solvers require complete Denavit–Hartenberg (DH) parameters that are often proprietary or degraded by mechanical wear, and numerical solvers based on damped least squares (DLS) are sensitive to initialization, particularly near singularities. We propose XGNN, an explainable graph neural network positioned as a model-free, interpretable warm-start initializer for downstream numerical IK refinement rather than as a standalone replacement for analytical solvers. Each IK query is encoded as a 12-node graph in which six pose nodes and six joint nodes are connected through bipartite pose-to-joint attention edges and chain edges along the kinematic structure. GATv2 message passing aggregates information at each joint node; two ablation-validated design contributions (a learnable node-type embedding and an angle-aware composite loss) enable training to convergence. Evaluated on 300,000 trajectory-style samples generated from the ABB IRB 2400 kinematic model, XGNN achieves 3.66 ∘ joint mean absolute error (MAE), comparable to a multilayer perceptron baseline ( 3.09 ∘ ) and a bidirectional LSTM ( 3.14 ∘ ) under identical training. The standalone joint accuracy of all learned models is too coarse for direct industrial use, but XGNN provides the strongest warm start for DLS refinement: the convergence rate improves from 98.4 % to 100 % , mean iterations drop from 14.6 to 3.2, and wall-clock time per pose drops 5.0 × on the IRB 2400. The benefit transfers cross-platform to the Universal Robots UR5 collaborative manipulator (convergence rate 82.2 % to 100 % , 10.0 × speedup) and survives DH parameter perturbation of up to ± 10 % , simulating calibration drift or mechanical wear. The GATv2 attention coefficients additionally provide an interpretability signal at zero inference cost. XGNN therefore complements analytical and numerical IK methods as an interpretable, calibration-robust warm start when DH parameters are unavailable, proprietary, or degraded.

1. Introduction

Inverse kinematics (IK) is a fundamental problem in robotics: given a desired end-effector pose in task space, compute the joint configuration in configuration space that achieves it. The problem has been central to robot motion planning since the earliest manipulator systems [1] and remains critical to modern industrial applications including welding, assembly, pick-and-place, and collaborative manufacturing [2]. The accuracy, speed, and reliability of IK solutions directly determine cycle times, positioning precision, and safety margins in production environments. Despite six decades of research, no single approach simultaneously achieves microsecond computational latency, sub-millimeter accuracy across the workspace, robustness to calibration uncertainty, and interpretability of the learned or computed mapping. Practical IK pipelines increasingly combine multiple methods to balance these objectives.

1.1. Limitations of Classical Approaches

Analytical IK methods derive closed-form solutions through geometric decomposition and algebraic manipulation of the kinematic equations [3,4]. When available, these solutions are exact and execute in microseconds. However, they impose strict requirements: the kinematic structure must admit a closed-form solution (typically requiring spherical wrists or specific geometric simplifications), and complete Denavit–Hartenberg (DH) parameters must be known. For many industrial robots, DH parameters are proprietary, measured values drift due to mechanical wear, and joint compliance or flexible links introduce unmodeled dynamics [5]. Moreover, analytical solutions are unavailable for kinematically redundant manipulators with more than six degrees of freedom, where the joint configuration is underdetermined by the end-effector pose alone.
Numerical methods based on Jacobian pseudoinverse iteration [6,7] generalize to arbitrary manipulator structures but suffer from convergence failures near singularities, sensitivity to initialization, and computational cost that scales poorly with required precision [8]. Damped least squares (DLS) and its variants improve numerical stability near singularities at the cost of solution accuracy in well-conditioned regions, and they still require accurate forward kinematics models and introduce hyperparameter tuning [9]. Recent surveys confirm that these fundamental limitations persist in contemporary implementations [10]. Critically, the convergence behavior of numerical solvers depends strongly on the initial joint configuration: a poor seed near a singularity can cause the solver to oscillate, diverge, or require many iterations to converge. This sensitivity to initialization motivates the search for fast, accurate, model-free initial guesses that can be combined with numerical refinement.

1.2. Promise and Limitations of Neural IK

Data-driven learning offers a compelling alternative: fit the inverse mapping directly from recorded pose–joint pairs, bypassing geometric modeling entirely [11]. Multilayer perceptrons (MLPs) were applied to IK as early as 1989 [12], and subsequent work has explored convolutional networks for spatial feature extraction [5], recurrent networks for temporal trajectory smoothing [13,14], and specialized architectures for multi-solution prediction [15]. Systematic comparisons across network families confirm that deep learning achieves competitive or superior accuracy to classical numerical methods on held-out test data when geometric models are imperfect or unavailable [16,17].
A recent representative example is the work of Shah et al. [18], who applied an LSTM model to inverse kinematics of a six-degrees-of-freedom upper-limb rehabilitation robot. Their method trains on joint-angle and end-effector pose pairs collected from the rehabilitation robot’s workspace, and the trained LSTM produces accurate joint predictions for trajectory-style queries by exploiting the temporal regularity of motion sequences. Their work demonstrates the practical viability of learned IK for a specific manipulator and use case. It shares the broader limitations of opaque neural IK: predictions cannot be inspected through a structural interpretability mechanism, generalization across manipulator platforms is not evaluated, the model requires sequential trajectory input rather than supporting arbitrary single-pose queries, and integration with classical numerical refinement is not addressed. The proposed XGNN complements this line of work by introducing a graph-structured representation that exposes attention weights as an interpretability signal, by validating cross-platform applicability on both an industrial (ABB IRB 2400) and a collaborative (UR5) manipulator, and by experimentally demonstrating the downstream utility of the learned predictor as a DLS warm start.
A persistent limitation across the neural IK literature is opacity. A production engineer cannot inspect which task-space dimensions drive a particular joint prediction, cannot verify that the model has learned physically consistent relationships, and cannot diagnose failure modes when predictions degrade [19]. This opacity is unacceptable in safety-critical applications where ISO 10218-1:2011 [20] and related standards require traceability and validation of control decisions [21]. Post hoc explainability techniques such as gradient-based saliency maps or LIME provide partial remedies but add computational overhead and do not expose the model’s learned structure [22].

1.3. Graph Neural Networks for Structured Robotics Problems

Graph neural networks (GNNs) extend deep learning to relational data by operating on graph-structured inputs through iterative message passing [23,24]. Unlike fully connected networks that treat inputs as unstructured vectors, GNNs explicitly encode relationships between variables as edges and learn how information propagates through the graph. This inductive bias has proven effective in robotics domains including physics-based simulation [25], multi-robot coordination [26], and manipulation planning [27].
The kinematic structure of a serial manipulator is inherently graph-like: joints form a chain, and the end-effector pose depends on all joint values through coupled forward kinematics. Recent preliminary work has begun exploring GNN-based IK [28,29], but these efforts focus on synthetic data, small-scale manipulators, or symbolic regression rather than industrial-scale evaluation with interpretability analysis and integration with classical numerical methods. The present work extends this line by combining large-scale industrial IK data, ablation-validated graph design choices, cross-platform evaluation on industrial and collaborative manipulators, calibration-robustness testing under DH perturbation, and quantitative attention-based interpretability in a single framework.
Graph attention networks (GATs) [30] introduced learned attention coefficients that weight edge contributions during message passing, effectively learning which neighbors matter most for each node. GATv2 [31] corrected a theoretical expressiveness limitation in the original GAT formulation by applying separate linear transformations to source and target nodes before the attention scoring function. The attention weights provide an interpretability signal: they quantify which input nodes the model assigned the highest softmax-weighted influence during aggregation. We note that the relationship between attention weights and causal explanation has been debated in the literature [32,33]; we treat attention as an engineering audit tool rather than a formal causal explanation, and discuss this distinction in detail in Section 5.

1.4. Contributions

This paper proposes XGNN, an explainable graph neural network for data-driven inverse kinematics. We explicitly position XGNN not as a replacement for classical analytical or numerical IK solvers but as a complementary tool with two specific deployment roles: (i) as a model-free interpretable warm-start initializer that accelerates downstream numerical refinement, particularly where classical methods struggle near singularities or under calibration uncertainty, and (ii) as a fallback IK estimator when DH parameters are proprietary, degraded by mechanical wear, or otherwise unavailable. The specific contributions are
  • Graph-structured IK representation with ablation-validated design. We encode each IK query as a fixed 12-node bipartite graph in which six pose nodes connect to six joint nodes via all-to-all attention edges, with additional chain edges along the kinematic structure. Two design decisions are validated by ablation: a learnable node-type embedding (without which MAE degrades by 76%) and an angle-aware composite loss that handles the ± π wrap-around correctly (without which RMSE degrades by 65%).
  • Quantitative comparison of joint-prediction accuracy across architectures. On 300,000 samples generated from the ABB IRB 2400 kinematic model, XGNN achieves 3.66 ∘ joint MAE, comparable to a parameter-matched MLP baseline ( 3.09 ∘ ) and a bidirectional LSTM baseline ( 3.14 ∘ ) trained under identical conditions. We characterize this result with a forward kinematics recovery diagnostic that quantifies the residual Cartesian error of every predictor relative to the analytical solver, isolating the contribution of each architectural family on trajectory-derived training data and motivating the warm-start evaluation that follows.
  • Experimentally validated warm-start utility for damped least squares. We demonstrate that XGNN provides the strongest warm-start initialization for DLS refinement among the evaluated learned models. On the IRB 2400, XGNN initialization raises the DLS convergence rate from 98.4 % (home seed) to 100 % , reduces mean iterations from 14.6 to 3.2, and yields a 5.0 × wall-clock speedup per pose. We further quantify the seed-accuracy threshold required for reliable convergence: a seed within approximately 87 ∘ MAE maintains at least 90 % convergence, situating XGNN’s accuracy well within the useful range and answering the practical question of minimum predictor accuracy for warm-start deployment.
  • Cross-platform validation on industrial and collaborative manipulators. We retrain and evaluate XGNN, MLP, LSTM, and transformer baselines under an identical protocol on a second robot, the Universal Robots UR5 (collaborative cobot, 850 mm reach, different DH parameters), and report cross-platform results. Warm-start benefits transfer to the new platform with even larger relative gains (convergence rate 82.2 % → 100 % , iteration count 19.4 → 3.3 , wall-clock speedup 10.0 × ). This validation addresses the single-robot limitation common to most prior neural IK evaluations and demonstrates that the graph representation is platform-agnostic.
  • Calibration-robust warm start under DH parameter perturbation. We test the warm-start utility under multiplicative perturbation of the DH parameters by ± 2 % , ± 5 % , and ± 10 % during DLS refinement, simulating calibration drift, mechanical wear, or measurement uncertainty in deployed robots. The XGNN warm-start model is trained on the nominal kinematic model and is not retrained for the perturbed cases. Despite the parameter mismatch between training and refinement, XGNN warm start maintains 100 % DLS convergence at all perturbation levels and mean iteration count grows only modestly ( 3.17 → 3.46 from 0 % to 10 % perturbation). This addresses the concern that warm-start benefits might depend on strict label–solver consistency in the training pipeline.
  • Attention as an engineering audit signal. The GATv2 attention coefficients on pose-to-joint edges are available at every forward pass with no additional inference cost. We follow the cautionary literature on attention as explanation [32,33] and treat these weights as an interpretability signal that supports engineering audit rather than as a formal causal explanation. Quantitative analysis of 500 test samples reveals mean normalized attention entropy of 0.27 (well below the uniform baseline of 1.0), confirming per-sample selectivity, and aggregate analysis identifies joint-specific integration patterns consistent with the kinematic chain structure.
The intended deployment context is a fast, interpretable, calibration-robust warm-start step within hybrid IK pipelines, rather than as a standalone industrial-grade solver. The remainder of this paper is organized as follows. Section 2 reviews related work in analytical, numerical, and learning-based IK, in GNN applications to robotics, and in explainability techniques. Section 3 describes the dataset (including the new UR5 cross-platform dataset), graph representation, network architecture, training methodology, and the DH-perturbation protocol. Section 4 presents quantitative results including joint accuracy on both robots, the FK-recovery diagnostic, warm-start DLS performance, DH-perturbation robustness, error decomposition, hard-subset analysis, and attention interpretability. Section 5 discusses implications, limitations, and future directions. Section 6 concludes the paper.

3. Methodology

3.1. Problem Formulation

The forward kinematics mapping F K : R 6 → S E ( 3 ) computes the end-effector pose from joint angles through successive homogeneous transformations along the kinematic chain. Inverse kinematics seeks the inverse mapping I K : S E ( 3 ) → R 6 , which is generally not unique (multiple joint configurations can achieve the same pose) and not always defined (some poses lie outside the reachable workspace).
In this work, we parameterize poses as p = [ x , y , z , ψ , θ , ϕ ] ⊤ ∈ R 6 , where ( x , y , z ) represents the Cartesian position and ( ψ , θ , ϕ ) represents orientation in Euler angles (yaw–pitch–roll convention). Joint angles are constrained to q = [ q 1 , … , q 6 ] ⊤ ∈ [ − π , π ] 6 to respect the physical joint limits and avoid representation ambiguity.
Each dataset record provides a triplet ( p i , q i in , q i out ) , where q i in is a seed configuration (typically the current joint state in a motion-planning context) and q i out is a known valid solution. This formulation reflects practical deployment: motion planners require IK solutions consistent with the current configuration to minimize joint travel and avoid self-collisions. We learn the conditional mapping
q ^ i = f θ ( p i , q i in )
directly from data, without access to DH parameters or forward kinematics models. The function f θ is implemented as a graph neural network with learnable parameters θ trained via supervised learning on recorded pose–joint pairs.

3.2. Datasets and Preprocessing

We use two trajectory-derived IK datasets to evaluate cross-platform behavior: a primary dataset generated from the ABB IRB 2400 industrial manipulator (ABB Ltd., Zürich, Switzerland) and a secondary dataset generated from the Universal Robots UR5 collaborative manipulator (Universal Robots A/S, Odense, Denmark). Both datasets share the same triplet structure ( p i , q i in , q i out ) defined in Section 3.
Primary dataset: ABB IRB 2400. The IRB 2400 is a six-DOF industrial manipulator with a spherical wrist, payload of 12 kg, and reach of approximately 1.55 m. We chose this platform because it admits a closed-form analytical solution that provides reliable ground truth for supervised learning and enables direct comparison with classical solvers. A total of 300,000 trajectory samples were collected as follows. First, 1000 distinct trajectories were generated by interpolating between random pairs of reachable poses in the manipulator’s workspace, with intermediate waypoints introduced at random Cartesian distances. For each trajectory, the analytical IK solver was applied to compute the joint configuration sequence q ( 1 ) , q ( 2 ) , … , q ( T ) , with T varying between 100 and 500 samples per trajectory. Each dataset record is defined such that the pose p i is the target end-effector pose at trajectory step i, the seed configuration q i in is the previous joint state q ( i − 1 ) , and the target output q i out is the analytical solution q ( i ) . For the first sample of each trajectory, q in is initialized to the robot home configuration to avoid information leakage across trajectory boundaries.
Cross-platform dataset: Universal Robots UR5. The UR5 is a six-DOF collaborative manipulator with a different kinematic geometry: a reach of approximately 850 mm, no spherical wrist, and a smaller workspace volume than the IRB 2400. We use the manufacturer-published DH parameters for the UR5. To generate cross-platform training data with the same trajectory structure, we sample 300,000 samples by constructing smooth joint-space trajectories between random configuration pairs. For each trajectory, the start and end joint configurations are drawn uniformly from [ − π , π ] 6 , and intermediate samples are produced by smoothed cubic interpolation α ( s ) = 3 s 2 − 2 s 3 with s ∈ [ 0 , 1 ] across 50 trajectory steps. The end-effector poses corresponding to each joint configuration are computed via the analytical FK of the UR5. Joint angles are wrapped to ( − π , π ] as in the IRB dataset. The resulting UR5 dataset uses an identical triplet structure ( p , q in , q out ) and identical preprocessing (described below) to enable strictly controlled cross-platform comparison.
Role of the seed configuration. The inclusion of q i in reflects the practical deployment context: industrial motion planners require IK solutions consistent with the current joint configuration to minimize travel distance and avoid self-collisions. The mean L2 distance in joint space between q i in and q i out on the IRB 2400 dataset is 0.41 ± 0.32  rad, indicating that consecutive samples can differ substantially. The seed configuration acts as a soft prior for solution branch selection in the multi-solution IK manifold, which is essential when an analytical solver returns multiple candidates and the planner must choose the one closest to the current state. The diagnostic in Section 3.8 quantifies how strongly learned models rely on this seed signal.
Preprocessing. All joint angles are wrapped to ( − π , π ] to avoid representation ambiguity at the boundary. Position ( x , y , z ) and orientation ( ψ , θ , ϕ ) are standardized using z-score normalization with statistics computed exclusively on the training split:
p ˜ i = p i − μ i train σ i train , i ∈ { 1 , … , 6 } .
Table 1 summarizes the normalized pose distribution for the IRB 2400 dataset.
Table 1. Normalized pose statistics over all 300,000 IRB 2400 samples after z-score standardization fitted on the training split.
The workspace coverage of the generated IRB 2400 dataset is visualized in Figure 1 using 5000 sampled poses, with the color scale representing the end-effector height along the z-axis.
Figure 1. Workspace coverage of the ABB IRB 2400 dataset (5000 sampled poses, color-coded by height z). Four-digit axis tick values in the figure do not use comma separators.
Splits. Each dataset is split 70%/15%/15% (210,000/45,000/45,000 samples) at the trajectory level rather than the sample level. This avoids data leakage that would occur if consecutive samples from the same trajectory appeared in different splits.

3.3. Graph-Structured Representation

For each sample, we construct a fixed directed graph G = ( V , E ) with vertex set V and edge set E ⊆ V × V . The vertex set contains | V | = 12 nodes partitioned into two disjoint groups: V = V p ∪ V j , where V p = { v 1 , … , v 6 } is the set of pose nodes (one per pose dimension) and V j = { v 7 , … , v 12 } is the set of joint nodes (one per joint angle). This bipartite structure reflects the input–output semantics of the IK problem: pose variables are inputs that must be mapped to joint variables as outputs.
Each node v i ∈ V is assigned a two-dimensional initial feature vector h i ( 0 ) ∈ R 2 that combines the scalar input value with a normalized positional identifier:
h i ( 0 ) = p i , i − 1 11 ⊤ , i ∈ { 1 , … , 6 } ;
h 6 + k ( 0 ) = q k in , 6 + k − 1 11 ⊤ , k ∈ { 1 , … , 6 } ,
where p i is the i-th component of the (normalized) pose vector p and q k in is the k-th component of the seed joint configuration q in . The second feature is a normalized node-position identifier that lets the network distinguish, for example, joint 1 (base rotation) from joint 6 (wrist roll) without having to infer the position from edge-pattern statistics during training. The positional feature is bounded in [ 0 , 1 ] to match the magnitude of the normalized pose features.
The edge set E encodes two types of relationships. A directed edge ( v i , v j ) ∈ E indicates that information can flow from source node v i to target node v j during message passing. Bipartite edges ( v i , v 6 + k ) and ( v 6 + k , v i ) for all i , k ∈ { 1 , … , 6 } connect every pose node to every joint node, yielding 6 × 6 × 2 = 72 directed edges. These edges model the physical coupling in the IK mapping: changing any task-space coordinate generally requires adjusting multiple joints, and each joint is influenced by all components of the desired pose. The bidirectional edges allow information to flow both from pose to joints (forward influence) and from current joint state back to pose nodes (seed-conditioned refinement).
Chain edges ( v 6 + k , v 6 + k + 1 ) and ( v 6 + k + 1 , v 6 + k ) for k ∈ { 1 , … , 5 } connect adjacent joint nodes along the kinematic chain, yielding 5 × 2 = 10 directed edges. These edges reflect the serial structure of the manipulator: joints are mechanically coupled such that the configuration of joint k constrains the achievable motions of joint k + 1 .
The complete graph contains | E | = 72 + 10 = 82 directed edges. This structure is fixed across all samples, ensuring that the learned attention weights are directly comparable between samples and can be interpreted as learned importance scores for the underlying physical relationships. Figure 2 illustrates the topology.
Figure 2. Per-sample graph. Gray arrows: bipartite pose-to-joint edges (bidirectional, all-to-all). Green arrows: kinematic chain edges. Attention on pose-to-joint edges yields per-sample interpretability signals.

3.4. XGNN Architecture

The XGNN architecture consists of three components: an input projection layer with learnable node-type embedding, L = 2 stacked GATv2 message-passing layers, and a linear readout. The hidden dimension throughout is H = 64 . The full pipeline is illustrated in Figure 3 and the training procedure is summarized in Algorithm 1.
Figure 3. XGNN end-to-end architecture. Top row: The target pose p and seed configuration q in are encoded as a 12-node graph with two-dimensional node features (scalar value plus normalized positional identifier). Each node receives a learnable type embedding before projection into the hidden space ( H = 64 ). Bottom row: Two GATv2 message-passing layers aggregate information across the 82 bipartite and chain edges; the readout decodes only the six joint nodes to produce the predicted configuration q ^ . The final-layer attention weights α i j ( L ) are exposed as an interpretability signal at zero additional inference cost.
Node-type embedding. Before the first GATv2 layer, each node receives a learnable type embedding t i ∈ R d t with d t = 8 , where the embedding is selected from a lookup table indexed by node type ( τ i = 0 for pose nodes, τ i = 1 for joint nodes). The two-dimensional initial feature vector h i ( 0 ) ∈ R 2 defined in Section 3.3 is concatenated with the type embedding and projected into the hidden space:
h ˜ i = ReLU W in [ h i ( 0 ) ∥ t i ] ∈ R H ,
where [ · ∥ · ] denotes vector concatenation, W in ∈ R H × ( 2 + d t ) = R 64 × 10 is a learnable projection matrix, and ReLU ( x ) = max ( 0 , x ) is applied elementwise. The node-type embedding is the first ablation-validated design contribution: it lets the attention layers immediately distinguish pose from joint nodes without inferring the role from the scalar value alone.
GATv2 message passing. The projected features are then propagated through L = 2 stacked GATv2 layers. Each layer uses K = 4 attention heads with d k = H / K = 16 output features per head. We denote by h i ( ℓ ) ∈ R H the feature vector of node i at layer ℓ, with the initial features set as h i ( 0 ) = h ˜ i . Let N ( i ) = { j : ( j , i ) ∈ E } denote the set of neighbor nodes pointing to node i in the graph. For a single attention head at layer ℓ, the attention score between source node j and target node i is computed as
e i j ( ℓ ) = a ( ℓ ) ⊤ LeakyReLU W 1 ( ℓ ) h i ( ℓ ) + W 2 ( ℓ ) h j ( ℓ ) , j ∈ N ( i ) ,
α i j ( ℓ ) = exp ( e i j ( ℓ ) ) ∑ k ∈ N ( i ) exp ( e i k ( ℓ ) ) ,
h i ( ℓ + 1 ) = σ ∑ j ∈ N ( i ) α i j ( ℓ ) W 2 ( ℓ ) h j ( ℓ ) .
Here, e i j ( ℓ ) ∈ R is the unnormalized attention score, α i j ( ℓ ) ∈ [ 0 , 1 ] is the normalized attention coefficient obtained via softmax over the neighborhood N ( i ) , and h i ( ℓ + 1 ) ∈ R d k is the updated node feature for a single head. The learnable parameters at each layer are W 1 ( ℓ ) , W 2 ( ℓ ) ∈ R d k × H (linear projections of target and source node features) and a ( ℓ ) ∈ R d k (the attention vector that scores the additive interaction). LeakyReLU ( x ) = max ( 0.2 x , x ) is used inside the attention scoring function, and ReLU is used as the post-aggregation activation σ . Outputs from the K heads are concatenated to produce the final H-dimensional feature at each node. The GATv2 formulation uses separate linear transforms W 1 and W 2 on the target and source inside the activation, making attention strictly more expressive than original GAT [31].
Readout. After L layers of message passing, only the six joint nodes are decoded to produce joint-angle predictions:
q ^ k = w ⊤ h 6 + k ( L ) + b , k = 1 , … , 6 ,
where w ∈ R H and b ∈ R are the learnable readout weight vector and bias, respectively. The same readout parameters ( w , b ) are shared across all six joint nodes, exploiting the symmetry of the joint variables. Predictions are rescaled by π during evaluation to return to the original angular range. The full XGNN has approximately 17.7 K trainable parameters.

3.5. Angle-Aware Composite Loss

Joint angles live on the unit circle: values near + π and − π correspond to physically identical configurations, but plain mean squared error treats them as maximally distant. This wrap-around discontinuity introduces large spurious gradients during training when predictions cross the ± π boundary. To handle this correctly, we compute the wrapped angular residual using the four-quadrant arctangent function:
δ k = atan 2 sin ( q ^ k − q k out ) , cos ( q ^ k − q k out ) ∈ ( − π , π ] ,
where δ k ∈ ( − π , π ] is the shortest signed angular distance between the predicted joint angle q ^ k and the ground-truth joint angle q k out . By construction, δ k is continuous across the ± π boundary.
The training loss combines a squared error term on the wrapped residual with a cosine-distance regularizer:
L = 1 6 ∑ k = 1 6 δ k 2 ︸ wrapped MSE + λ 1 6 ∑ k = 1 6 ( 1 − cos δ k ) ︸ geodesic regularizer , λ = 0.5 ,
where the cosine term 1 − cos δ k ∈ [ 0 , 2 ] is the geodesic distance on the unit circle. It provides a smooth, well-behaved gradient even for large angular errors close to π . This is the second ablation-validated design contribution.

3.6. Baselines and Training Protocol

We train XGNN alongside three baselines under identical conditions: a multilayer perceptron (MLP), a bidirectional LSTM, and a transformer encoder. All models receive the same 12-dimensional input (six pose values and six seed joint values) and predict the six target joint angles.
Baseline architectures. The MLP baseline has three fully connected layers with hidden dimension 256, ReLU activation, and dropout 0.1, producing approximately 70.7 K trainable parameters. The bidirectional LSTM baseline has two stacked LSTM layers with hidden dimension 128 in each direction, followed by a two-layer MLP head; this baseline has approximately 574 K trainable parameters and treats the 12-dimensional input as a single-step sequence. The transformer baseline tokenizes each of the 12 input values as a separate token, applies three encoder layers with d model = 96 and four attention heads, and reads out the six joint tokens through a shared linear head; this baseline has approximately 175 K trainable parameters.
Optimization. All neural models are trained with the AdamW optimizer using identical hyperparameters: learning rate 3 × 10 − 4 , weight decay 10 − 4 , batch size 256, and 5 training epochs with cosine learning-rate annealing. A random seed of 42 is fixed for PyTorch 2.1.0, NumPy 1.26.0, and Python 3.11’s random module to support reproducibility. Full hyperparameter details are provided in Table 2.
Table 2. Hyperparameters for XGNN and baseline models. Parameter counts are computed for input dimension consistent with each architecture’s tokenization scheme.
Hardware and software. All experiments were conducted on an Apple MacBook Air with the M1 system-on-chip and 8 GB of unified memory, using CPU execution only (no GPU acceleration). The implementation uses PyTorch 2.1.0 and PyTorch Geometric 2.4.0. We highlight this modest hardware budget to emphasize the practicality of the proposed method: XGNN training on the full 300,000-sample dataset completes within a few hours on a consumer laptop, making the method accessible without specialized GPU hardware. Code and trained model weights will be made available upon publication.
Forward kinematics for evaluation. We use the analytical FK functions of the IRB 2400 and UR5 (constructed from published DH parameters) exclusively for evaluation: computing Cartesian end-effector errors, running the DLS warm-start protocol, and constructing the FK-recovery diagnostic. The FK is never used during training; the models learn the IK mapping purely from the input–output triplets.

3.7. Cross-Platform Evaluation Protocol

To evaluate platform agnosticism of the graph representation, we retrain XGNN, MLP, LSTM, and transformer models from scratch on the UR5 dataset using identical hyperparameters and training protocol as on the IRB 2400. No transfer learning is used; each model has independent weights for each robot. The graph topology, message-passing scheme, and angle-aware loss are unchanged between robots. The only adaptation is the dataset itself: the IRB-trained models are evaluated on the IRB test split, and the UR5-trained models are evaluated on the UR5 test split. This setup tests whether the graph-structured representation and node-type embedding learn relationships that are physically meaningful enough to generalize across kinematic geometries, given equivalent training procedures.

3.8. Forward Kinematics Recovery Diagnostic

To characterize the standalone joint-prediction behavior of learned models on trajectory-derived data, we propose the FK-recovery diagnostic. For each model and each test sample, we (i) compute the predicted joint configuration q ^ , (ii) apply analytical forward kinematics to obtain the recovered end-effector pose p ^ = F K ( q ^ ) , and (iii) measure the Cartesian and orientation error between p ^ and the analytical-solver ground-truth pose p ∗ = F K ( q out ) . We compute the same metrics for a Copy-qin baseline that simply returns the seed configuration as its prediction. The Copy-qin baseline serves as a reference for how much of the predictive signal is recoverable by ignoring the pose entirely and reproducing the seed. Comparing each learned model against this reference directly addresses the question of whether learned models on trajectory-derived data are doing IK in the multi-solution sense or are predominantly tracking the seed configuration.

3.9. Damped Least Squares Warm-Start Protocol

The downstream utility of XGNN is evaluated by using its predictions as the initial seed configuration for a damped least squares (DLS) IK solver. Figure 4 illustrates the two-stage pipeline. For a target pose p ∗ and seed configuration q 0 , the DLS iteration is
q n + 1 = q n + J ⊤ ( J J ⊤ + μ 2 I ) − 1 ϵ n ,
where J = J ( q n ) is the analytical Jacobian of the FK map at q n , ϵ n = p ∗ − F K ( q n ) is the pose error (with the orientation component wrapped to ( − π , π ] ), and μ = 0.01 is the damping factor. We cap the maximum step norm at Δ q max = 0.5  rad and the maximum iteration count at 50. Convergence is declared when the position error falls below 0.5 mm.
Figure 4. Two-stage warm-start IK pipeline. Stage 1: XGNN takes the target pose p ∗ and the current joint state q in and produces an interpretable, model-free seed configuration q ^ in approximately 0.2 ms. Stage 2: damped least squares refines the seed to sub-millimeter accuracy in a few iterations using the analytical forward kinematics and Jacobian. The pipeline replaces the home-seed initialization (red box, 14 to 19 iterations and occasional non-convergence) with an XGNN-driven warm start that achieves 5 × speedup on the IRB 2400, 10 × on the UR5, and 100 % convergence on both robots.
We compare two initialization strategies. The home-seed strategy uses a fixed nominal configuration: q 0 = [ 0 , 0 , 0 , 0 , π / 2 , 0 ] ⊤ for the IRB 2400 and q 0 = [ 0 , − π / 2 , 0 , − π / 2 , 0 , 0 ] ⊤ for the UR5. The XGNN warm-start strategy uses the XGNN prediction q ^ = f θ ( p ∗ , q in ) as the initial seed. For each test sample, both strategies are run on the same target pose; we report convergence rate (fraction of samples for which DLS reached the tolerance within 50 iterations), mean iteration count among converged samples, mean final positional error, and mean wall-clock time per pose. The evaluation uses 500 randomly sampled test poses per robot.

3.10. DH-Perturbation Protocol for Calibration Robustness

A potential criticism of warm-start IK is that the benefit may be an artifact of label–solver consistency: if the training labels are generated by the same FK model that DLS later uses, the learned predictor may be exploiting a structure that does not exist in deployed systems where calibration parameters drift over time. To test this concern directly, we perturb the DH parameters used during DLS while keeping XGNN’s training data unchanged.
Specifically, we apply independent multiplicative perturbations of magnitudes ± 2 % , ± 5 % , and ± 10 % to the link-length parameters (the a and d columns of the DH table) of the IRB 2400. The perturbed DH model is used to construct both the FK map and the Jacobian used by DLS at evaluation time. XGNN is trained once on the nominal kinematic model and is not retrained for the perturbed cases. The convergence behavior of DLS is then measured for both home-seed and XGNN-seed initializations on 200 randomly sampled test poses. This protocol simulates calibration drift, mechanical wear, or measurement uncertainty: scenarios where the deployed robot’s true kinematics differ from the model used to generate training data.

3.11. Algorithm Summary

Algorithm 1 summarizes the complete XGNN training procedure described in Section 3.4.
Algorithm 1 XGNN training procedure
Require: dataset D = { ( p i , q i in , q i out ) } i = 1 N , max epochs E, learning rate η
  1: Compute normalization statistics ( μ , σ ) on training split
  2: Initialize XGNN parameters θ (default PyTorch initialization)
  3: for  e = 1  to E do
  4:       for each minibatch B ⊂ D train  do
  5:             Construct graph G i for each sample i ∈ B as in Section 3.3
  6:             Forward pass: q ^ i ← XGNN θ ( G i )
  7:             Compute angular residuals δ i , k via atan2
  8:             Compute composite loss L from Equation (11)
  9:             Backpropagate: θ ← θ − η ∇ θ L via AdamW
10:       end for
11:       Step cosine learning-rate scheduler
12:       Evaluate validation MAE/RMSE; save best checkpoint
13: end for
14: return best checkpoint θ ∗ , attention scores { α i j ( L ) }

4. Results

This section presents the experimental evaluation of XGNN against the baselines. Section 4.1 reports joint-prediction accuracy under identical training. Section 4.2 presents the FK-recovery diagnostic. Section 4.3 compares cross-platform performance on the UR5. Section 4.4 isolates the contribution of the pose information through a hard-subset analysis. Section 4.5 presents the central downstream result: warm-start initialization of damped least squares on both robots. Section 4.6 reports calibration robustness under DH perturbation. Section 4.7 quantifies the seed-accuracy threshold. Section 4.8 decomposes the residual Cartesian error. Section 4.9 presents the ablation. Section 4.10 characterizes the attention-based interpretability signal.

4.1. Joint-Prediction Accuracy on the IRB 2400

Table 3 reports test-set joint mean absolute error (MAE) and Cartesian recovery on the IRB 2400 dataset for all evaluated models, including the Copy-qin baseline that returns the seed configuration without using the pose.
Table 3. Test-set joint accuracy and Cartesian recovery on the ABB IRB 2400 (45,000 test samples). All learned models are trained under identical conditions (Section 3.6).
Several findings emerge. First, all learned models achieve joint MAE in the narrow range 2.88 ∘ to 3.66 ∘ , indicating that the IK signal extractable from trajectory-derived ( p , q in , q out ) triplets is bounded and that architectural differences within this family produce modest accuracy differences. Second, the Copy-qin baseline, which returns the seed configuration and uses no pose information whatsoever, achieves 2.87 ∘ MAE and 86.6 mm Cartesian recovery error. These values are not exceeded by any learned model on this dataset. The reason is structural: the mean joint-space distance between consecutive samples in the dataset is 0.41 ± 0.32 rad, so a configuration close to the seed is, on average, also close to the target. Third, the XGNN result of 3.66 ∘ MAE is in the same band as MLP ( 3.09 ∘ ), LSTM ( 3.14 ∘ ), and transformer ( 2.88 ∘ ), despite using 4 × fewer parameters than MLP and 32 × fewer than LSTM.
This pattern motivates the diagnostic in Section 4.2 and the warm-start evaluation in Section 4.5: standalone joint MAE on trajectory-derived data does not differentiate well between architectures, and the appropriate evaluation metric for the proposed approach is downstream utility rather than standalone accuracy.

4.2. Forward Kinematics Recovery Diagnostic

The FK-recovery diagnostic (Section 3.8) characterizes the standalone joint-prediction behavior of each model by tracing the joint predictions back to Cartesian space through analytical FK. Table 4 summarizes the diagnostic on 2000 randomly sampled test poses of the IRB 2400. Figure 5 visualizes these results.
Table 4. FK-recovery diagnostic on the IRB 2400 test split (2000 samples). The Copy-qin baseline returns the seed configuration q in without using the pose p . Cartesian errors are computed by applying analytical FK to each predictor’s output and comparing against the analytical-solver ground-truth pose.
Figure 5. FK-recovery diagnostic on the IRB 2400. (a) Joint MAE for each predictor; (b) Cartesian position error after applying analytical FK. The Copy-qin baseline uses no pose information yet achieves the lowest error, indicating that on trajectory-derived data, the dominant predictive signal is the seed configuration.
The diagnostic shows that learned models on this trajectory-derived dataset converge toward predictions that closely track the seed configuration. All learned models produce joint MAE and Cartesian recovery within a narrow band around the Copy-qin baseline. This is not a defect of any specific architecture; it is a property of the training data distribution. When consecutive samples in a trajectory differ by a small joint-space step, the optimal prediction strategy under standard supervised loss converges toward configurations close to the seed. This observation motivates the warm-start framing: a predictor whose output is close to the seed but biased into a region of joint space that improves DLS convergence is exactly what is needed at the initialization stage of a hybrid pipeline. Section 4.5 tests this hypothesis directly.

4.3. Cross-Platform Validation on the Universal Robots UR5

To test whether the patterns observed on the IRB 2400 are platform-specific or reflect properties of trajectory-derived data more broadly, we retrain XGNN, MLP, LSTM, and transformer baselines from scratch on the UR5 dataset under identical hyperparameters and protocol. Table 5 reports the joint MAE and FK-recovery results on both robots. Figure 6 visualizes the cross-platform comparison.
Table 5. Cross-platform comparison on industrial (ABB IRB 2400) and collaborative (Universal Robots UR5) manipulators. Joint MAE and FK-recovery Cartesian errors are computed under identical evaluation protocols on each robot. The UR5 has shorter reach (∼850 mm vs. ∼1550 mm for the IRB 2400), which explains the smaller absolute Cartesian errors on the UR5.
Figure 6. Cross-platform comparison of joint and Cartesian accuracy. Both robots show the same qualitative pattern: learned models cluster near the Copy-qin baseline, with no architecture demonstrating a decisive standalone-accuracy advantage. This consistency across platforms confirms that the observation is a property of the trajectory-derived data, not the IRB 2400 specifically.
The pattern is consistent across robots: the spread of learned-model accuracy is narrow, the Copy-qin baseline is competitive, and no architecture demonstrates a decisive advantage on standalone joint MAE. The UR5 numbers confirm that the graph representation, the node-type embedding, and the angle-aware loss continue to function on a manipulator with different DH geometry, different reach, and no spherical wrist. The methodology of Section 3.7 was applied without any robot-specific modification. We also note that XGNN’s joint MAE is somewhat higher on the UR5 ( 4.01 ∘ ) than on the IRB 2400 ( 3.66 ∘ ); we examine this gap in Section 5.

4.4. Hard-Subset Analysis: Behavior When the Seed Is Less Informative

To examine whether learned models do more than reproduce the seed, we partition the IRB 2400 test set by trajectory step size ∥ q out − q in ∥ and evaluate each model on the subset where the step is at least 5 ∘ . Table 6 reports the result. Figure 7 visualizes the hard-subset accuracy.
Table 6. Hard-subset analysis on the IRB 2400. On samples where the trajectory step ∥ q out − q in ∥ exceeds 5 ∘ , the Copy-qin MAE rises above its full-dataset value while the learned models remain close to their full-dataset performance, indicating that learned models contribute pose-conditioned information beyond simple seed reproduction.
Figure 7. Hard-subset analysis: Joint MAE on samples with trajectory step exceeding 5 ∘ . Learned models maintain accuracy close to their full-dataset performance even on samples where the seed-to-target distance is larger than average, indicating that they have learned a pose-conditioned mapping rather than relying purely on seed reproduction.
On the hard subset, learned models maintain MAE near their full-dataset values, while the Copy-qin MAE rises slightly. This is direct evidence that learned models do use pose information when the seed is less informative, even though that signal is overshadowed by the seed prior on the full test split. The result clarifies the criticism of seed reproduction in a precise sense: learned models default to seed tracking when the seed is informative but engage the pose signal when it is not. Extension of the hard-subset analysis to higher step thresholds is left as future work.

4.5. Warm-Start Performance: XGNN as DLS Initializer

The central downstream result is the warm-start evaluation. For each test pose, we run DLS (Section 3.9) from two initial configurations: the standard home configuration and the XGNN prediction. We measure convergence rate, mean iterations on converged samples, mean final position error, and wall-clock time per pose. Results are reported on 500 randomly sampled test poses per robot. Table 7 reports the headline results, and Figure 8 visualizes them.
Table 7. Warm-start results: DLS initialized by home seed vs. XGNN prediction. XGNN consistently converges in fewer iterations with lower wall-clock time on both robots and lifts the convergence rate to 100% on both platforms. Bold values indicate best performance for each robot.
Figure 8. Warm-start headline result. Across both robots, XGNN initialization raises the DLS convergence rate to 100%, reduces mean iteration count by 78–83%, and reduces wall-clock time per pose by 5.0× on the IRB 2400 and 10.0× on the UR5. Any apparent overlap in subfigure (a) arises from the bar chart scale and does not affect scientific interpretation.
The convergence rate improves from 98.4 % to 100 % on the IRB 2400 and from 82.2 % to 100 % on the UR5, eliminating all DLS failure cases observed under home-seed initialization on either robot. The mean iteration count drops from 14.58 to 3.16 on the IRB 2400 (a 4.6 × reduction) and from 19.43 to 3.27 on the UR5 (a 5.9 × reduction). The wall-clock time per pose drops from 5.58 ms to 1.12 ms ( 5.0 × speedup) on the IRB 2400 and from 9.31 ms to 0.93 ms ( 10.0 × speedup) on the UR5. Both speedups include XGNN’s own inference cost.
Figure 9 visualizes the warm-start mechanism on a single representative IRB 2400 test pose: the home seed places the manipulator far from the target, the XGNN seed places it within a few centimeters of the target, and DLS from the XGNN seed converges in a small number of iterations to the analytical solution.
Figure 9. Warm-start visualization on a representative IRB 2400 test pose. (a) Home-seed configuration (blue robot skeleton) with end-effector far from the target. (b) XGNN-seed configuration (red robot skeleton) with end-effector near the target. (c) DLS-converged configuration (green robot skeleton) after refinement from the XGNN seed. The target pose is marked with a black cross. The vertical axis in each subfigure is labeled Z (mm).
These results constitute the central contribution of the paper. Despite the standalone joint accuracy of XGNN being comparable to or slightly worse than the other learned models on the FK-recovery diagnostic (Section 4.2), XGNN provides the strongest warm-start for DLS refinement. The XGNN prediction lands in a region of joint space from which DLS converges quickly. This is a property of the trained predictor that is not captured by joint MAE alone and directly answers the question: what is XGNN’s contribution given that joint accuracy is broadly comparable across architectures? The answer is downstream utility for the DLS refinement stage of a hybrid IK pipeline.
Figure 10 provides four additional examples of XGNN predictions overlaid on ground-truth analytical IK solutions across diverse workspace regions of the IRB 2400.
Figure 10. XGNN predictions (blue robot skeleton) overlaid on ground-truth analytical IK configurations (green robot skeleton) for four diverse IRB 2400 test poses. Each panel reports the joint MAE and Cartesian end-effector error for that sample. The vertical axis in the left images is labeled Z (mm). The close visual agreement explains why XGNN serves as an effective warm start for DLS refinement.

4.6. Calibration Robustness Under DH Perturbation

We test whether the warm-start advantage depends on strict consistency between the FK model used to generate training labels and the FK model used during DLS at evaluation time. The XGNN warm-start model is trained once on the nominal IRB 2400 kinematic model. The DLS solver at evaluation time uses a perturbed kinematic model (Section 3.10). Table 8 reports convergence behavior at perturbation levels of 0 % , 2 % , 5 % , and 10 % . Figure 11 visualizes the robustness trend.
Table 8. DH-perturbation robustness on the IRB 2400. The XGNN warm-start model is trained on the nominal DH parameters and is not retrained for the perturbed cases. The XGNN warm-start maintains 100 % convergence at every perturbation level while iteration count grows only modestly from 3.17 to 3.46.
Figure 11. Warm-start robustness under DH parameter perturbation. XGNN warm start maintains 100 % DLS convergence at all perturbation levels up to ± 10 % , with iteration count rising only from 3.17 to 3.46. This addresses the concern that warm-start benefits might depend on strict label–solver consistency in the training pipeline.
XGNN warm start maintains 100 % DLS convergence at every perturbation level. The mean iteration count grows only modestly, from 3.17 at 0 % perturbation to 3.46 at 10 % perturbation. The result confirms that the warm-start benefit is not an artifact of label–solver consistency: the XGNN prediction places the DLS iteration into a basin of fast convergence even when the DLS Jacobian is constructed from a different geometric model than the one used during XGNN training. This is the closest synthetic analog to deployed-robot conditions where the kinematic model drifts due to mechanical wear, thermal effects, or initial calibration imperfection.

4.7. Warm-Start Accuracy Threshold

We quantify how accurate a seed configuration must be to enable reliable DLS convergence. We synthetically corrupt the XGNN prediction with isotropic Gaussian noise of increasing magnitude (noise standard deviations of 5 ∘ , 10 ∘ , 20 ∘ , 40 ∘ , 80 ∘ , and 160 ∘ added to each joint angle) and measure DLS convergence from the corrupted seed. Table 9 reports the result; Figure 12 visualizes it.
Table 9. Warm-start accuracy sweep on the IRB 2400. Increasing isotropic noise is added to the XGNN prediction before DLS initialization. Even at a seed MAE of 87.56 ∘ , DLS convergence remains above 90 % .
Figure 12. Warm-start accuracy threshold on the IRB 2400. (a) DLS convergence rate vs. seed MAE; (b) DLS iteration count vs. seed MAE. Any seed with MAE below approximately 87 ∘ achieves at least 90 % convergence; XGNN’s actual MAE of 3.66 ∘ is far inside the useful range.
The result establishes that any predictor with joint MAE below approximately 87 ∘ provides a warm start that achieves at least 90 % DLS convergence. XGNN’s actual MAE of 3.66 ∘ on the IRB 2400 is therefore well inside the useful range, with a substantial accuracy margin to absorb additional sources of error (calibration drift, measurement noise, partial observability). This finding answers the practical question of minimum predictor accuracy for warm-start deployment.

4.8. Cartesian Error Decomposition

We decompose the residual Cartesian end-effector error of XGNN into position and orientation components and analyze how joint errors propagate to Cartesian space. Table 10 reports the decomposition on both robots. Figure 13 shows the error distributions.
Table 10. Cartesian error decomposition for XGNN on both robots. Position errors are dominated by the FK amplification of joint errors at the manipulator scale; orientation errors are bounded. The FK amplification factor is approximately twice as large on the IRB 2400 as on the UR5, consistent with the difference in mechanical reach.
Figure 13. Cartesian error decomposition. (a) Position error distribution on both robots; dashed vertical lines indicate the median for each robot. (b) Orientation error distribution. (c) Per-joint angular MAE. (d) FK amplification: scatter of joint-norm error against position error, showing the linear scaling that explains most of the position-error magnitude.
The FK amplification factor of approximately 10.3 mm/degree on the IRB 2400 explains why a sub- 4 ∘ joint MAE produces a ∼108 mm mean position error. The UR5 has approximately half the FK amplification ( 5.7 mm/degree) due to its shorter reach (∼850 mm vs. ∼1550 mm), explaining why the UR5 position errors are roughly half of the IRB 2400 position errors despite similar joint MAE. The decomposition addresses the question of error sources directly: the Cartesian error is primarily a geometric amplification of joint error rather than an effect of pose representation or graph topology.

4.9. Ablation Study

We evaluate three ablated variants of XGNN and report results in Table 11:
Table 11. Ablation results on the IRB 2400 test split. Deltas are reported relative to the full XGNN. Positive deltas indicate degraded performance.
  • XGNN-noType: the learnable node-type embedding is removed.
  • XGNN-MSELoss: the angle-aware loss of Equation (11) is replaced with plain MSE on the wrapped angle values.
  • XGNN-noChain: the kinematic chain edges between adjacent joint nodes are removed, leaving only the bipartite pose-to-joint edges.
Two design choices are validated as critical: removing the node-type embedding increases MAE by 76 % ( + 2.79 ∘ ), and replacing the angle-aware loss with plain MSE increases RMSE by 65 % ( + 3.01 ∘ ). These two contributions are necessary for the architecture to function. The chain edges, in contrast, contribute only marginally ( + 3 % MAE, + 2 % RMSE when removed). This is consistent with the structure of 6-DOF IK on this dataset: the pose-to-joint coupling is captured by the bipartite edges, and the additional joint-to-joint chain edges add only a small refinement. The result also addresses the edge topology ablation requested in the review process.

4.10. Attention as an Interpretability Signal

The GATv2 attention coefficients { α i j ( L ) } on pose-to-joint edges are available at every forward pass at zero additional inference cost. As discussed in Section 2, we treat these weights as an interpretability signal that supports engineering audit rather than as a formal causal explanation [32,33]. This subsection characterizes the structure of the learned attention pattern.

4.10.1. Aggregate Attention Pattern

For each joint node v 6 + k , the attention distribution over its six pose-node neighbors { α ( 6 + k ) , i ( L ) } i = 1 6 forms a probability distribution that sums to 1 by softmax normalization. We averaged these distributions over 500 randomly sampled test graphs to obtain the 6 × 6 attention matrix in Figure 14.
Figure 14. Average GATv2 attention weights from pose nodes (rows) to joint nodes (columns) at the last GATv2 layer, averaged over 500 test samples.

4.10.2. Quantifying Selectivity via Entropy

For each joint node v 6 + k at each test sample, we compute the Shannon entropy of its incoming attention distribution:
H k = − ∑ i = 1 6 α ( 6 + k ) , i ( L ) log α ( 6 + k ) , i ( L ) .
The maximum entropy for a distribution over six inputs is H max = log 6 ≈ 1.79 , attained when attention is uniform. We report the normalized entropy H ˜ k = H k / H max ∈ [ 0 , 1 ] , where H ˜ k = 1 corresponds to uniform attention and H ˜ k = 0 corresponds to fully selective attention on a single input.
Averaging H ˜ k across 500 test samples for each joint yields H ˜ ( q 1 ) = 0.309 , H ˜ ( q 2 ) = 0.243 , H ˜ ( q 3 ) = 0.211 , H ˜ ( q 4 ) = 0.308 , H ˜ ( q 5 ) = 0.243 , and H ˜ ( q 6 ) = 0.302 . The overall mean is H ˜ ¯ = 0.269 , well below 1.0. This rules out the degenerate case where the model learns to ignore attention and aggregate uniformly. Each joint node consistently concentrates a substantial fraction of its attention on a small subset of pose nodes.

4.10.3. Per-Sample Attention Patterns

The aggregate attention pattern is supplemented by per-sample attention signatures. Table 12 shows the top attention edge for ten representative test samples. The dominant pose-to-joint relationship varies meaningfully across samples (e.g., sample 1 emphasizes pitch → q 1 , while sample 9 emphasizes x → q 6 ), indicating that the attention mechanism is sensitive to sample content rather than producing a fixed pattern. For an engineer auditing a model deployment, this per-sample signal supports rapid identification of unusual attention patterns that may indicate distribution shift or sensor anomalies.
Table 12. Top-1 attention edge per test sample (ten representative examples). Weights are computed on the pose-to-joint subgraph after softmax normalization within each joint’s pose neighborhood.

5. Discussion

5.1. Standalone Accuracy Is the Wrong Metric on Trajectory-Derived Data

A central finding of this evaluation is that learned models trained on trajectory-derived ( p , q in , q out ) triplets converge to broadly similar joint accuracy. On the IRB 2400, joint MAE for XGNN, MLP, LSTM, and transformer falls in the range of 2.88 ∘ to 3.66 ∘ , and the Copy-qin baseline (which uses no pose information) achieves 2.87 ∘ . On the UR5, the same pattern holds. The FK-recovery diagnostic in Section 4.2 makes this concrete in Cartesian space: all learned models cluster near the Copy-qin baseline.
The reason is structural rather than a deficiency of any architecture. The mean joint-space distance between consecutive samples in the dataset is 0.41 ± 0.32 rad. Under standard supervised loss, the optimal prediction strategy is therefore to stay close to the seed configuration, because that minimizes expected error on the training distribution. The narrow MAE spread across architectures reflects this property of the data, not a fundamental limit of any model. The hard-subset analysis in Section 4.4 confirms that learned models do use the pose information when the seed is less informative; the pose signal is simply overshadowed by the seed prior in the full test split.
This finding has a methodological consequence for the broader literature. Reporting joint MAE on trajectory-derived data as the primary metric for comparing neural IK architectures may obscure rather than reveal architectural differences. The appropriate metric for the proposed approach is downstream utility for the refinement stage of a hybrid IK pipeline, which we evaluate directly in Section 4.5.

5.2. Why XGNN Provides the Strongest Warm Start

XGNN achieves 100 % DLS convergence on both robots from joint configurations that are not closer to the analytical-FK ground truth than competing predictors. This is initially counter-intuitive: on the FK-recovery diagnostic, XGNN’s joint MAE and Cartesian recovery are slightly worse than MLP and LSTM. Yet XGNN provides a more useful warm start.
The interpretation we propose is that XGNN’s predictions, although not closest to the analytical ground truth in a Euclidean sense, lie within the basin of attraction of DLS for a wider range of target poses. The graph-structured representation with chain edges and bipartite pose-to-joint coupling appears to bias predictions into regions of joint space that are well conditioned for Jacobian-based iteration, even where they are slightly off the analytical solution. The ablation in Section 4.9 supports this view: removing the node-type embedding (which lets the network treat pose and joint nodes structurally differently) degrades joint MAE by 76 % and would correspondingly degrade warm-start utility. The structural inductive bias is doing useful work, but its effect is more visible at the downstream stage than in standalone joint MAE.
A complementary explanation is that XGNN’s predictions retain more variance in joint angles relative to the Copy-qin baseline than MLP or LSTM, which both collapse closer to the seed. When DLS is initialized from a configuration with appropriate variance (so that the Jacobian is well conditioned at the seed), convergence is fast. When DLS is initialized from a configuration too close to the seed and far from the target pose (as occurs in the 1.6 % of IRB poses or 17.8 % of UR5 poses where home-seed DLS fails), the Jacobian-based iteration can stall. We do not claim to have isolated this mechanism formally; we offer it as a candidate explanation that is consistent with the data and that motivates future investigation.

5.3. Interpreting the Attention Signal

The attention analysis yields two complementary findings, which we frame as an interpretability signal rather than a formal explanation. At the per-sample level, normalized attention entropy of 0.27 (well below the uniform ceiling of 1.0 ) shows that XGNN does not collapse to uniform aggregation; instead, it concentrates attention selectively on specific pose-to-joint pathways for each input. At the aggregate level, the column-wise non-uniformity is consistent with the structural role of joint q 4 in the IRB 2400 kinematic chain.
We are deliberately careful about the strength of the interpretability claim. Following the literature debate on attention as explanation [32,33], we acknowledge that high attention weights on a particular pose-to-joint edge do not constitute a causal proof that the pose variable drove the joint prediction; counterfactual experiments or formal causal analysis would be required for such a claim. What attention weights do provide is a transparent record of which inputs the model softmax-weighted most strongly during aggregation. For an engineer auditing a model’s behavior, this is an immediately useful signal that supports debugging, sanity-checking against domain knowledge, and identifying anomalies; it is not a substitute for formal verification.
The signal complements the model’s prediction by exposing the internal weighting structure. An engineer can detect cases where the attention pattern diverges substantially from typical behavior, which may indicate distribution shift, sensor anomalies, or workspace regions where the model is less reliable. We view this as a useful capability for research and development workflows, even if it does not by itself satisfy the requirements of safety certification frameworks such as ISO 10218-1:2011 [20].

5.4. Positioning as a Model-Free Warm Start, Not a Replacement

The most important framing point of this paper is that XGNN is not intended as a standalone industrial IK solver. The mean Cartesian error of XGNN (108 mm on the IRB 2400, 67 mm on the UR5) is too large for direct industrial use, where typical positioning tolerance is sub-millimeter. The analytical solver achieves zero error by construction, and damped least squares achieves sub-millimeter accuracy when it converges. We do not claim that XGNN competes with these methods on standalone accuracy.
Given this gap, we explicitly position XGNN in two specific deployment contexts:
Context 1: Model-free warm start for numerical refinement. XGNN provides a near-feasible initial joint configuration to a downstream numerical solver, reducing the number of refinement iterations and improving convergence near singularities. Section 4.5 provides direct experimental validation: using XGNN as DLS initialization improves convergence from 98.4 % (home seed) to 100 % on the IRB 2400 and from 82.2 % to 100 % on the UR5, reduces mean iterations from 14.58 to 3.16 (IRB) and 19.43 to 3.27 (UR5), and yields wall-clock speedups of 5.0 × and 10.0 × , respectively, both inclusive of XGNN’s own inference cost. Section 4.6 additionally shows that this warm-start utility survives perturbation of the DH parameters by up to ± 10 % , addressing the concern that the benefit might be an artifact of strict label–solver consistency.
Context 2: Fallback when DH parameters are unavailable. When the manipulator’s kinematic model is proprietary, degraded by mechanical wear, or otherwise inaccessible, classical analytical and numerical methods cannot be applied directly. In this scenario, XGNN provides an IK estimate without requiring any geometric specification, learning the mapping purely from recorded pose-joint data. The accuracy is lower than what analytical solvers can achieve with full DH knowledge, but the model is functional where they are not.
In both contexts, the attention-based interpretability signal adds value by providing an engineering audit channel that classical solvers do not offer. We emphasize that the warm-start framing is the strongest version of our contribution, and we do not claim that XGNN replaces or competes with closed-form analytical IK when the geometric model is available and accurate.

5.5. Computational Efficiency on Constrained Hardware

All experiments in this paper were run on an Apple MacBook Air with the M1 chip and 8 GB of unified memory, with CPU execution only. Training XGNN on the full 300,000-sample dataset completes within a few hours on this consumer laptop. The wall-clock per-pose times reported in the warm-start results (Section 4.5) include both XGNN inference and DLS refinement on the same hardware: 1.12 ms per pose on the IRB 2400 and 0.93 ms per pose on the UR5. For comparison, home-seed DLS on the same hardware takes 5.58 ms (IRB) and 9.31 ms (UR5) per pose.
We highlight the modest hardware budget for two reasons. First, it demonstrates the practicality of the proposed approach: the warm-start pipeline runs at sub-millisecond effective latency on consumer hardware, well within the latency budget of typical industrial motion-planning loops. Second, it provides a conservative baseline: GPU deployment would reduce the XGNN inference component further, although the DLS refinement step (which dominates the residual time) would benefit less because it is inherently sequential.

5.6. Cross-Platform Behavior and the UR5 Accuracy Gap

The cross-platform results in Section 4.3 confirm that the graph representation, the node-type embedding, and the angle-aware loss continue to function on a manipulator with different DH geometry, different reach, and no spherical wrist. The warm-start benefit transfers with even larger relative gains on the UR5, where home-seed DLS struggles ( 82.2 % convergence) and XGNN initialization fully recovers convergence at 10.0 × speedup.
A residual question is why XGNN’s standalone joint MAE on the UR5 ( 4.01 ∘ ) is somewhat higher than on the IRB 2400 ( 3.66 ∘ ). Several factors plausibly contribute. First, the UR5 trajectories were generated by joint-space cubic interpolation rather than analytical IK on workspace-pose trajectories, which produces a different distribution of trajectory step sizes and therefore a different effective task difficulty for the network. Second, the UR5 has no spherical wrist, which changes the structure of the IK mapping in ways the graph topology does not explicitly model. Third, the UR5 joint ranges are wider relative to the manipulator’s reach than the IRB 2400’s joint ranges, which may make some joint dimensions harder to predict. We have not isolated the dominant factor; an interesting future direction is to compare cross-platform behavior on data generated by identical protocols (for example, workspace-pose interpolation followed by analytical IK on both robots) to remove this source of variation.
Importantly, the higher standalone joint MAE on the UR5 does not degrade the warm-start utility; it improves it. This further supports the methodological point of Section 5.1: standalone joint accuracy is not the appropriate metric for differentiating predictors on trajectory-derived data.

5.7. Choosing XGNN Among Comparable Learned Models

In Section 4.1, we report that all evaluated learned models (XGNN, MLP, LSTM, transformer) achieve joint MAE within 0.8 ∘ of each other on the IRB 2400, and that the Copy-qin baseline is in fact lower than every learned model. Given this near-parity, the case for XGNN rests on factors other than standalone joint accuracy:
Strongest warm-start utility. XGNN raises DLS convergence to 100 % on both robots. This is the practical metric that matters for hybrid pipelines and is the primary contribution of this paper.
Built-in interpretability signal. The GATv2 attention coefficients are available at every forward pass at zero additional inference cost. None of the baselines (MLP, LSTM, transformer over flat tokens) exposes a comparable signal over physically meaningful input units without requiring post hoc explanation methods.
Smallest parameter count. XGNN achieves its result with approximately 17.7 K parameters, an order of magnitude smaller than MLP ( 70.7 K), LSTM (574 K), or transformer (175 K). The compact size matters for memory-constrained deployment and for transfer to edge hardware.
Support for arbitrary single-pose queries. LSTM inference fundamentally requires sequential context. XGNN accepts arbitrary single-pose queries with no sequential dependency, fitting sampling-based planners and configuration-space queries naturally.
Structural inductive bias suitable for transfer. The graph representation explicitly encodes the kinematic chain structure, a property shared across serial manipulators. We have validated that this works on two different robots without architectural change. Whether trained weights can be transferred between platforms is an open direction.
For applications that prioritize trajectory smoothness above all other considerations, LSTM remains a sensible choice. For applications that require warm-start utility, single-pose querying, interpretability, or low parameter count, XGNN offers a favorable combination of properties.

5.8. Failure-Case Behavior

To characterize worst-case behavior, we examined the test samples with the highest joint-prediction error. These failure cases concentrate in three regions of the workspace: (i) near workspace boundaries, where small Cartesian motions correspond to large joint motions; (ii) near wrist singularities (joint 5 close to zero for the IRB 2400), where the IK mapping is locally ill conditioned; and (iii) at trajectory boundaries where the seed configuration corresponds to a discontinuity in the underlying motion. The first two failure modes are intrinsic to the IK problem and affect analytical solvers as well, though analytical solvers handle them through explicit singularity-escape strategies. The third failure mode is specific to learning-based approaches and could be mitigated by augmenting the training data with random pose pairs in addition to trajectory data.
The warm-start results in Section 4.5 are encouraging precisely because XGNN’s predictions, even when imperfect in absolute joint-space terms, remain in the basin of attraction of DLS in all 500 tested poses on both robots. This is the operational property that matters for the proposed deployment context.

5.9. Limitations and Future Work

This work has several limitations that constrain the generalizability of its results and motivate future investigation.
Trajectory-derived data only. Both datasets are generated from analytical FK models applied to synthetic trajectories. Real robots exhibit joint encoder quantization, link flexibility, gear backlash, and thermal drift that introduce discrepancies between commanded and achieved configurations. The DH-perturbation experiment in Section 4.6 addresses calibration drift specifically, but a full physical validation is necessary to assess robustness to the full set of real-world effects.
Single-seed training results. The headline results in Section 4.1, Section 4.2, Section 4.3, Section 4.4 and Section 4.5 are reported from training runs with a single random seed (42). Multi-seed evaluation with statistical significance testing across runs is a natural extension but was not feasible within the time and hardware budget of this revision.
Single solution branch. The model learns to map each ( p , q in ) pair to a single joint configuration, namely the solution branch closest to the seed. Predicting all valid solutions simultaneously, as in IKFlow [11] or GGIK [28], is a natural extension we do not address.
Six-DOF only; no redundant manipulators. The current graph has 12 nodes for a six-pose, six-joint problem. Extension to redundant manipulators ( n > 6 DOF) requires adding joint nodes and chain edges and addressing multi-solution prediction; we have not tested this empirically.
Fixed graph topology. The 12-node graph with 82 directed edges is hand-designed and held constant across all samples. The ablation in Section 4.9 shows that the chain edges contribute marginally; a more thorough study of edge topology (including learnable adjacency) could refine the architecture, although it would sacrifice the direct interpretability of attention weights over physically meaningful relationships.
No closed-loop validation. Industrial deployment requires integration with closed-loop position controllers that compensate for residual errors through feedback. We have evaluated XGNN only as an open-loop IK estimator and as a DLS initializer, not as a component in a closed-loop control system.
Attention faithfulness not formally proven. As discussed in Section 4.10, we treat attention weights as an engineering audit signal, not a formal causal explanation. Establishing formal faithfulness would require additional counterfactual or perturbation experiments that we have not conducted in this work.
These limitations point to a set of concrete future directions: physical-robot validation with real encoder noise, multi-seed statistical analysis, extension to multi-solution prediction and redundant manipulators, learnable graph topology, end-to-end closed-loop integration, and formal attention-faithfulness studies. Within the scope of the present manuscript, the central contribution is the experimentally validated warm-start utility on two manipulators under calibration perturbation, which we believe is robust to these limitations.

6. Conclusions

This paper introduced XGNN, an explainable graph neural network for data-driven inverse kinematics of industrial manipulators. The proposed approach is positioned not as a replacement for analytical or numerical IK solvers, but as a complementary tool: a model-free interpretable warm start that accelerates downstream numerical refinement and a fallback IK estimator when DH parameters are proprietary, degraded, or unavailable.
Summary of contributions. XGNN represents each IK query as a 12-node bipartite graph in which six pose nodes connect to six joint nodes via all-to-all attention edges, with additional chain edges between adjacent joint nodes reflecting the serial manipulator topology. Two design decisions are validated through ablation: a learnable node-type embedding (without which MAE degrades by 76 % ) and an angle-aware composite loss (without which RMSE degrades by 65 % ). A third design decision, the chain edges between adjacent joint nodes, was found to contribute marginally ( + 3 % MAE when removed), suggesting that the bipartite pose-to-joint coupling captures most of the structural signal in 6-DOF IK on trajectory-derived data.
Joint-prediction accuracy. On the ABB IRB 2400 dataset of 300,000 samples, XGNN achieves 3.66 ∘ joint MAE under 5-epoch training on a MacBook Air M1 CPU. The MLP, LSTM, and transformer baselines achieve 3.09 ∘ , 3.14 ∘ , and 2.88 ∘ , respectively, under identical training. The Copy-qin baseline, which returns the seed without using the pose, achieves 2.87 ∘ . We characterize this near-parity through a forward kinematics recovery diagnostic which shows that learned models on this trajectory-derived dataset converge toward predictions close to the seed configuration, and we report this finding directly rather than reframing it. Standalone joint accuracy on trajectory-derived data is therefore not the appropriate metric for differentiating these architectures.
Cross-platform validation. XGNN, MLP, LSTM, and transformer were retrained from scratch on a second dataset generated from the Universal Robots UR5 collaborative manipulator. The same qualitative pattern holds on the UR5: learned models cluster near the Copy-qin baseline. The graph representation, the node-type embedding, and the angle-aware loss continue to function on a manipulator with different DH geometry and no spherical wrist, without architectural modification.
Warm-start contribution. The central contribution of the paper is the experimentally validated warm-start utility. On the IRB 2400, XGNN initialization raises the DLS convergence rate from 98.4 % to 100 % , reduces mean iterations from 14.58 to 3.16 , and reduces wall-clock time per pose from 5.58 ms to 1.12 ms (a 5.0 × speedup inclusive of XGNN’s own inference cost). On the UR5, the corresponding numbers are 82.2 % to 100 % convergence, 19.43 to 3.27 iterations, and 9.31 ms to 0.93 ms time per pose (a 10.0 × speedup). XGNN provides this benefit despite being slightly worse than other learned models on standalone joint accuracy.
Calibration robustness. The warm-start benefit is robust to DH parameter perturbation of up to ± 10 % : XGNN trained on the nominal kinematic model maintains 100 % DLS convergence at all perturbation levels, with iteration count rising only from 3.17 to 3.46 . This addresses the concern that warm-start benefits might depend on strict label–solver consistency in the training pipeline.
Minimum predictor accuracy for deployment. A noise-injection sweep establishes that any predictor with joint MAE below approximately 87 ∘ supports at least 90 % DLS convergence as a warm start. XGNN’s actual MAE of 3.66 ∘ on the IRB 2400 is therefore far inside the useful range, with a substantial accuracy margin for additional sources of error in deployment.
Interpretability signal. The GATv2 attention coefficients provide a per-sample interpretability signal at zero additional inference cost. Mean normalized attention entropy of 0.27 across 500 test samples (against a uniform baseline of 1.0 ) confirms that XGNN does not collapse to uniform aggregation but concentrates attention selectively on small subsets of pose-to-joint pathways. Following the established literature debate on attention as explanation, we treat this signal as an engineering audit tool rather than a formal causal proof, and we did not attempt to certify it as such.
Future work. Several directions follow naturally. First, physical-robot validation with real encoder noise, link flexibility, and gear backlash to assess robustness beyond the synthetic DH-perturbation experiment reported here. Second, extension to redundant manipulators ( n ≥ 7 DOF) and multi-solution prediction. Third, multi-seed statistical analysis and formal attention-faithfulness studies to strengthen the interpretability claim. Fourth, transfer-learning experiments across robot platforms, leveraging the graph representation as a substrate for shared geometric inductive bias. Fifth, end-to-end closed-loop integration with industrial position controllers, where XGNN provides the warm start and the controller handles residual error compensation.

Author Contributions

Conceptualization, A.J. and R.B.; methodology, A.J. and R.B.; software, A.J.; validation, A.J., R.B. and L.K.; formal analysis, A.J. and R.B.; investigation, A.J.; resources, R.B.; data curation, A.J.; writing—original draft preparation, A.J.; writing—review and editing, A.J., R.B. and L.K.; visualization, A.J.; supervision, R.B. and L.K.; project administration, R.B. and L.K.; funding acquisition, R.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The authors acknowledge the computational resources provided by the University of Miskolc. All named individuals have consented to this acknowledgement.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
IKInverse Kinematics
FKForward Kinematics
GNNGraph Neural Network
XGNNExplainable Graph Neural Network (proposed method)
GATGraph Attention Network
GATv2Graph Attention Network version 2
MLPMulti-Layer Perceptron
LSTMLong Short-Term Memory
DHDenavit–Hartenberg
DOFDegrees of Freedom
MAEMean Absolute Error
RMSERoot Mean Square Error
DLSDamped Least Squares
CCDCyclic Coordinate Descent
GGIKGenerative Graphical Inverse Kinematics
SE(3)Special Euclidean Group in 3D

References

  1. Paul, R.P. Robot Manipulators: Mathematics, Programming, and Control; MIT Press: Cambridge, MA, USA, 1981. [Google Scholar]
  2. Siciliano, B.; Sciavicco, L.; Villani, L.; Oriolo, G. Robotics: Modelling, Planning and Control; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  3. Denavit, J.; Hartenberg, R.S. A kinematic notation for lower-pair mechanisms based on matrices. J. Appl. Mech. 1955, 22, 215–221. [Google Scholar] [CrossRef] [Scilit]
  4. Pieper, D.L. The Kinematic Equations of Manipulators Under Computer Control. Ph.D. Thesis, Stanford University, Stanford, CA, USA, 1968. [Google Scholar]
  5. Almusawi, A.R.J.; Dülger, L.C.; Kapucu, S. A New Artificial Neural Network Approach in Solving Inverse Kinematics of Robotic Arm (Denso VP6242). Comput. Intell. Neurosci. 2016, 2016, 5720163. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  6. Wampler, C.W. Manipulator inverse kinematic solutions based on vector formulations and damped least-squares methods. IEEE Trans. Syst. Man Cybern. 1986, 16, 93–101. [Google Scholar] [CrossRef] [Scilit]
  7. Klein, C.A.; Huang, C. Review of pseudoinverse control for manipulators. IEEE J. Robot. Autom. 1983, RA-1, 3–8. [Google Scholar]
  8. Aristidou, A.; Lasenby, J. Inverse kinematics: A review of existing techniques and introduction of a new fast iterative solver. Graph. Models 2011, 73, 243–260. [Google Scholar] [CrossRef] [Scilit]
  9. Buss, S.R. Introduction to Inverse Kinematics with Jacobian Transpose, Pseudoinverse, and Damped Least Squares Methods. 2009, unpublished manuscript. Available online: http://math.ucsd.edu/~sbuss/ResearchWeb/ikmethods/ (accessed on 1 May 2026).
  10. Calzada-García, A.; Victores, J.G.; Naranjo-Campos, F.J.; Balaguer, C. A Review on Inverse Kinematics, Control and Planning for Robotic Manipulators With and Without Obstacles via Deep Neural Networks. Algorithms 2025, 18, 23. [Google Scholar] [CrossRef] [Scilit]
  11. Ames, B.; Morgan, J.; Konidaris, G. IKFlow: Generating Diverse Inverse Kinematics Solutions. IEEE Robot. Autom. Lett. 2022, 7, 7177–7184. [Google Scholar] [CrossRef] [Scilit]
  12. Miller, W.T.; Glanz, F.H.; Kraft, L.G. Neural network models for inverse kinematics. IEEE Control Syst. Mag. 1989, 9, 59–66. [Google Scholar]
  13. Bensadoun, R.; Gur, S.; Blau, N.; Shenkar, T.; Wolf, L. Neural Inverse Kinematics. In Proceedings of the International Conference on Machine Learning (ICML), Baltimore, MD, USA, 17–23 July 2022; pp. 1787–1797. [Google Scholar]
  14. Park, S.; Schwartz, M.; Park, J. NODE IK: Solving Inverse Kinematics with Neural Ordinary Differential Equations for Path Planning. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Detroit, MI, USA, 1–5 October 2023; pp. 4787–4793. [Google Scholar]
  15. Habich, J.O.; Allgeuer, P.; Wermter, S. CycleIK: Neuro-Inspired Inverse Kinematics. In Proceedings of the International Conference on Artificial Neural Networks (ICANN); Springer: Berlin/Heidelberg, Germany, 2023; pp. 457–470. [Google Scholar]
  16. Calzada-García, A.; Victores, J.G.; Naranjo-Campos, F.J.; Balaguer, C. Inverse Kinematics for Robotic Manipulators via Deep Neural Networks: Experiments and Results. Appl. Sci. 2025, 15, 7226. [Google Scholar] [CrossRef] [Scilit]
  17. Lu, J.; Zou, T.; Jiang, X. A Neural Network Based Approach to Inverse Kinematics Problem for General Six-Axis Robots. Sensors 2022, 22, 8909. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. Shah, M.F.; Khan, N.A.; Jamwal, P.K.; Chetty, G.; Goecke, R.; Hussain, S. Inverse kinematics solution for a six-degree-of-freedom upper limb rehabilitation robot using deep learning models. Neural Comput. Appl. 2025, 37, 12991–13009. [Google Scholar] [CrossRef] [Scilit]
  19. Doshi-Velez, F.; Kim, B. Towards a rigorous science of interpretable machine learning. arXiv 2017, arXiv:1702.08608. [Google Scholar]
  20. ISO 10218-1:2011; Robots and Robotic Devices—Safety Requirements for Industrial Robots—Part 1: Robots. International Organization for Standardization: Geneva, Switzerland, 2011.
  21. Gilpin, L.H.; Bau, D.; Zielinski, B.; McKinney, A.; Kagal, L. Explaining explanations: An overview of interpretability of machine learning. In Proceedings of the IEEE 5th International Conference on Data Science and Advanced Analytics (DSAA), Turin, Italy, 1–3 October 2018; pp. 80–89. [Google Scholar]
  22. Zhang, Q.; Zhu, S. Visual interpretability for deep learning: A survey. Front. Inf. Technol. Electron. Eng. 2020, 21, 27–39. [Google Scholar] [CrossRef] [Scilit]
  23. Scarselli, F.; Gori, M.; Tsoi, A.C.; Hagenbuchner, M.; Monfardini, G. The graph neural network model. IEEE Trans. Neural Netw. 2009, 20, 61–80. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  24. Wu, Z.; Pan, S.; Chen, F.; Long, G.; Zhang, C.; Yu, P.S. A comprehensive survey on graph neural networks. IEEE Trans. Neural Netw. Learn. Syst. 2020, 32, 4–24. [Google Scholar] [CrossRef] [Scilit]
  25. Sanchez-Gonzalez, A.; Heess, N.; Springenberg, J.T.; Merel, J.; Riedmiller, M.; Hadsell, R.; Battaglia, P. Graph networks as learnable physics engines for inference and control. In Proceedings of the International Conference on Machine Learning, Stockholm, Sweden, 10–15 July 2018; pp. 4470–4479. [Google Scholar]
  26. Tolstaya, E.; Zhang, W.; Smith, A.M.; Pappas, G.J.; Kumar, V. Learning decentralized controllers for robot swarms with graph neural networks. In Proceedings of the Conference on Robot Learning, Cambridge, MA, USA, 16–18 November 2020; pp. 671–682. [Google Scholar]
  27. Wang, Z.; Xu, D.; Darrell, T. Learning Compositional Representations for Few-Shot Recognition without Diverse Labeling. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Virtual, 11–17 October 2021; pp. 9279–9288. [Google Scholar]
  28. Limoyo, O.; Marić, F.; Giamou, M.; Alexson, P.; Petrović, I.; Kelly, J. Generative Graphical Inverse Kinematics. IEEE Trans. Robot. 2025, 41, 1002–1018. [Google Scholar] [CrossRef] [Scilit]
  29. Pandey, P.; Reuter, J.; Steup, C.; Mostaghim, S. The Road to Learning Explainable Inverse Kinematic Models: Graph Neural Networks as Inductive Bias for Symbolic Regression. arXiv 2025, arXiv:2501.13641. [Google Scholar]
  30. Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Liò, P.; Bengio, Y. Graph attention networks. In Proceedings of the International Conference on Learning Representations, Vancouver, BC, Canada, 30 April–3 May 2018. [Google Scholar]
  31. Brody, S.; Alon, U.; Yahav, E. How attentive are graph attention networks? In Proceedings of the International Conference on Learning Representations, Virtual Event, 25–29 April 2022. [Google Scholar]
  32. Jain, S.; Wallace, B.C. Attention is not Explanation. In Proceedings of the NAACL-HLT, Minneapolis, MN, USA, 2–7 June 2019; pp. 3543–3556. [Google Scholar]
  33. Wiegreffe, S.; Pinter, Y. Attention is not not Explanation. In Proceedings of the EMNLP-IJCNLP, Hong Kong, China, 3–7 November 2019; pp. 11–20. [Google Scholar]
  34. Beeson, P.; Ames, B. TRAC-IK: An open-source library for improved solving of generic inverse kinematics. In Proceedings of the 2015 IEEE-RAS 15th International Conference on Humanoid Robots (Humanoids); IEEE: Piscataway, NJ, USA, 2015; pp. 928–935. [Google Scholar] [CrossRef] [Scilit]
  35. Yuan, X.; Wan, W.; Harada, K. IKSel: Selecting good seed joint values for fast numerical inverse kinematics iterations. arXiv 2025, arXiv:2503.22234. [Google Scholar] [CrossRef] [Scilit]
  36. Toshani, H.; Farrokhi, M. Real-time inverse kinematics of redundant manipulators using neural networks and quadratic programming: A Lyapunov-based approach. Robot. Auton. Syst. 2014, 62, 766–781. [Google Scholar] [CrossRef] [Scilit]
  37. Levine, S.; Finn, C.; Darrell, T.; Abbeel, P. End-to-end training of deep visuomotor policies. J. Mach. Learn. Res. 2016, 17, 1334–1373. [Google Scholar]
  38. Andrychowicz, M.; Baker, B.; Chociej, M.; Józefowicz, R.; McGrew, B.; Pachocki, J.; Petron, A.; Plappert, M.; Powell, G.; Ray, A.; et al. Learning dexterous in-hand manipulation. Int. J. Robot. Res. 2020, 39, 3–20. [Google Scholar] [CrossRef] [Scilit]
  39. Jlidi, A.; Benotsmane, R.; Kovács, L.; Trohak, A. A Novel Graph Neural Network Approach for Inverse Kinematics in Robotic Arms. In Proceedings of the 26th International Carpathian Control Conference (ICCC); IEEE: Piscataway, NJ, USA, 2025; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  40. Ribeiro, M.T.; Singh, S.; Guestrin, C. “Why should I trust you?” Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 1135–1144. [Google Scholar] [CrossRef] [Scilit]
  41. Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions. In Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017; pp. 4765–4774. [Google Scholar]
  42. Ying, R.; Bourgeois, D.; You, J.; Zitnik, M.; Leskovec, J. GNNExplainer: Generating explanations for graph neural networks. In Proceedings of the 33rd Conference on Neural Information Processing Systems, Vancouver, BC, Canada, 8–14 December 2019; pp. 9240–9251. [Google Scholar]
  43. Luo, D.; Cheng, W.; Xu, D.; Yu, W.; Zong, B.; Chen, H.; Zhang, X. Parameterized explainer for graph neural network. In Proceedings of the 34th International Conference on Neural Information Processing Systems, Vancouver, BC, Canada, 6–12 December 2020; pp. 19620–19631. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.