ORIGINAL RESEARCH article

Front. Neurorobot., 02 September 2025

Volume 19 - 2025 | https://doi.org/10.3389/fnbot.2025.1649870

Imitation-relaxation reinforcement learning for sparse badminton strikes via dynamic trajectory generation

  • 1. Center for X-Mechanics, Zhejiang University, Hangzhou, China

  • 2. ZJU-Hangzhou Global Scientific and Technological Innovation Center, Zhejiang University, Hangzhou, China

  • 3. State Key Laboratory of Fluid Power and Mechatronic System, Zhejiang University, Hangzhou, China

  • 4. Institute of Applied Mechanics, Zhejiang University, Hangzhou, China

Abstract

Robotic racket sports provide exceptional benchmarks for evaluating dynamic motion control capabilities in robots. Due to the highly non-linear dynamics of the shuttlecock, the stringent demands on robots' dynamic responses, and the convergence difficulties caused by sparse rewards in reinforcement learning, badminton strikes remain a formidable challenge for robot systems. To address these issues, this study proposes DTG-IRRL, a novel learning framework for badminton strikes that integrates imitation-relaxation reinforcement learning with dynamic trajectory generation. The framework demonstrates significantly improved training efficiency and performance, achieving faster convergence and twice the landing accuracy. Analysis of the reward function within a specific parameter space hyperplane intuitively reveals the convergence difficulties arising from the inherent sparsity of rewards in racket sports and demonstrates the framework's effectiveness in mitigating local and slow convergence. Implemented on hardware with zero-shot transfer, the framework achieves a 90% hitting rate and a 70% landing accuracy, enabling sustained humanrobot rallies. Cross-platform validation using the UR5 robot demonstrates the framework's generalizability while highlighting the requirement for high dynamic performance of robotic arms in racket sports.

1 Introduction

Interceptive robotic ball sports, including table tennis (), badminton (), and tennis (; ) have served as critical testbeds for evaluating the dynamic performance of robotstasks that remain challenging even for skilled human players. These sports typically involve three stages: (1) ball trajectory prediction, (2) hitting strategy decision, and (3) robotic arm motion control. Accurate ball trajectory prediction is crucial for successful interception, while the hitting decision determines the post-impact trajectory and landing position. Real-time motion control ensures the racket reaches the desired state for an effective strike. Collectively, these stages impose stringent demands on precise trajectory prediction, robust hitting decisions, real-time motion control, and high dynamic responsiveness, underscoring the inherent challenges of fast-paced racket sports.

Accurate trajectory prediction intuitively relies on precise dynamics models for ball sports [table tennis (; ), badminton ()]. However, uncertainties in physical parameters often lead to substantial prediction errors, particularly pronounced in badminton due to its significant aerodynamic drag effects and extended flight trajectories (; ). While Kalman Filter-based approaches have been adopted to enhance accuracy in table tennis (, ), tennis (), badminton (; ), and other ball (; ) sports. Many approaches simplify aerodynamics by neglecting nonlinear forces (air drag force or Magnus force) or assuming constant aerodynamic coefficients. These simplifications are particularly inadequate for precise badminton trajectory prediction, whose unique feathered structure results in highly nonlinear dynamics and varying drag coefficient due to feather deformation, leading to pronounced velocity decay (initial-to-terminal ratio up to 17.5; ), 5–10 times greater than others. These distinctive characteristics severely complicate accurate state prediction, posing unique challenges, especially over longer horizons.

Successful ball-hitting in robotic racket sports necessitates accurate hitting decisions and real-time motion control. Early approaches utilized collision and trajectory prediction models for calculating the desired racket state (; ) and trajectory optimization (; ) for motion control, which is inherently limited by model parameter accuracy, particularly critical in the badminton task due to their highly nonlinear dynamics and variable drag coefficients. Recent advancements have employed reinforcement learning (DDPG ; , TD3 ), evolutionary search (; ) for hitting decision or jointly learning hitting strategies and joint-level motion control (; ), and achieving diverse table tennis playing styles. However, RL approaches often rely on sparse reward functions where the agent rarely sees a reward signal with random exploration (). This inherent sparsity often impedes efficient exploration and leads to convergence to suboptimal policies, thereby requiring considerable iterative sim-to-real training. Learning from Demonstration (LfD) (; ; ; ) mitigates this by imitating human behaviors from expert demonstrations, but it typically requires expensive datasets, and its generalization is inherently limited by the provided demonstrations.

Beyond control strategies, the dynamic capabilities of the robotic arm are also crucial. Commercial collaborative robotic arms are commonly employed, particularly in table tennis (; ; ; ), where the required racket speeds and motion ranges are relatively low. However, as the fastest racket-based projectile sport with recorded smash velocities exceeding 137 m/s (), badminton imposes substantially more stringent requirements on the dynamic performance of robotic armsparticularly in joint velocity (>24 rad/s) and acceleration (>600 rad/s2) () for competitive-level returnscompared to other robotic ball sports. To address these challenges, , ) developed a lightweight, high-speed robotic arm with pneumatic actuators, achieving a hitting success rate of 69.7%. Meanwhile. also highlighted the critical impact of dynamic performance for badminton robots.

