TL;DR
DexDrummer introduces robotic drumming as a novel, challenging testbed that simultaneously requires in-hand manipulation, contact-rich dynamics, and long-horizon robustness. By combining a hierarchical control strategy—blending motion planning with residual reinforcement learning—and contact-targeted rewards, the system achieves successful zero-shot sim-to-real transfer on complex bimanual drumming tasks.
What Problem Does This Paper Address?
While dexterous robotic manipulation has advanced significantly, most existing research isolates its core challenges: in-hand object reorientation, secure grasping, or tool use. Real-world tasks like assembly, cooking, or playing an instrument, however, demand all three skills simultaneously over extended periods.
The authors propose drumming as a comprehensive testbed to bridge this gap. Drumming requires:
- In-hand control: Continuously stabilizing and adjusting a drumstick using fine finger movements.
- Contact-rich interactions: Managing high-frequency, forceful impacts between the stick and the drum surface.
- Long-horizon coordination: Maintaining rhythmic play and transitioning rapidly between different drums across an entire song.
Methods
DexDrummer utilizes a hierarchical, object-centric control framework split into two main stages:
- High-Level Policy: Musical inputs (MIDI files) are translated into task-space drumstick trajectories using parameterized motion primitives. A standard motion planner converts these into nominal arm commands. To handle rapid transitions where kinematic planning fails, a residual RL policy learns fine-grained corrective adjustments on top of the planner.
- Low-Level Dexterous Policy: A reinforcement learning policy (trained via PPO) controls the 20-DOF robot hand using contact-targeted rewards:
- In-Hand Rewards: Encourages fingertip contact and explicitly rewards a human-like "fulcrum grasp" (pinching the stick between the thumb and index finger). An arm energy penalty is applied to incentivize finger-driven control over large arm movements.
- External Contact Rewards: A trajectory guidance reward aligns the stick with pre-computed sinusoidal hitting waves. Crucially, a contact curriculum disables stick-drum collisions during the first 10,000 steps of training, allowing the policy to master basic trajectory tracking before experiencing impact forces.
The system is trained in the ManiSkill simulation environment and deployed zero-shot on a physical setup consisting of two 7-DOF Franka Panda arms and two 20-DOF Tesollo DG-5F hands.
Datasets
The authors evaluated their framework using drum tracks derived from an open-source MIDI dataset:
- Simulation Tracks: Constructed across six musical genres (Jazz, Rock, Blues, Latin, Folk, Modern) split into Easy (repetitive loops for long-horizon evaluation) and Hard (complex, multi-drum rhythms) segments.
- Technical Exercises: A high-speed, single-drum unimanual exercise designed to push the limits of finger dexterity up to 240 Beats Per Minute (BPM).
- Real-World Songs: Evaluated using "Seven Nation Army" by The White Stripes (~120 BPM) and "Everlong" by Foo Fighters (~160 BPM).
Key Insights and Ideas
- The Contact Curriculum is Essential: Without the contact curriculum, the drumstick frequently ends up resting flat on the drumhead during early training phases. This dampens the subtle finger movements necessary for learning control. Letting the agent practice in "free space" first prevents early exploration failure.
- Finger-Driven Control Emerges from Energy Penalties: By penalizing excessive arm joint energy, the policy naturally shifts the burden of high-speed striking to the fingers. This closely mimics human drumming techniques, resulting in smoother, more natural movements and significantly lower energy consumption at high tempos.
- Passive Grasping Fails Over Long Horizons: A fixed, static grasp degrades rapidly due to the cumulative impact forces of striking the drum. Closed-loop, reactive feedback is mandatory to continuously adjust the stick's position in the hand and prevent slippage.
Key Results
- Song Performance (Simulation): The reactive dexterous policy outperformed a fixed-grasp baseline in F1 song-playing scores by 1.87x on easy songs and 1.22x on hard songs, while maintaining a significantly higher stick-hold ratio.
- Dexterity vs. Tempo: In high-speed unimanual tasks, the finger-driven policy maintained low trajectory errors even as the tempo increased to 240 BPM, whereas the arm-driven baseline failed to keep up and consumed substantially more energy.
- Real-World Transfer: DexDrummer achieved a perfect 1.0 F1 score on the physical robot when playing both the training song and its extended version. The closed-loop policy successfully adapted its grip dynamically—holding loosely when striking a flexible cymbal and tightening its grip to absorb the impact of a rigid drum pad.
Limitations and Future Work
Despite its success, DexDrummer operates under a few constraints:
- Speed Limitations: The songs had to be slowed down by a factor of three compared to human speed to ensure playability by the robotic system.
- Short Horizons: While robust, the current experiments only evaluate performance up to 400 timesteps (approximately 20 seconds), whereas full songs typically last 3–5 minutes.
- Simplified Physical Setup: Real-world testing was restricted to a bimanual two-drum configuration (snare and hi-hat/cymbal) rather than a full multi-drum kit.
Future work will focus on closing the sim-to-real gap further to enable real-time tracking at human speeds and expanding the control framework to encompass a full drum set.
Summary updated