To address the convergence challenges of RL due to sparse rewards and the trajectory prediction challenges posed by the highly nonlinear dynamics in badminton, this letter proposes a learning framework (DTG-IRRL) and a robot-badminton system for sparse robotic badminton striking, which integrates the imitation relaxation reinforcement learning (IRRL; ) with the dynamic trajectory generation (DTG). The DTG generates a feasible arm reference trajectory as an initial hitting strategy through the prediction results of the shuttlecock's hitting time and point using the initial 10 frames of ball state, analogous to feedforward control. Then, the IRRL stage trains the arm motion controller, leveraging the generated reference trajectory as imitation targets. Exploiting the unimodal characteristics of the imitation reward function and dynamic reference trajectory adjustment of DTG, this framework significantly mitigates the challenges of convergence to local optima and slow convergence due to sparse reward and improves landing accuracy compared to baseline methods.

The framework has been experimentally validated through hardware implementation with zero-shot transfer. This system includes a 180 Hz motion capture system with ±0.02mm spatial resolution (), a 4-DOF robotic arm exhibiting 234 m/s2 peak end-effector acceleration, and a ball launcher. The project is available on https://stylite-y.github.io/DTG-IRRL-For-Badminton/. The key contributions include:

  • We propose a learning framework (DTG-IRRL) that integrates imitation relaxation and reinforcement learning with dynamic trajectory generation, achieving faster convergence speeds and a higher success rate. An analysis of the reward distribution in a specific hyperplane intuitively demonstrates the framework's effectiveness in mitigating local and slow convergence due to sparse rewards.

  • Hardware implementation on physical platforms with zero-shot transfer demonstrates a 90% hitting rate and 70% landing accuracy, while enabling sustained human-robot rallies exceeding six consecutive strokes, as shown in Figure 1.

  • Through comparative evaluations on the UR5 and KirinArm robotic arms, we validate the framework's cross-platform generalization and reveal the impact of robot arm dynamic performance on high-speed ball motion.

Figure 1

2 Methodology

2.1 Overview

This section details the proposed learning framework (DTG-IRRL) for real-time badminton striking, illustrated in Figure 2. The framework consists of two components: dynamic trajectory generation (DTG) for robotic arm's reference trajectory generation and imitation relaxation reinforcement learning for motor controller training. Inspired by prior work (), exploiting the unimodal characteristics of the imitation reward function, the IRRL method can guide the policy toward rapid and efficient convergence to mitigate the convergence challenges caused by sparse rewards. However, it typically relies on fixed references, limiting its adaptability for highly dynamic tasks. DTG-IRRL addresses this by dynamically generating a trajectory using a supervised prediction network and a reference trajectory generation module. The motion controller is trained by leveraging the generated trajectory as mimic targets in the imitation phase. The controller is then fine-tuned via reinforcement learning using task-specific rewards in the relaxation phase.

Figure 2

2.2 Dynamic trajectory generation (DTG)

2.2.1 Hitting time and point prediction network

The distinctive feathered design of shuttlecocks results in a non-parabolic flight trajectory governed by Tartaglia's curve. The shuttlecock's motion is governed by a nonlinear dynamic system that incorporates gravitational and velocity-dependent aerodynamic drag forces (; ), as detailed in Equation 1. In simulation, the velocity-related air drag term (second term on the right side of the Equation 1) is also applied to the shuttlecock to simulate the real-world dynamics at each step except for gravity. And M, ρ, CD, R, U respectively denote shuttlecock mass, air density, drag coefficient, geometric radius, and speed magnitude, while g, U represent the gravitational acceleration vector and the instantaneous velocity vector.

Using initial 10-frame sequences of shuttlecock observations , we predict the hitting point and time of the shuttlecock at user-defined hitting planes (y=0.25) based on the supervised learning network (Figure 2), where , and denote the 3D position and linear velocity of the shuttlecock and the elapsed time since service at the i-th frame, respectively; The network outputs xtc, tc denote hitting point and time of the ball at the user-defined plane.

The training dataset was generated in a simulation. In badminton flight trajectory, shuttlecocks unique feather structure causes its posture to flip, oscillate, and subsequently stabilize within approximately 130 ms after impact (), leading to variations in the drag coefficient. Therefore, we implement domain randomization to randomly sample the drag coefficient between [0.62, 0.69] during the initial 130 ms of flight for each simulation cycle and hold it constant thereafter in both the prediction network training datasets collection and the RL training process to capture the inherent nonlinear dynamics of the shuttlecock. The prediction network employs an MLP network with two hidden layers of 256 units in each. Training minimizes the mean squared error (MSE) between the predicted and actual hitting point and time.

2.2.2 Reference trajectory generation

Simultaneously learning both hitting strategy and motion control using RL is challenging due to the sparse reward function. To mitigate this, we calculate the robotic arm's reference trajectory based on trajectory prediction results via reference trajectory generation, which serves as an initial hitting strategy. This strategy implicitly provides initial solutions for desired racket orientation, position, and hitting time, analogous to feedforward control. This initial guidance significantly improves training efficiency and accelerates convergence.

We employed a sigmoid-based trajectory (Equation 2) that guarantees C2 continuity in joint space, preventing torque fluctuations. For the 4-DOF robotic arm, target joint angles Θtar ∈ ℝ4 can be computed via inverse kinematics from , with the wrist pitch angle fixed for strike consistency. The reference trajectory is fully determined by three parameters: initial joint angles Θinit, target angles Θtar, and hitting time tc, shown in Equation 3, where ai, bi, ci, di are the parameters of the function.

2.3 Imitation-relaxation reinforcement learning (IRRL)

Leveraging the generated trajectory as imitation targets, the two-stage imitation-relaxation reinforcement learning framework () is employed to accelerate policy convergence and avoid local optima. In the imitation stage, the policy learns to mimic trajectories generated by the DTG module (shown in Figure 2). In the relaxation stage, policies are refined through reward shaping to achieve precise striking and landing control.

2.3.1 Training environment

To learn the badminton striking strategy, we model the task as a finite-horizon, discounted Markov Decision Process (MDP) , where is the state space, action space, and discount factor, and denotes the state transition dynamics: , and each transition is rewarded with a reward function r: . We use MuJoCo as the physics engine for simulation. The policy, represented by an MLP network with two hidden layers of 512 units in each, was trained with the PPO algorithm () in the Stable Baselines3 package.

2.3.2 State and action

The state s is an 18-dimensional vector defined as , where are the joint angle and velocity of the robotic arm, ball position and linear velocity, and previous action. The real-time shuttlecocks position and velocity are received as feedback state to compensate for the prediction deviations caused by the nonlinear dynamics and variations in drag coefficient. In simulation, the initial position and velocity range of the badminton are as follows: x ∈ [−0.12, −0.14], y ∈ [3.8, 4.2], z ∈ [0.6, 0.8], Vx ∈ [−0.8, 0.8], Vy ∈ [−10, −7.5], Vz ∈ [6.0, 7.5]. The action space a is the desired joint angle. To facilitate learning, we train the policy to infer the desired angle around the default angle of the robotic arm θdefault. Therefore, the desired joint angle can be calculated by

2.3.3 Imitation stage reward

For the imitation stage, the policy learns to track reference trajectories through a composite reward function consisting of the joint and velocity trajectory imitation term rm, the action smoothness and power penalty term rτ, and the collision penalty rc. Each reward is shaped using a Gaussian kernel and normalized to (0, 1), as shown in Equation 5. ω = [ωm, ωτ, ωc, ωsp] is the reward weight coefficient. For all undesirable interactions excluding robot-ball contact and ball-ground impact, rc will return a negative value of −1.

2.3.4 Relaxation stage reward

For the relaxation stage, the sparse task-specific rewards rsp are introduced to guide the policy in achieving badminton striking. rsp contains two components: rh and rl, where rh is activated upon racket-shuttlecock contact, providing a positive reward, and rl is triggered when the shuttlecock lands within the target area, yielding a positive reward. The total reward shown in Equation 6 is employed to train the policy in the relaxation stage.

2.4 Domain randomization

To enhance the robustness of the policy trained in simulation and overcome the sim-to-real gap, we implement domain randomization () for the kinematic and dynamic parameters of both the robotic arm and the shuttlecock. We randomize the initial angle, PD gains of the robotic arm, initial position and velocity of the ball, air drag coefficient, and system delay at the beginning of each rollout. Meanwhile, because the motion capture system introduces an approximate delay of 10 ms, we introduce a random delay of 0–20 ms to the shuttlecock's state observation during the training stage to enhance the controller's robustness to sensor latency. Additionally, noise perturbations are introduced to both network observations and robotic arm joint torques to enhance perceptual realism and controller robustness. The ranges for randomization of each parameter and noise are specified in Table 1.

Table 1

ParametersRangeUnit
Kp factor[0.9, 1.1]/
Kd factor[0.9, 1.1]/
Initial Joint angle rand[−0.1, 0.1]rad
Initial ball position rand[−0.1, 0.1]m
Air drag coefficient[0.65, 0.69]/
System delay[0, 20]ms
Initial ball velocityvx = [−0.8, 0.8]m/s
vy = [−10.0, −7.5]
vZ = [6.0, 7.0]

Domain randomization ranges.

3 Experiment and results

3.1 Experiment platform

3.1.1 Robot-badminton system

The proposed framework is implemented on a high-dynamic 4-DOF robotic arm (KirinArm) with a 500 Hz control frequency, as shown in Figure 3A. A programmable shuttlecock launcher is implemented, featuring speed control in the range of 5–30 m/s and an adjustable angle of ±30° (Figure 3C).

Figure 3

3.1.2 Motion capture system

The FZMotion optical motion capture system () is deployed for real-time shuttlecock tracking, using a 16-camera array operating at 180Hz sampling frequency with 2048 × 1536 resolution (Figure 3B).

3.1.3 Simulation platform

The policy is trained on a workstation with an AMD Ryzen Threadripper 3970X @ 2.20 GHz, and an NVIDIA RTX 3090Ti GPU. The policy achieved convergence within approximately 10 hours through parallel training across 60 environments for 36,000 iterations. The physical simulation frequency and control frequency are 1000 Hz and 500 Hz, respectively. The policy is training with weight ω = [0.4, 0.4, 0.1, 0.1]. The detailed hyperparameters are shown in Table 2.

Table 2

ParametersValue
Number of environments60
Learning epochs8
Learning rate0.0001
Gamma0.995
Lamda0.99
Number of batches4
Network hidden layers[512, 512]

Hyperparameters for PPO and neural network.

3.2 Shuttlecock prediction results analysis

The accuracy of the prediction network determines the initial reference trajectory precision, while its inference time affects training efficiency. To train the prediction network, we generated 22,000 shuttlecock trajectories with randomized initial positions and velocities in simulation to ensure data diversity. For real-world validation, 206 sets of real trajectories were collected, with the first 10 frames of each serving as input to test the shuttlecocks hitting point and time error at the user-defined plane.

The proposed prediction network achieved average position errors of 0.040 m (X) and 0.078 m (Z), with a 0.024 s time error. In comparison, the physics-based model () exhibited prediction errors approximately 4-fold larger (0.21m in X, 0.26m in Z), while an EKF-RBF method () yielded landing position prediction errors of 0.08m (X) and 0.15 m (Y), exhibiting maximum errors 2 times that of ours. The network trained on simulated data with a fixed drag coefficient () resulted in an average spatial error of 0.13 m, 1.5 times that of ours. These results demonstrate the superior accuracy of the prediction network on the highly nonlinear dynamics. Furthermore, we conducted 100 trials to assess the computational cost of the reference trajectory generation module, which impacts the policy training efficiency. The average cost is 0.048 ms, significantly below the 2 ms control cycle.

It is worth noting that in the DTG-IRRL framework, the prediction network (red dotted frame in Figure 2) serves to provide an a priori estimate of the shuttlecock's interception point. This estimate is used exclusively during the training phase to generate an initial reference trajectory for the robot arm. Crucially, the DTG module itself is a training-time component designed to guide the controller to learn the motion style of the reference trajectory and is not deployed on the hardware. The final policy deployed on the physical robot is solely the motion controller (as depicted in the blue frame in Figure 2). Furthermore, during simulation, the prediction module operates independently for each shot, eliminating drift issues.

3.3 DTG-IRRL framework training results analysis

To validate the effectiveness of the DTG-IRRL framework for badminton striking, we conducted a comparative analysis across three training paradigms:

  • DTG-IRRL: integrates IRRL with the DTG module.

  • IRRL-o: utilizes IRRL without the DTG module, relying on a fixed reference trajectory independent of the shuttlecock's state.

  • DTG-RL: one-stage RL with DTG module, where the policy is trained directly via reward Equation 6 without an imitation learning stage.

All implementations maintained the identical network architectures and hyperparameters.

Quantitative comparisons (Figure 4) demonstrate DTG-IRRL's superior performance, converging in 20,000 episodes with a peak reward of 1.62 during relaxationoutperforming both DTG-RL (converging in 25,000 episodes with a reward of 1.56) and IRRL-o (1.48). While IRRL-o matches DTG-IRRL's convergence rate, its significantly lower final reward highlights the prediction network's contribution.

Figure 4

Then we evaluate the policy performance using three metrics: hitting rate (Rh), landing accuracy (Rl), and landing deviation (De) (Equation 7) between the average landing position and the target center, where lower values indicate better precision. The target landing area spans x ∈ [−0.8, 0.8]m and y ∈ [3.5, 6.0]m, centered at [0.0, 4.75] m. Quantitative evaluation through 50 simulated trials shows DTG-IRRL's superior control performance, achieving 100% Rh with 80% Rl (shown in Table 3). In comparison, IRRL-o and DTG-RL show significantly lower Rl (34% and 36%, respectively). DTG-IRRL achieved superior landing deviation with De = 0.426 approximately 67% of DTG-RL's (De = 0.63) and half of IRRL-o's (De = 0.0.94), illustrated in Figure 5. Notably, DTG-IRRL's landing points are tightly clustered within the target zone, whereas DTG-RL produces scattered distributions, and IRRL-o misses the target in 66% of cases. IRRL-o performs poorly in accommodating shuttlecock deviation due to the absence of initial reference trajectory guidance. DTG-RL's lack of imitation learning results in slower convergence and potential convergence to suboptimal policies because of the non-convex reward function – such as the robotic arm adopting unnatural motion patterns like moving quickly to a vertical position, remaining stationary, and swinging just before the ball's arrival.

Comparative analysis reveals two primary advantages of DTG-IRRL: (1) Leveraging the generated trajectory, the IRRL strategy efficiently achieves faster convergence by exploiting the unimodal nature of the imitation reward function in the parameter space; (2) utilizing the initial arm reference trajectory generated by DTG, DTG-IRRL dynamically adjusts the initial reference trajectory based on the prediction results, thereby enhancing the hitting rate and landing accuracy.

Table 3

Target area (m)Robotic armApproachRhRlDe (m)
x ∈ [−0.8, 0.8]
y ∈ [3.5, 6.0]
KirinArmDTG-IRRL100%80%0.426
DTG-RL88%36%0.63
IRRL-o92%34%0.94
x ∈ [−0.8, 0.8]
y ∈ [3.5, 6.0]
KirinArmDTG-IRRL100%80%0.426
UR5DTG-IRRL94%58%1.17
x ∈ [−0.8, 0.8]
y ∈ [5.0, 8.0]
KirinArmDTG-IRRL96%72%0.59
UR5DTG-IRRL90%0.0%2.75

Results of badminton striking tests.

Bold values indicates the best-performing results obtained using the DTG-IRRL learning framework and the KirinArm robotic arm.

Figure 5

3.4 Sparse rewards analysis on hyperplane

For high-dimensional nonlinear multi-objective problems, the policy is sensitive to the distribution of the reward function and the initial solution settings. In racket sports, the sparse reward and the high-dimensional network parameter space complicate policy convergence analysis. Therefore, inspired by , we define a special parameter space hyperplane to analyze the reward function distribution:

where Θf, Θm, Θsp are network parameters of the controllers U(x; Θf), U(x; Θm), U(x; Θsp) that are trained using the reward functions with rt, rm and rsp in Equations 5, 6, x is the input vector. The surface plot of the cumulative reward on the hyperplane can be represented as a ternary plot with ω = [0.4, 0.4, 0.1, 0.1] (Figure 6A), where η = (α, β, γ) represent the triangle coordinates of Θl. The reward for each controller is averaged over 50 simulation trials.

Figure 6

Results in Figure 6C indicate that the sparse reward surface exhibits multi-local optima on the hyperplane, with a global maximum around Θf, where the policy initialized around Θsp will converge to the suboptimal solution Θsp. Furthermore, the gradients of the reward surface are low in regions distant from the three special controllers (black area in Figure 6C), severely hindering convergence speed. In contrast, the torque and collision reward surface (Figures 6D, E) both have a single maximum. And the imitation reward surface (Figure 6B) features a single maximum near Θm, enabling fast convergence from any initial U(x; Θ). Notably, both sparse and total reward (Figure 6A) surfaces exhibit ascending gradients from Θm to Θf, suggesting that initializations around Θm can effectively guide convergence to the optima Θf. Leveraging these characteristics, the DTG-IRRL firstly guides the policy to quickly converge to U(x; Θm) (white arrow in Figure 6B) using only rm. Then, utilizing Θm as the initial parameters, the policy can converge to the optimal controller U(x; Θf) with the total reward rt (white arrow in Figure 6A). Empirical results demonstrate that DTG-IRRL can effectively mitigate the challenges of convergence to local optima and slow convergence due to sparse reward.

Moreover, to evaluate the impact of the framework's dynamic reference trajectory adjustment on policy performance, we also define a parameter space hyperplane based on , where denote the parameters of controllers , trained via DTG-IRRL and IRRL-o methods with reward rm, respectively. As illustrated in Figure 7, both the sparse and total reward surfaces reveal that the gradient from to optima Θf is notably low in most regions, with significant gradient only near Θf. This indicates that IRRL-o converges inefficiently unless initialized close to Θf. In contrast, DTG-IRRL demonstrates a pronounced gradient from to Θf, suggesting that policies initialized around can effectively and quickly converge to Θf. These results confirm that DTGs dynamic trajectory adjustment capability enables the policy to converge to the optimal solution Θf more efficiently and quickly.

Figure 7

3.5 Reward weights sensitivity and policy stability analysis

3.5.1 Reward weights sensitivity analysis

To further verify the effectiveness of the DTG-IRRL in guiding faster policy convergence and its sensitivity to different weights, we conducted an ablation study to evaluate the impact of the different weights for the imitation and sparse reward components during the relaxation stage of training. We tested four different weight configurations, and the reward curves are presented in Figure 8. The results demonstrate that the policy's convergence is not sensitive to different weights. While the final cumulative reward values differ due to the scaling factor of the sparse reward weights, all four policies exhibit similar convergence profiles, stabilizing after approximately 20,000 training iterations.

Figure 8

To quantitatively evaluate the landing accuracy of different rewards on landing accuracy, each policy was evaluated over 50 hitting trials, with the results summarized in Table 4. The results show that all four policies achieve consistently high performance: the hitting rate (Rh) exceeds 90%, landing accuracy (Rl) is approximately 80%, and the landing deviation (De) is around 0.4m. This demonstrates that the final policy's performance is robust to variations in the reward function weights. We attribute this stability to our DTG-IRRL framework, which effectively guides the policy to reach the optimal solution, making it less sensitive to minor tuning of reward components.

Table 4

Reward weightsRhRlDe(m)
ω = [0.2, 0.6, 0.1, 0.1]92%74%0.37
ω = [0.4, 0.4, 0.1, 0.1]100%80%0.43
ω = [0.5, 0.3, 0.1, 0.1]98%74%0.36
ω = [0.6, 0.2, 0.1, 0.1]94%78%0.40

Test results of different reward weights.

3.5.2 Stability analysis

Stability determines the controller's ability to resist external perturbations. However, theoretical stability analysis is often difficult for systems controlled by complex, high-dimensional neural network policies. Therefore, inspired by prior work [1], we conducted an empirical analysis to assess the systems stability to perturbations. We introduced varying levels of disturbance (from 5% to 45%) to the initial position and velocity of the shuttlecock while ensuring the initial states remained within the training distribution (Table 5). We tested the controllers landing error (defined as the Euclidean distance between the landing position and the target center) under different disturbances. The landing box-line error plot in Figure 9 demonstrates that the landing errors of most balls under different disturbances are small. When the disturbance is above 40%, the variance of the landing error increases slightly. The results, shown in Table 5, illustrate remarkable stability. Despite significant perturbations, the hitting rate (Rh) remains at 100% and landing accuracy (Rl) stays above 94%. Crucially, the landing deviation (De) shows only a slight fluctuation increase, approximately 2.6%, which can be almost ignored. Within the operational range, the closed-loop system maintains consistent performance despite increasing disturbances, demonstrating inherent stability.

Table 5

DisturbanceRhRlDe(m)
5%100%94%0.189
10%100%96%0.183
15%100%100%0.192
20%100%96%0.187
30%100%96%0.184
40%100%98%0.201
45%100%94%0.194

Test results of different level disturbance.

Figure 9

3.6 Generalization of DTG-IRRL framework

To validate the generalizability of the framework, we deployed it on a UR5 robotic arm () using identical hyperparameter configurations. Moreover, to analyze the influences on shuttlecock speed and flight distance of the robotic arm's dynamic performance, we trained two controller–one for the UR5 and another for the KirinArm–using the DTG-IRRL framework with identical training parameters, varying only the target landing areas. A multi-rally experiment then compared their performance across different landing distances.

The results shown in Table 3 demonstrate successful generalization across robotic platforms in 50 trials, with both KirinArm and UR5 achieving high Rh (100% and 94%, respectively). Rl was 80% (KirinArm) and 58% (UR5). Quantitative analysis shows that a higher De value for UR5 (1.17 m) compared to KirinArm (0.426 m), indicating relatively lower accuracy. Crucially, these results were achieved without a reward function or weight adjustments, demonstrating cross-platform generalization capability.

Experimental results in Table 3 reveal significant performance differences between KirinArm and UR5 across varying target distances. For close-range targets, both KirinArm and UR5 achieve Rh exceeding 90% and Rl exceeding 50%. Notably, KirinArm demonstrated superior accuracy, exhibiting a 1.5-fold higher Rl and a 50% reduction in De compared to the UR5. At farther ranges, while UR5 maintained an Rh of 90%, it failed to land the shuttlecock within the target area (Rl= 0%). In contrast, KirinArm sustains high performance (Rh= 96%, Rl= 72%). Figure 10 shows landing distributions from 50 trials, highlighting KirinArm's consistent precision with an average position nearer to the target center and a substantially lower De (0.59 vs UR5's 2.75, 21.5% of UR5's).

Figure 10

To investigate the reasons for the performance differences, we conducted a comparative analysis of both robotic arms' velocity and acceleration capabilities (Figure 11). KirinArm demonstrates superior terminal speed and acceleration, approximately twice and three times higher than those of UR5, respectively, explaining UR5's limitations in dynamic tasks. Torque-speed curves in Figures 11C, D reveal that UR5's elbow joint operates at its motor capacity limit (gray dashed lines are the motor constraints, which are modeled as a piecewise linear function to approximate the motors external characteristic curve ), while KirinArm operates well within its limits. The limitation of UR5 is attributed to its higher mass, necessitating greater torque during rapid movements, and its high gear reduction ratio, limiting maximum joint speeds. The results demonstrate that dynamic capability is critical for high-speed badminton tasks.

Figure 11

3.7 Hardware experiment results

Implemented on the hardware system, the framework achieves zero-shot transfer. Across 60 trials with randomized initial states of the shuttlecock (generated by a pan-tilt shuttlecock launcher), the DTG-IRRL controller achieved a 90% hitting rate (54/60) and a 70% landing accuracy (42/60). Missed strikes (10%) occurred only when the shuttlecocks altitude exceeded the arm's workspace. The landing positions showed a deviation of 0.2 m (Figure 12), confirming both the controller's spatial consistency and its practical applicability for badminton tasks.

Figure 12

Human-robot interaction tests with three novice players (Figure 13) demonstrated sustained rally capability (an average of six consecutive hits), with physical implementation achieving simulation-equivalent performance while confirming real-world robustness. The experiment video is available in the Supplementary material and on the project website (https://stylite-y.github.io/DTG-IRRL-For-Badminton/).

Figure 13

4 Conclusion

In this study, we propose a learning framework (DTG-IRRL) for robotic badminton to address the convergence difficulties in RL due to sparse rewards and the trajectory prediction challenges posed by non-linear dynamics. The framework achieves zero-shot transfer on a robot system, demonstrating a 90% hitting rate, a 70% landing accuracy, and enabling sustained multi-round human-robot rallies. Further analysis of the reward function on a special hyperplane demonstrates that DTG-IRRL can effectively mitigate the challenges of local optima and slow convergence due to sparse rewards. Comparative experiments with UR5 confirm the framework's cross-platform generalization capability and highlight the importance of high dynamic performance for high-speed tasks. While the proposed framework demonstrates promising results, its performance is constrained by the absence of a mobile platform and a limited repertoire of badminton techniques. Future studies will integrate a mobile platform and expand the stroke techniques (such as smash, drop shot, and net shot) to achieve human-level badminton performance.

Statements

Data availability statement

The original contributions presented in the study are included in the article/Supplementary material, further inquiries can be directed to the corresponding authors.

Ethics statement

Written informed consent was obtained from the individual(s) for the publication of any potentially identifiable images or data included in this article.

Author contributions

YY: Conceptualization, Writing – review & editing, Formal analysis, Writing – original draft, Methodology, Visualization. YT: Writing – review & editing, Validation. SC: Writing – review & editing, Validation. YL: Validation, Writing – review & editing. YJ: Writing – review & editing, Conceptualization. HW: Writing – review & editing.

Funding

The author(s) declare that financial support was received for the research and/or publication of this article. This study was supported by the Key R&D Program of Zhejiang (2023C03001).

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The author(s) declare that no Gen AI was used in the creation of this manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fnbot.2025.1649870/full#supplementary-material

References

  • 1

    AbeyruwanS. W.GraesserL.DAmbrosioD. B.SinghA.ShankarA.BewleyA.et al. (2023). “i-Sim2Real: Reinforcement learning of robotic policies in tight human-robot interaction loops,” in Conference on Robot Learning (New York: PMLR), 212224.

  • 2

    AkrourR.AbdolmalekiA.AbdulsamadH.PetersJ.NeumannG. (2018). Model-free trajectory-based policy optimization with monotonic improvement. J. Mach. Learn. Res. 19, 125.

  • 3

    BüchlerD.GuistS.CalandraR.BerenzV.SchölkopfB.PetersJ. (2022). Learning to play table tennis from scratch using muscular robots. IEEE Trans. Robot. 38, 38503860. 10.1109/TRO.2022.3176207

  • 4

    ChenL.PalejaR.GombolayM. (2021). “Learning from suboptimal demonstration via self-supervised reward regression,” in Conference on Robot Learning (New York: PMLR), 12621277.

  • 5

    CohenC.ClanetC. (2016). Physics of ball sports. Europhys News47, 1316. 10.1051/epn/2016301

  • 6

    CohenC.Darbois-TexierB.DupeuxG.BrunelE.QuéréD.ClanetC. (2014). The aerodynamic wall. Proc. R. Soc. A: Math. Phys. Eng. Sci. 470:20130497. 10.1098/rspa.2013.0497

  • 7

    D'AmbrosioD. B.AbelianJ.AbeyruwanS.AhnM.BewleyA.BoydJ.et al. (2023). Robotic table tennis: a case study into a high speed learning system. arXiv [preprint] arXiv:2309.03315. 10.15607/RSS.2023.XIX.006

  • 8

    D'AmbrosioD. B.AbeyruwanS. W.GraesserL.IscenA.AmorH. B.BewleyA.et al. (2024). “Achieving human-level competitive robot table tennis,” in Proceedings of the 7th Robot Learning Workshop: Towards Robots with Human-Level Abilities at the International Conference on Learning Representations (ICLR) (Singapore).

  • 9

    DingT.GraesserL.AbeyruwanS.D'AmbrosioD. B.ShankarA.SermanetP.et al. (2022). “Learning high speed precision table tennis on a physical robot,” in 2022 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (Kyoto: IEEE), 1078010787.

  • 10

    FZMotion (2025). FZMotion Capture System. Available online at: https://www.lusterinc.com/FZMotion-Baidu/ (Accessed March 18, 2025).

  • 11

    GaoW.GraesserL.ChoromanskiK.SongX.LazicN.SanketiP.et al. (2020). “Robotic table tennis with model-free reinforcement learning,” in 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (Las Vegas, NV: IEEE), 55565563.

  • 12

    GaoY.TebbeJ.ZellA. (2022). “A model-free approach to stroke learning for robotic table tennis,” in 2022 International Joint Conference on Neural Networks (IJCNN) (Padua: IEEE), 18.

  • 13

    GaoY.ZellA. (2023). Optimal stroke learning with policy gradient approach for robotic table tennis. Appl. Intellig. 53, 1330913322. 10.1007/s10489-022-04131-w

  • 14

    HattoriM.KojimaK.NodaS.SugaiF.KakiuchiY.OkadaK.et al. (2020). “Fast tennis swing motion by ball trajectory prediction and joint trajectory modification in standalone humanoid robot real-time system,” in 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (Las Vegas, NV: IEEE), 36123619.

  • 15

    HsiaoT.KaoH.-C. (2023). “Decision making of ball-batting robots based on deep reinforcement learning,” in 2023 American Control Conference (ACC) (San Diego, CA: IEEE), 782787.

  • 16

    HuangY.BüchlerD.KoçO.SchölkopfB.PetersJ. (2016). “Jointly learning trajectory generation and hitting point prediction in robot table tennis,” in 2016 IEEE-RAS 16th International Conference on Humanoid Robots (Humanoids) (Cancun: IEEE), 650655.

  • 17

    HwangboJ.LeeJ.DosovitskiyA.BellicosoD.TsounisV.KoltunV.et al. (2019). Learning agile and dynamic motor skills for legged robots. Sci. Robot. 4:eaau5872. 10.1126/scirobotics.aau5872

  • 18

    JinY.LiuX.ShaoY.WangH.YangW. (2022). High-speed quadrupedal locomotion by imitation-relaxation reinforcement learning. Nat. Mach. Intellig. 4, 11981208. 10.1038/s42256-022-00576-3

  • 19

    MoriS.TanakaK.NishikawaS.NiiyamaR.KuniyoshiY. (2018). High-speed and lightweight humanoid robot arm for a skillful badminton robot. IEEE Robot. Automat. Letters3, 17271734. 10.1109/LRA.2018.2803207

  • 20

    MoriS.TanakaK.NishikawaS.NiiyamaR.KuniyoshiY. (2019). High-speed humanoid robot arm for badminton using pneumatic-electric hybrid actuators. IEEE Robot. Automat. Letters4, 36013608. 10.1109/LRA.2019.2928778

  • 21

    MuellingK.KoberJ.PetersJ. (2010). “Learning table tennis with a mixture of motor primitives,” in 2010 10th IEEE-RAS International Conference on Humanoid Robots (Nashville, TN: IEEE), 411416.

  • 22

    MüllerM.LupashinS.D'AndreaR. (2011). “Quadrocopter ball juggling,” in 2011 IEEE/RSJ international conference on Intelligent Robots and Systems (San Francisco, CA: IEEE), 51135120.

  • 23

    MüllingK.KoberJ.PetersJ. (2010). “Simulating human table tennis with a biomimetic robot setup,” in From Animals to Animats 11: 11th International Conference on Simulation of Adaptive Behavior, SAB 2010 (Cham: Springer), 273282.

  • 24

    NairA.McGrewB.AndrychowiczM.ZarembaW.AbbeelP. (2018). “Overcoming exploration in reinforcement learning with demonstrations,” in 2018 IEEE international conference on robotics and automation (ICRA) (Brisbane, QLD: IEEE), 62926299.

  • 25

    RambelyA. S.OsmanN. A. A. (2005). “The contribution of upper limb joints in the development of racket velocity in the badminton smash,” in 23 International Symposium on Biomechanics in Sports (Beijing).

  • 26

    RecordsG. W. (2014). Guinness World Records 2015. London: Guinness World Records.

  • 27

    SchulmanJ.WolskiF.DhariwalP.RadfordA.KlimovO. (2017). Proximal policy optimization algorithms. arXiv [preprint] arXiv:1707.06347. 10.48550/arXiv.1707.06347

  • 28

    TebbeJ.GaoY.Sastre-RienietzM.ZellA. (2019). “A table tennis robot system using an industrial kuka robot arm,” in Pattern Recognition: 40th German Conference, GCPR 2018 (Stuttgart: Springer), 3345.

  • 29

    TebbeJ.KrauchL.GaoY.ZellA. (2021). “Sample-efficient reinforcement learning in robotic table tennis,” in 2021 IEEE International Conference on Robotics and Automation (ICRA) (Xi'an: IEEE), 41714178.

  • 30

    UR5e (2025). Universal Robots. Available online at: https://www.universal-robots.com/products/ur5-robot/ (Accessed March 18, 2025).

  • 31

    WaghmareG.BorkarS.SaleyV.ChinchoreH.WabaleS. (2016). “Badminton shuttlecock detection and prediction of trajectory using multiple 2 dimensional scanners,” in 2016 IEEE First International Conference on Control, Measurement and Instrumentation (CMI) (Kolkata: IEEE), 234238.

  • 32

    YangC.-A. (2022). Shuttlecock Trajectories Modeling and Forecasting (Master's thesis). National Yang Ming Chiao Tung University, Hsinchu, Taiwan.

  • 33

    YuH.TuJ.WangP.ZhengZ.ZhangK.LuG.et al. (2023). Bat planner: aggressive flying ball player. IEEE Robot. Automat. Letters8, 53075314. 10.1109/LRA.2023.3293355

  • 34

    YuanY.LiuX.JiangL.JinY.WangH. (2025). Optimal design of high-dynamic robotic arm based on angular momentum maximum. IEEE Robot. Automat. Letters. 10, 35423549. 10.1109/LRA.2025.3541910

  • 35

    ZaidiZ.MartinD.BellesN.ZakharovV.KrishnaA.LeeK. M.et al. (2023). Athletic mobile manipulator system for robotic wheelchair tennis. IEEE Robot. Automat. Letters8, 22452252. 10.1109/LRA.2023.3249401

  • 36

    ZhaoY.ZhangY.XiongR.WangJ. (2015). Optimal state estimation of spinning ping-pong ball using continuous motion model. IEEE Trans. Instrum. Meas. 64, 22082216. 10.1109/TIM.2014.2386951

  • 37

    ZhiJ.LuoD.LiK.LiuY.LiuH. (2022). A novel method of shuttlecock trajectory tracking and prediction for a badminton robot. Robotica40, 16821694. 10.1017/S0263574721001053

Summary

Keywords

reinforcement learning, robotic badminton, sparse reward, nonlinear dynamics, state prediction, trajectory generation

Citation

Yuan Y, Tao Y, Cheng S, Liang Y, Jin Y and Wang H (2025) Imitation-relaxation reinforcement learning for sparse badminton strikes via dynamic trajectory generation. Front. Neurorobot. 19:1649870. doi: 10.3389/fnbot.2025.1649870

Received

19 June 2025

Accepted

08 August 2025

Published

02 September 2025

Volume

19 - 2025

Edited by

Long Jin, Lanzhou University, China

Reviewed by

Hongyin Zhang, Westlake University, China

Huang Ou-Yang, Lanzhou University, China

Updates

Copyright

*Correspondence: Yongbin Jin Hongtao Wang

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics